]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
* elf/setup-vdso.h (setup_vdso): Fix missing string termination.
[thirdparty/glibc.git] / ChangeLog
CommitLineData
f315524e
AA
12013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
2
3 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
4
1326ba1a
SP
52013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6
7 * string/strcoll_l.c (coll_seq): New structure.
8 (get_next_seq_cached): New function.
9 (get_next_seq): New function.
10 (do_compare): New function.
11 (STRCOLL): Use GNU style definition. Simplify implementation
12 by using get_next_seq, get_next_seq_cached and do_compare.
13
91ce4085
FW
142013-08-16 Florian Weimer <fweimer@redhat.com>
15
16 [BZ #14699]
17 CVE-2013-4237
18 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
19 member.
20 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
21 member.
22 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
23 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
24 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
25 conditional.
26 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
27 GETDENTS_64BIT_ALIGNED.
28 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
29 * manual/filesys.texi (Reading/Closing Directory): Document
30 ENAMETOOLONG return value of readdir_r. Recommend readdir more
31 strongly.
32 * manual/conf.texi (Limits for Files): Add portability note to
33 NAME_MAX, PATH_MAX.
34 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
35
ca0a6bc4
AS
362013-08-13 Andreas Schwab <schwab@suse.de>
37
38 [BZ #15749]
39 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
40 of fabs.
41 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
42 LDBL_MAX_EXP >= 16384]: Add tests for it.
43
6c1fd795
DM
442013-08-12 David S. Miller <davem@davemloft.net>
45
46 * version.h (RELEASE): Set to "development".
47 (VERSION): Set to "2.18.90".
48 * NEWS: Add 2.19 section.
49
31ad488d
DM
502013-08-03 David S. Miller <davem@davemloft.net>
51
52 * po/ko.po: Update Korean translation from translation project.
53
db24e684
DM
542013-08-01 David S. Miller <davem@davemloft.net>
55
56 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
57 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
58 Bilka.
59
f723285b
DM
602013-07-30 David S. Miller <davem@davemloft.net>
61
62 * po/fr.po: Update French translation from translation project.
63
3cbc52db
DM
642013-07-28 David S. Miller <davem@davemloft.net>
65
30bbc0cc
DM
66 * po/cs.po: Update Czech translation from translation project.
67
3cbc52db
DM
68 * po/sv.po: Update Swedish translation from translation project.
69
d492e6d0
DM
702013-07-27 David S. Miller <davem@davemloft.net>
71
f1a7f492
DM
72 * po/eo.po: Update Esperanto translation from translation project.
73
90e62a4a
DM
74 * po/vi.po: Update Vietnamese translation from translation project.
75
d492e6d0
DM
76 * po/de.po: Update German translation from translation project.
77
d4baa62d
DM
782013-07-26 David S. Miller <davem@davemloft.net>
79
641aa7b4
DM
80 * po/bg.po: Update Bulgarian translation from translation project.
81
d4baa62d
DM
82 * po/nl.po: Update Dutch translation from translation project.
83 * po/pl.po: Update Polish translation from translation project.
84 * po/ru.po: Update Russian translation from translation project.
85
61a9dcb9
DM
862013-07-24 David S. Miller <davem@davemloft.net>
87
88 * po/libc.pot: Update.
89
7b1f8b58
AZ
902013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
91
92 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
93 variable page size.
94 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
95 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
96 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
97
a8fc7a03
AK
982013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
99
100 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
101
e4608715
CD
1022013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
103 Andreas Schwab <schwab@suse.de>
104 Roland McGrath <roland@hack.frob.com>
105 Joseph Myers <joseph@codesourcery.com>
106 Carlos O'Donell <carlos@redhat.com>
107
108 [BZ #15755]
109 * config.h.in: Define HAVE_PT_CHOWN.
110 * config.make.in (build-pt-chown): New variable.
111 * configure.in (--enable-pt_chown): New configure option.
112 * configure: Regenerate.
113 * login/Makefile: Include Makeconfig. Build pt_chown only if
114 build-pt-chown is enabled.
115 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
116 pt_chown to fix pty ownership.
117 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
118 CLOSE_ALL_FDS.
119 * manual/install.texi (Configuring and compiling): Mention
120 --enable-pt_chown. Add @findex for grantpt.
121 * INSTALL: Regenerate.
122
da2d62df
DM
1232013-07-20 David S. Miller <davem@davemloft.net>
124
125 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
126 difference between 32-bit and 64-bit.
127
d7e06450
CD
1282013-07-15 Carlos O'Donell <carlos@redhat.com>
129
130 [BZ #15711]
131 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
132 Avoid system header dependency with -ffreestanding.
133 ($(objpfx)bits/syscall%d): Likewise.
134
f959cfd7
DM
1352013-07-13 David S. Miller <davem@davemloft.net>
136
137 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
138 underflows from atanl/atan2l due to bug 15319.
139 (casinh_test_data): Likewise.
140
c61f8513
DM
1412013-07-07 David S. Miller <davem@davemloft.net>
142
143 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
144
72c90ed0
JA
1452013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
146
147 * sysdeps/i386/fpu/libm-test-ulps: Update.
148 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
149
52dfbe13
SP
1502013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
151
152 * configure.in (--enable-lock-elision): Fix message text.
153 * INSTALL: Regenerate.
154 * configure: Regenerate.
155
3f169543
AZ
1562013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
157
158 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
159
521c6785
AJ
1602013-07-03 Andreas Jaeger <aj@suse.de>
161
162 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
163 define.
164 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
165 (ptrace_peeksiginfo_args): Add.
166 (__ptrace_peeksiginfo_flags): Add.
167 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
168 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
169 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
170
d2cc15cb
AM
1712013-07-03 Allan McRae <allan@archlinux.org>
172
173 * sysdeps/i386/fpu/libm-test-ulps: Update.
174
3aaeeca7
DM
1752013-07-02 David S. Miller <davem@davemloft.net>
176
177 * sysdeps/sparc/fpu/libm-test-ulps: Update.
178
5314ed1a
MT
1792013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
180
181 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
182
67338156
JM
1832013-07-02 Joseph Myers <joseph@codesourcery.com>
184
185 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
186 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
187
1717da59
AK
1882013-07-02 Andi Kleen <ak@linux.intel.com>
189
190 * config.h.in (ENABLE_LOCK_ELISION): Add.
191 * configure.in (--enable-lock-elision): Add option.
192 * manual/install.texi: Document --enable lock elision.
193 * configure: Regenerate
194 * INSTALL: Regenerate.
195
1c81621c
L
1962013-07-02 H.J. Lu <hongjiu.lu@intel.com>
197
198 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
199 SSE4.2 strcasecmp for libc.a.
200 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
201
77f01ab5
JM
2022013-07-02 Joseph Myers <joseph@codesourcery.com>
203
204 [BZ #13304]
205 * soft-fp/op-common.h (_FP_FMA): New macro.
206 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
207 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
208 (_FP_MUL_MEAT_1_imm): ... here.
209 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
210 (_FP_MUL_MEAT_1_wide): ... here.
211 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
212 (_FP_MUL_MEAT_1_hard): ... here.
213 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
214 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
215 (_FP_MUL_MEAT_2_wide): ... here.
216 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
217 (_FP_MUL_MEAT_2_wide_3mul): ... here.
218 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
219 (_FP_MUL_MEAT_2_gmp): ... here.
220 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
221 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
222 (_FP_MUL_MEAT_4_wide): ... here.
223 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
224 (_FP_MUL_MEAT_4_gmp): ... here.
225 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
226 (_FP_WFRACBITS_DW_S): Likewise.
227 (_FP_WFRACXBITS_DW_S): Likewise.
228 (_FP_HIGHBIT_DW_S): Likewise.
229 (FP_FMA_S): Likewise.
230 (_FP_FRAC_HIGH_DW_S): Likewise.
231 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
232 (_FP_WFRACBITS_DW_D): Likewise.
233 (_FP_WFRACXBITS_DW_D): Likewise.
234 (_FP_HIGHBIT_DW_D): Likewise.
235 (FP_FMA_D): Likewise.
236 (_FP_FRAC_HIGH_DW_D): Likewise.
237 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
238 (_FP_WFRACBITS_DW_E): Likewise.
239 (_FP_WFRACXBITS_DW_E): Likewise.
240 (_FP_HIGHBIT_DW_E): Likewise.
241 (FP_FMA_E): Likewise.
242 (_FP_FRAC_HIGH_DW_E): Likewise.
243 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
244 (_FP_WFRACBITS_DW_Q): Likewise.
245 (_FP_WFRACXBITS_DW_Q): Likewise.
246 (_FP_HIGHBIT_DW_Q): Likewise.
247 (FP_FMA_Q): Likewise.
248 (_FP_FRAC_HIGH_DW_Q): Likewise.
249 * soft-fp/fmasf4.c: New file.
250 * soft-fp/fmadf4.c: Likewise.
251 * soft-fp/fmatf4.c: Likewise.
252
6308fd9a
LD
2532013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
254
255 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
256 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
257 Silvermont.
258 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
259 macro.
260 (index_Slow_SSE4_2): Likewise.
261 (index_Prefer_PMINUB_for_stringop): Likewise.
262 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
263 bit_Slow_SSE4_2 is set.
264 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
265 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
266
89cd9569
RA
2672013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
268
269 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
270 rtld_global._dl_hwcap2.
271 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
272 POWER8.
273 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
274 POWER8 feature descriptions defined in _dl_hwcap2.
275 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
276 string handling for POWER8 feature bits.
277 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
278 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
279 _dl_powerpc_cap_flags.
280 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
281 * sysdeps/powerpc/rtld-global-offsets.sym
282 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
283 _dl_hwcap2 in the rtld_global_ro structure.
284
1ae8bfe0
RA
2852013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
286
287 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
288 hardware capabilities in support of AT_HWCAP2.
289 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
290 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
291 GLRO(dl_hwcap2).
292 (_dl_show_auxv): Add support for calling _dl_procinfo to display
293 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
294 explicitly the unknown a_type display mechanism is used.
295 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
296 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
297 struct member.
298 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
299 to macro prototype for AT_HWCAP2 support.
300 * sysdeps/i386/dl-procinfo.h: Likewise.
301 * sysdeps/s390/dl-procinfo.h: Likewise.
302 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
303 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
304 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
305 return -1 for unknown a_type display fallback.
306 * sysdeps/sparc/dl-procinfo.h: Likewise.
307 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
308 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
309
8fbec010
JM
3102013-06-28 Joseph Myers <joseph@codesourcery.com>
311
312 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
313 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
314
0432680e
PY
3152013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
316
317 [BZ #12492]
318 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
319 mprotect making __stack_prot writable.
320
ce61a2ad
NF
3212013-06-28 Nathan Froyd <froydnj@codesourcery.com>
322 Joseph Myers <joseph@codesourcery.com>
323
324 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
325 as being properly aligned.
326
f91f1c0f
MR
3272013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
328
3d0f5d0c
MR
329 * dlfcn/modstatic5.c: New file.
330 * dlfcn/tststatic5.c: New file.
331 * dlfcn/Makefile (tests): Add tststatic5.
332 (tests-static): Likewise.
333 (modules-names): Add modstatic5.
334 (tststatic5-ENV): New variable.
335 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
336
f91f1c0f
MR
337 [BZ #15022]
338 * elf/dl-support.c (_dl_main_map): New variable.
339 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
340 (_dl_nns, _dl_load_adds): Set to 1.
341 (_dl_initial_searchlist): Refer to _dl_main_map.
342 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
343 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
344 call to _dl_get_origin.
345 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
346 around call_map.
347 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
348 * dlfcn/modstatic3.c: New file.
349 * dlfcn/tststatic3.c: New file.
350 * dlfcn/tststatic4.c: New file.
351 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
352 (tests-static): Likewise.
353 (modules-names): Add modstatic3.
354 (tststatic3-ENV, tststatic4-ENV): New variables.
355 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
356 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
357
cbe7d24b
JM
3582013-06-26 Joseph Myers <joseph@codesourcery.com>
359
360 * configure.in (CC): Require GCC version 4.4 or later.
361 * configure: Regenerated.
362 * manual/install.texi (Tools for Compilation): Update GCC version
363 requirement.
364 * INSTALL: Regenerated.
365
11b8a0e1
LD
3662013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
367
368 [BZ #15674]
bb5bb87c
L
369 * string/test-memcmp.c (check2): New.
370 (main): Call check2.
371
11b8a0e1
LD
372 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
373
b0037103
MR
3742013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
375
376 [BZ #15022]
377 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
378 over to...
379 (dl_open_worker) [!SHARED]: ... here.
380
c18c701d
RA
3812013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
382
383 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
384
1d17fa5f
RH
3852013-06-25 Richard Henderson <rth@redhat.com>
386
387 * locale/programs/locarchive.c: Include <libc-internal.h>
388
8fcb833a
JM
3892013-06-25 Joseph Myers <joseph@codesourcery.com>
390
391 * manual/texinfo.tex: Update to version 2013-06-21.17, with
392 trailing whitespace removed.
393
17db6e8d
MF
3942013-06-24 Mike Frysinger <vapier@gentoo.org>
395
396 [BZ #10283]
17db6e8d
MF
397 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
398 * locale/programs/locarchive.c: Include libc-mmap.h.
399 (prepare_address_space): Take two new outputs (the mmap base and len).
400 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
401 values.
402 (create_archive): Declare new mmap base and len values for
403 prepare_address_space, and store the result in ah.
404 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
405 (enlarge_archive): If ah->mmap_base is not NULL, use that and
406 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
407 Declare new mmap base and len values for
408 prepare_address_space, and store the result in new_ah.
409 (open_archive): Declare new mmap base and len values for
410 prepare_address_space, and store the result in ah.
411 (close_archive): If ah->mmap_base is not NULL, use that and
412 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
413 * sysdeps/generic/libc-mmap.h: New file.
414
d605071e
MF
4152013-06-24 Mike Frysinger <vapier@gentoo.org>
416
417 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
418 (ALIGN_UP): Likewise.
419 (PTR_ALIGN_DOWN): Likewise.
420 (PTR_ALIGN_UP): Likewise.
421
2f063a6e
RA
4222013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
423
424 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
425 entry mapped to PPC_PLATFORM_POWER8.
426 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
427 POWER8.
428 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
429 (_dl_string_platform): Add case for exporting platform position for
430 POWER8.
431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
432 search path to sysdeps/powerpc/powerpc32/power8 directory.
433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
434 search path to sysdeps/powerpc/powerpc64/power8 directory.
435 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
436 power7 directories.
437 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
438 power7 directories.
439
a31ee4b3
SP
4402013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
441
a74ca98f
SP
442 * INSTALL: Regenerate.
443
a31ee4b3
SP
444 * nscd/connections.c (nscd_init): Fix comment.
445
695c378f
JM
4462013-06-22 Joseph Myers <joseph@codesourcery.com>
447
d8412221
JM
448 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
449
695c378f
JM
450 [BZ #15667]
451 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
452 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
453
d1d54715
MR
4542013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
455
456 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
457 DL_DST_REQ_STATIC.
458 (DL_DST_REQ_STATIC): Remove macro.
459
8fdda7af
JM
4602013-06-21 Joseph Myers <joseph@codesourcery.com>
461
462 [BZ #7006]
463 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
464 with a shift of 0 bits.
465
f3bc5e5a
MR
4662013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
467
468 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
469 $(tststatic-ENV).
470
be09e8c9
KK
4712013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
472
473 [BZ #15655]
474 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
475
85c2e611
AZ
4762013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
477
478 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
479 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
480 accepts -fno-tree-loop-distribute-patterns.
481 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
482 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
483 recursive call.
484 * string/memset.c (memset): Likewise.
485 * string/test-memmove.c (simple_memmove): Disable loop transformation
486 to library calls.
487 * string/test-memset.c (simple_memset): Likewise.
488 * benchtests/bench-memmove.c (simple_memmove): Likewise.
489 * benchtests/bench-memset.c (simple_memset): Likewise.
490 * configure: Regenerated.
491
c91e0825
JM
4922013-06-20 Joseph Myers <joseph@codesourcery.com>
493
b8c792af
JM
494 * math/test-misc.c (main): Ignore fesetround failure when failures
495 of subsequent rounding tests would be ignored.
496
c91e0825
JM
497 [BZ #15654]
498 * math/fedisblxcpt.c (fedisableexcept): Return 0.
499 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
500 * math/fegetenv.c (__fegetenv): Return 0.
501 * math/fegetexcept.c (fegetexcept): Return 0.
502 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
503 FE_TONEAREST.
504 * math/feholdexcpt.c (feholdexcept): Return 0.
505 * math/fesetenv.c (__fesetenv): Return 0.
506 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
507 argument FE_TONEAREST.
508 * math/feupdateenv.c (__feupdateenv): Return 0.
509 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
510
bfcacbde
RM
5112013-06-18 Roland McGrath <roland@hack.frob.com>
512
513 * elf/rtld-Rules (rtld-compile-command.S): New variable.
514 (rtld-compile-command.s, rtld-compile-command.c): New variables.
515 ($(objpfx)rtld-%.os rules): Use them.
516
e55a9b25
AZ
5172013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
518
519 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
520 fields.
521
346d65b3
RM
5222013-06-17 Roland McGrath <roland@hack.frob.com>
523
12086fb4
RM
524 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
525 length of target pattern, then descending length of dependency pattern.
526 * configure.in (AWK): Require gawk 3.1.2 or newer.
527 * manual/install.texi (Tools for Compilation): Say that we do.
528 * configure: Regenerated.
529
346d65b3
RM
530 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
531 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
532 * scripts/sysd-rules.awk: ... this new script.
533 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
534 than a glob-style pattern.
535
1a846317
JM
5362013-06-17 Joseph Myers <joseph@codesourcery.com>
537
538 * math/test-misc.c (main): Do not treat incorrectly rounded
539 conversions as failure unless ROUNDING_TESTS passes.
540
8fc75e6f
JM
5412013-06-15 Joseph Myers <joseph@codesourcery.com>
542
3711a167
JM
543 [BZ #15631]
544 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
545 restore exception state around main square root computation, then
546 check for inexactness explicitly.
547
8fc75e6f
JM
548 * math/libm-test.inc (fma_test_data): Add another test.
549
61dd6208
SP
5502013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
551
adf23d2c
SP
552 * manual/threads.texi (Non-POSIX Extensions): New document
553 node. Document pthread_getattr_default_np and
554 pthread_setattr_default_np.
555
61dd6208
SP
556 * Versions.def (libpthread): Add GLIBC_2.18.
557 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
559 Likewise.
560 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
561 Likewise.
562 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
563 Likewise.
564 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
565 Likewise.
566 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
567 Likewise.
568 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
569 Likewise.
570 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
571 Likewise.
572 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
573 Likewise.
574 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
575 Likewise.
576
d086fc7b
LD
5772013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
578
579 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
580 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
581
747ef469
SP
5822013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
583 H.J. Lu <hjl.tools@gmail.com>
584
585 [BZ #15627]
586 * sysdeps/x86_64/rtld-memset.c: Remove file.
587 * sysdeps/x86_64/rtld-memset.S: New file.
588
1b2feed2
JM
5892013-06-14 Joseph Myers <joseph@codesourcery.com>
590
591 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
592 (test_in_one_mode): Take arguments for whether the rounding mode
593 is supported for each floating-point type.
594 (do_test): Pass new arguments to test_in_one_mode using
595 ROUNDING_TESTS.
596
a58ad3f8
RM
5972013-06-13 Roland McGrath <roland@hack.frob.com>
598
599 * posix/tst-waitid.c (do_test): Distinguish different instances of
600 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
601 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
602 before entering the kernel for waitpid.
603
c204ab28
SP
6042013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
605
606 * NEWS: Fix note on clock function precision. Text by Roland
607 McGrath.
608
f4a29fba
RM
6092013-06-13 Roland McGrath <roland@hack.frob.com>
610
611 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
612 it into place only when and if the sanity check passes.
613
1f24b9ad
JM
6142013-06-13 Joseph Myers <joseph@codesourcery.com>
615
616 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
617 output for whether conversion result is exact. Take argument
618 indicating whether type is IBM long double.
619 (round_for_all): Change need_exact field to ibm_ld.
620 * stdlib/tst-strtod-round.c (struct exactness): New type.
621 (struct test): Change bool ld_ok field to struct exactness exact.
622 (TEST): Update all definitions for change to field.
623 (tests): Regenerate array contents.
624 (test_in_one_mode): Take pointer to new field instead of old ld_ok
625 field value. Check for IBM long double here.
626 (do_test): Update calls to test_in_one_mode.
627
58206c68
SP
6282013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
629
630 [BZ #12515]
631 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
632 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
633
2d6f4c5b 6342013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
635
636 [BZ #15605]
637 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
638 generated by the compiler on loop optimizations.
639 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
640 general definitions.
641
94f2c076
JM
6422013-06-12 Joseph Myers <joseph@codesourcery.com>
643
644 * math/bug-nextafter.c: Include <math-tests.h>.
645 (main): Only test for exceptions if EXCEPTION_TESTS is true for
646 the relevant type.
647 * math/bug-nexttoward.c: Include <math-tests.h>.
648 (main): Only test for exceptions if EXCEPTION_TESTS is true for
649 the relevant type.
650 * math/test-misc.c: Include <math-tests.h>.
651 (main): Only test for exceptions if EXCEPTION_TESTS is true for
652 the relevant type.
653
e0e50a0a
AJ
6542013-06-12 Andreas Jaeger <aj@suse.de>
655
656 * po/ia.po: Update Interlingua translation from translation
657 project.
658
25061094
SP
6592013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
660
661 * include/fenv.h: Include stdbool.h.
662 (struct rm_ctx): New structure.
663 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
664 Define macro.
665 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
666 (SET_RESTORE_ROUNDF): Likewise.
667 (SET_RESTORE_ROUNDL): Likewise.
668 (SET_RESTORE_ROUND_NOEX): Likewise.
669 (SET_RESTORE_ROUND_NOEXF): Likewise.
670 (SET_RESTORE_ROUND_NOEXL): Likewise.
671 (SET_RESTORE_ROUND_53BIT): Likewise.
672 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
673 (libc_feresetround_noexf_ctx): Likewise.
674 (libc_feresetround_noexl_ctx): Likewise.
675 (libc_feholdsetround_53bit_ctx): Likewise.
676 (libc_feresetround_53bit_ctx): Likewise.
677 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
678 (libc_feholdexcept_setround_sse_ctx): New function.
679 (libc_fesetenv_sse_ctx): Likewise.
680 (libc_feupdateenv_sse_ctx): Likewise.
681 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
682 (libc_feholdexcept_setround_387_ctx): Likewise.
683 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
684 (libc_feholdsetround_387_prec_ctx): Likewise.
685 (libc_feholdsetround_387_ctx): Likewise.
686 (libc_feholdsetround_387_53bit_ctx): Likewise.
687 (libc_feholdsetround_sse_ctx): Likewise.
688 (libc_feresetround_sse_ctx): Likewise.
689 (libc_feresetround_387_ctx): Likewise.
690 (libc_feupdateenv_387_ctx): Likewise.
691 (libc_feholdexcept_setroundf_ctx): Define macro.
692 (libc_fesetenvf_ctx): Likewise.
693 (libc_feupdateenvf_ctx): Likewise.
694 (libc_feholdsetroundf_ctx): Likewise.
695 (libc_feresetroundf_ctx): Likewise.
696 (libc_feholdexcept_setround_ctx): Likewise.
697 (libc_fesetenv_ctx): Likewise.
698 (libc_feupdateenv_ctx): Likewise.
699 (libc_feholdsetround_ctx): Likewise.
700 (libc_feresetround_ctx): Likewise.
701 (libc_feholdexcept_setroundl_ctx): Likewise.
702 (libc_feupdateenvl_ctx): Likewise.
703 (libc_feholdsetroundl_ctx): Likewise.
704 (libc_feresetroundl_ctx): Likewise.
705 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
706 (libc_feresetround_53bit_ctx): Likewise.
707
59b30555
SP
7082013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
709
710 * locale/iso-639.def: Convert to UTF-8.
711
f1d73d30
JM
7122013-06-11 Joseph Myers <joseph@codesourcery.com>
713
714 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
715 (EXCEPTION_TESTS_double): Likewise.
716 (EXCEPTION_TESTS_long_double): Likewise.
717 (EXCEPTION_TESTS): Likewise.
718 * math/libm-test.inc (test_exceptions): Only test exceptions if
719 EXCEPTION_TESTS (FLOAT).
720
94aca5e7
SP
7212013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
722
723 * benchtests/Makefile (string-bench): Add strcpy_chk and
724 stpcpy_chk.
725 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
726 * benchtests/bench-stpcpy_chk.c: New file.
727 * benchtests/bench-strcpy_chk-ifunc.c: New file.
728 * benchtests/bench-strcpy_chk.c: New file.
729 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
730 code.
731 (do_test): Likewise.
732
fac0c5f2
RA
7332013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
734
735 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
736 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
737 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
738 with tabs where appropriate.
739 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
740 dl-procinfo.h.
741 [PPC_PLATFORM_PPC440]: Likewise.
742 [PPC_PLATFORM_PPC464]: Likewise.
743 [PPC_PLATFORM_PPC476]: Likewise.
744 (_dl_string_platform): Add support for detecting ppc405, ppc440,
745 ppc464, and ppc476 platform strings merging from ports/
746 dl-procinfo.h.
747
f22bc486
AS
7482013-06-11 Andreas Schwab <schwab@suse.de>
749
750 [BZ #14991]
751 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
752 (from_ucs4_idx): Regenerate.
753 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
754 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
755 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
756 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
757 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
758 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
759 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
760 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
761 from FROM_LOOP and TO_LOOP specific macros.
762 (BODY): Handle combining characters.
763 * iconvdata/BIG5HKSCS.irreversible: Update.
764 * iconvdata/BIG5HKSCS.precomposed: New file.
765 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
766 characters.
767 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
768
c1f75dc3
SP
7692013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
770
4eacded2
SP
771 * include/sys/time.h: Fix indentation and add copyright header.
772
fec799f8
SP
773 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
774 (do_test): Likewise.
775 * string/test-memchr.c (do_one_test): Likewise.
776 (do_test): Likewise.
777 * string/test-memcmp.c (do_one_test): Likewise.
778 (do_test): Likewise.
779 * string/test-memcpy.c (do_one_test): Likewise.
780 (do_test): Likewise.
781 * string/test-memmem.c (do_one_test): Likewise.
782 (do_test): Likewise.
783 (do_random_tests): Likewise.
784 * string/test-memmove.c (do_one_test): Likewise.
785 (do_test): Likewise.
786 * string/test-memset.c (do_one_test): Likewise.
787 (do_test): Likewise.
788 * string/test-rawmemchr.c (do_one_test): Likewise.
789 (do_test): Likewise.
790 * string/test-strcasecmp.c (do_one_test): Likewise.
791 (do_test): Likewise.
792 * string/test-strcasestr.c (do_one_test): Likewise.
793 (do_test): Likewise.
794 * string/test-strcat.c (do_one_test): Likewise.
795 (do_test): Likewise.
796 * string/test-strchr.c (do_one_test): Likewise.
797 (do_test): Likewise.
798 * string/test-strcmp.c (do_one_test): Likewise.
799 (do_test): Likewise.
800 * string/test-strcpy.c (do_one_test): Likewise.
801 (do_test): Likewise.
802 * string/test-string.h: Likewise.
803 (test_init): Likewise.
804 * string/test-strlen.c (do_one_test): Likewise.
805 (do_test): Likewise.
806 * string/test-strncasecmp.c (do_one_test): Likewise.
807 (do_test): Likewise.
808 * string/test-strncat.c (do_one_test): Likewise.
809 (do_test): Likewise.
810 * string/test-strncmp.c (do_one_test): Likewise.
811 (do_test_limit): Likewise.
812 (do_test): Likewise.
813 * string/test-strncpy.c (do_one_test): Likewise.
814 (do_test): Likewise.
815 * string/test-strnlen.c (do_one_test): Likewise.
816 (do_test): Likewise.
817 * string/test-strpbrk.c (do_one_test): Likewise.
818 (do_test): Likewise.
819 * string/test-strrchr.c (do_one_test): Likewise.
820 (do_test): Likewise.
821 * string/test-strspn.c (do_one_test): Likewise.
822 (do_test): Likewise.
823 * string/test-strstr.c (do_one_test): Likewise.
824 (do_test): Likewise.
825
97020474
SP
826 * benchtests/Makefile (string-bench): Add string benchmarks.
827 * benchtests/bench-bcopy-ifunc.c: New file.
828 * benchtests/bench-bcopy.c: New file.
829 * benchtests/bench-bzero-ifunc.c: New file.
830 * benchtests/bench-bzero.c: New file.
831 * benchtests/bench-memccpy-ifunc.c: New file.
832 * benchtests/bench-memccpy.c: New file.
833 * benchtests/bench-memchr-ifunc.c: New file.
834 * benchtests/bench-memchr.c: New file.
835 * benchtests/bench-memcmp-ifunc.c: New file.
836 * benchtests/bench-memcmp.c: New file.
837 * benchtests/bench-memmem-ifunc.c: New file.
838 * benchtests/bench-memmem.c: New file.
839 * benchtests/bench-memmove-ifunc.c: New file.
840 * benchtests/bench-memmove.c: New file.
841 * benchtests/bench-mempcpy-ifunc.c: New file.
842 * benchtests/bench-mempcpy.c: New file.
843 * benchtests/bench-memset-ifunc.c: New file.
844 * benchtests/bench-memset.c: New file.
845 * benchtests/bench-rawmemchr-ifunc.c: New file.
846 * benchtests/bench-rawmemchr.c: New file.
847 * benchtests/bench-stpcpy-ifunc.c: New file.
848 * benchtests/bench-stpcpy.c: New file.
849 * benchtests/bench-stpncpy-ifunc.c: New file.
850 * benchtests/bench-stpncpy.c: New file.
851 * benchtests/bench-strcasecmp-ifunc.c: New file.
852 * benchtests/bench-strcasecmp.c: New file.
853 * benchtests/bench-strcasestr-ifunc.c: New file.
854 * benchtests/bench-strcasestr.c: New file.
855 * benchtests/bench-strcat-ifunc.c: New file.
856 * benchtests/bench-strcat.c: New file.
857 * benchtests/bench-strchr-ifunc.c: New file.
858 * benchtests/bench-strchr.c: New file.
859 * benchtests/bench-strchrnul-ifunc.c: New file.
860 * benchtests/bench-strchrnul.c: New file.
861 * benchtests/bench-strcmp-ifunc.c: New file.
862 * benchtests/bench-strcmp.c: New file.
863 * benchtests/bench-strcpy-ifunc.c: New file.
864 * benchtests/bench-strcpy.c: New file.
865 * benchtests/bench-strcspn-ifunc.c: New file.
866 * benchtests/bench-strcspn.c: New file.
867 * benchtests/bench-strlen-ifunc.c: New file.
868 * benchtests/bench-strlen.c: New file.
869 * benchtests/bench-strncasecmp-ifunc.c: New file.
870 * benchtests/bench-strncasecmp.c: New file.
871 * benchtests/bench-strncat-ifunc.c: New file.
872 * benchtests/bench-strncat.c: New file.
873 * benchtests/bench-strncmp-ifunc.c: New file.
874 * benchtests/bench-strncmp.c: New file.
875 * benchtests/bench-strncpy-ifunc.c: New file.
876 * benchtests/bench-strncpy.c: New file.
877 * benchtests/bench-strnlen-ifunc.c: New file.
878 * benchtests/bench-strnlen.c: New file.
879 * benchtests/bench-strpbrk-ifunc.c: New file.
880 * benchtests/bench-strpbrk.c: New file.
881 * benchtests/bench-strrchr-ifunc.c: New file.
882 * benchtests/bench-strrchr.c: New file.
883 * benchtests/bench-strspn-ifunc.c: New file.
884 * benchtests/bench-strspn.c: New file.
885 * benchtests/bench-strstr-ifunc.c: New file.
886 * benchtests/bench-strstr.c: New file.
887
c1f75dc3
SP
888 * benchtests/Makefile: Disable parallel execution of targets.
889 (string-bench): Add memcpy.
890 (benchset): New variable to store a list of benchmark sets.
891 (bench-func): Renamed from bench.
892 (bench-set): New target.
893 (bench): Depend on bench-func and bench-set.
894 * benchtests/README: Add section on benchmark sets.
895 * benchtests/bench-memcpy-ifunc.c: New file.
896 * benchtests/bench-memcpy.c: New file.
897 * benchtests/bench-string.h: New file.
898
50fd745b
AS
8992013-06-11 Andreas Schwab <schwab@suse.de>
900
901 [BZ #15577]
902 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
903 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
904 values in the triple.
905 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
906 terminator in the group key.
907
3ee7e9fe
AJ
9082013-06-11 Andreas Jaeger <aj@suse.de>
909
910 * po/zh_TW.po: Update Chinese (traditional) translation from
911 translation project.
912
89fb6835
SP
9132013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
914
915 * include/time.h (__clock_gettime): Add libc_hidden_proto.
916 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
917 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
918 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
919 (clock_getcpuclockid): Likewise.
920 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
921 Add weak_alias and libc_hidden_def.
922 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
923 * rt/clock_gettime.c (clock_gettime): Rename to
924 __clock_gettime. Add weak_alias and libc_hidden_def.
925 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
926 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
927 __clock_nanosleep. Add weak_alias and libc_hidden_def.
928 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
929 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
930 Likewise.
931 * rt/clock_settime.c (clock_settime): Rename to
932 __clock_settime. Add weak_alias and libc_hidden_def.
933 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
934
0efa6f8b
JM
9352013-06-10 Joseph Myers <joseph@codesourcery.com>
936
b8c61b4b
JM
937 * mach/err_boot.sub: Remove trailing whitespace.
938 * mach/err_ipc.sub: Likewise.
939 * mach/err_mach.sub: Likewise.
940
0efa6f8b
JM
941 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
942 (ROUNDING_TESTS_double): Likewise.
943 (ROUNDING_TESTS_long_double): Likewise.
944 (ROUNDING_TESTS): Likewise.
945 * math/libm-test.inc: Include <math-tests.h>.
946 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
947 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
948 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
949 (IF_ROUND_INIT_FE_UPWARD): Likewise.
950
50b818bf
SP
9512013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
952
953 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
954 of assigning.
955
60d2f8f3
JM
9562013-06-08 Joseph Myers <joseph@codesourcery.com>
957
4902d2c3
JM
958 * sysdeps/gnu/errlist.awk: Do not generate space at end of
959 otherwise empty TRANS lines.
960 * sysdeps/gnu/errlist.c: Regenerated.
961
60d2f8f3
JM
962 * catgets/gencat.c (error_print): Use (void) in function
963 definition.
964 * crypt/crypt_util.c (__init_des): Likewise.
965 * crypt/speeds.c (Stop): Likewise.
966 (main): Likewise.
967 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
968 * inet/ruserpass.c (token): Likewise.
969 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
970 * intl/localealias.c (extend_alias_table): Likewise.
971 * intl/plural-exp.c (init_germanic_plural): Likewise.
972 * libio/fcloseall.c (__fcloseall): Likewise.
973 * libio/genops.c (_IO_flush_all): Likewise.
974 (_IO_flush_all_linebuffered): Likewise.
975 (_IO_cleanup): Likewise.
976 (_IO_iter_begin): Likewise.
977 (_IO_iter_end): Likewise.
978 (_IO_list_lock): Likewise.
979 (_IO_list_unlock): Likewise.
980 (_IO_list_resetlock): Likewise.
981 * libio/getchar.c (getchar): Likewise.
982 * libio/getchar_u.c (getchar_unlocked): Likewise.
983 * libio/getwchar.c (getwchar): Likewise.
984 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
985 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
986 * login/getpt.c (__getpt): Likewise.
987 * login/tst-utmp.c (main): Likewise.
988 * malloc/hooks.c (__malloc_check_init): Likewise.
989 * malloc/malloc.c (__malloc_stats): Likewise.
990 * malloc/mtrace.c (tr_break): Likewise.
991 (mtrace): Likewise.
992 (muntrace): Likewise.
993 * misc/fstab.c (endfsent): Likewise.
994 * misc/getclktck.c (__getclktck): Likewise.
995 * misc/getdtsz.c (__getdtablesize): Likewise.
996 * misc/gethostid.c (gethostid): Likewise.
997 * misc/getpagesize.c (__getpagesize): Likewise.
998 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
999 (__get_nprocs): Likewise.
1000 (__get_phys_pages): Likewise.
1001 (__get_avphys_pages): Likewise.
1002 * misc/getttyent.c (getttyent): Likewise.
1003 (setttyent): Likewise.
1004 (endttyent): Likewise.
1005 * misc/getusershell.c (getusershell): Likewise.
1006 (endusershell): Likewise.
1007 (setusershell): Likewise.
1008 (initshells): Likewise.
1009 * misc/hsearch.c (__hdestroy): Likewise.
1010 * misc/sync.c (sync): Likewise.
1011 * misc/syslog.c (closelog_internal): Likewise.
1012 (closelog): Likewise.
1013 * misc/ttyslot.c (ttyslot): Likewise.
1014 * misc/vhangup.c (vhangup): Likewise.
1015 * posix/fork.c (__fork): Likewise.
1016 * posix/getegid.c (__getegid): Likewise.
1017 * posix/geteuid.c (__geteuid): Likewise.
1018 * posix/getgid.c (__getgid): Likewise.
1019 * posix/getpid.c (__getpid): Likewise.
1020 * posix/getppid.c (__getppid): Likewise.
1021 * posix/getuid.c (__getuid): Likewise.
1022 * posix/pause.c (pause): Likewise.
1023 * posix/setpgrp.c (setpgrp): Likewise.
1024 * posix/setsid.c (__setsid): Likewise.
1025 * posix/test-vfork.c (noop): Likewise.
1026 * resolv/gethnamaddr.c (_endhtent): Likewise.
1027 (_gethtent): Likewise.
1028 (ht_endhostent): Likewise.
1029 (gethostent): Likewise.
1030 (dns_service): Likewise.
1031 * stdlib/drand48.c (drand48): Likewise.
1032 * stdlib/lrand48.c (lrand48): Likewise.
1033 * stdlib/mrand48.c (mrand48): Likewise.
1034 * stdlib/rand.c (rand): Likewise.
1035 * stdlib/random.c (__random): Likewise.
1036 * stdlib/setenv.c (clearenv): Likewise.
1037 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
1038 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
1039 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
1040 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
1041 (__get_nprocs): Likewise.
1042 (__get_phys_pages): Likewise.
1043 (__get_avphys_pages): Likewise.
1044 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
1045 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
1046 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
1047 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
1048 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
1049 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
1050 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
1051 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
1052 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
1053 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
1054 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
1055 * sysdeps/mach/hurd/sync.c (sync): Likewise.
1056 * sysdeps/posix/clock.c (clock): Likewise.
1057 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
1058 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
1059 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
1060 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
1061 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
1062 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
1063 (__get_nprocs_conf): Likewise.
1064 (__get_phys_pages): Likewise.
1065 (__get_avphys_pages): Likewise.
1066 * time/clock.c (clock): Likewise.
1067 * time/tzset.c (__tzname_max): Likewise.
1068
2e09a79a
JM
10692013-06-07 Joseph Myers <joseph@codesourcery.com>
1070
1071 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
1072 (__bswap_32): Do not use "register".
1073 * crypt/crypt.c (_ufc_doit_r): Likewise.
1074 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
1075 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
1076 * gmon/gmon.c (__monstartup): Likewise.
1077 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
1078 * hurd/hurdmalloc.c (more_memory): Likewise.
1079 (malloc): Likewise.
1080 (free): Likewise.
1081 (realloc): Likewise.
1082 (malloc_fork_prepare): Likewise.
1083 (malloc_fork_parent): Likewise.
1084 (malloc_fork_child): Likewise.
1085 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
1086 (_svcauth_des): Likewise.
1087 * inet/inet_lnaof.c (inet_lnaof): Likewise.
1088 * inet/inet_net.c (inet_network): Likewise.
1089 * inet/inet_netof.c (inet_netof): Likewise.
1090 * inet/rcmd.c (__validuser2_sa): Likewise.
1091 * io/fts.c (fts_open): Likewise.
1092 (fts_load): Likewise.
1093 (fts_close): Likewise.
1094 (fts_read): Likewise.
1095 (fts_children): Likewise.
1096 (fts_build): Likewise.
1097 (fts_stat): Likewise.
1098 (fts_sort): Likewise.
1099 (fts_alloc): Likewise.
1100 (fts_lfree): Likewise.
1101 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
1102 (_IO_file_xsgetn): Likewise.
1103 (_IO_file_xsgetn_mmap): Likewise.
1104 * libio/iofopncook.c (_IO_cookie_read): Likewise.
1105 (_IO_cookie_write): Likewise.
1106 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
1107 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
1108 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
1109 * malloc/obstack.c (_obstack_begin): Likewise.
1110 (_obstack_begin_1): Likewise.
1111 (_obstack_newchunk): Likewise.
1112 (_obstack_allocated_p): Likewise.
1113 (obstack_free): Likewise.
1114 (_obstack_memory_used): Likewise.
1115 * misc/getttyent.c (getttynam): Likewise.
1116 (getttyent): Likewise.
1117 (skip): Likewise.
1118 (value): Likewise.
1119 * misc/getusershell.c (initshells): Likewise.
1120 * misc/syslog.c (__vsyslog_chk): Likewise.
1121 * misc/ttyslot.c (ttyslot): Likewise.
1122 * nis/nis_hash.c (__nis_hash): Likewise.
1123 * posix/fnmatch_loop.c (FCT): Likewise.
1124 * posix/getconf.c (print_all): Likewise.
1125 (main): Likewise.
1126 * posix/getopt.c (exchange): Likewise.
1127 * posix/glob.c (globfree): Likewise.
1128 (prefix_array): Likewise.
1129 (__glob_pattern_type): Likewise.
1130 * resolv/arpa/nameser.h (NS_GET16): Likewise.
1131 (NS_GET32): Likewise.
1132 (NS_PUT16): Likewise.
1133 (NS_PUT32): Likewise.
1134 * resolv/gethnamaddr.c (getanswer): Likewise.
1135 (gethostbyname2): Likewise.
1136 (gethostbyaddr): Likewise.
1137 (_gethtent): Likewise.
1138 (_gethtbyname2): Likewise.
1139 (_gethtbyaddr): Likewise.
1140 * resolv/ns_print.c (dst_s_get_int16): Likewise.
1141 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1142 * resolv/res_init.c (__res_vinit): Likewise.
1143 (net_mask): Likewise.
1144 * resolv/res_mkquery.c (outchar): Likewise.
1145 (PRINT): Likewise.
1146 * stdio-common/printf_fp.c (outchar): Likewise.
1147 (PRINT): Likewise.
1148 * stdio-common/printf_fphex.c (outchar): Likewise.
1149 (PRINT): Likewise.
1150 * stdio-common/printf_size.c (outchar): Likewise.
1151 (PRINT): Likewise.
1152 * stdio-common/test_rdwr.c (main): Likewise.
1153 * stdio-common/tfformat.c (matches): Likewise.
1154 * stdio-common/vfprintf.c (outchar): Likewise.
1155 (printf_unknown): Likewise.
1156 (buffered_vfprintf): Likewise.
1157 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
1158 * stdio-common/xbug.c (AppendToBuffer): Likewise.
1159 (ReadFile): Likewise.
1160 * stdlib/qsort.c (SWAP): Likewise.
1161 (_quicksort): Likewise.
1162 * stdlib/setenv.c (__add_to_environ): Likewise.
1163 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
1164 * stdlib/strtol_l.c (__strtol_l): Likewise.
1165 * stdlib/tst-strtod.c (main): Likewise.
1166 * stdlib/tst-strtol.c (main): Likewise.
1167 * stdlib/tst-strtoll.c (main): Likewise.
1168 * string/bits/string2.h (__strcmp_cc): Likewise.
1169 (__strcmp_cg): Likewise.
1170 (__strcspn_c1): Likewise.
1171 (__strcspn_c2): Likewise.
1172 (__strcspn_c3): Likewise.
1173 (__strspn_c1): Likewise.
1174 (__strspn_c2): Likewise.
1175 (__strspn_c3): Likewise.
1176 (__strsep_1c): Likewise.
1177 (__strsep_2c): Likewise.
1178 (__strsep_3c): Likewise.
1179 * string/memccpy.c (__memccpy): Likewise.
1180 * string/stpcpy.c (__stpcpy): Likewise.
1181 * string/strcmp.c (strcmp): Likewise.
1182 * string/strrchr.c (strrchr): Likewise.
1183 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
1184 Likewise.
1185 * sysdeps/mach/hurd/getcwd.c
1186 (_hurd_canonicalize_directory_name_internal): Likewise.
1187 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
1188 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
1189 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
1190 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
1191 Likewise, in both definitions.
1192 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
1193 definitions.
1194 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
1195 64] (__bswap_64): Likewise.
1196 * time/test_time.c (main): Likewise.
1197 * time/tzfile.c (__tzfile_read): Likewise.
1198 (__tzfile_compute): Likewise.
1199 * time/tzset.c (__tzset_parse_tz): Likewise.
1200 (tzset_internal): Likewise.
1201 (compute_change): Likewise.
1202 * wcsmbs/wcscat.c (__wcscat): Likewise.
1203 * wcsmbs/wcschr.c (wcschr): Likewise.
1204 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
1205 * wcsmbs/wcscspn.c (wcscspn): Likewise.
1206 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
1207 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
1208 * wcsmbs/wcsspn.c (wcsspn): Likewise.
1209 * wcsmbs/wcsstr.c (wcsstr): Likewise.
1210 * wcsmbs/wmemchr.c (wmemchr): Likewise.
1211 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
1212 * wcsmbs/wmemset.c (wmemset): Likewise.
1213
9e54314b
JM
12142013-06-06 Joseph Myers <joseph@codesourcery.com>
1215
1216 * scripts/config.guess: Update to version 2013-05-16.
1217 * scripts/config.sub: Update to version 2013-04-24.
1218 * scripts/install-sh: Update to version 2011-11-20.07.
1219 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
1220 * scripts/move-if-change: Update to version 2012-01-06 07:23.
1221
350635a5
OB
12222013-06-06 Ondřej Bílka <neleai@seznam.cz>
1223
1224 * debug/fgetws_u_chk.c: Fix leading whitespaces.
1225 * elf/sln.c: Likewise.
1226 * hurd/hurd/ioctl.h: Likewise.
1227 * hurd/hurdmalloc.c: Likewise.
1228 * hurd/xattr.c: Likewise.
1229 * include/shlib-compat.h: Likewise.
1230 * inet/ruserpass.c: Likewise.
1231 * libio/iofgets_u.c: Likewise.
1232 * libio/iofgetws_u.c: Likewise.
1233 * locale/programs/ld-identification.c: Likewise.
1234 * locale/programs/ld-time.c: Likewise.
1235 * mach/msg-destroy.c: Likewise.
1236 * nss/nss_files/files-netgrp.c: Likewise.
1237 * resolv/res_data.c: Likewise.
1238 * soft-fp/op-1.h: Likewise.
1239 * soft-fp/op-2.h: Likewise.
1240 * soft-fp/op-4.h: Likewise.
1241 * soft-fp/op-common.h: Likewise.
1242 * stdio-common/printf_fphex.c: Likewise.
1243 * stdlib/strtod_l.c: Likewise.
1244 * sunrpc/rpc/clnt.h: Likewise.
1245 * sysdeps/generic/framestate.c: Likewise.
1246 * sysdeps/i386/bsd-_setjmp.S: Likewise.
1247 * sysdeps/i386/bsd-setjmp.S: Likewise.
1248 * sysdeps/i386/__longjmp.S: Likewise.
1249 * sysdeps/i386/setjmp.S: Likewise.
1250 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1251 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1252 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1253 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1254 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1255 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
1256 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1257 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1258 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1259 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
1260 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1261 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1262 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1263 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1264 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1265 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1266 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1267 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
1268 * sysdeps/ieee754/support.c: Likewise.
1269 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1270 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
1271 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
1272 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
1273 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
1274 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
1275 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
1276 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
1277 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
1278 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
1279 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
1280 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
1281 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
1282 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
1283 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
1284 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
1285 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1287
44a988af
OB
12882013-06-05 Ondřej Bílka <neleai@seznam.cz>
1289
25506f09 1290 * posix/transbug.c: Remove executable mode.
44a988af 1291
9c84384c
JM
12922013-06-05 Joseph Myers <joseph@codesourcery.com>
1293
1294 * crypt/speeds.c: Remove trailing whitespace.
1295 * dlfcn/default.c: Likewise.
1296 * elf/ifuncdep2.c: Likewise.
1297 * elf/ifuncmain1.c: Likewise.
1298 * elf/ifuncmain1vis.c: Likewise.
1299 * elf/testobj.h: Likewise.
1300 * elf/tst-stackguard1.c: Likewise.
1301 * gmon/sys/gmon.h: Likewise.
1302 * hurd/hurdmsg.c: Likewise.
1303 * hurd/new-fd.c: Likewise.
1304 * hurd/ports-get.c: Likewise.
1305 * iconvdata/ibm1008_420.c: Likewise.
1306 * inet/tst-getni1.c: Likewise.
1307 * inet/tst-getni2.c: Likewise.
1308 * libio/ioungetc.c: Likewise.
1309 * libio/wfiledoalloc.c: Likewise.
1310 * manual/libm-err-tab.pl: Likewise.
1311 * math/w_dremf.c: Likewise.
1312 * misc/ftruncate.c: Likewise.
1313 * posix/bug-glob2.c: Likewise.
1314 * posix/tst-pcre.c: Likewise.
1315 * posix/wait4.c: Likewise.
1316 * resolv/README: Likewise.
1317 * resolv/res_debug.h: Likewise.
1318 * resolv/tst-inet_ntop.c: Likewise.
1319 * setjmp/bug269-setjmp.c: Likewise.
1320 * soft-fp/extended.h: Likewise.
1321 * soft-fp/op-1.h: Likewise.
1322 * soft-fp/op-2.h: Likewise.
1323 * soft-fp/op-4.h: Likewise.
1324 * soft-fp/op-8.h: Likewise.
1325 * soft-fp/testit.c: Likewise.
1326 * stdio-common/bug16.c: Likewise.
1327 * stdlib/random.c: Likewise.
1328 * sunrpc/rpcsvc/rquota.x: Likewise.
1329 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
1330 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1331 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1332 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1333 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1334 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1335 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1336 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1337 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1338 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1339 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1340 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1341 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1342 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1343 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1344 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1345 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1346 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1347 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1348 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1349 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1350 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1351 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
1352 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
1353 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
1354 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
1355 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1356 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
1357 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1358 * sysdeps/ieee754/s_lib_version.c: Likewise.
1359 * sysdeps/mach/hurd/check_fds.c: Likewise.
1360 * sysdeps/mach/hurd/getsockname.c: Likewise.
1361 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
1362 * sysdeps/mach/hurd/recvfrom.c: Likewise.
1363 * sysdeps/powerpc/bits/link.h: Likewise.
1364 * sysdeps/powerpc/dl-procinfo.c: Likewise.
1365 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
1366 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
1367 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
1368 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1369 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
1370 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
1371 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
1372 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
1373 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
1374 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
1375 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
1376 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
1377 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
1378 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
1379 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
1380 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1381 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1382 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
1383 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
1384 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
1385 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
1386 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1387 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
1388 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
1389 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1390 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1391 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
1392 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
1393 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1394 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1395 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1396 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1397 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1398 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
1399 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
1400 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
1401 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1402 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1403 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
1404 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
1405 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
1406 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
1407 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
1408 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1409 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
1410 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
1411 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1412 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
1413 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
1414 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1415 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1416 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1417 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1418 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
1419 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1420 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1421 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1422 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
1423 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1424 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
1425 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
1426 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
1427 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1428 * sysdeps/powerpc/sysdep.h: Likewise.
1429 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1430 * sysdeps/s390/s390-64/sub_n.S: Likewise.
1431 * sysdeps/sh/dl-trampoline.S: Likewise.
1432 * sysdeps/sh/memset.S: Likewise.
1433 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
1434 * sysdeps/sh/strlen.S: Likewise.
1435 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
1436 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
1437 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
1438 * sysdeps/sparc/sparc32/rem.S: Likewise.
1439 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
1440 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
1441 * sysdeps/sparc/sparc32/strchr.S: Likewise.
1442 * sysdeps/sparc/sparc32/udiv.S: Likewise.
1443 * sysdeps/sparc/sparc32/urem.S: Likewise.
1444 * sysdeps/sparc/sparc64/add_n.S: Likewise.
1445 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1446 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
1447 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
1448 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
1449 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
1450 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
1451 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
1452 * sysdeps/unix/bsd/times.c: Likewise.
1453 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
1454 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
1455 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1457 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1458 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
1459 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
1460 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
1461 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
1462 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
1463 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
1464 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1465 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
1466 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1467 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1468 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
1469 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1470 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
1471 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
1472 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
1473 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
1474 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
1475 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1476 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
1477 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
1478 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1479 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
1480 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1481 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
1482 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
1483 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
1484 * sysdeps/x86_64/strcspn.S: Likewise.
1485
869378a5
RA
14862013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1487
1488 * locale/C-translit.h: Revert #include <stdint.h> because this is a
1489 generated file. Regenerate properly from gen-translit.pl.
1490 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
1491 locale/C-translit.h.
1492
840e2943
AS
14932013-06-05 Andreas Schwab <schwab@suse.de>
1494
1495 [BZ #15100]
1496 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
1497 week as 6 instead of -1.
1498 * time/tst-strptime.c (day_tests): Add test case.
1499
4c60cb0c
SP
15002013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1501
1502 * sysdeps/generic/math_private.h
1503 (libc_feholdexcept_setround_53bit): Replace with
1504 libc_feholdsetround_53bit.
1505 (libc_feupdateenv_53bit): Replace with
1506 libc_feresetround_53bit.
1507 (SET_RESTORE_ROUND_53BIT): Adjust.
1508
d180203e
SP
15092013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1510
96df079a
SP
1511 * string/test-strchrnul.c: Add copyright header.
1512
d180203e
SP
1513 * posix/tst-getaddrinfo4.c: Increase test timeout.
1514
8b0ccb2d
CD
15152013-06-03 Carlos O'Donell <carlos@redhat.com>
1516
1517 [BZ #15536]
1518 * math/libm-test.inc (MAX_EXP): Remove
1519 (MIN_EXP): Define.
1520 (ulp): Use MIN_EXP - MANT_DIG.
1521 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
1522
3b3c4d40
CD
15232013-05-31 Carlos O'Donell <carlos@redhat.com>
1524
1525 * po/be.po: Revert last change.
1526 * po/zh_CN.po: Likewise.
1527 * po/header.pot: Likewise.
1528
fab7ce3f
JM
15292013-05-31 Joseph Myers <joseph@codesourcery.com>
1530
1531 * Makefile ($(common-objpfx)linkobj/libc.so): Define
1532 link-libc-deps to empty as target-specific variable.
1533 * Makerules (link-libc-args): New variable.
1534 (libc-for-link): Likewise.
1535 (link-libc-deps): Likewise.
1536 (lib%.so): Depend on $(link-libc-deps). Link with
1537 $(link-libc-args).
1538 (build-module): Link with $(link-libc-args).
1539 (build-module-asneeded): Likewise.
1540 (build-module-helper-objlist): Filter out $(link-libc-deps) from
1541 list of objects.
1542 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
1543 target-specific variable.
1544 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
1545 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
1546 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
1547 libc.
1548 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
1549 libc and ld.so.
1550 ($(objpfx)libpcprofile.so): Likewise.
1551 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
1552 libc_nonshared.a.
1553 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
1554 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
1555 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
1556 $(link-libc-deps).
1557 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
1558 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
1559 * login/Makefile ($(objpfx)libutil.so): Likewise.
1560 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
1561 * math/Makefile ($(objpfx)libm.so): Likewise.
1562 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
1563 $(objpfx)libnsl.so): Define libc-for-link as target-specific
1564 variable instead of depending directly on libc.
1565 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
1566 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
1567 $(link-libc-deps).
1568 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
1569 libc.
1570 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
1571 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
1572 ($(objpfx)libanl.so): Likewise.
1573 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
1574 ld.so.
1575 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
1576 $(link-libc-deps).
1577 * sysdeps/i386/fpu/Makefile: Remove file.
1578 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
1579 ($(objpfx)libm.so): Remove dependency on ld.so.
1580
eca5920c
PF
15812013-05-30 Patsy Franklin <pfrankli@redhat.com>
1582
1583 [BZ # 15553]
1584 * nis/yp_xdr.c (XDRMAXNAME): Define.
1585 (XDRMAXRECORD): Define.
1586 (xdr_domainname): Use XDRMAXNAME.
1587 (xdr_mapname): Likewise.
1588 (xdr_peername): Likewise.
1589 (xdr_keydat): Use XDRMAXRECORD.
1590 (xdr_valdat): Likewise.
1591
15922013-05-30 Jeff Law <law@redhat.com>
96945714
JL
1593
1594 [BZ #14256]
1595 * manual/errno.texi (ESTALE): Update to account for more than
1596 just NFS file systems.
1597 * sysdeps/gnu/errlist.c: Regenerated.
1598
b9375348
SP
15992013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1600
1601 [BZ #15465]
1602 * elf/Makefile (tests): Add tst-null-argv.
1603 (modules-names): Add tst-null-argv-lib.
1604 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
1605 (tst-null-argv-ENV): Set environment for tst-null-argv.
1606 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
1607 (RTLD_PROGNAME): New macro.
1608 * elf/tst-null-argv.c: New test case.
1609 * elf/tst-null-argv-lib.c: Library for test case.
1610 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
1611 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
1612 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
1613 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
1614 * elf/dl-init.c (call_init): Likewise.
1615 (_dl_init): Likewise.
1616 * elf/dl-load.c (print_search_path): Likewise.
1617 (_dl_map_object): Likewise.
1618 * elf/dl-lookup.c (do_lookup_x): Likewise.
1619 (add_dependency): Likewise.
1620 (_dl_lookup_symbol_x): Likewise.
1621 (_dl_debug_bindings): Likewise.
1622 * elf/dl-open.c (_dl_show_scope): Likewise.
1623 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
1624 * elf/dl-version.c (match_symbol): Likewise.
1625 (_dl_check_map_versions): Likewise.
1626 * elf/rtld.c (dl_main): Likewise.
1627 (print_unresolved): Use RTLD_PROGNAME.
1628 (print_missing_version): Likewise.
1629 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
1630 (elf_machine_rela): Likewise.
1631 * sysdeps/powerpc/powerpc32/dl-machine.c
1632 (__process_machine_rela): Likewise.
1633 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
1634 Likewise.
1635 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1636 Likewise.
1637 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
1638 Likewise.
1639 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
1640 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
1641 Likewise.
1642 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
1643 Likewise.
1644 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1645
8a9f20c8
CD
16462013-05-28 Carlos O'Donell <carlos@redhat.com>
1647
1648 * po/be.po: Add descriptive title.
1649 * po/zh_CN.po: Likewise.
1650 * po/header.pot: Likewise.
1651
0e60d68e
MF
16522013-05-28 Mike Frysinger <vapier@gentoo.org>
1653
1654 * locale/programs/locarchive.c (create_archive): Inlucde fname in
1655 error message.
1656 (enlarge_archive): Likewise.
1657
56b672e9
BN
16582013-05-28 Ben North <ben@redfrontdoor.org>
1659
1660 * manual/arith.texi (frexp): It is the magnitude of the return
1661 value which lies in [0.5, 1), not the return value itself.
1662
5e056687
AZ
16632013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1664
1665 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1666
2b66ef5d
TS
16672013-05-26 Thomas Schwinge <thomas@codesourcery.com>
1668
528c2405
TS
1669 * stdio-common/bug26.c (main): Correct fscanf template.
1670
07b4c13d
TS
1671 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
1672 declare _dl_skip_args.
1673
ec9dd97c
TS
1674 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
1675 Don't declare.
1676
2b66ef5d
TS
1677 * manual/platform.texi: Add missing @end deftypefun.
1678
4f8dfe27
JM
16792013-05-24 Joseph Myers <joseph@codesourcery.com>
1680
0323d086
JM
1681 [BZ #15529]
1682 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
1683 bit of mantissa of 2^16382.
1684 * math/libm-test.inc (hypot_test_data): Add more tests.
1685
dd4259b9
JM
1686 * math/libm-test.inc: Add drem and pow10 to list of tested
1687 functions.
1688 (pow10_test): New function.
1689 (drem_test): Likewise.
1690 (drem_test_tonearest): Likewise.
1691 (drem_test_towardzero): Likewise.
1692 (drem_test_downward): Likewise.
1693 (drem_test_upward): Likewise.
1694 (main): Call the new functions.
1695
4f8dfe27
JM
1696 * math/libm-test.inc (finite_test_data): Remove.
1697 (finite_test): Run tests from isfinite_test_data.
1698 (gamma_test_data): Remove.
1699 (gamma_test): Run tests from lgamma_test_data.
1700 * sysdeps/i386/fpu/libm-test-ulps: Update.
1701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1702
d116b7c4
AZ
17032013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1704
1705 * manual/platform.texi: Add PowerPC PPR function set documentation.
1706 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
1707 implementation.
1708
e96e3767
CD
17092013-05-24 Carlos O'Donell <carlos@redhat.com>
1710
1711 * math/libm-test.inc (MAX_EXP): Define.
1712 (ULPDIFF): Define.
1713 (ulp): New function.
1714 (check_float_internal): Use ULPDIFF.
1715 (cpow_test): Disable failing test.
1716 (check_ulp): Test ulp() implemetnation.
1717 (main): Call check_ulp before starting tests.
1718
b679a606
JM
17192013-05-24 Joseph Myers <joseph@codesourcery.com>
1720
e8bdba36
JM
1721 * math/gen-libm-test.pl (generate_testfile): Do not handle
1722 START_DATA and END_DATA.
1723 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
1724 END_DATA.
1725 (acos_tonearest_test_data): Likewise.
1726 (acos_towardzero_test_data): Likewise.
1727 (acos_downward_test_data): Likewise.
1728 (acos_upward_test_data): Likewise.
1729 (acosh_test_data): Likewise.
1730 (asin_test_data): Likewise.
1731 (asin_tonearest_test_data): Likewise.
1732 (asin_towardzero_test_data): Likewise.
1733 (asin_downward_test_data): Likewise.
1734 (asin_upward_test_data): Likewise.
1735 (asinh_test_data): Likewise.
1736 (atan_test_data): Likewise.
1737 (atanh_test_data): Likewise.
1738 (atan2_test_data): Likewise.
1739 (cabs_test_data): Likewise.
1740 (cacos_test_data): Likewise.
1741 (cacosh_test_data): Likewise.
1742 (carg_test_data): Likewise.
1743 (casin_test_data): Likewise.
1744 (casinh_test_data): Likewise.
1745 (catan_test_data): Likewise.
1746 (catanh_test_data): Likewise.
1747 (cbrt_test_data): Likewise.
1748 (ccos_test_data): Likewise.
1749 (ccosh_test_data): Likewise.
1750 (ceil_test_data): Likewise.
1751 (cexp_test_data): Likewise.
1752 (cimag_test_data): Likewise.
1753 (clog_test_data): Likewise.
1754 (clog10_test_data): Likewise.
1755 (conj_test_data): Likewise.
1756 (copysign_test_data): Likewise.
1757 (cos_test_data): Likewise.
1758 (cos_tonearest_test_data): Likewise.
1759 (cos_towardzero_test_data): Likewise.
1760 (cos_downward_test_data): Likewise.
1761 (cos_upward_test_data): Likewise.
1762 (cosh_test_data): Likewise.
1763 (cosh_tonearest_test_data): Likewise.
1764 (cosh_towardzero_test_data): Likewise.
1765 (cosh_downward_test_data): Likewise.
1766 (cosh_upward_test_data): Likewise.
1767 (cpow_test_data): Likewise.
1768 (cproj_test_data): Likewise.
1769 (creal_test_data): Likewise.
1770 (csin_test_data): Likewise.
1771 (csinh_test_data): Likewise.
1772 (csqrt_test_data): Likewise.
1773 (ctan_test_data): Likewise.
1774 (ctan_tonearest_test_data): Likewise.
1775 (ctan_towardzero_test_data): Likewise.
1776 (ctan_downward_test_data): Likewise.
1777 (ctan_upward_test_data): Likewise.
1778 (ctanh_test_data): Likewise.
1779 (ctanh_tonearest_test_data): Likewise.
1780 (ctanh_towardzero_test_data): Likewise.
1781 (ctanh_downward_test_data): Likewise.
1782 (ctanh_upward_test_data): Likewise.
1783 (erf_test_data): Likewise.
1784 (erfc_test_data): Likewise.
1785 (exp_test_data): Likewise.
1786 (exp_tonearest_test_data): Likewise.
1787 (exp_towardzero_test_data): Likewise.
1788 (exp_downward_test_data): Likewise.
1789 (exp_upward_test_data): Likewise.
1790 (exp10_test_data): Likewise.
1791 (exp2_test_data): Likewise.
1792 (expm1_test_data): Likewise.
1793 (fabs_test_data): Likewise.
1794 (fdim_test_data): Likewise.
1795 (finite_test_data): Likewise.
1796 (floor_test_data): Likewise.
1797 (fma_test_data): Likewise.
1798 (fma_towardzero_test_data): Likewise.
1799 (fma_downward_test_data): Likewise.
1800 (fma_upward_test_data): Likewise.
1801 (fmax_test_data): Likewise.
1802 (fmin_test_data): Likewise.
1803 (fmod_test_data): Likewise.
1804 (fpclassify_test_data): Likewise.
1805 (frexp_test_data): Likewise.
1806 (gamma_test_data): Likewise.
1807 (hypot_test_data): Likewise.
1808 (ilogb_test_data): Likewise.
1809 (isfinite_test_data): Likewise.
1810 (isgreater_test_data): Likewise.
1811 (isgreaterequal_test_data): Likewise.
1812 (isinf_test_data): Likewise.
1813 (isless_test_data): Likewise.
1814 (islessequal_test_data): Likewise.
1815 (islessgreater_test_data): Likewise.
1816 (isnan_test_data): Likewise.
1817 (isnormal_test_data): Likewise.
1818 (issignaling_test_data): Likewise.
1819 (isunordered_test_data): Likewise.
1820 (j0_test_data): Likewise.
1821 (j1_test_data): Likewise.
1822 (jn_test_data): Likewise.
1823 (ldexp_test_data): Likewise.
1824 (lgamma_test_data): Likewise.
1825 (lrint_test_data): Likewise.
1826 (lrint_tonearest_test_data): Likewise.
1827 (lrint_towardzero_test_data): Likewise.
1828 (lrint_downward_test_data): Likewise.
1829 (lrint_upward_test_data): Likewise.
1830 (llrint_test_data): Likewise.
1831 (llrint_tonearest_test_data): Likewise.
1832 (llrint_towardzero_test_data): Likewise.
1833 (llrint_downward_test_data): Likewise.
1834 (llrint_upward_test_data): Likewise.
1835 (log_test_data): Likewise.
1836 (log10_test_data): Likewise.
1837 (log1p_test_data): Likewise.
1838 (log2_test_data): Likewise.
1839 (logb_test_data): Likewise.
1840 (logb_downward_test_data): Likewise.
1841 (lround_test_data): Likewise.
1842 (llround_test_data): Likewise.
1843 (modf_test_data): Likewise.
1844 (nearbyint_test_data): Likewise.
1845 (nextafter_test_data): Likewise.
1846 (nexttoward_test_data): Likewise.
1847 (pow_test_data): Likewise.
1848 (pow_tonearest_test_data): Likewise.
1849 (pow_towardzero_test_data): Likewise.
1850 (pow_downward_test_data): Likewise.
1851 (pow_upward_test_data): Likewise.
1852 (remainder_test_data): Likewise.
1853 (remainder_tonearest_test_data): Likewise.
1854 (remainder_towardzero_test_data): Likewise.
1855 (remainder_downward_test_data): Likewise.
1856 (remainder_upward_test_data): Likewise.
1857 (remquo_test_data): Likewise.
1858 (rint_test_data): Likewise.
1859 (rint_tonearest_test_data): Likewise.
1860 (rint_towardzero_test_data): Likewise.
1861 (rint_downward_test_data): Likewise.
1862 (rint_upward_test_data): Likewise.
1863 (round_test_data): Likewise.
1864 (scalb_test_data): Likewise.
1865 (scalbn_test_data): Likewise.
1866 (scalbln_test_data): Likewise.
1867 (signbit_test_data): Likewise.
1868 (sin_test_data): Likewise.
1869 (sin_tonearest_test_data): Likewise.
1870 (sin_towardzero_test_data): Likewise.
1871 (sin_downward_test_data): Likewise.
1872 (sin_upward_test_data): Likewise.
1873 (sincos_test_data): Likewise.
1874 (sinh_test_data): Likewise.
1875 (sinh_tonearest_test_data): Likewise.
1876 (sinh_towardzero_test_data): Likewise.
1877 (sinh_downward_test_data): Likewise.
1878 (sinh_upward_test_data): Likewise.
1879 (sqrt_test_data): Likewise.
1880 (tan_test_data): Likewise.
1881 (tan_tonearest_test_data): Likewise.
1882 (tan_towardzero_test_data): Likewise.
1883 (tan_downward_test_data): Likewise.
1884 (tan_upward_test_data): Likewise.
1885 (tanh_test_data): Likewise.
1886 (tgamma_test_data): Likewise.
1887 (trunc_test_data): Likewise.
1888 (y0_test_data): Likewise.
1889 (y1_test_data): Likewise.
1890 (yn_test_data): Likewise.
1891 (significand_test_data): Likewise.
1892
b679a606
JM
1893 * math/gen-libm-test.pl (@functions): Remove variable.
1894 (generate_testfile): Don't handle START and END lines.
1895 * math/libm-test.inc (START): New macro.
1896 (END): Likewise.
1897 (END_COMPLEX): Likewise.
1898 (acos_test): Use END macro without arguments.
1899 (acos_test_tonearest): Likewise.
1900 (acos_test_towardzero): Likewise.
1901 (acos_test_downward): Likewise.
1902 (acos_test_upward): Likewise.
1903 (acosh_test): Likewise.
1904 (asin_test): Likewise.
1905 (asin_test_tonearest): Likewise.
1906 (asin_test_towardzero): Likewise.
1907 (asin_test_downward): Likewise.
1908 (asin_test_upward): Likewise.
1909 (asinh_test): Likewise.
1910 (atan_test): Likewise.
1911 (atanh_test): Likewise.
1912 (atan2_test): Likewise.
1913 (cabs_test): Likewise.
1914 (cacos_test): Use END_COMPLEX macro without arguments.
1915 (cacosh_test): Likewise.
1916 (carg_test): Use END macro without arguments.
1917 (casin_test): Use END_COMPLEX macro without arguments.
1918 (casinh_test): Likewise.
1919 (catan_test): Likewise.
1920 (catanh_test): Likewise.
1921 (cbrt_test): Use END macro without arguments.
1922 (ccos_test): Use END_COMPLEX macro without arguments.
1923 (ccosh_test): Likewise.
1924 (ceil_test): Use END macro without arguments.
1925 (cexp_test): Use END_COMPLEX macro without arguments.
1926 (cimag_test): Use END macro without arguments.
1927 (clog_test): Use END_COMPLEX macro without arguments.
1928 (clog10_test): Likewise.
1929 (conj_test): Likewise.
1930 (copysign_test): Use END macro without arguments.
1931 (cos_test): Likewise.
1932 (cos_test_tonearest): Likewise.
1933 (cos_test_towardzero): Likewise.
1934 (cos_test_downward): Likewise.
1935 (cos_test_upward): Likewise.
1936 (cosh_test): Likewise.
1937 (cosh_test_tonearest): Likewise.
1938 (cosh_test_towardzero): Likewise.
1939 (cosh_test_downward): Likewise.
1940 (cosh_test_upward): Likewise.
1941 (cpow_test): Use END_COMPLEX macro without arguments.
1942 (cproj_test): Likewise.
1943 (creal_test): Use END macro without arguments.
1944 (csin_test): Use END_COMPLEX macro without arguments.
1945 (csinh_test): Likewise.
1946 (csqrt_test): Likewise.
1947 (ctan_test): Likewise.
1948 (ctan_test_tonearest): Likewise.
1949 (ctan_test_towardzero): Likewise.
1950 (ctan_test_downward): Likewise.
1951 (ctan_test_upward): Likewise.
1952 (ctanh_test): Likewise.
1953 (ctanh_test_tonearest): Likewise.
1954 (ctanh_test_towardzero): Likewise.
1955 (ctanh_test_downward): Likewise.
1956 (ctanh_test_upward): Likewise.
1957 (erf_test): Use END macro without arguments.
1958 (erfc_test): Likewise.
1959 (exp_test): Likewise.
1960 (exp_test_tonearest): Likewise.
1961 (exp_test_towardzero): Likewise.
1962 (exp_test_downward): Likewise.
1963 (exp_test_upward): Likewise.
1964 (exp10_test): Likewise.
1965 (exp2_test): Likewise.
1966 (expm1_test): Likewise.
1967 (fabs_test): Likewise.
1968 (fdim_test): Likewise.
1969 (finite_test): Likewise.
1970 (floor_test): Likewise.
1971 (fma_test): Likewise.
1972 (fma_test_towardzero): Likewise.
1973 (fma_test_downward): Likewise.
1974 (fma_test_upward): Likewise.
1975 (fmax_test): Likewise.
1976 (fmin_test): Likewise.
1977 (fmod_test): Likewise.
1978 (fpclassify_test): Likewise.
1979 (frexp_test): Likewise.
1980 (gamma_test): Likewise.
1981 (hypot_test): Likewise.
1982 (ilogb_test): Likewise.
1983 (isfinite_test): Likewise.
1984 (isgreater_test): Likewise.
1985 (isgreaterequal_test): Likewise.
1986 (isinf_test): Likewise.
1987 (isless_test): Likewise.
1988 (islessequal_test): Likewise.
1989 (islessgreater_test): Likewise.
1990 (isnan_test): Likewise.
1991 (isnormal_test): Likewise.
1992 (issignaling_test): Likewise.
1993 (isunordered_test): Likewise.
1994 (j0_test): Likewise.
1995 (j1_test): Likewise.
1996 (jn_test): Likewise.
1997 (ldexp_test): Likewise.
1998 (lgamma_test): Likewise.
1999 (lrint_test): Likewise.
2000 (lrint_test_tonearest): Likewise.
2001 (lrint_test_towardzero): Likewise.
2002 (lrint_test_downward): Likewise.
2003 (lrint_test_upward): Likewise.
2004 (llrint_test): Likewise.
2005 (llrint_test_tonearest): Likewise.
2006 (llrint_test_towardzero): Likewise.
2007 (llrint_test_downward): Likewise.
2008 (llrint_test_upward): Likewise.
2009 (log_test): Likewise.
2010 (log10_test): Likewise.
2011 (log1p_test): Likewise.
2012 (log2_test): Likewise.
2013 (logb_test): Likewise.
2014 (logb_test_downward): Likewise.
2015 (lround_test): Likewise.
2016 (llround_test): Likewise.
2017 (modf_test): Likewise.
2018 (nearbyint_test): Likewise.
2019 (nextafter_test): Likewise.
2020 (nexttoward_test): Likewise.
2021 (pow_test): Likewise.
2022 (pow_test_tonearest): Likewise.
2023 (pow_test_towardzero): Likewise.
2024 (pow_test_downward): Likewise.
2025 (pow_test_upward): Likewise.
2026 (remainder_test): Likewise.
2027 (remainder_test_tonearest): Likewise.
2028 (remainder_test_towardzero): Likewise.
2029 (remainder_test_downward): Likewise.
2030 (remainder_test_upward): Likewise.
2031 (remquo_test): Likewise.
2032 (rint_test): Likewise.
2033 (rint_test_tonearest): Likewise.
2034 (rint_test_towardzero): Likewise.
2035 (rint_test_downward): Likewise.
2036 (rint_test_upward): Likewise.
2037 (round_test): Likewise.
2038 (scalb_test): Likewise.
2039 (scalbn_test): Likewise.
2040 (scalbln_test): Likewise.
2041 (signbit_test): Likewise.
2042 (sin_test): Likewise.
2043 (sin_test_tonearest): Likewise.
2044 (sin_test_towardzero): Likewise.
2045 (sin_test_downward): Likewise.
2046 (sin_test_upward): Likewise.
2047 (sincos_test): Likewise.
2048 (sinh_test): Likewise.
2049 (sinh_test_tonearest): Likewise.
2050 (sinh_test_towardzero): Likewise.
2051 (sinh_test_downward): Likewise.
2052 (sinh_test_upward): Likewise.
2053 (sqrt_test): Likewise.
2054 (tan_test): Likewise.
2055 (tan_test_tonearest): Likewise.
2056 (tan_test_towardzero): Likewise.
2057 (tan_test_downward): Likewise.
2058 (tan_test_upward): Likewise.
2059 (tanh_test): Likewise.
2060 (tgamma_test): Likewise.
2061 (trunc_test): Likewise.
2062 (y0_test): Likewise.
2063 (y1_test): Likewise.
2064 (yn_test): Likewise.
2065 (significand_test): Likewise.
2066
bae143d2
OB
20672013-05-24 Ondřej Bílka <neleai@seznam.cz>
2068
2069 [BZ #15381]
2070 * libio/genops.c (_IO_no_init): Initialize wide struct info.
2071
9323d39b
EM
20722013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
2073
d4ea44a0 2074 [BZ #14894]
9323d39b
EM
2075 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
2076 __ppc_mdoio and __ppc_mdoom.
2077 * manual/platform.texi: Document new functions __ppc_yield,
2078 __ppc_mdoio and __ppc_mdoom.
2079
13e23af7
CD
20802013-05-22 Carlos O'Donell <carlos@redhat.com>
2081
2082 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
2083 (main): Mention "tls" pseudo-hwcap is legacy.
2084 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
2085
351fe550
JM
20862013-05-22 Joseph Myers <joseph@codesourcery.com>
2087
2088 * math/gen-libm-test.pl (parse_args): Output only string of
2089 arguments as text for test name, not full call or descriptions of
2090 tests for extra outputs.
2091 (generate_testfile): Do not pass function name to parse_args.
2092 Generate this_func variable from START.
2093 * math/libm-test.inc (struct test_f_f_data): Rename test_name
2094 field to arg_str.
2095 (struct test_ff_f_data): Likewise.
2096 (test_ff_f_data_nexttoward): Likewise.
2097 (struct test_fi_f_data): Likewise.
2098 (struct test_fl_f_data): Likewise.
2099 (struct test_if_f_data): Likewise.
2100 (struct test_fff_f_data): Likewise.
2101 (struct test_c_f_data): Likewise.
2102 (struct test_f_f1_data): Likewise. Remove field extra_name.
2103 (struct test_fF_f1_data): Likewise.
2104 (struct test_ffI_f1_data): Likewise.
2105 (struct test_c_c_data): Rename test_name field to arg_str.
2106 (struct test_cc_c_data): Likewise.
2107 (struct test_f_i_data): Likewise.
2108 (struct test_ff_i_data): Likewise.
2109 (struct test_f_l_data): Likewise.
2110 (struct test_f_L_data): Likewise.
2111 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
2112 and extra2_name.
2113 (COMMON_TEST_SETUP): New macro.
2114 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
2115 (COMMON_TEST_CLEANUP): Likewise.
2116 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
2117 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
2118 macros.
2119 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
2120 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
2121 macros.
2122 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
2123 (RUN_TEST_fff_f): Take argument string. Call new setup and
2124 cleanup macros.
2125 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
2126 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
2127 macros.
2128 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
2129 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
2130 macros.
2131 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2132 (RUN_TEST_fF_f1): Take argument string. Call new setup and
2133 cleanup macros.
2134 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2135 (RUN_TEST_fI_f1): Take argument string. Call new setup and
2136 cleanup macros.
2137 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2138 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
2139 cleanup macros.
2140 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2141 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
2142 macros.
2143 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
2144 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
2145 macros.
2146 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
2147 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
2148 macros.
2149 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
2150 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
2151 cleanup macros.
2152 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
2153 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
2154 cleanup macros.
2155 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
2156 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
2157 macros.
2158 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
2159 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
2160 cleanup macros.
2161 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
2162 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
2163 macros.
2164 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
2165 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
2166 macros.
2167 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
2168 (RUN_TEST_fFF_11): Take argument string. Call new setup and
2169 cleanup macros.
2170 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
2171
85118d4d
EBM
21722013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2173
2174 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
2175 to _sifields.sigfault.
2176 (si_addr_lsb): Define new macro.
2177 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
2178 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2179 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
2180
7a44c18f
CD
21812013-05-03 Carlos O'Donell <carlos at redhat.com>
2182
2183 [BZ #15441]
2184 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
2185 returns -1.
2186 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
2187 null return -1.
2188 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
2189 loading the domain.
2190
b50a7181
JM
21912013-05-22 Joseph Myers <joseph@codesourcery.com>
2192
2193 * math/gen-libm-test.pl (parse_args): Do not include expected
2194 result in test name.
2195 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
2196 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2197 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2198 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2199 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2200 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2201
051063c8
SP
22022013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2203
3ce9e010
SP
2204 * benchtests/Makefile: Sort function entries.
2205
051063c8
SP
2206 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
2207 tanh, asinh, acosh, atanh.
2208 * benchtests/acos-inputs: New file.
2209 * benchtests/acosh-inputs: New file.
2210 * benchtests/asin-inputs: New file.
2211 * benchtests/asinh-inputs: New file.
2212 * benchtests/atanh-inputs: New file.
2213 * benchtests/cosh-inputs: New file.
2214 * benchtests/log-inputs: New file.
2215 * benchtests/sinh-inputs: New file.
2216 * benchtests/tanh-inputs: New file.
2217
47c22455
DL
22182013-05-21 Dmitry V. Levin <ldv@altlinux.org>
2219
2220 [BZ #15339]
2221 * posix/tst-getaddrinfo4.c: New test.
2222 * posix/Makefile (tests): Add it.
2223
3d04f5db
SP
22242013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2225
2226 [BZ #15339]
2227 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
2228 when no services were used.
2229 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
2230 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
2231
d5dd6189
AS
22322013-05-21 Andreas Schwab <schwab@suse.de>
2233
2234 [BZ #15014]
2235 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
2236 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
2237 successful.
2238 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
2239 redundant variable declarations and reallocation of buffer when
2240 parsing as IPv6 address. Always set NSS status when called from
2241 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
2242 buffer too small. Correct computation of needed size.
2243 * nss/Makefile (tests): Add test-digits-dots.
2244 * nss/test-digits-dots.c: New test.
2245
fef94eab
SP
22462013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2247
2248 * benchtests/Makefile: Remove instructions for adding
2249 benchmark tests.
2250 * benchtests/README: New file to explain how to execute and
2251 enhance the benchmark tests.
2252
e39adf43
AS
22532013-05-21 Andreas Schwab <schwab@suse.de>
2254
2255 [BZ #15493]
2256 * setjmp/Makefile (tests): Add tst-sigsetjmp.
2257 * setjmp/tst-sigsetjmp.c: New test.
2258
b2b671b6
OB
22592013-05-20 Ondřej Bílka <neleai@seznam.cz>
2260
2261 * sysdeps/x86_64/memset.S (memset): New implementation.
2262 (__bzero): Likewise.
2263 (__memset_tail): New function.
2264
2d48b41c
OB
22652013-05-20 Ondřej Bílka <neleai@seznam.cz>
2266
2267 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
2268 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
2269 __memcpy_sse2_unaligned ifunc selection.
2270 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2271 Add memcpy-sse2-unaligned.S.
2272 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2273 Add: __memcpy_sse2_unaligned.
2274
f16cc3eb
JM
22752013-05-19 Joseph Myers <joseph@codesourcery.com>
2276
3e694268
JM
2277 [BZ #15490]
2278 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
2279 math_force_eval before restoring floating-point envrionment.
2280 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
2281 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
2282 Likewise.
2283 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
2284 <math_private.h>.
2285 (__nearbyintl): Use math_force_eval before restoring
2286 floating-point environment.
2287 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
2288
db62a907
JM
2289 * math/gen-libm-test.pl (special_functions): Remove.
2290 (parse_args): Don't handle TEST_extra. Handle functions with no
2291 return value.
2292 * math/libm-test.inc (struct test_sincos_data): Replace with
2293 struct test_fFF_11_data.
2294 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
2295 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
2296 (sincos_test_data): Change element type to struct
2297 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
2298 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
2299 RUN_TEST_LOOP_sincos.
2300 * math/README.libm-test: Don't mention special handling of
2301 individual functions.
2302 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
2303 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2304 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2305 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2306 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2307 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2308
f16cc3eb
JM
2309 * math/gen-libm-test.pl (get_variable): Remove function.
2310 (parse_args): Don't show pointer parameters to call in test
2311 names. Use "extra output N" in test names for extra outputs
2312 rather than naming variables.
2313
3779b5b6
JM
23142013-05-18 Joseph Myers <joseph@codesourcery.com>
2315
2ee094ff
JM
2316 [BZ #15488]
2317 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
2318 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
2319 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
2320 double tests.
2321 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
2322 disable.
2323 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
2324 check_long_double.
2325
3779b5b6
JM
2326 * math/gen-libm-test.pl (@tests): Remove variable.
2327 ($count): Likewise.
2328 (new_test): Remove function.
2329 (show_exceptions): New function.
2330 (special_functions): Use show_exceptions instead of new_test.
2331 (parse_args): Likewise.
2332 (generate_testfile): Pass only function name in generated call to
2333 print_max_error or print_complex_max_error.
2334 (get_ulps): Do not handle complex tests specially.
2335 (output_test): Rename to ...
2336 (get_all_ulps_for_test): ... this. Return a string rather than
2337 printing to a file. Require ulps to be present.
2338 (output_ulps): Generate arrays rather than #defines.
2339 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
2340 (struct ulp_data): New type.
2341 (BUILD_COMPLEX_ULP): Remove macro.
2342 (compare_ulp_data): New function.
2343 (find_ulps): Likewise.
2344 (find_test_ulps): Likewise.
2345 (find_function_ulps): Likewise.
2346 (find_complex_function_ulps): Likewise.
2347 (print_max_error): Determine allowed ulps using
2348 find_function_ulps.
2349 (print_complex_max_error): Determine allowed ulps using
2350 find_complex_function_ulps.
2351 (check_float_internal): Determine max ulps using find_test_ulps.
2352 (check_float): Do not take max_ulp parameter. Update call to
2353 check_float_internal.
2354 (check_complex): Likewise.
2355 (check_int): Do not take max_ulp parameter.
2356 (check_long): Likewise.
2357 (check_bool): Likewise.
2358 (check_longlong): Likewise.
2359 (struct test_f_f_data): Remove max_ulp field.
2360 (struct test_ff_f_data): Likewise.
2361 (struct test_ff_f_data_nexttoward): Likewise.
2362 (struct test_fi_f_data): Likewise.
2363 (struct test_fl_f_data): Likewise.
2364 (struct test_if_f_data): Likewise.
2365 (struct test_fff_f_data): Likewise.
2366 (struct test_c_f_data): Likewise.
2367 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
2368 (struct test_fF_f1_data): Likewise.
2369 (struct test_ffI_f1_data): Likewise.
2370 (struct test_c_c_data): Remove max_ulp field.
2371 (struct test_cc_c_data): Likewise.
2372 (struct test_f_i_data): Likewise.
2373 (struct test_ff_i_data): Likewise.
2374 (struct test_f_l_data): Likewise.
2375 (struct test_f_L_data): Likewise.
2376 (struct test_sincos_data): Likewise.
2377 (RUN_TEST_f_f): Do not handle ulps.
2378 (RUN_TEST_LOOP_f_f): Likewise.
2379 (RUN_TEST_2_f): Likewise.
2380 (RUN_TEST_LOOP_2_f): Likewise.
2381 (RUN_TEST_fff_f): Likewise.
2382 (RUN_TEST_LOOP_fff_f): Likewise.
2383 (RUN_TEST_c_f): Likewise.
2384 (RUN_TEST_LOOP_c_f): Likewise.
2385 (RUN_TEST_f_f1): Likewise.
2386 (RUN_TEST_LOOP_f_f1): Likewise.
2387 (RUN_TEST_fF_f1): Likewise.
2388 (RUN_TEST_LOOP_fF_f1): Likewise.
2389 (RUN_TEST_fI_f1): Likewise.
2390 (RUN_TEST_LOOP_fI_f1): Likewise.
2391 (RUN_TEST_ffI_f1): Likewise.
2392 (RUN_TEST_LOOP_ffI_f1): Likewise.
2393 (RUN_TEST_c_c): Likewise.
2394 (RUN_TEST_LOOP_c_c): Likewise.
2395 (RUN_TEST_cc_c): Likewise.
2396 (RUN_TEST_LOOP_cc_c): Likewise.
2397 (RUN_TEST_f_i): Likewise.
2398 (RUN_TEST_LOOP_f_i): Likewise.
2399 (RUN_TEST_f_i_tg): Likewise.
2400 (RUN_TEST_LOOP_f_i_tg): Likewise.
2401 (RUN_TEST_ff_i_tg): Likewise.
2402 (RUN_TEST_LOOP_ff_i_tg): Likewise.
2403 (RUN_TEST_f_b): Likewise.
2404 (RUN_TEST_LOOP_f_b): Likewise.
2405 (RUN_TEST_f_b_tg): Likewise.
2406 (RUN_TEST_LOOP_f_b_tg): Likewise.
2407 (RUN_TEST_f_l): Likewise.
2408 (RUN_TEST_LOOP_f_l): Likewise.
2409 (RUN_TEST_f_L): Likewise.
2410 (RUN_TEST_LOOP_f_L): Likewise.
2411 (RUN_TEST_sincos): Likewise.
2412 (RUN_TEST_LOOP_sincos): Likewise.
2413
8269107f
JM
24142013-05-17 Joseph Myers <joseph@codesourcery.com>
2415
bb38759d
JM
2416 [BZ #15480]
2417 [BZ #15485]
2418 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
2419 main case of finite arguments, set rounding mode to FE_TONEAREST
2420 and discard exceptions.
2421 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
2422 exceptions.
2423 (remainder_tonearest_test_data): New variable.
2424 (remainder_test_tonearest): New function.
2425 (remainder_towardzero_test_data): New variable.
2426 (remainder_test_towardzero): New function.
2427 (remainder_downward_test_data): New variable.
2428 (remainder_test_downward): New function.
2429 (remainder_upward_test_data): New variable.
2430 (remainder_test_upward): New function.
2431 (main): Call the new test functions.
2432
a00bdcf0
JM
2433 * math/libm-test.inc (struct test_f_f1_data): Remove field
2434 extra_init.
2435 (struct test_fF_f1_data): Likewise.
2436 (struct test_ffI_f1_data): Likewise.
2437 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
2438 based on value of EXTRA_EXPECTED.
2439 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2440 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
2441 EXTRA_VAR based on value of EXTRA_EXPECTED.
2442 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2443 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
2444 EXTRA_VAR based on value of EXTRA_EXPECTED.
2445 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2446 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
2447 EXTRA_VAR based on value of EXTRA_EXPECTED.
2448 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2449 * math/gen-libm-test.pl (parse_args): Don't output initializers
2450 for extra output values.
2451
de407f79
JM
2452 * math/libm-test.inc (check_int): Expect result to be exactly
2453 equal to expected value and do not handle ulps.
2454 (check_long): Likewise.
2455 (check_longlong): Likewise.
2456
8269107f
JM
2457 * math/libm-test.inc (ceil_test_data): Test for "inexact"
2458 exceptions.
2459 (cimag_test_data): Likewise.
2460 (conj_test_data): Likewise.
2461 (copysign_test_data): Likewise.
2462 (cproj_test_data): Likewise.
2463 (creal_test_data): Likewise.
2464 (fabs_test_data): Likewise.
2465 (fdim_test_data): Likewise.
2466 (finite_test_data): Likewise.
2467 (floor_test_data): Likewise.
2468 (fmax_test_data): Likewise.
2469 (fmin_test_data): Likewise.
2470 (fmod_test_data): Likewise.
2471 (fpclassify_test_data): Likewise.
2472 (frexp_test_data): Likewise.
2473 (ilogb_test_data): Likewise.
2474 (isfinite_test_data): Likewise.
2475 (isgreater_test_data): Likewise.
2476 (isgreaterequal_test_data): Likewise.
2477 (isinf_test_data): Likewise.
2478 (isless_test_data): Likewise.
2479 (islessequal_test_data): Likewise.
2480 (islessgreater_test_data): Likewise.
2481 (isnan_test_data): Likewise.
2482 (isnormal_test_data): Likewise.
2483 (issignaling_test_data): Likewise.
2484 (isunordered_test_data): Likewise.
2485 (ldexp_test_data): Likewise.
2486 (lrint_test_data): Likewise.
2487 (lrint_test_data) [TEST_FLOAT]: Disable one test.
2488 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
2489 (lrint_tonearest_test_data): Test for "inexact" exceptions.
2490 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2491 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
2492 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2493 test input.
2494 (lrint_towardzero_test_data): Test for "inexact" exceptions.
2495 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2496 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
2497 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
2498 that test input.
2499 (lrint_downward_test_data): Test for "inexact" exceptions.
2500 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2501 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
2502 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2503 test input.
2504 (lrint_upward_test_data): Test for "inexact" exceptions.
2505 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
2506 test input.
2507 (llrint_test_data): Test for "inexact" exceptions.
2508 (llrint_test_data) [TEST_FLOAT]: Disable one test.
2509 (llrint_tonearest_test_data): Test for "inexact" exceptions.
2510 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2511 (llrint_towardzero_test_data): Test for "inexact" exceptions.
2512 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2513 (llrint_downward_test_data): Test for "inexact" exceptions.
2514 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2515 (llrint_upward_test_data): Test for "inexact" exceptions.
2516 (logb_test_data): Likewise.
2517 (logb_downward_test_data): Likewise.
2518 (nextafter_test_data): Likewise.
2519 (nexttoward_test_data): Likewise.
2520 (remainder_test_data): Likewise.
2521 (remquo_test_data): Likewise.
2522 (scalbn_test_data): Likewise.
2523 (scalbln_test_data): Likewise.
2524 (signbit_test_data): Likewise.
2525 (sqrt_test_data): Likewise.
2526 (significand_test_data): Likewise.
2527
48a18de1
SP
25282013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2529
2530 [BZ #15424]
2531 * benchtests/bench-modf.c (struct args): Mark arg0 as
2532 volatile.
2533 * scripts/bench.pl: Mark members of struct args as volatile.
2534
13d3b41a
AZ
25352013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2536
68191c1d 2537 [BZ # 15497]
13d3b41a
AZ
2538 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
2539 negative infinity on POWER6 or lower.
2540 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
2541
2848b105
MR
25422013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
2543
2544 [BZ #15442]
2545 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
2546 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
2547 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
2548 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
2549 (_FP_SETQNAN): New macro.
2550 (_FP_SETQNAN_SEMIRAW): Likewise.
2551 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
2552 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
2553 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
2554 (FP_EXTEND): Use _FP_FRAC_SNANP.
2555 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
2556 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
2557 into account.
2558 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2559 New macro.
2560 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2561 Likewise.
2562
323e5cb7
JM
25632013-05-16 Joseph Myers <joseph@codesourcery.com>
2564
c58b274f
JM
2565 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
2566 with DIVIDE_BY_ZERO_EXCEPTION.
2567 (gamma_test_data): Likewise.
2568 (lgamma_test_data): Likewise.
2569 (log_test_data): Likewise.
2570 (log10_test_data): Likewise.
2571 (log2_test_data): Likewise.
2572 (tgamma_test_data): Likewise.
2573
0ab34904
JM
2574 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
2575 (acos_test_tonearest): Likewise.
2576 (acos_test_towardzero): Likewise.
2577 (acos_test_downward): Likewise.
2578 (acos_test_upward): Likewise.
2579 (acosh_test): Likewise.
2580 (asin_test): Likewise.
2581 (asin_test_tonearest): Likewise.
2582 (asin_test_towardzero): Likewise.
2583 (asin_test_downward): Likewise.
2584 (asin_test_upward): Likewise.
2585 (asinh_test): Likewise.
2586 (atan_test): Likewise.
2587 (atanh_test): Likewise.
2588 (atan2_test): Likewise.
2589 (cabs_test): Likewise.
2590 (cacos_test): Likewise.
2591 (cacosh_test): Likewise.
2592 (casin_test): Likewise.
2593 (casinh_test): Likewise.
2594 (catan_test): Likewise.
2595 (catanh_test): Likewise.
2596 (cbrt_test): Likewise.
2597 (ccos_test): Likewise.
2598 (ccosh_test): Likewise.
2599 (cexp_test): Likewise.
2600 (clog_test): Likewise.
2601 (clog10_test): Likewise.
2602 (cos_test): Likewise.
2603 (cos_test_tonearest): Likewise.
2604 (cos_test_towardzero): Likewise.
2605 (cos_test_downward): Likewise.
2606 (cos_test_upward): Likewise.
2607 (cosh_test): Likewise.
2608 (cosh_test_tonearest): Likewise.
2609 (cosh_test_towardzero): Likewise.
2610 (cosh_test_downward): Likewise.
2611 (cosh_test_upward): Likewise.
2612 (cpow_test): Likewise.
2613 (csin_test): Likewise.
2614 (csinh_test): Likewise.
2615 (csqrt_test): Likewise.
2616 (ctan_test): Likewise.
2617 (ctan_test_tonearest): Likewise.
2618 (ctan_test_towardzero): Likewise.
2619 (ctan_test_downward): Likewise.
2620 (ctan_test_upward): Likewise.
2621 (ctanh_test): Likewise.
2622 (ctanh_test_tonearest): Likewise.
2623 (ctanh_test_towardzero): Likewise.
2624 (ctanh_test_downward): Likewise.
2625 (ctanh_test_upward): Likewise.
2626 (erf_test): Likewise.
2627 (erfc_test): Likewise.
2628 (exp_test): Likewise.
2629 (exp_test_tonearest): Likewise.
2630 (exp_test_towardzero): Likewise.
2631 (exp_test_downward): Likewise.
2632 (exp_test_upward): Likewise.
2633 (exp10_test): Likewise.
2634 (exp2_test): Likewise.
2635 (expm1_test): Likewise.
2636 (fmod_test): Likewise.
2637 (gamma_test): Likewise.
2638 (hypot_test): Likewise.
2639 (j0_test): Likewise.
2640 (j1_test): Likewise.
2641 (jn_test): Likewise.
2642 (lgamma_test): Likewise.
2643 (log_test): Likewise.
2644 (log10_test): Likewise.
2645 (log1p_test): Likewise.
2646 (log2_test): Likewise.
2647 (logb_test_downward): Likewise.
2648 (pow_test): Likewise.
2649 (pow_test_tonearest): Likewise.
2650 (pow_test_towardzero): Likewise.
2651 (pow_test_downward): Likewise.
2652 (pow_test_upward): Likewise.
2653 (remainder_test): Likewise.
2654 (remquo_test): Likewise.
2655 (sin_test): Likewise.
2656 (sin_test_tonearest): Likewise.
2657 (sin_test_towardzero): Likewise.
2658 (sin_test_downward): Likewise.
2659 (sin_test_upward): Likewise.
2660 (sincos_test): Likewise.
2661 (sinh_test): Likewise.
2662 (sinh_test_tonearest): Likewise.
2663 (sinh_test_towardzero): Likewise.
2664 (sinh_test_downward): Likewise.
2665 (sinh_test_upward): Likewise.
2666 (sqrt_test): Likewise.
2667 (tan_test): Likewise.
2668 (tan_test_tonearest): Likewise.
2669 (tan_test_towardzero): Likewise.
2670 (tan_test_downward): Likewise.
2671 (tan_test_upward): Likewise.
2672 (tanh_test): Likewise.
2673 (tgamma_test): Likewise.
2674 (y0_test): Likewise.
2675 (y1_test): Likewise.
2676 (yn_test): Likewise.
2677
323e5cb7
JM
2678 * math/gen-libm-test.pl (adjust_arg): Remove function.
2679 (special_function): Remove argument $in_func. Only handle
2680 generating output for tables of tests, not inside functions.
2681 (parse_args): Likewise.
2682 (generate_testfile): Remove variable $in_func. Update call to
2683 parse_args.
2684 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
2685 (MINUS_ZERO_INIT): Rename macro to minus_zero.
2686 (PLUS_INFTY_INIT): Rename macro to plus_infty.
2687 (MINUS_INFTY_INIT): Rename macro to minus_infty.
2688 (QNAN_VALUE_INIT): Rename macro to qnan_value.
2689 (MAX_VALUE_INIT): Rename macro to max_value.
2690 (MIN_VALUE_INIT): Rename macro to min_value.
2691 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
2692 (plus_zero): Remove variable.
2693 (minus_zero): Likewise.
2694 (plus_infty): Likewise.
2695 (minus_infty): Likewise.
2696 (qnan_value): Likewise.
2697 (max_value): Likewise.
2698 (min_value): Likewise.
2699 (min_subnorm_value): Likewise.
2700
e054f494
RA
27012013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2702
2703 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
2704 uint64_t or uint32_t usage.
2705 * crypt/sha256-block.c: Likewise.
2706 * crypt/sha256-crypt.c: Likewise.
2707 * crypt/sha256.c: Likewise.
2708 * crypt/sha512-block.c: Likewise.
2709 * crypt/sha512-crypt.c: Likewise.
2710 * crypt/sha512.c: Likewise.
2711 * debug/backtrace-tst.c: Likewise.
2712 * debug/pcprofiledump.c: Likewise.
2713 * elf/cache.c: Likewise.
2714 * elf/dl-cache.c: Likewise.
2715 * elf/dl-misc.c: Likewise.
2716 * elf/dl-profile.c: Likewise.
2717 * elf/dl-support.c: Likewise.
2718 * elf/ldconfig.c: Likewise.
2719 * elf/sprof.c: Likewise.
2720 * iconv/dummy-repertoire.c: Likewise.
2721 * iconv/iconv_charmap.c: Likewise.
2722 * iconv/skeleton.c: Likewise.
2723 * iconvdata/8bit-generic.c: Likewise.
2724 * iconvdata/cp737.h: Likewise.
2725 * iconvdata/cp775.h: Likewise.
2726 * iconvdata/ibm1008.h: Likewise.
2727 * iconvdata/ibm1025.h: Likewise.
2728 * iconvdata/ibm1046.h: Likewise.
2729 * iconvdata/ibm1097.h: Likewise.
2730 * iconvdata/ibm1112.h: Likewise.
2731 * iconvdata/ibm1122.h: Likewise.
2732 * iconvdata/ibm1123.h: Likewise.
2733 * iconvdata/ibm1124.h: Likewise.
2734 * iconvdata/ibm1129.h: Likewise.
2735 * iconvdata/ibm1130.h: Likewise.
2736 * iconvdata/ibm1132.h: Likewise.
2737 * iconvdata/ibm1133.h: Likewise.
2738 * iconvdata/ibm1137.h: Likewise.
2739 * iconvdata/ibm1140.h: Likewise.
2740 * iconvdata/ibm1141.h: Likewise.
2741 * iconvdata/ibm1142.h: Likewise.
2742 * iconvdata/ibm1143.h: Likewise.
2743 * iconvdata/ibm1144.h: Likewise.
2744 * iconvdata/ibm1145.h: Likewise.
2745 * iconvdata/ibm1146.h: Likewise.
2746 * iconvdata/ibm1147.h: Likewise.
2747 * iconvdata/ibm1148.h: Likewise.
2748 * iconvdata/ibm1149.h: Likewise.
2749 * iconvdata/ibm1153.h: Likewise.
2750 * iconvdata/ibm1154.h: Likewise.
2751 * iconvdata/ibm1155.h: Likewise.
2752 * iconvdata/ibm1156.h: Likewise.
2753 * iconvdata/ibm1157.h: Likewise.
2754 * iconvdata/ibm1158.h: Likewise.
2755 * iconvdata/ibm1160.h: Likewise.
2756 * iconvdata/ibm1161.h: Likewise.
2757 * iconvdata/ibm1162.h: Likewise.
2758 * iconvdata/ibm1163.h: Likewise.
2759 * iconvdata/ibm1164.h: Likewise.
2760 * iconvdata/ibm1166.h: Likewise.
2761 * iconvdata/ibm1167.h: Likewise.
2762 * iconvdata/ibm12712.h: Likewise.
2763 * iconvdata/ibm1390.h: Likewise.
2764 * iconvdata/ibm1399.h: Likewise.
2765 * iconvdata/ibm16804.h: Likewise.
2766 * iconvdata/ibm4517.h: Likewise.
2767 * iconvdata/ibm4899.h: Likewise.
2768 * iconvdata/ibm4909.h: Likewise.
2769 * iconvdata/ibm4971.h: Likewise.
2770 * iconvdata/ibm5347.h: Likewise.
2771 * iconvdata/ibm803.h: Likewise.
2772 * iconvdata/ibm856.h: Likewise.
2773 * iconvdata/ibm901.h: Likewise.
2774 * iconvdata/ibm902.h: Likewise.
2775 * iconvdata/ibm9030.h: Likewise.
2776 * iconvdata/ibm9066.h: Likewise.
2777 * iconvdata/ibm921.h: Likewise.
2778 * iconvdata/ibm922.h: Likewise.
2779 * iconvdata/ibm9448.h: Likewise.
2780 * iconvdata/isiri-3342.h: Likewise.
2781 * iconvdata/jis0201.h: Likewise.
2782 * include/link.h: Likewise.
2783 * include/netdb.h: Likewise.
2784 * inet/check_native.c: Likewise.
2785 * inet/check_pf.c: Likewise.
2786 * inet/getipv4sourcefilter.c: Likewise.
2787 * inet/getnameinfo.c: Likewise.
2788 * inet/getsourcefilter.c: Likewise.
2789 * inet/htonl.c: Likewise.
2790 * inet/setipv4sourcefilter.c: Likewise.
2791 * inet/setsourcefilter.c: Likewise.
2792 * inet/test-inet6_opt.c: Likewise.
2793 * inet/tst-network.c: Likewise.
2794 * locale/C-collate.c: Likewise.
2795 * locale/C-ctype.c: Likewise.
2796 * locale/C-time.c: Likewise.
2797 * locale/C-translit.h: Likewise.
2798 * locale/loadarchive.c: Likewise.
2799 * locale/programs/3level.h: Likewise.
2800 * locale/programs/charmap.c: Likewise.
2801 * locale/programs/charmap.h: Likewise.
2802 * locale/programs/ld-address.c: Likewise.
2803 * locale/programs/ld-collate.c: Likewise.
2804 * locale/programs/ld-ctype.c: Likewise.
2805 * locale/programs/ld-identification.c: Likewise.
2806 * locale/programs/ld-measurement.c: Likewise.
2807 * locale/programs/ld-messages.c: Likewise.
2808 * locale/programs/ld-monetary.c: Likewise.
2809 * locale/programs/ld-name.c: Likewise.
2810 * locale/programs/ld-numeric.c: Likewise.
2811 * locale/programs/ld-paper.c: Likewise.
2812 * locale/programs/ld-telephone.c: Likewise.
2813 * locale/programs/ld-time.c: Likewise.
2814 * locale/programs/linereader.c: Likewise.
2815 * locale/programs/locale.c: Likewise.
2816 * locale/programs/locarchive.c: Likewise.
2817 * locale/programs/locfile.h: Likewise.
2818 * locale/programs/repertoire.c: Likewise.
2819 * locale/programs/simple-hash.c: Likewise.
2820 * locale/programs/simple-hash.h: Likewise.
2821 * malloc/memusage.c: Likewise.
2822 * malloc/memusagestat.c: Likewise.
2823 * nis/nis_defaults.c: Likewise.
2824 * nis/nis_hash.c: Likewise.
2825 * nis/nis_print.c: Likewise.
2826 * nis/nis_xdr.c: Likewise.
2827 * nscd/connections.c: Likewise.
2828 * nscd/hstcache.c: Likewise.
2829 * nscd/nscd_gethst_r.c: Likewise.
2830 * nscd/nscd_getserv_r.c: Likewise.
2831 * nscd/nscd_helper.c: Likewise.
2832 * nscd/servicescache.c: Likewise.
2833 * nss/makedb.c: Likewise.
2834 * nss/nss_db/db-XXX.c: Likewise.
2835 * nss/nss_db/db-initgroups.c: Likewise.
2836 * nss/nss_db/db-netgrp.c: Likewise.
2837 * nss/nss_files/files-network.c: Likewise.
2838 * nss/nss_files/files-parse.c: Likewise.
2839 * posix/bug-regex5.c: Likewise.
2840 * posix/fnmatch_loop.c: Likewise.
2841 * posix/regcomp.c: Likewise.
2842 * posix/regexec.c: Likewise.
2843 * posix/tst-rfc3484-2.c: Likewise.
2844 * posix/tst-rfc3484-3.c: Likewise.
2845 * posix/tst-rfc3484.c: Likewise.
2846 * resolv/nss_dns/dns-canon.c: Likewise.
2847 * resolv/nss_dns/dns-network.c: Likewise.
2848 * resolv/res_init.c: Likewise.
2849 * resolv/res_mkquery.c: Likewise.
2850 * resolv/tst-aton.c: Likewise.
2851 * stdlib/cxa_atexit.c: Likewise.
2852 * stdlib/cxa_finalize.c: Likewise.
2853 * stdlib/gen-fpioconst.c: Likewise.
2854 * stdlib/strtol_l.c: Likewise.
2855 * string/tst-endian.c: Likewise.
2856 * sunrpc/auth_des.c: Likewise.
2857 * sunrpc/clnt_udp.c: Likewise.
2858 * sunrpc/rtime.c: Likewise.
2859 * sunrpc/svcauth_des.c: Likewise.
2860 * sunrpc/xdr.c: Likewise.
2861 * sunrpc/xdr_intXX_t.c: Likewise.
2862 * sunrpc/xdr_rec.c: Likewise.
2863 * sysdeps/generic/ldconfig.h: Likewise.
2864 * sysdeps/generic/ldsodefs.h: Likewise.
2865 * sysdeps/generic/memusage.h: Likewise.
2866 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
2867 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
2868 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
2869 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2870 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2871 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2872 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
2873 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
2874 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2875 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2876 * sysdeps/posix/getaddrinfo.c: Likewise.
2877 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2878 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2879 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
2880 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
2881 * sysdeps/powerpc/test-gettimebase.c: Likewise.
2882 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2883 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
2884 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
2885 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2886 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
2887 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
2888 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
2889 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
2890 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
2891 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
2892 * sysdeps/x86_64/dl-tls.h: Likewise.
2893 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
2894 * time/alt_digit.c: Likewise.
2895 * time/era.c: Likewise.
2896 * wcsmbs/tst-c16c32-1.c: Likewise.
2897
8c75f674
JM
28982013-05-16 Joseph Myers <joseph@codesourcery.com>
2899
2900 * math/libm-test.inc (struct test_sincos_data): New type.
2901 (RUN_TEST_LOOP_sincos): New macro.
2902 (sincos_test_data): New variable.
2903 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
2904
e6e49e59
RH
29052013-05-16 Richard Henderson <rth@redhat.com>
2906
2907 * math/atest-exp2.c (LIMB64): New macro.
2908 (CONSTSZ): New macro.
2909 (mp_exp1, mp_exp_m1, mp_log2): New variables.
2910 (hexdig): Move ...
2911 (print_mpn_fp): ... to function scope.
2912 (read_mpn_hex): Remove.
2913 (get_log2): Remove.
2914 (exp2_mpn): Use mp_log2.
2915 (main): Use mp_exp1.
2916
15c7c18d
JM
29172013-05-16 Joseph Myers <joseph@codesourcery.com>
2918
105a07df
JM
2919 * math/libm-test.inc: Remove comment about not testing "inexact"
2920 exceptions.
2921 (INEXACT_EXCEPTION): New macro.
2922 (NO_INEXACT_EXCEPTION): Likewise.
2923 (INVALID_EXCEPTION_OK): Update value.
2924 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2925 (OVERFLOW_EXCEPTION_OK): Likewise.
2926 (UNDERFLOW_EXCEPTION_OK): Likewise.
2927 (IGNORE_ZERO_INF_SIGN): Likewise.
2928 (ERRNO_UNCHANGED): Likewise.
2929 (ERRNO_EDOM): Likewise.
2930 (ERRNO_ERANGE): Likewise.
2931 (test_exceptions): Handle testing "inexact" exceptions.
2932 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
2933 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
2934 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
2935 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
2936 INEXACT_EXCEPTION.
2937 (rint_towardzero_test_data): Likewise.
2938 (rint_downward_test_data): Likewise.
2939 (rint_upward_test_data): Likewise.
2940
e9eee333
JM
2941 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
2942 with OVERFLOW_EXCEPTION.
2943 (exp10_test_data): Likewise.
2944 (exp2_test_data): Likewise.
2945 (expm1_test_data): Likewise.
2946 (lgamma_test_data): Likewise.
2947 (pow_test_data): Likewise.
2948 (tgamma_test_data): Likewise.
2949 (yn_test_data): Remove duplicate test of overflow.
2950
1c38ff73
JM
2951 * math/libm-test.inc (struct test_cc_c_data): New type.
2952 (RUN_TEST_LOOP_cc_c): New macro.
2953 (cpow_test_data): New variable.
2954 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
2955
15c7c18d
JM
2956 * math/libm-test.inc (struct test_f_L_data): New type.
2957 (RUN_TEST_LOOP_f_L): New macro.
2958 (llrint_test_data): New variable.
2959 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
2960 (llrint_tonearest_test_data): New variable.
2961 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
2962 (llrint_towardzero_test_data): New variable.
2963 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
2964 (llrint_downward_test_data): New variable.
2965 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
2966 (llrint_upward_test_data): New variable.
2967 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
2968 (llround_test_data): New variable.
2969 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
2970
f137ff13
PC
29712013-05-13 Peter Collingbourne <pcc@google.com>
2972
2973 * math/atest-exp2.c (get_log2): Remove const attribute.
2974
3608cb24
JM
29752013-05-15 Joseph Myers <joseph@codesourcery.com>
2976
2977 * math/libm-test.inc (struct test_f_l_data): New type.
2978 (RUN_TEST_LOOP_f_l): New macro.
2979 (lrint_test_data): New variable.
2980 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
2981 (lrint_tonearest_test_data): New variable.
2982 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
2983 (lrint_towardzero_test_data): New variable.
2984 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
2985 (lrint_downward_test_data): New variable.
2986 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
2987 (lrint_upward_test_data): New variable.
2988 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
2989 (lround_test_data): New variable.
2990 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
2991
39b1f617
PC
29922013-05-15 Peter Collingbourne <pcc@google.com>
2993
1deff3dc
PC
2994 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
2995 (EXTRACT_WORDS64) Use where appropriate.
2996 (INSERT_WORDS64) Likewise.
2997
791f3ba0
PC
2998 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
2999 constraints with x constraints.
3000 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
3001
39b1f617
PC
3002 * malloc/obstack.c (_obstack_compat): Add initializer.
3003
12fba011
EM
30042013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
3005
3006 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
3007 si_trapno and add si_addr_lsb to _sifields.sigfault.
3008 (si_trapno): Remove macro.
3009 (si_addr_lsb): Define new macro.
3010 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3011
d369f531
JM
30122013-05-15 Joseph Myers <joseph@codesourcery.com>
3013
b861c6c4
JM
3014 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
3015 instead of TEST_f_l.
3016 (llrint_test_tonearest): Likewise.
3017 (llrint_test_towardzero): Likewise.
3018 (llrint_test_downward): Likewise.
3019 (llrint_test_upward): Likewise.
3020 (llround_test): Likewise.
3021
7abeee12
JM
3022 * math/libm-test.inc (struct test_f_i_data): Add comment.
3023 (RUN_TEST_LOOP_f_b): New macro.
3024 (RUN_TEST_LOOP_f_b_tg): Likewise.
3025 (finite_test_data): New variable.
3026 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
3027 (isfinite_test_data): New variable.
3028 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3029 (isinf_test_data): New variable.
3030 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3031 (isnan_test_data): New variable.
3032 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3033 (isnormal_test_data): New variable.
3034 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3035 (issignaling_test_data): New variable.
3036 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3037 (signbit_test_data): New variable.
3038 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3039
cbe8c4d3
JM
3040 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
3041 with INVALID_EXCEPTION.
3042 (acosh_test_data): Likewise.
3043 (asin_test_data): Likewise.
3044 (atanh_test_data): Likewise.
3045 (fmod_test_data): Likewise.
3046 (log_test_data): Likewise.
3047 (log10_test_data): Likewise.
3048 (log2_test_data): Likewise.
3049 (pow_test_data): Likewise.
3050 (sqrt_test_data): Likewise.
3051 (y0_test_data): Likewise.
3052 (y1_test_data): Likewise.
3053 (yn_test_data): Likewise.
3054
5575c0e5
JM
3055 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
3056 function contents.
3057
d369f531
JM
3058 * math/libm-test.inc (struct test_ff_i_data): New type.
3059 (RUN_TEST_LOOP_ff_i_tg): New macro.
3060 (isgreater_test_data): New variable.
3061 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3062 (isgreaterequal_test_data): New variable.
3063 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3064 (isless_test_data): New variable.
3065 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3066 (islessequal_test_data): New variable.
3067 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3068 (islessgreater_test_data): New variable.
3069 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3070 (isunordered_test_data): New variable.
3071 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3072
781fd748
DM
30732013-05-14 David S. Miller <davem@davemloft.net>
3074
3075 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3076
87aa21df
JM
30772013-05-14 Joseph Myers <joseph@codesourcery.com>
3078
5e908270
JM
3079 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
3080
f71172e5
JM
3081 * math/libm-test.inc (struct test_fF_f1_data): Change type of
3082 extra_test to int.
3083 (struct test_f_i_data): Change type of max_ulp to int.
3084
8cfa635a
JM
3085 * math/libm-test.inc (test_ffI_f1_data): New type.
3086 (RUN_TEST_LOOP_ffI_f1): New macro.
3087 (remquo_test_data): New variable.
3088 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
3089
2bcb36b2
JM
3090 * setjmp/tst-setjmp-fp.c: New file.
3091 * setjmp/Makefile (tests): Add tst-setjmp-fp.
3092 (link-libm): New variable.
3093 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
3094
acbd839a
JM
3095 * math/libm-test.inc (struct test_f_i_data): New type.
3096 (RUN_TEST_LOOP_f_i): New macro.
3097 (RUN_TEST_LOOP_f_i_tg): Likewise.
3098 (fpclassify_test_data): New variable.
3099 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
3100 (ilogb_test_data): New variable.
3101 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
3102
e414d745
JM
3103 * math/libm-test.inc (scalbln_test): Correct function name in END
3104 call.
3105
d9c2a0fd
JM
3106 * math/libm-test.inc (struct test_f_f1_data): Add comment.
3107 (RUN_TEST_LOOP_fI_f1): New macro.
3108 (frexp_test_data): New variable.
3109 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
3110
9dc9095d
JM
3111 * math/libm-test.inc (struct test_fF_f1_data): New type.
3112 (RUN_TEST_LOOP_fF_f1): New macro.
3113 (modf_test_data): New variable.
3114 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
3115
87aa21df
JM
3116 * math/libm-test.inc (struct test_f_f1_data): New type.
3117 (RUN_TEST_LOOP_f_f1): New macro.
3118 (gamma_test_data): New variable.
3119 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3120 (lgamma_test_data): New variable.
3121 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3122
141af660
CD
31232013-05-13 Carlos O'Donell <carlos@redhat.com>
3124
3125 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
3126 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
3127 (main): Comment "tls" pseudo-hwcap.
3128
6d33265c
JM
31292013-05-13 Joseph Myers <joseph@codesourcery.com>
3130
68fc074c
JM
3131 * math/libm-test.inc (struct test_fl_f_data): New type.
3132 (RUN_TEST_LOOP_fl_f): New variable.
3133 (scalbln_test_data): New variable.
3134 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
3135
243216e1
JM
3136 * math/libm-test.inc (struct test_fi_f_data): New type.
3137 (RUN_TEST_LOOP_fi_f): New macro.
3138 (ldexp_test_data): New variable.
3139 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
3140 (scalbn_test_data): New variable.
3141 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
3142
6a1992e2
JM
3143 * math/libm-test.inc (struct test_c_f_data): New type.
3144 (RUN_TEST_LOOP_c_f): New macro.
3145 (cabs_test_data): New variable.
3146 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
3147 (carg_test_data): New variable.
3148 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
3149 (cimag_test_data): New variable.
3150 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
3151 (creal_test_data): New variable.
3152 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
3153
0e400df5
JM
3154 * math/libm-test.inc (struct test_if_f_data): New type.
3155 (RUN_TEST_LOOP_if_f): New macro.
3156 (jn_test_data): New variable.
3157 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
3158 (yn_test_data): New variable.
3159 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
3160
6d33265c
JM
3161 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
3162
f98ece5f
AZ
31632013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3164
3165 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
3166 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
3167
0f7d347b
SP
31682013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3169
43fe811b
SP
3170 * benchtests/Makefile (CPPFLAGS-nonlib): Add
3171 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
3172 (bench-deps): Add bench-timing.h.
3173 * benchtests-bench-skeleton.c: Include bench-timing.h.
3174 (main): Use TIMING_* macros instead of clock_gettime.
3175 * benchtests/bench-timing.h: New file.
3176
0f7d347b
SP
3177 [BZ #14582]
3178 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
3179 Renamed from _LIB_VERSION.
3180 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
3181
601a3a5f
JM
31822013-05-12 Joseph Myers <joseph@codesourcery.com>
3183
4f184d30
JM
3184 * math/libm-test.inc (struct test_fff_f_data): New type.
3185 (RUN_TEST_LOOP_fff_f): New macro.
3186 (fma_test_data): New variable.
3187 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
3188 (fma_towardzero_test_data): New variable.
3189 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
3190 (fma_downward_test_data): New variable.
3191 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
3192 (fma_upward_test_data): New variable.
3193 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
3194
08198877
JM
3195 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
3196 (struct test_c_c_data): New type.
3197 (RUN_TEST_LOOP_c_c): New macro.
3198 (cacos_test_data): New variable.
3199 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
3200 (cacosh_test_data): New variable.
3201 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
3202 (casin_test_data): New variable.
3203 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
3204 (casinh_test_data): New variable.
3205 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
3206 (catan_test_data): New variable.
3207 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
3208 (catanh_test_data): New variable.
3209 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
3210 (ccos_test_data): New variable.
3211 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
3212 (ccosh_test_data): New variable.
3213 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
3214 (cexp_test_data): New variable.
3215 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
3216 (clog_test_data): New variable.
3217 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
3218 (clog10_test_data): New variable.
3219 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
3220 (conj_test_data): New variable.
3221 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
3222 (cproj_test_data): New variable.
3223 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
3224 (csin_test_data): New variable.
3225 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
3226 (csinh_test_data): New variable.
3227 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
3228 (csqrt_test_data): New variable.
3229 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
3230 (ctan_test_data): New variable.
3231 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
3232 (ctan_tonearest_test_data): New variable.
3233 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3234 (ctan_towardzero_test_data): New variable.
3235 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3236 (ctan_downward_test_data): New variable.
3237 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3238 (ctan_upward_test_data): New variable.
3239 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3240 (ctanh_test_data): New variable.
3241 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
3242 (ctanh_tonearest_test_data): New variable.
3243 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3244 (ctanh_towardzero_test_data): New variable.
3245 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3246 (ctanh_downward_test_data): New variable.
3247 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3248 (ctanh_upward_test_data): New variable.
3249 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3250 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
3251 of BUILD_COMPLEX.
3252
601a3a5f
JM
3253 * math/libm-test.inc (struct test_ff_f_data): New type.
3254 (struct test_ff_f_data_nexttoward): Likewise.
3255 (RUN_TEST_LOOP_2_f): New macro.
3256 (RUN_TEST_LOOP_ff_f): Likewise.
3257 (atan2_test_data): New variable.
3258 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
3259 (copysign_test_data): New variable.
3260 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
3261 (fdim_test_data): New variable.
3262 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
3263 (fmax_test_data): New variable.
3264 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
3265 (fmin_test_data): New variable.
3266 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
3267 (fmod_test_data): New variable.
3268 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
3269 (hypot_test_data): New variable.
3270 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
3271 (nextafter_test_data): New variable.
3272 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
3273 (nexttoward_test_data): New variable.
3274 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
3275 (pow_test_data): New variable.
3276 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
3277 (pow_tonearest_test_data): New variable.
3278 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
3279 (pow_towardzero_test_data): New variable.
3280 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
3281 (pow_downward_test_data): New variable.
3282 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
3283 (pow_upward_test_data): New variable.
3284 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
3285 (remainder_test_data): New variable.
3286 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
3287 (scalb_test_data): New variable.
3288 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
3289 * sysdeps/i386/fpu/libm-test-ulps: Update.
3290
74c57478
JM
32912013-05-11 Joseph Myers <joseph@codesourcery.com>
3292
8329e4da
JM
3293 * math/libm-test.inc (fma_test): Use max_value instead of local
3294 variable fltmax.
3295 (nextafter_test): Likewise.
3296
74c57478
JM
3297 * math/libm-test.inc (acos_towardzero_test_data): New variable.
3298 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3299 (acos_downward_test_data): New variable.
3300 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3301 (acos_upward_test_data): New variable.
3302 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3303 (acosh_test_data): New variable.
3304 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
3305 (asin_test_data): New variable.
3306 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
3307 (asin_tonearest_test_data): New variable.
3308 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3309 (asin_towardzero_test_data): New variable.
3310 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3311 (asin_downward_test_data): New variable.
3312 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3313 (asin_upward_test_data): New variable.
3314 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3315 (asinh_test_data): New variable.
3316 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
3317 (atan_test_data): New variable.
3318 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
3319 (atanh_test_data): New variable.
3320 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
3321 (cbrt_test_data): New variable.
3322 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
3323 (ceil_test_data): New variable.
3324 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
3325 (cos_test_data): New variable.
3326 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
3327 (cos_tonearest_test_data): New variable.
3328 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3329 (cos_towardzero_test_data): New variable.
3330 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3331 (cos_downward_test_data): New variable.
3332 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3333 (cos_upward_test_data): New variable.
3334 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3335 (cosh_test_data): New variable.
3336 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
3337 (cosh_tonearest_test_data): New variable.
3338 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3339 (cosh_towardzero_test_data): New variable.
3340 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3341 (cosh_downward_test_data): New variable.
3342 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3343 (cosh_upward_test_data): New variable.
3344 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3345 (erf_test_data): New variable.
3346 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
3347 (erfc_test_data): New variable.
3348 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
3349 (exp_test_data): New variable.
3350 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
3351 (exp_tonearest_test_data): New variable.
3352 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3353 (exp_towardzero_test_data): New variable.
3354 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3355 (exp_downward_test_data): New variable.
3356 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3357 (exp_upward_test_data): New variable.
3358 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3359 (exp10_test_data): New variable.
3360 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
3361 (exp2_test_data): New variable.
3362 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
3363 (expm1_test_data): New variable.
3364 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
3365 (fabs_test_data): New variable.
3366 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
3367 (floor_test_data): New variable.
3368 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
3369 (j0_test_data): New variable.
3370 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
3371 (j1_test_data): New variable.
3372 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
3373 (log_test_data): New variable.
3374 (log_test): Run tests with RUN_TEST_LOOP_f_f.
3375 (log10_test_data): New variable.
3376 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
3377 (log1p_test_data): New variable.
3378 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
3379 (log2_test_data): New variable.
3380 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
3381 (logb_test_data): New variable.
3382 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
3383 (logb_downward_test_data): New variable.
3384 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3385 (nearbyint_test_data): New variable.
3386 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
3387 (rint_test_data): New variable.
3388 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
3389 (rint_tonearest_test_data): New variable.
3390 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3391 (rint_towardzero_test_data): New variable.
3392 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3393 (rint_downward_test_data): New variable.
3394 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3395 (rint_upward_test_data): New variable.
3396 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3397 (round_test_data): New variable.
3398 (round_test): Run tests with RUN_TEST_LOOP_f_f.
3399 (sin_test_data): New variable.
3400 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
3401 (sin_tonearest_test_data): New variable.
3402 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3403 (sin_towardzero_test_data): New variable.
3404 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3405 (sin_downward_test_data): New variable.
3406 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3407 (sin_upward_test_data): New variable.
3408 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3409 (sinh_test_data): New variable.
3410 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
3411 (sinh_tonearest_test_data): New variable.
3412 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3413 (sinh_towardzero_test_data): New variable.
3414 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3415 (sinh_downward_test_data): New variable.
3416 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3417 (sinh_upward_test_data): New variable.
3418 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3419 (sqrt_test_data): New variable.
3420 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
3421 (tan_test_data): New variable.
3422 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
3423 (tan_tonearest_test_data): New variable.
3424 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3425 (tan_towardzero_test_data): New variable.
3426 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3427 (tan_downward_test_data): New variable.
3428 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3429 (tan_upward_test_data): New variable.
3430 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3431 (tanh_test_data): New variable.
3432 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
3433 (tgamma_test_data): New variable.
3434 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
3435 (trunc_test_data): New variable.
3436 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
3437 (y0_test_data): New variable.
3438 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
3439 (y1_test_data): New variable.
3440 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
3441 (significand_test_data): New variable.
3442 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
3443
7187d844
CG
34442013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
3445
3446 [BZ #12387]
3447 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
3448
f63fae73
PT
34492013-05-10 Pino Toscano <toscano.pino@tiscali.it>
3450
3451 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
3452
8a67a4b3
AJ
34532013-05-10 Andreas Jaeger <aj@suse.de>
3454
3455 [BZ #15448]
3456 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
3457 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
3458
51df539d
JM
34592013-05-10 Joseph Myers <joseph@codesourcery.com>
3460
3461 * math/gen-libm-test.pl (adjust_arg): New function.
3462 (special_functions): Handle generating output in both functions
3463 and arrays.
3464 (parse_args): Likewise.
3465 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
3466 $in_func argument to parse_args.
3467 * math/libm-test.inc (struct test_f_f_data): New type.
3468 (IF_ROUND_INIT_): New macro.
3469 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
3470 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3471 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3472 (IF_ROUND_INIT_FE_UPWARD): Likewise.
3473 (ROUND_RESTORE_): Likewise.
3474 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
3475 (ROUND_RESTORE_FE_TONEAREST): Likewise.
3476 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
3477 (ROUND_RESTORE_FE_UPWARD): Likewise.
3478 (RUN_TEST_LOOP_f_f): New macro.
3479 (acos_test_data): New variable.
3480 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
3481 (acos_tonearest_test_data): New variable.
3482 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3483
5c637fe5
SP
34842013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3485
3486 * benchtests/bench-skeleton.c (startup): Fix coding style.
3487
ab2b9461
JM
34882013-05-10 Joseph Myers <joseph@codesourcery.com>
3489
3490 [BZ #6809]
3491 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
3492 negative infinity argument.
3493 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
3494 negative infinity argument.
3495 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
3496 negative infinity argument.
3497 * math/libm-test.inc (tgamma_test): Expect errno to be set for
3498 domain errors.
3499
4c0fe6fe
FW
35002013-05-10 Florian Weimer <fweimer@redhat.com>
3501
3502 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
3503 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
3504 * iconv/iconv_prog.c (main): Likewise.
3505 * locale/programs/charmap-dir.c (charmap_readdir)
3506 (fopen_uncompressed): Likewise.
3507 * locale/programs/locfile.c (siblings_uncached)
3508 (write_locale_data): Use lstat64 instead of lstat.
3509 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
3510 stat.
3511
a3375d29
AJ
35122013-05-10 Andreas Jaeger <aj@suse.de>
3513
3514 [BZ #15395]
3515 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
3516 localization.
3517 Include <locale.h>.
3518
36129722
CD
35192013-05-09 Carlos O'Donell <carlos@redhat.com>
3520
3521 * elf/dl-close.c (_dl_close_worker): Add comments.
3522
faa7f811
JM
35232013-05-09 Joseph Myers <joseph@codesourcery.com>
3524
ed41ffef
JM
3525 [BZ #15359]
3526 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
3527 high part of pi/2.
3528 (__ieee754_rem_pio2l): Update comments.
3529
d0213cd0
JM
3530 [BZ #15429]
3531 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
3532 high part of pi/2.
3533 (__ieee754_rem_pio2l): Update comments.
3534
0d3e777a
JM
3535 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
3536 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
3537
24f56066
JM
3538 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
3539 M_PI_4l.
3540
faa7f811
JM
3541 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
3542 (M_PI_34_LOG10El): Likewise.
3543 (M_PI2_LOG10El): Likewise.
3544 (M_PI4_LOG10El): Likewise.
3545 (M_PI_LOG10El): Likewise.
3546
e9a5e0fd
AZ
35472013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3548
3549 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3550
d8cd06db
JM
35512013-05-08 Joseph Myers <joseph@codesourcery.com>
3552
a0d9f9d7
JM
3553 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
3554 (MINUS_ZERO_INIT): Likewise.
3555 (PLUS_INFTY_INIT): Likewise.
3556 (MINUS_INFTY_INIT): Likewise.
3557 (QNAN_VALUE_INIT): Likewise.
3558 (MAX_VALUE_INIT): Likewise.
3559 (MIN_VALUE_INIT): Likewise.
3560 (MIN_SUBNORM_VALUE_INIT): Likewise.
3561 (plus_zero): Initialize with PLUS_ZERO_INIT.
3562 (minus_zero): Initialize with MINUS_ZERO_INIT.
3563 (plus_infty): Initialize with PLUS_INFTY_INIT.
3564 (minus_infty): Initialize with MINUS_INFTY_INIT.
3565 (qnan_value): Initialize with QNAN_VALUE_INIT.
3566 (max_value): Initialize with MAX_VALUE_INIT.
3567 (min_value): Initialize with MIN_VALUE_INIT.
3568 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
3569
ae08db3b
JM
3570 * math/libm-test.inc (RUN_TEST_if_f): New macro.
3571 (jn_test): Use TEST_if_f instead of TEST_ff_f.
3572 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
3573 (yn_test): Use TEST_if_f instead of TEST_ff_f.
3574
f44bf14a
JM
3575 * math/libm-test.inc (RUN_TEST_f_f): New macro.
3576 (RUN_TEST_2_f): Likewise.
3577 (RUN_TEST_ff_f): Likewise.
3578 (RUN_TEST_fi_f): Likewise.
3579 (RUN_TEST_fl_f): Likewise.
3580 (RUN_TEST_fff_f): Likewise.
3581 (RUN_TEST_c_f): Likewise.
3582 (RUN_TEST_f_f1): Likewise.
3583 (RUN_TEST_fF_f1): Likewise.
3584 (RUN_TEST_fI_f1): Likewise.
3585 (RUN_TEST_ffI_f1): Likewise.
3586 (RUN_TEST_c_c): Likewise.
3587 (RUN_TEST_cc_c): Likewise.
3588 (RUN_TEST_f_i): Likewise.
3589 (RUN_TEST_f_i_tg): Likewise.
3590 (RUN_TEST_ff_i_tg): Likewise.
3591 (RUN_TEST_f_b): Likewise.
3592 (RUN_TEST_f_b_tg): Likewise.
3593 (RUN_TEST_f_l): Likewise.
3594 (RUN_TEST_f_L): Likewise.
3595 (RUN_TEST_sincos): Likewise.
3596 * math/gen-libm-test.pl (new_test): Take new argument to indicate
3597 whether to show exceptions. Do not include ");\n" in return
3598 value.
3599 (special_functions): Output call to RUN_TEST_sincos instead of
3600 check_float calls. Update calls to new_test.
3601 (parse_args): Output call to single RUN_TEST_* macro instead of
3602 check_* calls and other assignments. Update calls to new_test.
3603
d8cd06db
JM
3604 [BZ #2546]
3605 [BZ #2560]
3606 [BZ #5159]
3607 [BZ #15426]
3608 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
3609 input to result for tgamma overflow.
3610 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
3611 (gamma_coeff): New variable.
3612 (NCOEFF): New macro.
3613 (gamma_positive): New function.
3614 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
3615 underflow here. Use gamma_positive instead of exp (lgamma) for
3616 other arguments.
3617 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
3618 (gamma_coeff): New variable.
3619 (NCOEFF): New macro.
3620 (gammaf_positive): New function.
3621 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
3622 underflow here. Use gamma_positive instead of exp (lgamma) for
3623 other arguments.
3624 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
3625 (gamma_coeff): New variable.
3626 (NCOEFF): New macro.
3627 (gammal_positive): New function.
3628 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
3629 underflow here. Use gamma_positive instead of exp (lgamma) for
3630 other arguments.
3631 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
3632 (gamma_coeff): New variable.
3633 (NCOEFF): New macro.
3634 (gammal_positive): New function.
3635 (__ieee754_gammal_r): Handle positive infinity, overflow and
3636 underflow here. Handle NaN the same as positive infinity. Remove
3637 check x < 0xffffffff for negative integers. Use gamma_positive
3638 instead of exp (lgamma) for other arguments.
3639 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
3640 (gamma_coeff): New variable.
3641 (NCOEFF): New macro.
3642 (gammal_positive): New function.
3643 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
3644 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
3645 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
3646 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
3647 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
3648 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
3649 * sysdeps/generic/math_private.h (__gamma_productf): New
3650 prototype.
3651 (__gamma_product): Likewise.
3652 (__gamma_productl): Likewise.
3653 * math/Makefile (libm-calls): Add gamma_product.
3654 * math/libm-test.inc (tgamma_test): Add more tests.
3655 * sysdeps/i386/fpu/libm-test-ulps: Update.
3656 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3657
bb7cf681
OB
36582013-05-08 Ondřej Bílka <neleai@seznam.cz>
3659
3660 * benchtests/bench-skeleton.c (main): Preheat CPU.
3661
ba853947
AJ
36622013-05-07 Aurelien Jarno <aurelien@aurel32.net>
3663
3664 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
3665
8347c74c
RM
36662013-05-07 Roland McGrath <roland@hack.frob.com>
3667
3668 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
3669 and _dl_skip_args_internal.
3670
e8dd4791
CD
36712013-05-07 Carlos O'Donell <carlos@redhat.com>
3672
3673 * manual/message.texi (Message Translation): Talk about users.
3674 Message to key mapping impacts design.
3675
c7405830
RM
36762013-05-06 Roland McGrath <roland@hack.frob.com>
3677
a9173057
RM
3678 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
3679
976e2f03
RM
3680 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
3681
9723ffc5
RM
3682 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
3683 * sysdeps/wordsize-64/glob64.c: ... here.
3684
962e6658
RM
3685 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
3686 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
3687 New macros.
3688
ee586a6d
RM
3689 * debug/getlogin_r_chk.c: Moved to ...
3690 * login/getlogin_r_chk.c: ... here.
3691 * debug/Makefile (routines): Move getlogin_r_chk to ...
3692 * login/Makefile (routines): ... here.
3693 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
3694 * login/Versions (libc: GLIBC_2.4): ... here.
3695
355f9165
RM
3696 * io/poll.c (__poll): Renamed from poll.
3697 Add libc_hidden_def.
3698 (poll): Define as weak alias.
3699
bd9ffde6
RM
3700 * debug/ptsname_r_chk.c: Moved to ...
3701 * login/ptsname_r_chk.c: ... here.
3702 * debug/Makefile (routines): Move ptsname_r_chk to ...
3703 * login/Makefile (routines): ... here.
3704 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
3705 * login/Versions (libc: GLIBC_2.4): ... here.
3706
8fb16a04
RM
3707 * posix/getlogin.c: Moved to ...
3708 * login/getlogin.c: ... here.
3709 * posix/getlogin_r.c: Moved to ...
3710 * login/getlogin_r.c: ... here.
3711 * posix/getlogin_r.c: Moved to ...
3712 * login/getlogin_r.c: ... here.
3713 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
3714 * login/Makefile (routines): ... here.
3715 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
3716 * login/Versions (libc: GLIBC_2.0): ... here.
3717
b99b892f
RM
3718 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
3719 (setrlimit): Define as weak alias.
3720
c7405830
RM
3721 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
3722 Call __ names for open, ftruncate, and close.
3723 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
3724 (truncate): Define as weak alias.
3725
5bf96de5
JM
37262013-05-06 Joseph Myers <joseph@codesourcery.com>
3727
9ea3513c
JM
3728 * math/gen-libm-test.pl (parse_args): Initialize x before each
3729 test of frexp, modf and remquo.
3730
5bf96de5
JM
3731 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
3732 test signgam value.
3733
16e616a7
AZ
37342013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3735
3736 [BZ #15418]
3737 [BZ #15419]
3738 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
3739 internal tests.
3740 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3741
d5e82754
RM
37422013-05-06 Roland McGrath <roland@hack.frob.com>
3743
3744 * elf/dl-writev.h: New file.
3745 * elf/dl-misc.c: Include it.
3746 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
3747 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
3748
a7548d41
JM
37492013-05-04 Joseph Myers <joseph@codesourcery.com>
3750
b7dab1e4
JM
3751 * math/libm-test.inc (noXFails): Remove variable.
3752 (noXPasses): Likewise.
3753 (BUILD_COMPLEX_INT): Remove macro.
3754 (print_screen): Remove xfail argument.
3755 (print_screen_max_error): Likewise.
3756 (update_stats): Likewise.
3757 (print_max_error): Likewise. Update calls to other affected
3758 functions.
3759 (print_complex_max_error): Likewise.
3760 (test_single_exception): Update calls to print_screen.
3761 (test_single_errno): Likewise.
3762 (check_float_internal): Remove xfail argument. Update calls to
3763 other affected functions.
3764 (check_float): Likewise.
3765 (check_complex): Likewise.
3766 (check_int): Likewise.
3767 (check_long): Likewise.
3768 (check_bool): Likewise.
3769 (check_longlong): Likewise.
3770 (main): Don't print noXFails and noXPasses.
3771 * math/gen-libm-test.pl (top level): Don't mention expected
3772 failure handling in comment.
3773 (new_test): Don't handle expected failures.
3774 (parse_args): Don't mention expected failure handling in comment.
3775 (generate_testfile): Don't handle expected failures.
3776 (parse_ulps): Likewise.
3777 (print_ulps_file): Likewise.
3778 (get_failure): Remove function.
3779 (output_test): Don't handle expected failures.
3780 * make/README.libm-test: Don't mention expected failure handling.
3781
a7548d41
JM
3782 * math/libm-test.inc (plus_zero): Make const. Add initializer.
3783 (minus_zero): Likewise.
3784 (plus_infty): Likewise.
3785 (minus_infty): Likewise.
3786 (qnan_value): Likewise.
3787 (max_value): Likewise.
3788 (min_value): Likewise.
3789 (min_subnorm_value): Likewise.
3790 (initialize): Do not initialize those variables dynamically.
3791
60bfd54c
RM
37922013-05-03 Roland McGrath <roland@hack.frob.com>
3793
cc0e6ed8
RM
3794 * io/open.c (__open_2): Moved to ...
3795 * io/open_2.c: ... this new file.
3796 * io/open64.c (__open64_2): Moved to ...
3797 * io/open64_2.c: ... this new file.
3798 * io/openat.c (__openat_2): Moved to ...
3799 * io/openat_2.c: ... this new file.
3800 * io/openat64.c (__openat64_2): Moved to ...
3801 * io/openat64_2.c: ... this new file.
3802 * io/Makefile (routines): Add them.
3803 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
3804 * sysdeps/unix/sysv/linux/open_2.c: File removed.
3805 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
3806 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
3807 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
3808 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
3809 (__openat64): Add hidden_ver.
3810 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
3811 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
3812
60bfd54c
RM
3813 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
3814 Separately conditionalize setting of GLRO(dl_sysinfo) so
3815 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
3816 as well, but the actual setting is only under [NEED_DL_SYSINFO].
3817
83e7640f
AZ
38182013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3819
3820 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
3821 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
3822 definition.
3823 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
3824 * sysdeps/unix/sysv/linux/powerpc/init-first.c
3825 (_libc_vdso_platform_setup): Add __vdso_time initialization.
3826 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
3827 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
3828
d5dc2af3
JM
38292013-05-03 Joseph Myers <joseph@codesourcery.com>
3830
c31a5b1e
JM
3831 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
3832 test signgam value.
3833
d5dc2af3
JM
3834 * math/libm-test.inc (hypot_test): Do not use
3835 IGNORE_ZERO_INF_SIGN.
3836
164fd39d
AJ
38372013-05-03 Andreas Jaeger <aj@suse.de>
3838
3839 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
3840 Linux 3.9.
3841 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
3842 (PF_MAX): Adjust for VSOCK change.
3843
8237f48c
AZ
38442013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3845
3846 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3847
9df02941
CD
38482013-05-02 Carlos O'Donell <carlos@redhat.com>
3849
3850 [BZ #15264]
3851 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
3852 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
3853 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
3854
d422395e
DM
38552013-05-02 David S. Miller <davem@davemloft.net>
3856
3857 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3858
a07c5731
OB
38592013-05-01 Ondřej Bílka <neleai@seznam.cz>
3860
3861 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
3862
1324e37f
RM
38632013-05-01 Roland McGrath <roland@hack.frob.com>
3864
3865 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
3866
0695940b
RS
38672013-05-01 Richard Smith <richard@metafoo.co.uk>
3868
bb5f27ad 3869 [BZ #14952]
0695940b
RS
3870 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
3871 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
3872 Use __attribute__ ((__gnu_inline__)).
3873 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
3874 Don't use __attribute__ ((__gnu_inline__)).
3875
10de07f5
JM
38762013-05-01 Joseph Myers <joseph@codesourcery.com>
3877
3878 [BZ #15423]
3879 * math/s_catan.c (__catan): Handle small real or imaginary part of
3880 input specially to avoid spurious underflow.
3881 * math/s_catanf.c (__catanf): Likewise.
3882 * math/s_catanh.c (__catanh): Likewise.
3883 * math/s_catanhf.c (__catanhf): Likewise.
3884 * math/s_catanhl.c (__catanhl): Likewise.
3885 * math/s_catanl.c (__catanl): Likewise.
3886 * math/libm-test.inc (catan_test): Add more tests.
3887 (catanh_test): Likewise.
3888 * sysdeps/i386/fpu/libm-test-ulps: Update.
3889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3890
cb4d5414
AZ
38912013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3892
3893 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3894
caf84319
JM
38952013-04-30 Joseph Myers <joseph@codesourcery.com>
3896
3897 [BZ #15416]
3898 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
3899 accurately for denominator in atan2.
3900 * math/s_catanf.c (__catanf): Likewise.
3901 * math/s_catanh.c (__catanh): Likewise.
3902 * math/s_catanhf.c (__catanhf): Likewise.
3903 * math/s_catanhl.c (__catanhl): Likewise.
3904 * math/s_catanl.c (__catanl): Likewise.
3905 * math/libm-test.inc (catan_test): Add more tests.
3906 (catanh_test): Likewise.
3907 * sysdeps/i386/fpu/libm-test-ulps: Update.
3908 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3909
d569c6ee
SP
39102013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3911
6dbe713d
SP
3912 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
3913
f0ee064b
SP
3914 * benchtests/Makefile (bench): Remove slow benchmarks.
3915 * benchtests/atan-inputs: Add slow benchmark inputs.
3916 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
3917 (BENCH_FUNC): Accept variant offset.
3918 (VARIANT): Define.
3919 * benchtests/bench-skeleton.c (main): Run benchmark for each
3920 variant.
3921 * benchtests/cos-inputs: Add slow benchmark inputs.
3922 * benchtests/exp-inputs: Likewise.
3923 * benchtests/pow-inputs: Likewise.
3924 * benchtests/sin-inputs: Likewise.
3925 * benchtests/slowatan-inputs: Remove.
3926 * benchtests/slowatan.c: Remove.
3927 * benchtests/slowcos-inputs: Remove.
3928 * benchtests/slowcos.c: Remove.
3929 * benchtests/slowexp-inputs: Remove.
3930 * benchtests/slowexp.c: Remove.
3931 * benchtests/slowpow-inputs: Remove.
3932 * benchtests/slowpow.c: Remove.
3933 * benchtests/slowsin-inputs: Remove.
3934 * benchtests/slowsin.c: Remove.
3935 * benchtests/slowtan-inputs: Remove.
3936 * benchtests/slowtan.c: Remove.
3937 * benchtests/tan-inputs: Add slow benchmark inputs.
3938 * scripts/bench.pl: Parse comments and directives.
3939
d569c6ee
SP
3940 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
3941 in CPPFLAGS.
3942 ($(objpfx)bench-%.c): Remove *-ITER.
3943 * benchtests/bench-modf.c: Remove definition of ITER.
3944 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
3945 (main): Loop for DURATION seconds instead of fixed number of
3946 iterations.
3947 * scripts/bench.pl: Don't expect iterations in parameters.
3948
a6a242fe
RM
39492013-04-29 Roland McGrath <roland@hack.frob.com>
3950
3951 * io/fchdir.c (__fchdir): Renamed from fchdir.
3952 (fchdir): Define as weak alias.
3953
f2da7793
JM
39542013-04-29 Joseph Myers <joseph@codesourcery.com>
3955
3956 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
3957 (ERRNO_EDOM): Likewise.
3958 (ERRNO_ERANGE): Likewise.
3959 (noErrnoTests): New variable.
3960 (init_max_error): Set errno to 0.
3961 (test_single_errno): New function.
3962 (test_errno): Likewise.
3963 (check_float_internal): Call test_errno. Set errno to 0.
3964 (check_complex): Refer to errno tests in comment.
3965 (check_int): Call test_errno. Set errno to 0.
3966 (check_long): Likewise.
3967 (check_bool): Likewise.
3968 (check_longlong): Likewise.
3969 (cos_test): Use ERRNO_* flags for errno tests instead of
3970 check_int.
3971 (expm1_test): Likewise.
3972 (fmod_test): Likewise.
3973 (ilogb_test): Likewise.
3974 (lgamma_test): Likewise.
3975 (pow_test): Likewise.
3976 (remainder_test): Likewise.
3977 (sin_test): Likewise.
3978 (tan_test): Likewise.
3979 (yn_test): Likewise.
3980 (initialize): Set errno to 0.
3981 (main): Print number of errno tests.
3982 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
3983
b1a36ceb
AJ
39842013-04-29 Andreas Jaeger <aj@suse.de>
3985
c3ed8088
AJ
3986 [BZ #15084]
3987 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
3988 and RES_USEVC.
3989
f1a24198
AJ
3990 [BZ #15085]
3991 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
3992 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
3993 unimplemented.
3994
9ce3b2cb
AJ
3995 [BZ #15380]
3996 * stdlib/random.c (__initstate): Return NULL if
3997 __initstate fails.
3998
f1a24198 3999 [BZ #15086]
b1a36ceb
AJ
4000 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
4001 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
4002 RES_SNGLKUPREOP.
4003
7e7b6f36
AZ
40042013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4005
4006 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4007
4d14f449
JM
40082013-04-29 Joseph Myers <joseph@codesourcery.com>
4009
4010 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
4011 of individual tests.
4012 (casin_test): Likewise.
4013 (casinh_test): Likewise.
4014
5b4217d7
JM
40152013-04-27 Joseph Myers <joseph@codesourcery.com>
4016
4017 [BZ #15409]
4018 * math/s_catan.c (__catan): Handle arguments with large real or
4019 imaginary part separately without squaring.
4020 * math/s_catanf.c (__catanf): Likewise.
4021 * math/s_catanh.c (__catanh): Likewise.
4022 * math/s_catanhf.c (__catanhf): Likewise.
4023 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4024 and redefine.
4025 (__catanhl): Handle arguments with large real or imaginary part
4026 separately without squaring.
4027 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4028 and redefine.
4029 (__catanl): Handle arguments with large real or imaginary part
4030 separately without squaring.
4031 * math/libm-test.inc (catan_test): Add more tests.
4032 (catanh_test): Likewise.
4033 * sysdeps/i386/fpu/libm-test-ulps: Update.
4034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4035
4220c3ef
AJ
40362013-04-27 Andreas Jaeger <aj@suse.de>
4037
4038 [BZ #15007]
4039 * stdlib/stdlib.h: Update guards for qecvt.
4040 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
4041 <stdlib.h>.
4042
4721b2d1
AM
40432013-04-27 Allan McRae <allan@archlinux.org>
4044
4045 * sysdeps/i386/fpu/libm-test-ulps: Update.
4046
f0302940
JM
40472013-04-26 Joseph Myers <joseph@codesourcery.com>
4048
9457fd95
JM
4049 [BZ #15406]
4050 * math/s_catan.c: Include <float.h>.
4051 (__catan): Ensure underflow exception occurs for underflowed
4052 result.
4053 * math/s_catanf.c: Include <float.h>.
4054 (__catanf): Ensure underflow exception occurs for underflowed
4055 result.
4056 * math/s_catanh.c: Include <float.h>.
4057 (__catanh): Ensure underflow exception occurs for underflowed
4058 result.
4059 * math/s_catanhf.c: Include <float.h>.
4060 (__catanhf): Ensure underflow exception occurs for underflowed
4061 result.
4062 * math/s_catanhl.c: Include <float.h>.
4063 (__catanhl): Ensure underflow exception occurs for underflowed
4064 result.
4065 * math/s_catanl.c: Include <float.h>.
4066 (__catanl): Ensure underflow exception occurs for underflowed
4067 result.
4068 * math/libm-test.inc (catan_test): Add more tests.
4069 (catanh_test): Likewise.
4070
f0302940
JM
4071 [BZ #15405]
4072 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
4073 underflowed result.
4074 * math/s_ccoshf.c (__ccoshf): Likewise.
4075 * math/s_ccoshl.c (__ccoshl): Likewise.
4076 * math/s_csin.c (__csin): Likewise.
4077 * math/s_csinf.c (__csinf): Likewise.
4078 * math/s_csinh.c (__csinh): Likewise.
4079 * math/s_csinhf.c (__csinhf): Likewise.
4080 * math/s_csinhl.c (__csinhl): Likewise.
4081 * math/s_csinl.c (__csinl): Likewise.
4082 * math/libm-test.inc (ccos_test): Add more tests.
4083 (ccosh_test): Likewise.
4084 (csin_test): Likewise.
4085 (csinh_test): Likewise.
4086
aa630f59
AZ
40872013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4088
4089 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
4090 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
4091 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
4092 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
4093 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
4094 powerpc/power5+/fpu folders.
4095 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
4096
4097
1b835983
MT
40982013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
4099
4100 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4101
73709b26
JM
41022013-04-25 Joseph Myers <joseph@codesourcery.com>
4103
4104 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
4105 additions to variable.
4106 [$(config-machine) = x86_64] (modules-names): Likewise.
4107 ($(objpfx)tst-audit3): Remove dependency.
4108 ($(objpfx)tst-audit3.out): Likewise.
4109 ($(objpfx)tst-audit4): Likewise.
4110 ($(objpfx)tst-audit4.out): Likewise.
4111 ($(objpfx)tst-audit5): Likewise.
4112 ($(objpfx)tst-audit5.out): Likewise.
4113 ($(objpfx)tst-audit6): Likewise.
4114 ($(objpfx)tst-audit6.out): Likewise.
4115 ($(objpfx)tst-audit7): Likewise.
4116 ($(objpfx)tst-audit7.out): Likewise.
4117 (tst-audit3-ENV): Remove variable.
4118 (tst-audit4-ENV): Likewise.
4119 (tst-audit5-ENV): Likewise.
4120 (tst-audit6-ENV): Likewise.
4121 (tst-audit7-ENV): Likewise.
4122 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
4123 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
4124 addition to variable.
4125 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
4126 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
4127 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
4128 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
4129 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
4130 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
4131 tst-audit3, tst-audit4 and tst-audit5.
4132 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
4133 tst-audit6 and tst-audit7.
4134 [$(subdir) = elf] (modules-names): Add audit modules for those
4135 tests.
4136 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
4137 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
4138 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
4139 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
4140 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
4141 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
4142 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
4143 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
4144 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
4145 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
4146 [$(subdir) = elf] (tst-audit3-ENV): New variable.
4147 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
4148 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
4149 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
4150 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
4151 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
4152 Likewise.
4153 [$(subdir) = elf && $(config-cflags-avx) = yes]
4154 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
4155 [$(subdir) = elf && $(config-cflags-avx) = yes]
4156 (CFLAGS-tst-auditmod4a.c): Likewise.
4157 [$(subdir) = elf && $(config-cflags-avx) = yes]
4158 (CFLAGS-tst-auditmod4b.c): Likewise.
4159 [$(subdir) = elf && $(config-cflags-avx) = yes]
4160 (CFLAGS-tst-auditmod6b.c): Likewise.
4161 [$(subdir) = elf && $(config-cflags-avx) = yes]
4162 (CFLAGS-tst-auditmod6c.c): Likewise.
4163 [$(subdir) = elf && $(config-cflags-avx) = yes]
4164 (CFLAGS-tst-auditmod7b.c): Likewise.
4165 * elf/tst-audit3.c: Move to ...
4166 * sysdeps/x86_64/tst-audit3.c: ... here.
4167 * elf/tst-audit4.c: Move to ...
4168 * sysdeps/x86_64/tst-audit4.c: ... here.
4169 * elf/tst-audit5.c: Move to ...
4170 * sysdeps/x86_64/tst-audit5.c: ... here.
4171 * elf/tst-audit6.c: Move to ...
4172 * sysdeps/x86_64/tst-audit6.c: ... here.
4173 * elf/tst-audit7.c: Move to ...
4174 * sysdeps/x86_64/tst-audit7.c: ... here.
4175 * elf/tst-auditmod3a.c: Move to ...
4176 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
4177 * elf/tst-auditmod3b.c: Move to ...
4178 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
4179 * elf/tst-auditmod4a.c: Move to ...
4180 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
4181 * elf/tst-auditmod4b.c: Move to ...
4182 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
4183 * elf/tst-auditmod5a.c: Move to ...
4184 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
4185 * elf/tst-auditmod5b.c: Move to ...
4186 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
4187 * elf/tst-auditmod6a.c: Move to ...
4188 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
4189 * elf/tst-auditmod6b.c: Move to ...
4190 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
4191 * elf/tst-auditmod6c.c: Move to ...
4192 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
4193 * elf/tst-auditmod7a.c: Move to ...
4194 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
4195 * elf/tst-auditmod7b.c: Move to ...
4196 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
4197
1ef74943
PP
41982013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
4199
4200 [BZ #15366]
4201 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
4202 define unconditionally.
4203 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
4204 define unconditionally.
4205 (INT8_C, INT16_C, etc.): Likewise.
4206
93fd48c5
MR
42072013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
4208
ae9552cf
MR
4209 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
4210 __ehdr_start with hidden visibility.
4211
93fd48c5
MR
4212 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
4213
418601aa
CD
42142013-04-24 Carlos O'Donell <carlos@redhat.com>
4215
4216 * math/libm-test.inc (cos_test): Use accurate hex constants.
4217 (sincost_test): Likewise.
4218
2f38fbfe
JM
42192013-04-24 Joseph Myers <joseph@codesourcery.com>
4220
5e221800
JM
4221 * math/libm-test.inc (catan_test): Add more tests.
4222 (catanh_test): Likewise.
4223
77f143fd
JM
4224 * math/s_catanf.c (__catanf): Use suffixed floating-point
4225 constants.
4226 * math/s_catanhf.c (__catanhf): Likewise.
4227 * math/s_catanhl.c (__catanhl): Likewise.
4228 * math/s_catanl.c (__catanl): Likewise.
4229
2f38fbfe
JM
4230 [BZ #15394]
4231 * math/s_catan.c (__catan): Calculate imaginary part of result
4232 with log1p not log unless computing log of number close to 0.
4233 * math/s_catanf.c (__catanf): Likewise.
4234 * math/s_catanl.c (__catanl): Likewise.
4235 * math/s_catanh.c (__catanh): Calculate real part of result with
4236 log1p not log unless computing log of number close to 0.
4237 * math/s_catanhf.c (__catanhf): Likewise.
4238 * math/s_catanhl.c (__catanhl): Likewise.
4239 * math/libm-test.inc (catan_test): Add more tests.
4240 (catanh_test): Likewise.
4241 * sysdeps/i386/fpu/libm-test-ulps: Update.
4242 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4243
45d69176
SP
42442013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4245
4246 * benchtests/Makefile: Mention files in which fast and slow
4247 paths of math functions are implemented.
4248
87f51853
RM
42492013-04-23 Roland McGrath <roland@hack.frob.com>
4250
4251 * sysdeps/posix/timespec_get.c: New file.
4252
3c026539
AZ
42532013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4254
4255 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
4256 POWER.
4257 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
4258 for POWER.
4259 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
4260 powerpc/power5/fpu folders.
4261 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
4262 * benchtests/Makefile: Add modf testcase.
4263 * benchtests/bench-modf.c: New file: Benchmark test for mo
4264
ff491d14
SP
42652013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4266
4267 [BZ #14888]
4268 * time/Makefile (tests): Add tst-strptime-whitespace.
4269 * time/strptime_l.c (get_number): Use ISSPACE.
4270 (__strptime_internal): Likewise.
4271 * time/tst-strptime-whitespace.c: New test case.
4272
7ed3f4e8
AS
42732013-04-23 Andreas Schwab <schwab@linux-m68k.org>
4274
4275 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
4276 member.
4277 (_nss_files_init): Set it here.
4278
5c95f7b6
HC
42792013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
4280
4281 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
4282 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
4283 unsigned.
4284
d34c9158
JBG
42852013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
4286
4287 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
4288
2169712d
SP
42892013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4290
4291 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
4292 size just once.
4293
29c5de99
DM
42942013-04-21 David S. Miller <davem@davemloft.net>
4295
4296 * po/ru.po: Update Russion translation from translation project.
4297
ccdad15d
AC
42982013-04-17 Adam Conrad <adconrad@0c3.net>
4299
4300 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
4301 and setfsgid.
4302
0f122b8d
CD
43032013-04-17 Carlos O'Donell <carlos@redhat.com>
4304
5c5b07da 4305 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 4306 * configure: Regenerate.
5c5b07da 4307 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
4308 Add example to error message.
4309 * sysdeps/i386/configure: Regenerate.
4310
037714dd
SP
43112013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4312
4313 * benchtests/Makefile (bench): Add cos, tan, slowcos and
4314 slowtan.
4315 * benchtests/cos-inputs: New file.
4316 * benchtests/slowcos-inputs: New file.
4317 * benchtests/slowcos.c: New file.
4318 * benchtests/slowtan-inputs: New file.
4319 * benchtests/slowtan.c: New file.
4320 * benchtests/tan-inputs: New file.
4321
e913141d
RM
43222013-04-16 Roland McGrath <roland@hack.frob.com>
4323
4324 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
4325 considered kosher.
4326
a2964074
SP
43272013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4328
4856bcd2
SP
4329 * benchtests/Makefile: Include cppflags-iterator.mk to add
4330 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
4331
a2964074
SP
4332 * Makefile.in (bench-clean): New target.
4333 * benchtests/Makefile (bench-clean): Likewise.
4334
9fbf9aca
DH
43352013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
4336
4337 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
4338
207d1e2a
TS
43392013-04-15 Thomas Schwinge <thomas@codesourcery.com>
4340
4341 * stdio-common/tstdiomisc.c: Fix coding-style violation.
4342
306dfba9
AS
43432013-04-15 Andreas Schwab <schwab@suse.de>
4344
4345 * nscd/grpcache.c (cache_addgr): Properly check for short write.
4346 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4347 * nscd/pwdcache.c (cache_addpw): Likewise.
4348 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
4349 more than recsize.
4350
206a6699
SP
43512013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4352
4353 * benchtests/Makefile (bench): Write all output to
4354 bench-out.tmp together.
4355
0582f6b3
AS
43562013-04-15 Andreas Schwab <schwab@suse.de>
4357
4358 * nscd/nscd.c (main): Don't fork again after closing files.
4359
acb4325f
SP
43602013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4361
5cb26d0a
SP
4362 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
4363
acb4325f
SP
4364 * benchtests/Rules (bench-deps): Collect dependencies into a
4365 single variable. Add Makefile to dependencies.
4366 ($(objpfx)bench-%.c): Depend on bench-deps.
4367
47792506
RM
43682013-04-12 Roland McGrath <roland@hack.frob.com>
4369 Xavier Roche <roche+kml2@exalead.com>
4370
4371 [BZ #15361]
4372 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
4373 just that it's a file descriptor.
4374 * manual/llio.texi (Synchronizing AIO Operations): Update description
4375 for EBADF error from aio_fsync.
4376
8fc1bee5
SP
43772013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4378
4379 * Rules (bench): Move target definition...
4380 * benchtests/Makefile: ... here.
4381
aba5e333
CD
43822013-04-11 Carlos O'Donell <carlos@redhat.com>
4383
4384 * math/libm-test.inc (cos_test): Fix PI/2 test.
4385 (sincos_test): Likewise.
4386 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
4387 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
4388
273cdee8
AS
43892013-04-11 Andreas Schwab <schwab@suse.de>
4390
6ecec3b6
AS
4391 [BZ #13988]
4392 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
4393 accept exponent character only when digits were seen.
4394 * stdio-common/Makefile (tests): Add bug26.
4395 * stdio-common/bug26.c: New file.
4396
273cdee8
AS
4397 [BZ #14293]
4398 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
4399 non-freeable.
4400
8da491f5
SP
44012013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4402
01dc6df9
SP
4403 * Makeconfig (rtld-prefix): Define built linker prefix.
4404 * Rules (run-bench): Use it.
4405 * math/Makefile (run-regen-ulps): Likewise.
4406
8da491f5
SP
4407 * Rules (bench): Remove eval.
4408
abe7f530
SP
44092013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4410 Roland McGrath <roland@hack.frob.com>
4411 Ondrej Bilka <neleai@seznam.cz>
4412
4413 [BZ #15346]
4414 * time/getdate.c: Include ctype.h and alloca.h.
4415 (__getdate_r): Trim leading and trailing spaces of input.
4416 * time/tst-getdate.c (tests): Add tests with leading and
4417 trailing spaces.
4418
61c23e62
RM
44192013-04-08 Roland McGrath <roland@hack.frob.com>
4420
4421 [BZ #14280]
4422 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
4423 when computing value.
4424
7208a313
CD
44252013-04-06 Carlos O'Donell <carlos@redhat.com>
4426
085b2d41
CD
4427 * math/README.libm-test (How can I generate "libm-test-ulps"?):
4428 Use testrun.sh to run libm tests.
4429
7208a313
CD
4430 [BZ #15309]
4431 * elf/dl-open.c (dl_open_worker): memset all of seen array.
4432
872c0acd
MM
44332013-04-06 Marko Myllynen <myllynen@redhat.com>
4434
4435 [BZ #15264]
4436 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
4437
26510bdd
CD
44382013-04-06 Carlos O'Donell <carlos@redhat.com>
4439
4440 * Makefile.in (regen-ulps): New target.
4441 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
4442 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
4443 [ifneq (no,$(PERL)] (regen-ulps): New target.
4444 [ifeq (no,$(PERL)] (regen-ulps): New target.
4445 * math/libm-test.inc (ulps_file_name): Define.
4446 (output_dir): New variable.
4447 (options): Add "output-dir" option.
4448 (parse_opt): Handle 'o' case.
4449 (main): If output_dir is non-NULL use it as a prefix
4450 otherwise use "".
4451 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
4452
a01f19c8
CD
44532013-04-06 Carlos O'Donell <carlos@redhat.com>
4454
4455 [BZ #10060, #10062]
4456 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
4457 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
4458 fail configure if __sync_val_compare_and_swap is not inlined.
4459 * sysdeps/i386/configure: Regenerate.
4460 * configure.in: Build for i686 when configured for i386.
4461 * configure: Regenerate.
4462 * README: Remove i386 reference.
4463
b7a329a5
CD
44642013-04-06 Carlos O'Donell <carlos@redhat.com>
4465
4466 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
4467 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4468
bf0f50df
TS
44692013-04-05 Thomas Schwinge <thomas@codesourcery.com>
4470
ee091edf
TS
4471 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
4472 (lmsnanval): New variables.
4473 (F): Add conversion tests.
4474 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
4475 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
4476
a8b792d6
TS
4477 * stdio-common/tstdiomisc.c (F): Properly collect individual
4478 tests' results.
4479
a1cbf437
TS
4480 [BZ #14686, #15336]
4481 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
4482 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
4483 Instead, use input NaN values or generate a qNaN by arithmetic
4484 operation. Also fix bugs to comply with the standard.
4485 * math/libm-test.inc (remainder_test): Add more tests.
4486
8b43a0c9
TS
4487 [BZ #15335, #15342]
4488 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
4489 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
4490 input NaN values or generate a qNaN by arithmetic operation.
4491
d91da4ce
TS
4492 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
4493 unreachable code.
4494
bf0f50df
TS
4495 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
4496 definitions.
4497
05e166c8
JM
44982013-04-03 Joseph Myers <joseph@codesourcery.com>
4499
4500 [BZ #14478]
4501 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
4502 underflowed result.
4503 * math/s_cexpf.c (__cexpf): Likewise.
4504 * math/s_cexpl.c (__cexpl): Likewise.
4505 * math/libm-test.inc (cexp_test): Add more tests.
4506
1cef1b19
AS
45072013-04-03 Andreas Schwab <schwab@suse.de>
4508
4509 [BZ #15330]
4510 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
4511 order arrays from heap if bigger than alloca cutoff.
4512
74d87055
TS
45132013-04-03 Thomas Schwinge <thomas@codesourcery.com>
4514
4515 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
4516 (SNAN_TESTS_double): Refer to GCC PR56831.
4517 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
4518 GCC PR56828.
4519
d755bba4
SP
45202013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4521
90d5d5bb
SP
4522 * Rules (bench): Move bench.out after the run is complete.
4523
73e0cd5d
SP
4524 * Rules (bench): Echo currently running benchmark.
4525
64aabd4b
SP
4526 * benchtests/Makefile (bench): Add atan and slowatan.
4527 * benchtests/atan-inputs: New file.
4528 * benchtests/slowatan-inputs: New file.
4529 * benchtests/slowatan.c: New file.
4530
c871eccd
SP
4531 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
4532 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
4533 its value.
4534
d755bba4
SP
4535 [BZ #15305]
4536 * sysdeps/unix/sysv/linux/kernel-features.h
4537 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
4538 __ASSUME_XFS_RESTRICTED_CHOWN.
4539 * sysdeps/unix/sysv/linux/pathconf.c
4540 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
4541 Save and restore errno.
4542
52ce4860
JM
45432013-04-02 Joseph Myers <joseph@codesourcery.com>
4544
4545 [BZ #15327]
4546 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
4547 arguments using __kernel_casinh.
4548 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
4549 arguments using __kernel_casinhf.
4550 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
4551 arguments using __kernel_casinhl.
4552 * math/libm-test.inc (cacosh_test): Add more tests.
4553 * sysdeps/i386/fpu/libm-test-ulps: Update.
4554 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4555
81f311c2
SP
45562013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4557
e7906a47
SP
4558 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
4559 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
4560
92e3664b
SP
4561 * bench/Makefile (bench): Add sin and slowsin.
4562 * benchtests/sin-inputs: New file.
4563 * benchtests/slowsin-inputs: New file.
4564 * benchtests/slowsin.c: New file.
4565
81f311c2
SP
4566 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
4567 (bench): Add slowexp and slowpow.
4568 (exp-ITER): Increase iterations.
4569 (pow-ITER): Likewise.
4570 * benchtests/exp-inputs: Change input.
4571 * benchtests/pow-inputs: Likewise.
4572 * benchtests/slowexp-inputs: New file.
4573 * benchtests/slowexp.c: New file.
4574 * benchtests/slowpow-inputs: New file.
4575 * benchtests/slowpow.c: New file.
4576
ab0f1aa9
AZ
45772013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4578
4579 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
4580 instructions.
4581 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4582 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
4583 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4584 * benchtests/Makefile: Add rint benchtest.
4585 * benchtests/rint-inputs: Input for rint benchtest.
4586
57267616
TS
45872013-04-02 Thomas Schwinge <thomas@codesourcery.com>
4588
4589 * Versions.def (libm): Add GLIBC_2.18.
4590 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
4591 hidden libm prototypes.
4592 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
4593 * math/Makefile (libm-calls): Add s_issignaling.
4594 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
4595 __issignalingf, __issignalingl. Adjust all libm.abilist files.
4596 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
4597 declaration.
4598 * math/math.h [__USE_GNU] (issignaling): New macro.
4599 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
4600 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
4601 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
4602 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
4603 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
4604 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
4605 * manual/arith.texi (issignaling): New section.
4606 * manual/libm-err-tab.pl (@all_functions): Update comment.
4607 * math/gen-libm-test.pl (parse_args): Apply special handling for
4608 issignaling.
4609 * math/libm-test.inc (print_float, issignaling_test): New
4610 functions.
4611 (check_float_internal): Add issignaling checks.
4612 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
4613 default definition.
4614 * sysdeps/powerpc/math-tests.h: New file.
4615 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
4616 tests.
4617 * math/test-snan.c (TEST_FUNC): Likewise.
4618
6142896d
DM
46192013-03-30 David S. Miller <davem@davemloft.net>
4620
4621 * po/de.po: Update from translation team.
4622
ccc8cadf
JM
46232013-03-30 Joseph Myers <joseph@codesourcery.com>
4624
4625 [BZ #10357]
4626 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4627 imaginary part less than 1.0 and real part less than 0.5
4628 specially.
4629 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4630 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4631 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
4632 (cacos_test): Add more tests.
4633 (casin_test): Likewise.
4634 (casinh_test): Likewise.
4635 * sysdeps/i386/fpu/libm-test-ulps: Update.
4636 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4637
0f6a8d4b
SP
46382013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4639
0d1029de
SP
4640 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
4641 ONE with its value.
4642
c2d94018
SP
4643 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
4644 (__pow_mp): Replace ONE and MONE with their values.
4645 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4646 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
4647 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4648 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
4649 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4650 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4651
27ec37f1
SP
4652 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
4653
a64d7e0e
SP
4654 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
4655 (__pow_mp): Replace ZERO and MZERO with their values.
4656 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4657 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4658 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4659 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4660 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4661 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
4662 (__sqr): Likewise.
4663
d26dd3eb
SP
4664 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
4665
0f6a8d4b
SP
4666 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
4667
e57b0c61
RM
46682013-03-28 Roland McGrath <roland@hack.frob.com>
4669
4670 * include/stdlib.h [!SHARED] (__call_tls_dtors):
4671 Declare with __attribute__ ((weak)).
4672 * stdlib/exit.c (__libc_atexit) [!SHARED]:
4673 Call __call_tls_dtors only if it's not NULL.
4674
356b3480
RM
46752013-03-28 Roland McGrath <roland@hack.frob.com>
4676
288f7d79
RM
4677 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
4678 didn't do it already, then set _dl_phdr and _dl_phnum based on the
4679 magic __ehdr_start linker symbol if it's defined.
4680 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
4681 them up here if it was already done.
4682
dc0a0263
RM
4683 * elf/dl-support.c (_dl_phdr): Make pointer to const.
4684 (_dl_aux_init): Use const in cast when setting it.
4685 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
4686 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
4687 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
4688
3d3436ae
RM
4689 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
4690 Declare them here.
4691 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
4692 * csu/libc-tls.c: Nor here.
4693 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
4694
356b3480
RM
4695 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
4696 (__libc_message): Never call vsyslog.
4697
b0f1246a
AM
46982013-03-28 Alan Modra <amodra@gmail.com>
4699
4700 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
4701 Define as empty.
4702 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
4703 Likewise.
4704
fbbe2b9a
AZ
47052013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4706
4707 [BZ #15214]
4708 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
4709 underflow.
4710 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4711
1728ab37
SP
47122013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4713
7a86be6e
SP
4714 [BZ #15304]
4715 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4716 Don't add gid passed as argument.
4717
1728ab37
SP
4718 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
4719
3a7182a1
JM
47202013-03-27 Joseph Myers <joseph@codesourcery.com>
4721
4722 [BZ #15307]
4723 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4724 imaginary part between 1.0 and 1.5 and real part less than 0.5
4725 specially.
4726 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4727 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4728 * math/libm-test.inc (cacos_test): Add more tests.
4729 (casin_test): Likewise.
4730 (casinh_test): Likewise.
4731 * sysdeps/i386/fpu/libm-test-ulps: Update.
4732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4733
6f2e90e7
SP
47342013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4735
5739f705
SP
4736 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
4737 constants.
4738 (norm): Likewise.
4739 (denorm): Likewise.
4740 (__dbl_mp): Likewise.
4741 (add_magnitudes): Likewise.
4742 (sub_magnitudes): Likewise.
4743 (__add): Likewise.
4744 (__sub): Likewise.
4745 (__mul): Likewise.
4746 (__sqr): Likewise.
4747 (__inv): Likewise.
4748 (__dvd): Likewise.
4749
e375e83d
SP
4750 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
4751 commented code.
4752 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
4753 (__dubcos): Likewise.
4754 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
4755 (__ieee754_acos): Likewise.
4756 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4757 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
4758 (__exp1): Likewise.
4759 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4760 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4761 (log1): Likewise.
4762 (my_log2): Likewise.
4763 (checkint): Likewise.
4764 * sysdeps/ieee754/dbl-64/e_remainder.c
4765 (__ieee754_remainder): Likewise.
4766 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4767 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
4768 (bsloww): Likewise.
4769 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4770
6f2e90e7
SP
4771 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
4772 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
4773 MANTISSA_STORE_T to store computations on mantissa. Use
4774 macros for rounding and division.
4775 (denorm): Likewise.
4776 (__dbl_mp): Likewise.
4777 (add_magnitudes): Likewise.
4778 (sub_magnitudes): Likewise.
4779 (__mul): Likewise.
4780 (__sqr): Likewise.
4781 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
4782 powers of two in terms of TWOPOW macro.
4783 (mp_no): Make type of mantissa as MANTISSA_T.
4784 [!RADIXI]: Define RADIXI.
4785 [!TWO52]: Define TWO52.
4786 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
4787
fce14d4e
AZ
47882013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4789
4790 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
4791 llroundl symbol when building for PPC32.
4792
9ad027fb
MW
47932013-03-24 Mark H Weaver <mhw@netris.org>
4794
4795 * manual/arith.texi (Normalization Functions): Fix prototypes for
4796 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
4797
e42a38dd
AZ
47982013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4799
4800 [BZ #13889]
4801 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
4802 high value to check if expl overflow.
4803 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
4804 to check for underflow and overflow.
4805 * math/libm-test.inc: Add exp test.
4806
2e0fb521
DL
48072013-03-21 Dmitry V. Levin <ldv@altlinux.org>
4808
4809 [BZ #11120]
4810 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
4811 with NOT_IN_libc.
4812
b5784d95
AZ
48132013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4814
4815 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
4816 symbol.
4817
5aa4a1a1
TS
48182013-03-21 Thomas Schwinge <thomas@codesourcery.com>
4819
bdef0be7
TS
4820 * math/gen-libm-test.pl (parse_args, special_functions): Properly
4821 wrap blocks consisting of several statements.
4822
5aa4a1a1
TS
4823 * sysdeps/generic/math-tests.h: New file.
4824 * sysdeps/i386/fpu/math-tests.h: Likewise.
4825 * math/test-snan.c: Include it.
4826 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
4827
98c48fe5
JM
48282013-03-21 Joseph Myers <joseph@codesourcery.com>
4829
4830 [BZ #15285]
4831 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
4832 (__ieee754_j0l): Do not improve calculations using cos of twice
4833 input for inputs above LDBL_MAX / 2.0L.
4834 (__ieee754_y0l): Likewise.
4835 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
4836 (__ieee754_j1l): Do not improve calculations using cos of twice
4837 input for inputs above LDBL_MAX / 2.0L.
4838 (__ieee754_y1l): Likewise.
4839 * math/libm-test.inc (j0_test): Add another test.
4840 (j1_test): Likewise.
4841 (y0_test): Likewise.
4842 (y1_test): Likewise.
4843 * sysdeps/i386/fpu/libm-test-ulps: Update.
4844
3775a8bc
SP
48452013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4846
4847 * Rules ($(objpfx)bench-%.c): Include code from a C source
4848 file.
4849
0a1b2ae6
JM
48502013-03-21 Joseph Myers <joseph@codesourcery.com>
4851
4852 [BZ #15287]
4853 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4854 imaginary part 1.0 and real part less than 0.5 specially.
4855 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4856 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4857 * math/libm-test.inc (cacos_test): Add more tests.
4858 (casin_test): Likewise.
4859 (casinh_test): Likewise.
4860 * sysdeps/i386/fpu/libm-test-ulps: Update.
4861 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4862
b33d4ce4
SP
48632013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4864
4865 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
4866 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
4867
bef0b507
JM
48682013-03-20 Joseph Myers <joseph@codesourcery.com>
4869
4870 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
4871 * config.make.in (config-cflags-sse4): Remove variable.
4872 (config-cflags-avx): Likewise.
4873 (config-cflags-sse2avx): Likewise.
4874 (config-cflags-novzeroupper): Likewise.
4875 (config-asflags-i686): Likewise.
4876 (have-mfma4): Likewise.
4877 (have-as-vis3): Likewise.
4878 (MIG): Likewise.
4879 * configure.in (MIG): Do not AC_SUBST.
4880 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
4881 (libc_cv_cc_sse4): Do not AC_SUBST.
4882 (libc_cv_cc_avx): Likewise.
4883 (libc_cv_cc_sse2avx): Likewise.
4884 (libc_cv_cc_novzeroupper): Likewise.
4885 (libc_cv_cc_fma4): Likewise.
4886 (libc_cv_as_i686): Likewise.
4887 (libc_cv_sparc_as_vis3): Likewise.
4888 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
4889 LIBC_CONFIG_VAR.
4890 (config-asflags-i686): Likewise.
4891 (config-cflags-avx): Likewise.
4892 (config-cflags-sse2avx): Likewise.
4893 (have-mfma4): Likewise.
4894 (config-cflags-novzeroupper): Likewise.
4895 * sysdeps/mach/configure.in (MIG): Likewise.
4896 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
4897 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
4898 LIBC_CONFIG_VAR.
4899 (config-cflags-avx): Likewise.
4900 (config-cflags-sse2avx): Likewise.
4901 (have-mfma4): Likewise.
4902 (config-cflags-novzeroupper): Likewise.
4903 * configure: Regenerated.
4904 * sysdeps/i386/configure: Likewise.
4905 * sysdeps/mach/configure: Likewise.
4906 * sysdeps/sparc/configure: Likewise.
4907 * sysdeps/x86_64/configure: Likewise.
4908
912cc4b3
RM
49092013-03-20 Roland McGrath <roland@hack.frob.com>
4910
4911 [BZ #14812]
4912 * locale/programs/localedef.c (options): Put N_ translation marker
4913 on argument names, not just descriptions.
4914
04eed2b0
MS
49152013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4916
4917 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
4918
a065ceff
OB
49192013-03-20 Ondřej Bílka <neleai@seznam.cz>
4920
9bb2a810 4921 [BZ #14176]
a065ceff
OB
4922 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
4923
a600e5ce
RM
49242013-03-19 Roland McGrath <roland@hack.frob.com>
4925
4926 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
4927 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
4928 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
4929 [!BEFORE_ABORT] (before_abort): New function.
4930 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
4931 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
4932 (writev_for_fatal): New function.
4933 (WRITEV_FOR_FATAL): New macro; call that.
4934 (backtrace_and_maps): New function.
4935 (BEFORE_ABORT): New macro; call that.
4936 (struct str_list): Type removed.
4937 (__libc_message, __libc_fatal): Functions removed.
4938 Include <sysdeps/posix/libc_fatal.c> instead.
4939
6b18bea6
JM
49402013-03-19 Joseph Myers <joseph@codesourcery.com>
4941
4942 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
4943 constants.
4944 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
4945 double constants.
4946
aaa8cb4b
AS
49472013-03-19 Andreas Schwab <schwab@suse.de>
4948
44673770
AS
4949 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
4950 * sysdeps/gnu/configure: Regenerate.
4951
aaa8cb4b
AS
4952 * configure.in: Substitute libc_cv_rtlddir.
4953 * configure: Regenerate.
4954 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
4955 * Makeconfig (rtlddir, inst_rtlddir): New variables.
4956 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
4957 * elf/Makefile (install-others, CFLAGS-interp.c)
4958 (ldso_install, common-ldd-rewrite): Likewise.
4959 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
4960 $(inst_slibdir)/$(rtld-installed-name).
4961 * scripts/rellns-sh: Add -p option.
4962 * Makerules (make-shlib-link): Use rellns-sh to get relative name
4963 for source.
4964
d3cfc668
SP
49652013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4966
4967 * manual/nptl.texi: Renamed to ...
4968 * manual/threads.texi: ... this.
4969 * manual/Makefile (chapters): Update.
4970
0e2b9cdd
RM
49712013-03-18 Roland McGrath <roland@hack.frob.com>
4972
4973 [BZ #14812]
4974 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
4975 on argument names, not just descriptions.
0e2b9cdd
RM
4976 * malloc/memusagestat.c (options): Likewise.
4977 * nss/getent.c (options): Likewise.
63270c24
RM
4978
49792013-03-18 Benno Schulenberg <bensberg@justemail.net>
4980
4981 [BZ #14812]
4982 * iconv/iconv_prog.c (options): Put N_ translation marker
4983 on argument names, not just descriptions.
4984 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 4985
b2e1393c
OB
49862013-03-18 Ondrej Bilka <neleai@seznam.cz>
4987
4988 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
4989 implementation which is faster on all x86_64 architectures.
4990 Tested on AMD, Intel Nehalem, SNB, IVB.
4991 * sysdeps/x86_64/strnlen.S: Likewise.
4992
4993 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4994 Remove all multiarch strlen and strnlen versions.
4995 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
4996 Remove strlen and strnlen related parts.
4997
4998 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
4999 Inline strlen part.
5000 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
5001
5002 * sysdeps/x86_64/multiarch/strlen.S: Remove.
5003 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
5004 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
5005 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
5006 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
5007 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
5008
ec4ff04d
CD
50092013-03-17 Carlos O'Donell <carlos@redhat.com>
5010
5011 * manual/memory.texi (Malloc Tunable Parameters):
5012 Sort parameters alphabetically. Add comments for missing entries.
5013
cd18e90a
DM
50142013-03-17 David S. Miller <davem@davemloft.net>
5015
5016 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5017
2a185d32
JM
50182013-03-16 Joseph Myers <joseph@codesourcery.com>
5019
d2f9799e
JM
5020 [BZ #15283]
5021 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
5022 for arguments at most half maximum finite value.
5023 * math/libm-test.inc (j0_test): Add more tests.
5024 (j1_test): Likewise.
5025 (y0_test): Likewise.
5026 (y1_test): Likewise.
5027 * sysdeps/i386/fpu/libm-test-ulps: Update.
5028 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5029
2a185d32
JM
5030 [BZ #14155]
5031 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
5032 1 / x and functions P and Q for arguments above 0x1p256L.
5033 (__ieee754_y0l): Likewise.
5034 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
5035 (__ieee754_y1l): Likewise.
5036 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
5037 (j1_test): Likewise.
5038 (y0_test): Likewise.
5039 (y1_test): Likewise.
5040
6cbec759
TS
50412013-03-16 Thomas Schwinge <thomas@codesourcery.com>
5042
5043 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
5044 variable.
5045
bc16e260
RM
50462013-03-15 Roland McGrath <roland@hack.frob.com>
5047
aefc9b8c
RM
5048 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
5049 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
5050 zero since it's initialized to EXEC_PAGESIZE.
5051
bc16e260
RM
5052 * sysdeps/unix/sysv/linux/ldsodefs.h
5053 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
5054 * sysdeps/generic/ldsodefs.h: ... here.
5055
a57da955
TS
50562013-03-15 Thomas Schwinge <thomas@codesourcery.com>
5057
af00a34d
TS
5058 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
5059
495ded2c
TS
5060 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
5061 math/test-snan.c.
5062 * math/test-snan.c: Renamed from
5063 sysdeps/powerpc/fpu/test-powerpc-snan.c.
5064 * math/Makefile (tests): Add test-snan.
5065 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
5066 test-powerpc-snan.
5067
777b0332
TS
5068 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
5069 SUFFIX. Initialize qNaN_var with __builtin_nan family of
5070 functions.
5071 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
5072 __builtin_nan family of functions.
5073 * math/libm-test.inc (initialize): Initialize qnan_value with
5074 __builtin_nan family of functions.
5075 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
5076 Remove variables.
5077 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
5078 Remove functions.
5079 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
5080 storage class. Initialize qNaN_var and sNaN_var with
5081 __builtin_nan and __builtin_nans families of functions,
5082 respectively.
5083
64d063b8
TS
5084 * math/libm-test.inc (acosh_test): Also test with qNaN input.
5085 (sqrt_test): Remove duplicate test with qNaN input.
5086 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
5087 (round_test, signbit_test, significand_test): Note missing +/-Inf
5088 as well as qNaN tests.
5089
67e971f1
TS
5090 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
5091 qNaN_var. Fix a few strings, too.
5092 * math/libm-test.inc (nan_value): Rename to qnan_value.
5093 * math/gen-libm-test.pl (%beautify): Adjust to that.
5094 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
5095 * math/test-misc.c (main): Likewise.
5096 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
5097 to __qnan_bytes, and __qnan_union, respectively.
5098 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
5099 Likewise.
5100 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
5101 and lqnanval, respectively.
5102 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
5103 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
5104 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
5105 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
5106
64487e12
TS
5107 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
5108 * math/test-misc.c (main) [__x86_64__]: Enable test for long
5109 doubles.
5110
e015e27b
TS
5111 * math/test-misc.c (main): Fix copy'n'pastos.
5112 * misc/tst-efgcvt.c (special): Likewise.
5113
a57da955
TS
5114 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
5115 Remove declarations.
5116
1e380345
SP
51172013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5118
5119 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
5120 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
5121 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
5122 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
5123
ef26eece
AZ
51242013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5125
5126 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
5127 macro to return vdso values correctly in IFUNC implementations.
5128 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5129 Optimization by using IFUNC.
5130
8cfdb7e0
SP
51312013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5132 Richard Henderson <rth@redhat.com>
5133 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5134
5135 * Makefile.in (bench): New target.
5136 * NEWS: Mention the benchmark framework.
5137 * Rules (bench): Likewise.
5138 (binaries-bench): Generate binaries for functions to
5139 benchmark.
5140 * benchtests/Makefile: New makefile for benchmark tests.
5141 * benchtests/bench-skeleton.c: New skeleton file for benchmark
5142 programs.
5143 * benchtests/exp-inputs: New input file for EXP function.
5144 * benchtests/pow-inputs: New input file for POW function.
5145 * scripts/bench.pl: New script to generate source files for
5146 benchmark programs.
5147
bcda9880
SP
51482013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5149
d22ca8cd
SP
5150 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5151 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
5152 computations on mantissa. Use macros for rounding and
5153 division.
5154 (denorm): Likewise.
5155 (__dbl_mp): Likewise.
5156 (add_magnitudes): Likewise.
5157 (sub_magnitudes): Likewise.
5158 (__mul): Likewise.
5159 (__sqr): Likewise.
5160 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
5161 powers of two in terms of TWOPOW macro.
5162 (mp_no): Make type of mantissa as MANTISSA_T.
5163 [!RADIXI]: Define RADIXI.
5164 [!TWO52]: Define TWO52.
5165 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
5166
bcda9880
SP
5167 * manual/nptl.texi (cindex): Modify threads to pthreads.
5168
06d5adfb
JM
51692013-03-15 Joseph Myers <joseph@codesourcery.com>
5170
5171 * sysdeps/x86_64/preconfigure: Regenerated.
5172
41c7328e
JM
51732013-03-14 Joseph Myers <joseph@codesourcery.com>
5174
5175 [BZ #14155]
5176 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
5177 0x1p28 and above.
5178 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
5179 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
5180 0x1p28 and above.
5181 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
5182 * math/libm-test.inc (j0_test): Do not allow one spurious
5183 underflow exception.
5184 (y1_test): Likewise.
5185
e25cfa60
SP
51862013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5187
0409959c
SP
5188 * manual/Makefile (chapters): Add nptl.
5189 * manual/debug.texi (Debugging Support): Add link to Threads
5190 chapter.
5191 * manual/nptl.texi: New file.
5192
e25cfa60
SP
5193 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
5194
58a1335e
PB
51952013-03-14 Petr Baudis <pasky@ucw.cz>
5196
5197 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
5198 for non-NULL pointer before the memory validity test. Pointed
5199 out by Holger Brunck <holger.brunck@keymile.com>.
5200
9dc7c64f
AS
52012013-03-13 Andreas Schwab <schwab@suse.de>
5202
5203 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
5204 instead of .os.
5205
54206aa6
JM
52062013-03-13 Joseph Myers <joseph@codesourcery.com>
5207
5208 * timezone/zic.c: Update from tzcode 2013b.
5209
e98cdb38
CD
52102013-03-12 Carlos O'Donell <carlos@redhat.com>
5211
5212 * manual/install.texi (Configuring and compiling):
5213 Mention i686 and i586.
5214 * INSTALL: Regenerate.
5215
9967e003
RM
52162013-03-12 Roland McGrath <roland@hack.frob.com>
5217
5218 * sysdeps/init_array/elf-init.c: New file.
5219 * csu/elf-init.c
5220 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
5221 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
5222
5223 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
5224 __gmon_start__ as global, but as static with a .preinit_array pointer.
5225 * sysdeps/init_array/gmon-start.c: New file. Use that.
5226 * sysdeps/init_array/crti.S: New file, empty except for comments.
5227 * sysdeps/init_array/crtn.S: Likewise.
5228
e6b5a293 52292013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
5230
5231 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
5232 definining bcopy.
80f844c9
OB
5233 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5234 Remove Prefer_SSE_for_memop.
5235 * sysdeps/x86_64/multiarch/init-arch.h: Remove
5236 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
5237 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
5238 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5239 memset-x86-64.
80f844c9 5240 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 5241 Remove bzero, memset ifunc support.
80f844c9
OB
5242 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
5243 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
5244 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5245 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5246
fb6b0fcb
AS
52472013-03-11 Andreas Schwab <schwab@suse.de>
5248
5249 [BZ #15234]
5250 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
5251 by SHLIB_COMPAT.
5252 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
5253 (GLIBC_2.16): Remove pthread_atfork.
5254
3e6bd4b1
PP
52552013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
5256
5257 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
5258 (ptestcases.h): Likewise.
5259
222d7f00
RM
52602013-03-08 Roland McGrath <roland@hack.frob.com>
5261
5262 * Makeconfig ($(common-objpfx)config.status): Depend on
5263 sysdeps/*/preconfigure{,.in} too.
5264
1ba4f030
JM
52652013-03-08 Joseph Myers <joseph@codesourcery.com>
5266
a222d91a
JM
5267 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
5268 (__free_hook): Use void * instead of __malloc_ptr_t.
5269 (__malloc_hook): Likewise.
5270 (__realloc_hook): Likewise.
5271 (__memalign_hook): Likewise.
5272 (__after_morecore_hook): Likewise.
5273 * malloc/arena.c (save_malloc_hook): Likewise.
5274 (save_free_hook): Likewise.
5275 * malloc/hooks.c (malloc_hook_ini): Likewise.
5276 (realloc_hook_ini): Likewise.
5277 (memalign_hook_ini): Likewise.
5278 * malloc/malloc.c (malloc_hook_ini): Likewise.
5279 (realloc_hook_ini): Likewise.
5280 (memalign_hook_ini): Likewise.
5281 (__free_hook): Likewise.
5282 (__malloc_hook): Likewise.
5283 (__realloc_hook): Likewise.
5284 (__memalign_hook): Likewise.
5285 (__libc_malloc): Likewise.
5286 (__libc_free): Likewise.
5287 (__libc_realloc): Likewise.
5288 (__libc_memalign): Likewise.
5289 (__libc_valloc): Likewise.
5290 (__libc_pvalloc): Likewise.
5291 (__libc_calloc): Likewise.
5292 (__posix_memalign): Likewise.
5293 * malloc/morecore.c (__sbrk): Likewise.
5294 (__default_morecore): Likewise.
5295
5cc45e10
JM
5296 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
5297
dd54b864
JM
5298 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
5299 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
5300 __malloc_ptrdiff_t.
5301
1ba4f030
JM
5302 * malloc/malloc.h (__malloc_size_t): Remove macro.
5303 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
5304 __malloc_size_t.
5305 (old_memalign_hook): Likewise.
5306 (old_realloc_hook): Likewise.
5307 (struct hdr): Likewise.
5308 (flood): Likewise.
5309 (mallochook): Likewise.
5310 (memalignhook): Likewise.
5311 (reallochook): Likewise.
5312 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
5313 (tr_old_realloc_hook): Likewise.
5314 (tr_old_memalign_hook): Likewise.
5315 (tr_mallochook): Likewise.
5316 (tr_reallochook): Likewise.
5317 (tr_memalignhook): Likewise.
5318
edf66e57
AZ
53192013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5320
5321 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
5322 default_ldbl_pack and using as default implementation.
5323 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
5324 implementation.
5325 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
5326 redundant definition.
5327 (ldbl_insert_mantissa): Likewise.
5328 (ldbl_canonicalize): Likewise.
5329 (ldbl_nearbyint): Likewise.
5330 (ldbl_pack): Rename to ldbl_pack_ppc.
5331 (ldbl_unpack): Rename to ldbl_unpack_ppc.
5332 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
5333 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
5334
6d9145d8
SP
53352013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5336
5337 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
5338 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
5339 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
5340 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
5341 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
5342 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
5343 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
5344 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
5345
4dd4e157
AJ
53462013-03-07 Andreas Jaeger <aj@suse.de>
5347
5348 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5349 bits/mman-linux.h.
5350
adbb8027
SP
53512013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
5352
ce544b5b
SP
5353 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
5354 Include mpa.h and declare __MPEXP.
5355 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
5356 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
5357 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
5358 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
5359 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
5360 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
5361 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
5362
4cc149fd
SP
5363 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
5364 (__slowpow): Use long double EXPL and LOGL functions to
5365 compute POW.
5366 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
5367 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
5368 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
5369 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
5370 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
5371 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
5372
e6ebd4a7
SP
5373 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
5374 intermediate variable to calculate exponent.
5375 (__sqr): Likewise.
5376 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
5377 Likewise.
5378 (__sqr): Likewise.
5379
82a9811d
SP
5380 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
5381 [!NO__SQR]: Define __sqr.
5382 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
5383 and NO__SQR. Remove all code except __mul and __sqr. Include
5384 sysdeps/ieee754/dbl-64/mpa.c.
5385 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5386
adbb8027
SP
5387 [BZ #12723]
5388 * posix/Makefile (tests): Add tst-pathconf.
5389 * posix/tst-pathconf.c: New test case.
5390 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
5391 _PC_PIPE_BUF.
5392 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
5393
39120df9
PF
53942013-03-06 Patsy Franklin <pfrankli@redhat.com>
5395
5396 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
5397
67525cb8
AJ
53982013-03-06 Andreas Jaeger <aj@suse.de>
5399
664a9ce4
AJ
5400 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
5401 definition via __MAP_ANONYMOUS.
5402
8e39047d
AJ
5403 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
5404 it's not part of Linux headers.
5405
67525cb8
AJ
5406 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
5407 (MAP_HUGE_MASK): Define.
5408
5409 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5410 Define.
5411 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5412 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5413 Define.
5414 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5415 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5416 Define.
5417 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5418 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
5419 Define.
5420 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5421
5422 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
5423 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
5424 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
5425 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
5426 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
5427 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
5428
5429 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
5430 Handle f2fs.
5431
5432 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5433 Handle f2fs and efivarfs.
5434
5435 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
5436 f2fs.
5437
5438 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
5439 (EFIVARFS_MAGIC): Add.
5440 (F2FS_LINK_MAX): Add.
5441
e1b42695
PP
54422013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5443
5444 * stdio-common/vfprintf.c: Replace __builtin_expect with
5445 __glibc_unlikely.
5446
2d67d91a
JM
54472013-03-06 Joseph Myers <joseph@codesourcery.com>
5448
5449 [BZ #13550]
5450 * sysdeps/generic/bp-sym.h: Remove file.
5451 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
5452 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
5453 <bp-sym.h> and <bp-asm.h>.
5454 (__longjmp): Don't use BP_SYM.
5455 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
5456 and <bp-asm.h>.
5457 (memcpy): Don't use BP_SYM.
5458 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
5459 <bp-sym.h> and <bp-asm.h>.
5460 (memcpy): Don't use BP_SYM.
5461 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
5462 <bp-asm.h>.
5463 (memcpy): Don't use BP_SYM.
5464 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
5465 <bp-asm.h>.
5466 (memset): Don't use BP_SYM.
5467 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5468 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5469 (__bzero): Don't use BP_SYM.
5470 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5471 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5472 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
5473 <bp-sym.h> and <bp-asm.h>.
5474 (memcmp): Don't use BP_SYM. Remove comment about bounded
5475 pointers.
5476 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
5477 <bp-sym.h> and <bp-asm.h>.
5478 (memcpy): Don't use BP_SYM.
5479 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
5480 <bp-sym.h> and <bp-asm.h>.
5481 (memset): Don't use BP_SYM.
5482 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5483 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5484 (__bzero): Don't use BP_SYM.
5485 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5486 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5487 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
5488 <bp-sym.h> and <bp-asm.h>.
5489 (strncmp): Don't use BP_SYM. Remove comment about bounded
5490 pointers.
5491 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
5492 <bp-sym.h> and <bp-asm.h>.
5493 (memcpy): Don't use BP_SYM.
5494 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
5495 <bp-sym.h> and <bp-asm.h>.
5496 (memset): Don't use BP_SYM.
5497 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5498 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5499 (__bzero): Don't use BP_SYM.
5500 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5501 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5502 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
5503 <bp-sym.h> and <bp-asm.h>.
5504 (__memchr): Don't use BP_SYM.
5505 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
5506 <bp-sym.h> and <bp-asm.h>.
5507 (memcmp): Don't use BP_SYM. Remove comment about bounded
5508 pointers.
5509 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
5510 <bp-sym.h> and <bp-asm.h>.
5511 (memcpy): Don't use BP_SYM.
5512 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
5513 <bp-sym.h> and <bp-asm.h>.
5514 (__mempcpy): Don't use BP_SYM.
5515 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
5516 <bp-sym.h> and <bp-asm.h>.
5517 (__memrchr): Don't use BP_SYM.
5518 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
5519 <bp-sym.h> and <bp-asm.h>.
5520 (memset): Don't use BP_SYM.
5521 (__bzero): Likewise.
5522 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
5523 <bp-sym.h> and <bp-asm.h>.
5524 (__rawmemchr): Don't use BP_SYM.
5525 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
5526 <bp-sym.h> and <bp-asm.h>.
5527 (__STRCMP): Don't use BP_SYM.
5528 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
5529 <bp-sym.h> and <bp-asm.h>.
5530 (strchr): Don't use BP_SYM.
5531 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
5532 <bp-sym.h> and <bp-asm.h>.
5533 (__strchrnul): Don't use BP_SYM.
5534 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
5535 <bp-sym.h> and <bp-asm.h>.
5536 (strlen): Don't use BP_SYM.
5537 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
5538 <bp-sym.h> and <bp-asm.h>.
5539 (strncmp): Don't use BP_SYM. Remove comment about bounded
5540 pointers.
5541 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
5542 <bp-sym.h> and <bp-asm.h>.
5543 (__strnlen): Don't use BP_SYM.
5544 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
5545 <bp-sym.h> and <bp-asm.h>.
5546 (__GI__setjmp): Don't use BP_SYM.
5547 (_setjmp): Likewise.
5548 (__sigsetjmp): Likewise.
5549 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
5550 (L(start_addresses)): Don't use BP_SYM.
5551 (_start): Likewise.
5552 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
5553 <bp-asm.h>.
5554 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
5555 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
5556 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5557 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5558 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
5559 <bp-asm.h>.
5560 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
5561 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
5562 about bounded pointers.
5563 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5564 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5565 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
5566 <bp-asm.h>.
5567 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
5568 about bounded pointers. Remove GKM FIXME comments.
5569 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5570 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
5571 <bp-asm.h>.
5572 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
5573 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
5574 Remove GKM FIXME comments.
5575 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5576 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5577 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
5578 <bp-asm.h>.
5579 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
5580 about bounded pointers. Remove GKM FIXME comment.
5581 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
5582 and <bp-asm.h>.
5583 (strncmp): Don't use BP_SYM. Remove comment about bounded
5584 pointers.
5585 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
5586 <bp-sym.h> and <bp-asm.h>.
5587 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5588 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
5589 <bp-sym.h> and <bp-asm.h>.
5590 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
5591 comment.
5592
cdcf361f
PP
55932013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5594
5595 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
5596 call free(NULL).
5597
3c4a2b15
DM
55982013-03-05 David S. Miller <davem@davemloft.net>
5599
5600 * po/es.po: Update from translation team.
5601
cdcf361f 56022013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
5603
5604 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
5605 <bits/mman-linux.h>.
5606 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5607 is fine.
5608 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
5609 <bits/mman-linux.h> to end of file.
5610 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5611 is fine.
5612 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
5613 <bits/mman-linux.h> to end of file.
5614 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5615 is fine.
5616 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
5617 <bits/mman-linux.h> to end of file.
5618
5619 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
5620 (MCL_CURRENT, MCL_FUTURE): Define here.
5621
5f67c04f
AK
56222013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5623
8a4473cc 5624 [BZ #15232]
5f67c04f
AK
5625 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
5626 attribute_hidden.
5627 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5628
c3e94a95
AK
56292013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5630
5631 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
5632 fourth parameter needed for rt_sigprocmask syscall.
5633 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
5634 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
5635 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
5636 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
5637 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
5638 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
5639
cfb6382a
JM
56402013-03-04 Joseph Myers <joseph@codesourcery.com>
5641
5642 [BZ #13550]
5643 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
5644 comment about bounded pointers.
5645 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
5646 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
5647
539d8e01
AJ
56482013-03-04 Andreas Jaeger <aj@suse.de>
5649
5650 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
5651 common definitions.
5652
5653 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
5654 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
5655 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
5656 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5657 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
5658 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5659
2e167a70 56602013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
5661
5662 [BZ #15055]
5663 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
5664 __ieee754_sqrl instead of __sqrl.
5665
68508633
JM
56662013-03-01 Joseph Myers <joseph@codesourcery.com>
5667
5668 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
5669 * sysdeps/powerpc/fpu_control.h: ... here.
5670 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
5671 * sysdeps/powerpc/bits/fenvinline.h: ... here.
5672 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
5673 * sysdeps/powerpc/bits/mathinline.h: ... here.
5674
7775448e
RM
56752013-03-01 Roland McGrath <roland@hack.frob.com>
5676
5677 * elf/dl-hwcaps.c (_dl_important_hwcaps):
5678 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
5679 to just [NEED_DL_SYSINFO_DSO].
5680 * elf/dl-support.c: Likewise.
5681 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
5682 * elf/rtld.c (dl_main): Likewise.
5683 * elf/setup-vdso.h (setup_vdso): Likewise.
5684 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
5685 * sysdeps/unix/sysv/linux/dl-sysdep.c
5686 (_dl_discover_osversion): Likewise.
5687
4e9b5995
CD
56882013-03-01 Carlos O'Donell <carlos@redhat.com>
5689
5690 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
5691 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5692
e23872c8
SP
56932013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5694
e5c74c63
SP
5695 * NEWS: Mention libm performance improvements and non-x86 PI
5696 futex support.
5697
e23872c8
SP
5698 * csu/libc-start.c (__pthread_initialize_minimal): Change
5699 function arguments.
5700 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5701
b5510883
JM
57022013-02-28 Joseph Myers <joseph@codesourcery.com>
5703
5704 [BZ #13550]
5705 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
5706 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
5707 <bp-sym.h> and <bp-asm.h>.
5708 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5709 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
5710 and <bp-asm.h>.
5711 (memcpy): Don't use BP_SYM.
5712 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
5713 <bp-asm.h>.
5714 (__mpn_add_n): Don't use BP_SYM.
5715 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
5716 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
5717 and <bp-asm.h>.
5718 (__mpn_addmul_1): Don't use BP_SYM.
5719 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5720 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
5721 <bp-sym.h>.
5722 (_setjmp): Don't use BP_SYM.
5723 (__novmx_setjmp): Likewise.
5724 (__GI__setjmp): Likewise.
5725 (__vmx_setjmp): Likewise.
5726 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
5727 <bp-sym.h>.
5728 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
5729 (__bzero): Don't use BP_SYM.
5730 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5731 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5732 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
5733 <bp-sym.h> and <bp-asm.h>.
5734 (memcpy): Don't use BP_SYM.
5735 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
5736 <bp-sym.h> and <bp-asm.h>.
5737 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5738 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
5739 <bp-sym.h> and <bp-asm.h>.
5740 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5741 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
5742 <bp-asm.h>.
5743 (__mpn_lshift): Don't use BP_SYM.
5744 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5745 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
5746 <bp-asm.h>.
5747 (memset): Don't use BP_SYM.
5748 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5749 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5750 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
5751 <bp-asm.h>.
5752 (__mpn_mul_1): Don't use BP_SYM.
5753 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5754 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
5755 <bp-sym.h> and <bp-asm.h>.
5756 (memcmp): Don't use BP_SYM.
5757 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
5758 <bp-sym.h> and <bp-asm.h>.
5759 (memcpy): Don't use BP_SYM.
5760 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
5761 <bp-sym.h> and <bp-asm.h>.
5762 (memset): Don't use BP_SYM.
5763 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
5764 <bp-sym.h> and <bp-asm.h>.
5765 (strncmp): Don't use BP_SYM.
5766 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
5767 <bp-sym.h> and <bp-asm.h>.
5768 (memcpy): Don't use BP_SYM.
5769 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
5770 <bp-sym.h> and <bp-asm.h>.
5771 (memset): Don't use BP_SYM.
5772 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
5773 <bp-sym.h> and <bp-asm.h>.
5774 (__memchr): Don't use BP_SYM.
5775 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
5776 <bp-sym.h> and <bp-asm.h>.
5777 (memcmp): Don't use BP_SYM.
5778 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
5779 <bp-sym.h> and <bp-asm.h>.
5780 (memcpy): Don't use BP_SYM.
5781 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
5782 <bp-sym.h> and <bp-asm.h>.
5783 (__mempcpy): Don't use BP_SYM.
5784 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
5785 <bp-sym.h> and <bp-asm.h>.
5786 (__memrchr): Don't use BP_SYM.
5787 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
5788 <bp-sym.h> and <bp-asm.h>.
5789 (memset): Don't use BP_SYM.
5790 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
5791 <bp-sym.h> and <bp-asm.h>.
5792 (__rawmemchr): Don't use BP_SYM.
5793 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
5794 <bp-sym.h> and <bp-asm.h>.
5795 (__STRCMP): Don't use BP_SYM.
5796 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
5797 <bp-sym.h> and <bp-asm.h>.
5798 (strchr): Don't use BP_SYM.
5799 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
5800 <bp-sym.h> and <bp-asm.h>.
5801 (__strchrnul): Don't use BP_SYM.
5802 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
5803 <bp-sym.h> and <bp-asm.h>.
5804 (strlen): Don't use BP_SYM.
5805 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
5806 <bp-sym.h> and <bp-asm.h>.
5807 (strncmp): Don't use BP_SYM.
5808 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
5809 <bp-sym.h> and <bp-asm.h>.
5810 (__strnlen): Don't use BP_SYM.
5811 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
5812 <bp-asm.h>.
5813 (__mpn_rshift): Don't use BP_SYM.
5814 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5815 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
5816 <bp-sym.h> and <bp-asm.h>.
5817 (__sigsetjmp): Don't use BP_SYM.
5818 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
5819 (L(start_addresses)): Don't use BP_SYM.
5820 (_start): Likewise.
5821 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
5822 <bp-asm.h>.
5823 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
5824 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5825 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5826 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
5827 <bp-asm.h>.
5828 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
5829 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5830 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5831 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
5832 <bp-asm.h>.
5833 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
5834 comments.
5835 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5836 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
5837 <bp-asm.h>.
5838 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
5839 FIXME comments.
5840 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5841 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5842 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
5843 <bp-asm.h>.
5844 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
5845 comment.
5846 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
5847 and <bp-asm.h>.
5848 (strncmp): Don't use BP_SYM,
5849 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
5850 <bp-asm.h>.
5851 (__mpn_sub_n): Don't use BP_SYM.
5852 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5853 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
5854 and <bp-asm.h>.
5855 (__mpn_submul_1): Don't use BP_SYM.
5856 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5857 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
5858 <bp-sym.h> and <bp-asm.h>.
5859 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
5861 <bp-sym.h> and <bp-asm.h>.
5862 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
5863 comment.
5864
8d19fe64
SP
58652013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5866
5867 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
5868 Use ZK to minimize writes to Z.
5869 (sub_magnitudes): Simplify code a bit.
5870 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
5871 Use ZK to minimize writes to Z.
5872 (sub_magnitudes): Simplify code a bit.
5873
85bd816a
RM
58742013-02-27 Roland McGrath <roland@hack.frob.com>
5875
5876 * csu/gmon-start.c: Add special exception to license text.
5877
b5977bf2
RH
58782013-02-27 Richard Henderson <rth@redhat.com>
5879
5880 * scripts/config.guess: Update from config.git.
5881 * scripts/config.sub: Likewise.
5882
11d6e2f2
SP
58832013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5884
09c14ed2
SP
5885 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
5886
a688864e
SP
5887 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
5888
6295157a
SP
5889 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
5890
b8de2202
SP
5891 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
5892
11d6e2f2
SP
5893 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
5894
7e80ddb8
RM
58952013-02-26 Roland McGrath <roland@hack.frob.com>
5896
5897 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
5898 [$(build-shared = yes].
7e80ddb8 5899
7da6d9ed
SP
59002013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5901
45f05884
SP
5902 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
5903 (__mul): Reduce iterations for calculating mantissa.
5904
2236d359
SP
5905 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
5906 MPTWO.
5907 (__mpranred): Likewise.
5908
7da6d9ed
SP
5909 [BZ #15160]
5910 * malloc/memusagestat.c (main): Draw graphs for heap and stack
5911 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
5912
b7688c42
PE
59132013-02-26 Paul Eggert <eggert@cs.ucla.edu>
5914
5915 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
5916 Define __attribute__.
5917
53a5c423
SP
59182013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5919
5920 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
5921 unused.
5922 * posix/regex_internal.h (__attribute): Remove.
5923 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
5924 (re_string_context_at): Likewise.
5925 (bitset_not): Use __attribute__ and mark function as possibly
5926 unused.
5927 (bitset_merge): Likewise.
5928 (bitset_mask): Likewise.
5929 (re_string_char_size_at): Likewise.
5930 (re_string_wchar_at): Likewise.
5931 (re_string_elem_size_at): Likewise.
5932
60f5a8b5
SP
59332013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5934
2a983a2e
SP
5935 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
5936 code.
5937 (cc32): Likewise.
5938
e69804d1
SP
5939 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
5940 (__acr): Likewise.
5941 (__cpy): Likewise.
5942 (norm): Likewise.
5943 (denorm): Likewise.
5944 (__dbl_mp): Likewise.
5945 (add_magnitudes): Likewise.
5946 (sub_magnitudes): Likewise.
5947 (__mul): Likewise.
5948 (__inv): Likewise.
5949
2f22a1e8
SP
5950 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
5951 style.
5952
8930ddc7
SP
5953 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
5954 style.
5955
dc60cb11
SP
5956 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
5957 code.
5958
60f5a8b5
SP
5959 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
5960 up changes with default code.
5961 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
5962 Likewise.
5963
b4d1fd33
AM
59642013-02-24 Allan McRae <allan@archlinux.org>
5965
faf6f8bc
AM
5966 * manual/socket.texi (The Internet Namespace): Order menu items
5967 to match that in the file.
5968
b4d1fd33
AM
5969 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
5970 node listing of the info page menu.
5971
2366713d
JM
59722013-02-21 Joseph Myers <joseph@codesourcery.com>
5973
5974 [BZ #13550]
5975 * sysdeps/i386/bp-asm.h: Remove file.
5976 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
5977 (PARMS): Do not use macros from bp-asm.h.
5978 (S1): Likewise.
5979 (S2): Likewise.
5980 (SIZE): Likewise.
5981 (__mpn_add_n): Do not use BP_SYM
5982 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
5983 "bp-asm.h".
5984 (PARMS): Do not use macros from bp-asm.h.
5985 (S1): Likewise.
5986 (SIZE): Likewise.
5987 (__mpn_addmul_1): Do not use BP_SYM
5988 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
5989 "bp-asm.h".
5990 (PARMS): Do not use macros from bp-asm.h.
5991 (SIGMSK): Likewise.
5992 (_setjmp): Likewise. Do not use BP_SYM.
5993 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
5994 "bp-asm.h".
5995 (PARMS): Do not use macros from bp-asm.h.
5996 (SIGMSK): Likewise.
5997 (setjmp): Likewise. Do not use BP_SYM.
5998 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
5999 "bp-asm.h".
6000 (PARMS): Do not use macros from bp-asm.h.
6001 (__frexp): Do not use BP_SYM.
6002 (frexp): Likewise.
6003 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
6004 "bp-asm.h".
6005 (PARMS): Do not use macros from bp-asm.h.
6006 (__frexpf): Do not use BP_SYM.
6007 (frexpf): Likewise.
6008 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
6009 "bp-asm.h".
6010 (PARMS): Do not use macros from bp-asm.h.
6011 (__frexpl): Do not use BP_SYM.
6012 (frexpl): Likewise.
6013 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
6014 "bp-asm.h".
6015 (PARMS): Do not use macros from bp-asm.h.
6016 (__remquo): Do not use BP_SYM.
6017 (remquo): Likewise.
6018 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
6019 "bp-asm.h".
6020 (PARMS): Do not use macros from bp-asm.h.
6021 (__remquof): Do not use BP_SYM.
6022 (remquof): Likewise.
6023 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
6024 "bp-asm.h".
6025 (PARMS): Do not use macros from bp-asm.h.
6026 (__remquol): Do not use BP_SYM.
6027 (remquol): Likewise.
6028 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
6029 "bp-asm.h".
6030 (PARMS): Do not use macros from bp-asm.h.
6031 (DEST): Likewise.
6032 (SRC): Likewise.
6033 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
6034 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
6035 "bp-asm.h".
6036 (PARMS): Do not use macros from bp-asm.h.
6037 (strlen): Do not use BP_SYM.
6038 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
6039 "bp-asm.h".
6040 (PARMS): Do not use macros from bp-asm.h.
6041 (S1): Likewise.
6042 (S2): Likewise.
6043 (SIZE): Likewise.
6044 (__mpn_add_n): Do not use BP_SYM.
6045 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
6046 "bp-asm.h".
6047 (PARMS): Do not use macros from bp-asm.h.
6048 (S1): Likewise.
6049 (SIZE): Likewise.
6050 (__mpn_addmul_1): Do not use BP_SYM.
6051 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
6052 weak_alias.
6053 (bzero): Likewise.
6054 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
6055 "bp-asm.h".
6056 (PARMS): Do not use macros from bp-asm.h.
6057 (S): Likewise.
6058 (SIZE): Likewise.
6059 (__mpn_lshift): Do not use BP_SYM.
6060 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
6061 "bp-asm.h".
6062 (PARMS): Do not use macros from bp-asm.h.
6063 (DEST): Likewise.
6064 (SRC): Likewise.
6065 (LEN): Likewise.
6066 (memcpy): Likewise. Do not use BP_SYM.
6067 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
6068 libc_hidden_def and weak_alias.
6069 (mempcpy): Do not use BP_SYM in weak_alias.
6070 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
6071 "bp-asm.h".
6072 (PARMS): Do not use macros from bp-asm.h.
6073 (DEST): Likewise.
6074 (LEN): Likewise.
6075 [!BZERO_P] (CHR): Likewise.
6076 (memset): Likewise. Do not use BP_SYM.
6077 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
6078 "bp-asm.h".
6079 (PARMS): Do not use macros from bp-asm.h.
6080 (S1): Likewise.
6081 (SIZE): Likewise.
6082 (__mpn_mul_1): Do not use BP_SYM.
6083 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
6084 "bp-asm.h".
6085 (PARMS): Do not use macros from bp-asm.h.
6086 (S): Likewise.
6087 (SIZE): Likewise.
6088 (__mpn_rshift): Do not use BP_SYM.
6089 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
6090 "bp-asm.h".
6091 (PARMS): Do not use macros from bp-asm.h.
6092 (STR): Likewise.
6093 (CHR): Likewise.
6094 (strchr): Likewise. Do not use BP_SYM.
6095 (index): Do not use BP_SYM in weak_alias.
6096 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
6097 "bp-asm.h".
6098 (PARMS): Do not use macros from bp-asm.h.
6099 (DEST): Likewise.
6100 (SRC): Likewise.
6101 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
6102 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
6103 "bp-asm.h".
6104 (PARMS): Do not use macros from bp-asm.h.
6105 (strlen): Do not use BP_SYM.
6106 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
6107 "bp-asm.h".
6108 (PARMS): Do not use macros from bp-asm.h.
6109 (S1): Likewise.
6110 (S2): Likewise.
6111 (SIZE): Likewise.
6112 (__mpn_sub_n): Do not use BP_SYM.
6113 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
6114 "bp-asm.h".
6115 (PARMS): Do not use macros from bp-asm.h.
6116 (S1): Likewise.
6117 (SIZE): Likewise.
6118 (__mpn_submul_1): Do not use BP_SYM.
6119 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
6120 "bp-asm.h".
6121 (PARMS): Do not use macros from bp-asm.h.
6122 (S1): Likewise.
6123 (S2): Likewise.
6124 (SIZE): Likewise.
6125 (__mpn_add_n): Do not use BP_SYM.
6126 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
6127 weak_alias.
6128 (bzero): Likewise.
6129 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
6130 "bp-asm.h".
6131 (PARMS): Do not use macros from bp-asm.h.
6132 (BLK2): Likewise.
6133 (LEN): Likewise.
6134 (memcmp): Do not use BP_SYM.
6135 (bcmp): Do not use BP_SYM in weak_alias.
6136 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
6137 "bp-asm.h".
6138 (PARMS): Do not use macros from bp-asm.h.
6139 (DEST): Likewise.
6140 (SRC): Likewise.
6141 (LEN): Likewise.
6142 (memcpy): Likewise. Do not use BP_SYM.
6143 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
6144 "bp-asm.h".
6145 (PARMS): Do not use macros from bp-asm.h.
6146 (DEST): Likewise.
6147 (SRC): Likewise.
6148 (LEN): Likewise.
6149 (memmove): Likewise. Do not use BP_SYM.
6150 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
6151 "bp-asm.h".
6152 (PARMS): Do not use macros from bp-asm.h.
6153 (DEST): Likewise.
6154 (SRC): Likewise.
6155 (LEN): Likewise.
6156 (__mempcpy): Likewise. Do not use BP_SYM.
6157 (mempcpy): Do not use BP_SYM in weak_alias.
6158 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
6159 "bp-asm.h".
6160 (PARMS): Do not use macros from bp-asm.h.
6161 (DEST): Likewise.
6162 (LEN): Likewise.
6163 [!BZERO_P] (CHR): Likewise.
6164 (memset): Likewise. Do not use BP_SYM.
6165 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
6166 "bp-asm.h".
6167 (PARMS): Do not use macros from bp-asm.h.
6168 (STR2): Likewise.
6169 (strcmp): Do not use BP_SYM.
6170 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
6171 "bp-asm.h".
6172 (PARMS): Do not use macros from bp-asm.h.
6173 (STR): Likewise.
6174 (DELIM): Likewise.
6175 [USE_AS_STRTOK_R] (SAVE): Likewise.
6176 (FUNCTION): Likewise. Do not use BP_SYM.
6177 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
6178 aliases.
6179 (strtok_r): Likewise.
6180 (__GI___strtok_r): Likewise.
6181 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6182 (PARMS): Do not use macros from bp-asm.h.
6183 (S): Likewise.
6184 (SIZE): Likewise.
6185 (__mpn_lshift): Do not use BP_SYM.
6186 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6187 (PARMS): Do not use macros from bp-asm.h.
6188 (STR): Likewise.
6189 (CHR): Likewise.
6190 (__memchr): Do not use BP_SYM.
6191 (memchr): Do not use BP_SYM in weak_alias.
6192 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6193 (PARMS): Do not use macros from bp-asm.h.
6194 (BLK2): Likewise.
6195 (LEN): Likewise.
6196 (memcmp): Do not use BP_SYM.
6197 (bcmp): Do not use BP_SYM in weak_alias.
6198 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
6199 (PARMS): Do not use macros from bp-asm.h.
6200 (S1): Likewise.
6201 (SIZE): Likewise.
6202 (__mpn_mul_1): Do not use BP_SYM.
6203 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
6204 "bp-asm.h".
6205 (PARMS): Do not use macros from bp-asm.h.
6206 (STR): Likewise.
6207 (CHR): Likewise.
6208 (__rawmemchr): Do not use BP_SYM.
6209 (rawmemchr): Do not use BP_SYM in weak_alias.
6210 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6211 (PARMS): Do not use macros from bp-asm.h.
6212 (S): Likewise.
6213 (SIZE): Likewise.
6214 (__mpn_rshift): Do not use BP_SYM.
6215 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6216 (PARMS): Do not use macros from bp-asm.h.
6217 (SIGMSK): Likewise.
6218 (__sigsetjmp): Likewise. Do not use BP_SYM.
6219 * sysdeps/i386/start.S: Do not include "bp-sym.h".
6220 (_start): Do not use BP_SYM.
6221 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
6222 (PARMS): Do not use macros from bp-asm.h.
6223 (DEST): Likewise.
6224 (SRC): Likewise.
6225 (__stpcpy): Likewise. Do not use BP_SYM.
6226 (stpcpy): Do not use BP_SYM in weak_alias.
6227 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
6228 "bp-asm.h".
6229 (PARMS): Do not use macros from bp-asm.h.
6230 (DEST): Likewise.
6231 (SRC): Likewise.
6232 (LEN): Likewise.
6233 (__stpncpy): Likewise. Do not use BP_SYM.
6234 (stpncpy): Do not use BP_SYM in weak_alias.
6235 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6236 (PARMS): Do not use macros from bp-asm.h.
6237 (STR): Likewise.
6238 (CHR): Likewise.
6239 (strchr): Likewise. Do not use BP_SYM.
6240 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
6241 "bp-asm.h".
6242 (PARMS): Do not use macros from bp-asm.h.
6243 (STR): Likewise.
6244 (CHR): Likewise.
6245 (__strchrnul): Likewise. Do not use BP_SYM.
6246 (strchrnul): Do not use BP_SYM in weak_alias.
6247 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
6248 "bp-asm.h".
6249 (PARMS): Do not use macros from bp-asm.h.
6250 (STOP): Likewise.
6251 (strcspn): Do not use BP_SYM.
6252 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
6253 "bp-asm.h".
6254 (PARMS): Do not use macros from bp-asm.h.
6255 (STR): Likewise.
6256 (STOP): Likewise.
6257 (strpbrk): Likewise. Do not use BP_SYM.
6258 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
6259 "bp-asm.h".
6260 (PARMS): Do not use macros from bp-asm.h.
6261 (STR): Likewise.
6262 (CHR): Likewise.
6263 (strrchr): Likewise. Do not use BP_SYM.
6264 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
6265 (PARMS): Do not use macros from bp-asm.h.
6266 (SKIP): Likewise.
6267 (strspn): Do not use BP_SYM.
6268 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
6269 (PARMS): Do not use macros from bp-asm.h.
6270 (STR): Likewise.
6271 (DELIM): Likewise.
6272 (SAVE): Likewise.
6273 (FUNCTION): Likewise. Do not use BP_SYM.
6274 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
6275 aliases.
6276 (strtok_r): Likewise.
6277 (__GI___strtok_r): Likewise.
6278 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6279 (PARMS): Do not use macros from bp-asm.h.
6280 (S1): Likewise.
6281 (S2): Likewise.
6282 (SIZE): Likewise.
6283 (__mpn_sub_n): Do not use BP_SYM.
6284 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
6285 "bp-asm.h".
6286 (PARMS): Do not use macros from bp-asm.h.
6287 (S1): Likewise.
6288 (SIZE): Likewise.
6289 (__mpn_submul_1): Do not use BP_SYM.
6290 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
6291 <bp-sym.h>.
6292 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
6293 and <bp-asm.h>.
6294 (PARMS): Do not use macros from bp-asm.h.
6295 (FLAGS): Likewise.
6296 (PTID): Likewise.
6297 (TLS): Likewise.
6298 (CTID): Likewise.
6299 (__clone): Do not use BP_SYM.
6300 (clone): Do not use BP_SYM in weak_alias.
6301 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
6302 and <bp-asm.h>.
6303 (PARMS): Do not use macros from bp-asm.h.
6304 (LEN): Likewise.
6305 (__mmap64): Do not use BP_SYM.
6306 (mmap64): Do not use BP_SYM in weak_alias.
6307 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
6308 <bp-sym.h> and <bp-asm.h>.
6309 (PARMS): Do not use macros from bp-asm.h.
6310 (__posix_fadvise64_l64): Do not use BP_SYM.
6311 * sysdeps/unix/sysv/linux/i386/semtimedop.S
6312 (PARMS): Do not use macros from bp-asm.h.
6313 (NSOPS): Likewise.
6314 (semtimedop): Do not use BP_SYM.
6315 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
6316 and <bp-asm.h>.
6317
582a3cff
AM
63182013-02-21 Allan McRae <allan@archlinux.org>
6319
6320 * manual/message.texi (Charset conversion in gettext):
6321 Move @end statement to beginning of line.
6322
bab8a695
SP
63232013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6324
80945231
SP
6325 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
6326 static.
6327 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
6328 Likewise.
6329
bab8a695
SP
6330 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
6331 (denorm): Likewise.
6332 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
6333 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
6334
e21d7aa7
AK
63352013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6336
6337 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
6338 tail-call to the resolved function if pltexit isn't needed.
6339
4c7a4263
SP
63402013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6341
6342 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
6343 or Y being zero as being unlikely.
6344 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6345 Likewise.
6346
41f49342
CD
63472013-02-20 Carlos O'Donell <carlos@redhat.com>
6348
6349 * manual/nss.texi (System Databases and Name Service Switch):
6350 Remove frobnicate @pxref.
6351
50022a93
TS
63522013-02-20 Thomas Schwinge <thomas@codesourcery.com>
6353
6354 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
6355 __attribute__ ((unused)) to __attribute__ ((__unused__)).
6356
08cbd996
PM
63572013-02-20 Petr Machata <pmachata@redhat.com>
6358
6359 * elf/elf.h (R_ARM_TARGET1): New macro.
6360 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
6361 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
6362 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
6363 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
6364 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
6365 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
6366 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
6367 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
6368 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
6369 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
6370 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
6371 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
6372 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
6373 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
6374 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
6375 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
6376 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
6377 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
6378 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
6379 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
6380 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
6381 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
6382 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
6383 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
6384 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
6385 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
6386 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
6387 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
6388 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
6389 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
6390 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
6391 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
6392 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
6393 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
6394 (R_ARM_THM_GOT_BREL12): Likewise.
6395 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
6396 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
6397 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
6398 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
6399 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
6400 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
6401 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
6402 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
6403 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
6404
c7b275d6
TS
64052013-02-20 Thomas Schwinge <thomas@codesourcery.com>
6406
6407 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
6408 __attribute_used__ to __attribute__ ((unused)).
6409
20cd7fb3
SP
64102013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6411
6412 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
6413 powerpc mpa.c.
6414 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
6415 comment formatting.
6416 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
6417
92945b52
JM
64182013-02-19 Joseph Myers <joseph@codesourcery.com>
6419
6420 [BZ #13550]
6421 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
6422 Remove macro.
6423 (ENTER): Remove both macro definitions.
6424 (LEAVE): Likewise.
6425 (CHECK_BOUNDS_LOW): Likewise.
6426 (CHECK_BOUNDS_HIGH): Likewise.
6427 (CHECK_BOUNDS_BOTH): Likewise.
6428 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
6429 (RETURN_BOUNDED_POINTER): Likewise.
6430 (RETURN_NULL_BOUNDED_POINTER): Likewise.
6431 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
6432 (POP_ERRNO_LOCATION_RETURN): Likewise.
6433 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
6434 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6435 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
6436 macros.
6437 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6438 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
6439 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
6440 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
6441 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
6442 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
6443 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
6444 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
6445 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
6446 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
6447 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
6448 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
6449 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6450 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
6451 removed macros.
6452 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6453 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
6454 macros.
6455 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6456 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
6457 * sysdeps/i386/i586/memset.S (memset): Likewise.
6458 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
6459 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6460 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
6461 macros.
6462 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6463 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
6464 Change uses of L(2) to L(out).
6465 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
6466 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
6467 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
6468 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6469 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
6470 removed macros.
6471 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6472 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
6473 macros.
6474 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6475 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
6476 (RETURN): Do not use macro LEAVE.
6477 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
6478 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
6479 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
6480 * sysdeps/i386/i686/memset.S (memset): Likewise.
6481 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
6482 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
6483 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6484 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
6485 Likewise.
6486 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6487 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
6488 L(1_2) and L(1_3) into L(1).
6489 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6490 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
6491 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6492 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
6493 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6494 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
6495 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
6496 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6497 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
6498 macros.
6499 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
6500 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6501 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
6502 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
6503 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
6504 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6505 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
6506 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
6507 * sysdeps/i386/strcspn.S (strcspn): Likewise.
6508 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
6509 * sysdeps/i386/strrchr.S (strrchr): Likewise.
6510 * sysdeps/i386/strspn.S (strspn): Likewise.
6511 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
6512 conditional code.
6513 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6514 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
6515 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6516 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
6517 L(1_3) into L(1_1).
6518 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
6519 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6520 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
6521 macros.
6522 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6523
2389741a
JJ
65242013-02-19 Jakub Jelinek <jakub@redhat.com>
6525
6526 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
6527 macro.
6528
2016b3cd
SP
65292013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6530
e4f22324
SP
6531 * math/atest-exp.c (exp_mpn): Remove ROUND.
6532 * math/atest-exp2.c (exp_mpn): Likewise.
6533 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
6534
2016b3cd
SP
6535 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
6536 * stdlib/tst-tls-atexit-lib.c: Likewise.
6537 * stdlib/tst-tls-atexit.c: Likewise.
6538
4be9b544
MF
65392013-02-18 Mike Frysinger <vapier@gentoo.org>
6540
6541 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
6542 and __attribute_alloc_size__.
6543
2f62b9ee
MF
65442013-02-18 Mike Frysinger <vapier@gentoo.org>
6545
6546 * include/programs/xmalloc.h: Change __attribute_alloc_size to
6547 __attribute_alloc_size__.
6548 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
6549 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
6550
6ff444c4
MF
65512013-02-18 Mike Frysinger <vapier@gentoo.org>
6552
6553 * include/programs/xmalloc.h: New file.
6554 * catgets/gencat.c: Include it.
6555 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
6556 * elf/pldd.c: Likewise.
6557 * iconv/iconv_charmap.c: Likewise.
6558 * iconv/iconvconfig.c: Likewise.
6559 * iconv/strtab.c: Likewise.
6560 * locale/programs/locale.c: Likewise.
6561 * locale/programs/localedef.h: Likewise.
6562 * locale/programs/simple-hash.c: Likewise.
6563 * nscd/nscd.h: Likewise.
6564 * nss/makedb.c: Likewise.
6565 * sysdeps/generic/ldconfig.h: Likewise.
6566
be179c8a
SP
65672013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6568
ba384f6e
SP
6569 * Versions.def: Add GLIBC_2.18.
6570 * include/link.h (struct link_map): New member l_tls_dtor_count.
6571 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
6572 (__call_tls_dtors): Likewise.
6573 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
6574 __cxa_thread_atexit_impl.
6575 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6576 Likewise.
6577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6578 Likewise.
6579 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6580 Likewise.
6581 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6582 Likewise.
6583 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6584 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
6585 Likewise.
6586 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
6587 Likewise.
6588 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6589 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
6590 Likewise.
6591 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
6592 (tests): Add test case tst-tls-atexit.
6593 (modules-names): Add shared library for tst-tls-atexit.
85891aca 6594 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
6595 (GLIBC_PRIVATE): Add __call_tls_dtors.
6596 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
6597 for libstdc++.
6598 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
6599 * stdlib/tst-tls-atexit.c: New test case.
6600 * stdlib/tst-tls-atexit-lib.c: New test case.
6601
ffaa74cf 6602 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 6603
be179c8a
SP
6604 * elf/Versions (ld): Add _dl_find_dso_for_object.
6605 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
6606 * elf/dl-open.c (_dl_find_dso_for_object): New function.
6607 (dl_open_worker): Use _dl_find_dso_for_object.
6608 * elf/dl-sym.c (do_sym): Likewise.
6609 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
6610
f78b5caa
AK
66112013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6612
6613 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
6614 Syntactic changes only.
6615 (_dl_runtime_profile): Do a tail-call to the resolved function.
6616
29691210
JM
66172013-02-17 Joseph Myers <joseph@codesourcery.com>
6618
6619 [BZ #13550]
6620 * sysdeps/x86_64/bp-asm.h: Remove file.
6621 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
6622 <bp-sym.h> and <bp-asm.h>.
6623 (__clone): Do not use BP_SYM.
6624 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
6625 <bp-sym.h> and <bp-asm.h>.
6626 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6627 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
6628 "bp-asm.h".
6629 (_setjmp): Do not use BP_SYM.
6630 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
6631 "bp-asm.h".
6632 (setjmp): Do not use BP_SYM.
6633 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
6634 libc_hidden_def.
6635 (mempcpy): Do not use BP_SYM in weak_alias.
6636 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
6637 "bp-asm.h".
6638 (strchr): Do not use BP_SYM.
6639 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
6640 "bp-asm.h".
6641 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
6642 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
6643 (_start): Do not use BP_SYM.
6644 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
6645 "bp-asm.h".
6646 (strcat): Do not use BP_SYM.
6647 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
6648 "bp-asm.h".
6649 (STRCMP): Do not use BP_SYM.
6650 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
6651 "bp-asm.h".
6652 (STRCPY): Do not use BP_SYM.
6653 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
6654 "bp-asm.h".
6655 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
6656 "bp-asm.h".
6657 (FUNCTION): Do not use BP_SYM.
6658 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
6659 weak_alias.
6660 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
6661
f238fd19
AJ
66622013-02-17 Andreas Jaeger <aj@suse.de>
6663
6664 * time/Versions: Sort entries.
6665 * string/Versions: Likewise.
6666 * resolv/Versions: Likewise.
6667 * posix/Versions: Likewise.
6668 * iconv/Versions: Likewise.
6669 * elf/Versions: Likewise.
6670 * wcsmbs/Versions: Likewise.
6671
bd07f23c 66722013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 6673
22af19f9
SP
6674 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
6675 loop termination condition.
6676
4709fe76
SP
6677 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
6678 variable to calculate EZ.
6679 (__sqr): Likewise.
2d0e0f29
SP
6680
6681 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
6682 the lower precision input.
6683
daaa7713
JM
66842013-02-15 Joseph Myers <joseph@codesourcery.com>
6685
6686 [BZ #13550]
6687 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
6688 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
6689 (run-via-rtld-prefix): Do not handle %-bp tests.
6690 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
6691 (all-object-suffixes): Remove .ob.
6692 (bppfx): Remove variable.
6693 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
6694 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
6695 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
6696 [$(build-bounded) = yes] (libtype.ob): Likewise.
6697 * Makerules (elide-routines.ob): Remove variable.
6698 (do-tests-clean): Do not handle *-bp.out.
6699 (common-mostlyclean): Do not handle *-bp and *-bp.out.
6700 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
6701 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
6702 (tests): Do not include $(tests-bp.out).
6703 (xtests): Do not include $(xtests-bp.out).
6704 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
6705 [$(build-bounded) = yes] ($(addprefix
6706 $(objpfx),$(binaries-bounded))): Remove rule.
6707 ($(objpfx)%-bp.out): Remove rule.
6708 * config.make.in (build-bounded): Remove variable.
6709 * crypt/Makefile [$(build-bounded) = yes]
6710 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
6711 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
6712 append to variable.
6713 [$(build-bounded) = yes] (install-lib): Likewise.
6714 [$(build-bounded) = yes] (generated): Likewise.
6715 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
6716 Remove rule.
6717 * intl/Makefile [$(build-bounded) = yes]
6718 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
6719 * math/Makefile [$(build-bounded) = yes]
6720 ($(tests:%=$(objpfx)%-bp): Likewise.
6721 * misc/Makefile [$(build-bounded) = yes]
6722 ($(objpfx)tst-tsearch-bp): Likewise.
6723 * nptl/Makeconfig (bounded-thread-library): Remove variable.
6724 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
6725 Remove dependency.
6726 * string/Makefile (o-objects.ob): Remove variable.
6727 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
6728 (CFLAGS-.ob): Remove variable.
6729 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
6730 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
6731 both definitions of variable.
6732 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
6733 (ASFLAGS-.ob): Remove variable.
6734
e97ed6dd
JM
67352013-02-14 Joseph Myers <joseph@codesourcery.com>
6736
2bdd4ca6
JM
6737 [BZ #13550]
6738 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
6739 Remove __BOUNDED_POINTERS__ from condition.
6740 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
6741 * string/bits/string2.h [!__NO_STRING_INLINES &&
6742 !__BOUNDED_POINTERS__]: Likewise.
6743 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
6744 Likewise.
6745 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
6746 Remove conditional code.
6747 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
6748 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
6749 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
6750 condition.
6751
e97ed6dd
JM
6752 [BZ #13550]
6753 * csu/libc-start.c: Do not include <bp-sym.h>.
6754 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
6755 * elf/dl-open.c: Do not include <bp-sym.h>.
6756 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
6757 * math/fegetenv.c: Do not include <bp-sym.h>.
6758 (fegetenv): Do not use BP_SYM in versioned symbols.
6759 * nptl/sysdeps/pthread/bits/libc-lockP.h
6760 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
6761 <bp-sym.h>.
6762 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6763 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
6764 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6765 (__pthread_mutex_destroy): Likewise.
6766 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6767 (__pthread_mutex_lock): Likewise.
6768 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6769 (__pthread_mutex_trylock): Likewise.
6770 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6771 (__pthread_mutex_unlock): Likewise.
6772 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6773 (__pthread_mutexattr_init): Likewise.
6774 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6775 (__pthread_mutexattr_destroy): Likewise.
6776 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6777 (__pthread_mutexattr_settype): Likewise.
6778 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6779 (__pthread_rwlock_init): Likewise.
6780 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6781 (__pthread_rwlock_destroy): Likewise.
6782 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6783 (__pthread_rwlock_rdlock): Likewise.
6784 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6785 (__pthread_rwlock_tryrdlock): Likewise.
6786 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6787 (__pthread_rwlock_wrlock): Likewise.
6788 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6789 (__pthread_rwlock_trywrlock): Likewise.
6790 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6791 (__pthread_rwlock_unlock): Likewise.
6792 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6793 (__pthread_key_create): Likewise.
6794 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6795 (__pthread_setspecific): Likewise.
6796 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6797 (__pthread_getspecific): Likewise.
6798 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
6799 Likewise.
6800 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6801 (_pthread_cleanup_push_defer): Likewise.
6802 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6803 (_pthread_cleanup_pop_restore): Likewise.
6804 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6805 (pthread_setcancelstate): Likewise.
6806 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
6807 <bp-sym.h>.
6808 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
6809 (memchr): Do not use BP_SYM in weak_alias.
6810 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
6811 (fegetenv): Do not use BP_SYM in versioned symbols.
6812 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
6813 (fesetenv): Do not use BP_SYM in versioned symbols.
6814 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6815 (feupdateenv): Do not use BP_SYM in versioned symbols.
6816 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6817 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6818 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
6819 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
6820 (open64): Do not use BP_SYM in weak_alias.
6821 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
6822 (fegetenv): Do not use BP_SYM in versioned symbols.
6823 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
6824 (fesetenv): Do not use BP_SYM in versioned symbols.
6825 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6826 (feupdateenv): Do not use BP_SYM in versioned symbols.
6827 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
6828 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
6829 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
6830 (feraiseexcept): Do not use BP_SYM in versioned symbols.
6831 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6832 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6833 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
6834 <bp-sym.h>.
6835 (__libc_start_main): Do not use BP_SYM.
6836
d6752ccd
SP
68372013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6838
cb57ce60
SP
6839 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
6840 redundant return line.
6841 (norm): Likewise.
6842 (denorm): Likewise.
6843 (dbl_mp): Likewise.
6844 (sub_magnitudes): Likewise.
6845 (__add): Likewise.
6846 (__sub): Likewise.
6847 (__mul): Likewise.
6848 (__inv): Likewise.
6849 (__dvd): Likewise.
6850 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
6851 (norm): Likewise.
6852 (denorm): Likewise.
6853 (dbl_mp): Likewise.
6854 (sub_magnitudes): Likewise.
6855 (__add): Likewise.
6856 (__sub): Likewise.
6857 (__mul): Likewise.
6858 (__inv): Likewise.
6859 (__dvd): Likewise.
6860
f414520d
SP
6861 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
6862 instead of __mul.
6863 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
6864 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
6865 (cc32): Likewise.
6866
d6752ccd
SP
6867 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
6868 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
6869 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
6870 of __mul for squares.
6871 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
6872 function
6873 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
6874 Likewise.
6875 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
6876 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
6877
70d9946a
JM
68782013-02-13 Joseph Myers <joseph@codesourcery.com>
6879
6880 [BZ #13550]
6881 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
6882 code.
6883 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
6884 prototype or function definition. Rename ubp_* variables and
6885 parameters. Remove argv definitions conditional on
6886 [__BOUNDED_POINTERS__].
6887 * debug/backtrace.c (__backtrace): Do not use __unbounded.
6888 * elf/dl-runtime.c (_dl_fixup): Likewise.
6889 * include/set-hooks.h (RUN_HOOK): Likewise.
6890 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
6891 definition.
6892 * string/strcpy.c (strcpy): Do not use __unbounded.
6893 * sysdeps/generic/frame.h (struct layout): Likewise.
6894 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
6895 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
6896 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
6897 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
6898 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
6899 (__backtrace): Likewise.
6900 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
6901 use __ptrvalue.
6902 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
6903 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6904 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
6905 Likewise.
6906 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
6907 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
6908 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6909 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6910 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
6911 Do not use __unbounded.
6912 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
6913 Rename __unboundedrlimits parameter to rlimits in prototype.
6914 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
6915 Do not use __unbounded.
6916 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
6917 not use __ptrvalue.
6918 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6919 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
6920 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
6921 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
6922 __ptrvalue or __unbounded.
6923 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
6924 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
6925 use __unbounded.
6926 (__new_msgctl): Do not use __ptrvalue.
6927 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
6928 __unbounded.
6929 (__libc_msgrcv): Do not use __ptrvalue.
6930 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
6931 startup_info): Do not use __unbounded.
6932 (__libc_start_main): Likewise. Rename ubp_* variables and
6933 parameters. Remove argv definitions conditional on
6934 [__BOUNDED_POINTERS__].
6935 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
6936 __ptrvalue.
6937 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
6938 use __unbounded.
6939 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
6940 or __ptrvalue.
6941 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
6942 use __unbounded.
6943 (__new_shmctl): Do not use __ptrvalue.
6944 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
6945 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
6946 Likewise.
6947 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
6948 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
6949 (__libc_sigaction): Likewise.
6950 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
6951 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
6952 Likewise.
6953 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
6954
cc7834d6
OB
69552013-02-13 Ondřej Bílka <neleai@seznam.cz>
6956
ffb1ec7b 6957 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
6958
6959 * string/mempcpy.c: Implement by calling memcpy.
6960
bdf02814
SP
69612013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6962
c2af38aa
SP
6963 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
6964
4e92d59e
SP
6965 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
6966 evaluation.
6967
909279a5
SP
6968 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
6969 values in the mantissa.
6970
bdf02814
SP
6971 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
6972 minimize writes to Z.
6973 (sub_magnitudes): Simplify code a bit.
6974
cd525923
RM
69752013-02-12 Roland McGrath <roland@hack.frob.com>
6976
6977 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
6978 from the message. The linker prefixes all warnings with that already.
6979
7e2f0d2d
AS
69802013-02-12 Andreas Schwab <schwab@suse.de>
6981
a445af0b
AS
6982 [BZ #15078]
6983 * posix/regexec.c (extend_buffers): Add parameter min_len.
6984 (check_matching): Pass minimum needed length.
6985 (clean_state_log_if_needed): Likewise.
6986 (get_subexp): Likewise.
6987 * posix/Makefile (tests): Add bug-regex34.
6988 (bug-regex34-ENV): Define.
6989 * posix/bug-regex34.c: New file.
6990
7e2f0d2d
AS
6991 [BZ #11561]
6992 * posix/regcomp.c (parse_bracket_exp): When looking up collating
6993 elements compare against the byte sequence of it, not its name.
6994 * posix/Makefile (tests): Add bug-regex35.
6995 (bug-regex35-ENV): Define.
6996 * posix/bug-regex35.c: New file.
6997
a175b684
TV
69982013-02-11 Tom de Vries <tom@codesourcery.com>
6999
7000 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
7001 comment.
7002 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
7003 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
7004 (CHECK_EOL): Add undef.
7005
310998fe 70062013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
7007
7008 * bits/stdlib-bsearch.h: New file.
7009 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 7010 * stdlib/stdlib.h: Likewise.
41eda41d 7011
8ded91fb
RM
70122013-02-11 Roland McGrath <roland@hack.frob.com>
7013
7014 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
7015 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
7016 declaration.
7017 * manual/search.texi (Array Search Function): Add missing const in
7018 lfind prototype.
7019 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
7020 declaration to use rlim_t.
7021 (Basic Scheduling Functions): Remove erroneous const from
7022 sched_getparam prototype. Remove erroneous * from
7023 sched_get_priority_max and sched_get_priority_min prototypes.
7024 (Resource Usage): Fix summary @comment on vtimes to refer to
7025 sys/vtimes.h rather than vtimes.h.
7026 Add missing *s in vtimes prototype.
7027 (Limits on Resources): Fix ulimit prototype to return long int.
7028 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
7029 prototypes to use long int rather than double.
7030 (BSD Random): Fix initstate and setstate to use char *, not void *.
7031 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
7032 prototype to make second argument 'struct aiocb64 *const[]'.
7033 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
7034 (Status of AIO Operations): Remove erroneous const in aio_return and
7035 aio_return64 prototypes.
7036 (Synchronizing I/O): Fix sync prototype to return void.
7037 * manual/startup.texi (Suboptions): Remove an erroneous const in
7038 getsubopt prototype.
7039 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
7040 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
7041 use size_t rather than int.
7042 (Scanning All Users): Likewise for getpwent_r.
7043 (Setting Groups): Add missing const to setgroups prototype.
7044 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
7045 * manual/socket.texi (Host Names): Fix gethostbyaddr and
7046 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
7047 'const void *' rather than 'const char *'.
7048 (Host Address Functions): Likewise for inet_ntop.
7049 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
7050 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
7051 ssize_t for return value.
7052 (Sending Data): Likewise for send, sendto, sendmsg.
7053 (Socket Option Functions): Add a missing const in setsockopt prototype.
7054 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
7055 use wchar_t for the argument.
7056 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
7057 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
7058 take no arguments.
7059 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
7060 double/float/long double for second argument.
7061 Fix return types of significand, significandf, significandl.
7062 * manual/filesys.texi (Setting Permissions): Use mode_t for second
7063 argument in fchmod prototype.
7064 (File Owner): Use uid_t and gid_t in fchown prototype.
7065 (File Times): Add const to utimes, futimes, and lutimes prototypes.
7066 (Making Special Files): Use mode_t and dev_t in mknod prototype.
7067 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
7068 use 'const struct dirent **' as argument types to CMP function pointer
7069 argument.
7070 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
7071 (File Times): Fix summary magic @comment for struct utimbuf and utime
7072 to refer to utime.h, not time.h.
7073 * manual/string.texi (Argz Functions): Add missing const in
7074 argz_extract and argz_next prototypes.
7075 (Finding Tokens in a String): Likewise for basename.
7076 (String/Array Comparison): Fix typo in wcscasecmp prototype.
7077 (Copying and Concatenation): Fix typo in wmemmove prototype.
7078 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
7079 (Signal Stack): Remove erroneous const in sigstack prototype.
7080 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
7081 prototype.
7082 (Simple Calendar Time): Likewise for stime.
7083 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
7084 prototype.
7085 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
7086 say sys/sysctl.h instead.
7087 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
7088 and vsyslog prototypes.
7089
fe77fe6d
TV
70902013-02-11 Tom de Vries <tom@codesourcery.com>
7091
7092 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
7093 Remove.
7094
3a09b620
RM
70952013-02-11 Roland McGrath <roland@hack.frob.com>
7096
7097 * misc/sys/mman.h: Fix typo in mremap comment.
7098
550a0b89
RM
70992013-02-08 Roland McGrath <roland@hack.frob.com>
7100
7101 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
7102 the '\0' terminator.
7103
a2da1673
JM
71042013-02-08 Joseph Myers <joseph@codesourcery.com>
7105
7106 [BZ #13550]
7107 * debug/segfault.c: Don't include <bp-checks.h>.
7108 * sysdeps/generic/bp-checks.h: Remove file.
7109 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
7110 (__GETDENTS): Don't use CHECK_N.
7111 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
7112 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
7113 (__getgroups): Don't use CHECK_N.
7114 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
7115 (setgroups): Don't use CHECK_N.
7116 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
7117 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
7118 (__libc_msgrcv): Don't use CHECK_N.
7119 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
7120 (__libc_msgsnd): Don't use CHECK_N.
7121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
7122 <bp-checks.h>.
7123 (__libc_pread): Don't use CHECK_N.
7124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
7125 include <bp-checks.h>.
7126 (__libc_pread64): Don't use CHECK_N.
7127 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
7128 include <bp-checks.h>.
7129 (__libc_pwrite): Don't use CHECK_N.
7130 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
7131 include <bp-checks.h>.
7132 (__libc_pwrite64): Don't use CHECK_N.
7133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
7134 <bp-checks.h>.
7135 (__libc_pread): Don't use CHECK_N.
7136 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
7137 include <bp-checks.h>.
7138 (__libc_pread64): Don't use CHECK_N.
7139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
7140 include <bp-checks.h>.
7141 (__libc_pwrite): Don't use CHECK_N.
7142 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
7143 include <bp-checks.h>.
7144 (__libc_pwrite64): Don't use CHECK_N.
7145 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
7146 (do_pread): Don't use CHECK_N.
7147 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
7148 (do_pread64): Don't use CHECK_N.
7149 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
7150 (do_pwrite): Don't use CHECK_N.
7151 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
7152 (do_pwrite64): Don't use CHECK_N.
7153 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
7154 (__libc_readv): Don't use CHECK_N.
7155 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
7156 (semop): Don't use CHECK_N.
7157 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
7158 <bp-checks.h>.
7159 (semtimedop): Don't use CHECK_N.
7160 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
7161 (__libc_pread): Don't use CHECK_N.
7162 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
7163 <bp-checks.h>.
7164 (__libc_pread64): Don't use CHECK_N.
7165 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
7166 <bp-checks.h>.
7167 (__libc_pwrite): Don't use CHECK_N.
7168 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
7169 <bp-checks.h>.
7170 (__libc_pwrite64): Don't use CHECK_N.
7171 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
7172 <bp-checks.h>.
7173 (__libc_msgrcv): Don't use CHECK_N.
7174 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
7175 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
7176 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
7177 (__libc_writev): Don't use CHECK_N.
7178
b84660a8
RM
71792013-02-08 Roland McGrath <roland@hack.frob.com>
7180
7f3e75f8
RM
7181 * string/strcpy.c: Removed unused variable.
7182
b84660a8
RM
7183 * Makeconfig (+sysdep-includes): Define with := rather than =.
7184 Use an existing include/ subdir of each sysdeps dir before it.
7185
471514d3
CD
71862013-02-08 Carlos O'Donell <carlos@redhat.com>
7187
7188 * nscd/connection.c (register_traced_file): Comment function.
7189 [HAVE_INOTIFY] (union __inev): Define.
7190 [HAVE_INOTIFY] (inotify_check_files): New function.
7191 [HAVE_INOTIFY] (clear_db_cache): Likewise.
7192 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
7193 clear_db_cache.
7194 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
7195
b2d3c3be
CD
71962013-02-08 Carlos O'Donell <carlos@redhat.com>
7197
7198 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
7199 loaded if not already and that a failure is permanent.
7200
b39949d2
CD
72012013-02-08 Carlos O'Donell <carlos@redhat.com>
7202
ddacd1db 7203 [BZ #15006]
b39949d2
CD
7204 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
7205 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
7206
b2c9eff4
JM
72072013-02-08 Joseph Myers <joseph@codesourcery.com>
7208
f3aae3f3
JM
7209 [BZ #13550]
7210 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
7211 (CHECK_1_NULL_OK): Likewise.
7212 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
7213 (__fxstat): Do not use CHECK_1.
7214 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
7215 <bp-checks.h>.
7216 (___fxstat64): Do not use CHECK_1.
7217 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
7218 <bp-checks.h>.
7219 (__fxstatat): Do not use CHECK_1.
7220 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
7221 <bp-checks.h>.
7222 (__fxstatat64): Do not use CHECK_1.
7223 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
7224 <bp-checks.h>.
7225 (__fxstat): Do not use CHECK_1.
7226 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
7227 <bp-checks.h>.
7228 (__fxstatat): Do not use CHECK_1.
7229 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7230 <bp-checks.h>.
7231 (__getresgid): Do not use CHECK_1.
7232 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
7233 <bp-checks.h>.
7234 (__getresuid): Do not use CHECK_1.
7235 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
7236 <bp-checks.h>.
7237 (__lxstat): Do not use CHECK_1.
7238 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
7239 <bp-checks.h>.
7240 (__old_msgctl): Do not use CHECK_1.
7241 (__new_msgctl): Likewise.
7242 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
7243 <bp-checks.h>.
7244 (__new_setrlimit): Do not use CHECK_1.
7245 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
7246 <bp-checks.h>.
7247 (__old_shmctl): Do not use CHECK_1.
7248 (__new_shmctl): Likewise.
7249 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
7250 <bp-checks.h>.
7251 (__xstat): Do not use CHECK_1.
7252 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
7253 (__lxstat): Do not use CHECK_1.
7254 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
7255 <bp-checks.h>.
7256 (___lxstat64): Do not use CHECK_1.
7257 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
7258 (__old_msgctl): Do not use CHECK_1.
7259 (__new_msgctl): Likewise.
7260 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
7261 <bp-checks.h>.
7262 (__gettimeofday): Do not use CHECK_1.
7263 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
7264 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
7265 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
7266 <bp-checks.h>.
7267 (__gettimeofday): Do not use CHECK_1.
7268 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
7269 (__old_shmctl): Do not use CHECK_1_NULL_OK.
7270 (__new_shmctl): Do not use CHECK_1.
7271 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
7272 <bp-checks.h>.
7273 (do_sigtimedwait): Do not use CHECK_1.
7274 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
7275 <bp-checks.h>.
7276 (do_sigwaitinfo): Do not use CHECK_1.
7277 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
7278 <bp-checks.h>.
7279 (msgctl): Do not use CHECK_1.
7280 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
7281 <bp-checks.h>.
7282 (shmctl): Do not use CHECK_1.
7283 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
7284 (ustat): Do not use CHECK_1.
7285 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
7286 <bp-checks.h>.
7287 (__fxstat): Do not use CHECK_1.
7288 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
7289 <bp-checks.h>.
7290 (__fxstatat): Do not use CHECK_1.
7291 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
7292 <bp-checks.h>.
7293 (__lxstat): Do not use CHECK_1.
7294 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
7295 <bp-checks.h>.
7296 (__xstat): Do not use CHECK_1.
7297 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
7298 (__xstat): Do not use CHECK_1.
7299 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
7300 (___xstat64): Do not use CHECK_1.
7301
b2c9eff4
JM
7302 [BZ #13550]
7303 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
7304 definitions.
7305 (CHECK_BOUNDS_HIGH): Likewise.
7306 * string/strcpy.c: Do not include <bp-checks.h>.
7307 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
7308
f1d70dad
RM
73092013-02-07 Roland McGrath <roland@hack.frob.com>
7310
7311 * nscd/nscd-client.h (__nscd_drop_map_ref):
7312 Add __attribute__ ((unused)).
7313 * nis/nss-nisplus.h (niserr2nss): Likewise.
7314
7315 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
7316 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
7317
7318 * csu/libc-tls.c (init_static_tls, init_slotinfo):
7319 Remove inline keyword.
7320 * include/rounding-mode.h (round_away): Likewise.
7321 * libio/wfileops.c (adjust_wide_data): Likewise.
7322 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
7323 (__m128i_strloadu_tolower): Likewise.
7324 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
7325 (__m128i_strloadu_tolower): Likewise.
7326 * time/mktime.c (ydhms_diff): Likewise.
7327 * locale/elem-hash.h (elem_hash): Likewise.
7328 * locale/setlocale.c (setdata): Likewise.
7329 * posix/regex_internal.h (re_string_char_size_at): Likewise.
7330 (re_string_wchar_at): Likewise.
7331 (bitset_not, bitset_merge, bitset_mask): Likewise.
7332 [!(__GNUC__ > 3)] (inline): Remove macro.
7333 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
7334 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
7335 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
7336 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
7337 * string/memcmp.c (memcmp_bytes): Likewise.
7338 * locale/programs/locarchive.c (compute_hashval): Likewise.
7339 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
7340 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
7341 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
7342 * nss/getent.c (print_rpc, print_protocols): Likewise.
7343 (print_passwd, print_group, print_aliases): Likewise.
7344 * nis/nss-nisplus.h (niserr2nss): Likewise.
7345 * nscd/connections.c (restart_p): Likewise.
7346 Change return type to bool.
7347
eab55bfb
RM
73482013-02-05 Roland McGrath <roland@hack.frob.com>
7349
7bd642f5
RM
7350 * Makeconfig (all-Depend-files): Add existing
7351 $(sorted-subdirs:=/Depend) files.
7352 (all-subdirs): Remove nss.
7353 * sysdeps/unix/inet/Subdirs: Add it here instead.
7354 * hesiod/Depend: New file.
7355
573c29b2
RM
7356 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
7357 instead of calling alloca.
7358
b2e25af0
RM
7359 * io/lseek.c (__lseek): Rename to __libc_lseek.
7360 Define __lseek as an alias.
7361
eab55bfb
RM
7362 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
7363
9a0d1941
CD
73642013-02-04 Carlos O'Donell <carlos@redhat.com>
7365
7366 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
7367 else clause and remove check for non-standard endianness.
7368
b83bbec4
DM
73692013-02-04 David S. Miller <davem@davemloft.net>
7370
7371 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7372
6277fdab
JM
73732013-02-04 Joseph Myers <joseph@codesourcery.com>
7374
7375 [BZ #13550]
7376 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
7377 (__ubp_memchr): Remove prototype.
7378 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
7379 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
7380 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
7381 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
7382 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
7383 Remove alias.
7384 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
7385 (__ubp_memchr): Likewise.
7386 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
7387 (__ubp_memchr): Likewise.
7388 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
7389 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
7390 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
7391 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
7392 CHECK_STRING.
7393 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7394 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
7395 (__getcwd): Do not use CHECK_STRING.
7396 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7397 <bp-checks.h>.
7398 (__real_chown): Do not use CHECK_STRING.
7399 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
7400 <bp-checks.h>.
7401 (fchownat): Do not use CHECK_STRING.
7402 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
7403 CHECK_STRING.
7404 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
7405 <bp-checks.h>.
7406 (__lchown): Do not use CHECK_STRING.
7407 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7408 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7409 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7410 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
7411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7412 include <bp-checks.h>.
7413 (truncate64): Do not use CHECK_STRING.
7414 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
7415 <bp-checks.h>.
7416 (__real_chown): Do not use CHECK_STRING.
7417 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
7418 <bp-checks.h>.
7419 (__lchown): Do not use CHECK_STRING.
7420 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
7421 <bp-checks.h>.
7422 (__chown): Do not use CHECK_STRING.
7423 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
7424 <bp-checks.h>.
7425 (truncate64): Do not use CHECK_STRING.
7426 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
7427 Likewise.
7428 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
7429 (__xmknod): Do not use CHECK_STRING.
7430 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
7431 <bp-checks.h>.
7432 (__xmknodat): Do not use CHECK_STRING.
7433 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7434 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
7435
903ae060
AS
74362013-02-04 Andreas Schwab <schwab@suse.de>
7437
7438 [BZ #14142]
7439 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
7440 * include/netdb.h: Likewise for h_errno.
7441 * elf/tst-stackguard1.c: Include <tls.h>.
7442
542f9466
JK
74432013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7444
7445 * elf/link.h (struct link_map): Extend the l_addr comment.
7446 * include/link.h (struct link_map): Likewise.
7447
e782a927
JM
74482013-02-01 Joseph Myers <joseph@codesourcery.com>
7449
7450 [BZ #13550]
7451 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
7452 (BOUNDED_1): Remove macro.
7453 * debug/backtrace.c: Don't include <bp-checks.h>.
7454 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
7455 (__backtrace): Likewise.
7456 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
7457 <bp-checks.h>.
7458 (__backtrace): Don't use BOUNDED_1.
7459 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
7460 <bp-checks.h>.
7461 (__backtrace): Don't use BOUNDED_1.
7462 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
7463 (__backtrace): Don't use BOUNDED_1.
7464 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
7465 (shmat): Don't use BOUNDED_N.
7466
8cf28c5e
JM
74672013-01-31 Joseph Myers <joseph@codesourcery.com>
7468
3a7ac8a0
JM
7469 [BZ #13550]
7470 * sysdeps/generic/bp-start.h: Remove file.
7471 * csu/libc-start.c: Don't include <bp-start.h>.
7472 (LIBC_START_MAIN): Set up __environ directly instead of using
7473 INIT_ARGV_and_ENVIRON.
7474 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
7475 <bp-start.h>.
7476
f3499f95
JM
7477 [BZ #13550]
7478 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
7479 definitions.
7480 (CHECK_FCNTL): Likewise.
7481 (CHECK_N_PAGES): Likewise.
7482
32a45bea
JM
7483 [BZ #13550]
7484 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
7485 definitions.
7486 (CHECK_SIGSET_NULL_OK): Likewise.
7487 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
7488 <bp-checks.h>.
7489 (sigpending): Don't use CHECK_SIGSET.
7490 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
7491 <bp-checks.h>.
7492 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7493 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
7494 <bp-checks.h>.
7495 (do_sigsuspend): Don't use CHECK_SIGSET.
7496 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
7497 use CHECK_SIGSET.
7498 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
7499 (do_sigwait): Don't use CHECK_SIGSET.
7500 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
7501 use CHECK_SIGSET.
7502 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
7503 include <bp-checks.h>.
7504 (sigpending): Don't use CHECK_SIGSET.
7505 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
7506 include <bp-checks.h>.
7507 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7508 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
7509 <bp-checks.h>.
7510 (sigpending): Don't use CHECK_SIGSET.
7511 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
7512 <bp-checks.h>.
7513 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7514
2e8a5c8c
JM
7515 [BZ #13550]
7516 * sysdeps/generic/bp-semctl.h: Remove file.
7517 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
7518 <bp-checks.h> and <bp-semctl.h>.
7519 (__old_semctl): Don't use CHECK_SEMCTL.
7520 (__new_semctl): Likewise.
7521 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
7522 and <bp-semctl.h>.
7523 (__old_semctl): Don't use CHECK_SEMCTL.
7524 (__new_semctl): Likewise.
7525 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
7526 <bp-checks.h> and <bp-semctl.h>.
7527 (__old_semctl): Don't use CHECK_SEMCTL.
7528 (__new_semctl): Likewise.
7529 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
7530 <bp-checks.h> and <bp-semctl.h>.
7531 (semctl): Don't use CHECK_SEMCTL.
7532
c2d54929
JM
7533 [BZ #13550]
7534 * Makerules (elide-bp-thunks): Remove variable.
7535 (elide-routines.oS): Don't use $(elide-bp-thunks).
7536 (elide-routines.os): Likewise.
7537 (elide-routines.o): Likewise.
7538 (elide-routines.op): Likewise.
7539 (elide-routines.og): Likewise.
7540 (objects): Don't use $(bp-thunks).
7541 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
7542 include.
7543 (common-generated): Do not add s-proto-bp.d.
7544 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
7545 (int): Likewise.
7546 (typ): Likewise.
7547 Do not generate makefile rules for bounded-pointer thunks.
7548 * sysdeps/generic/bp-thunks.h: Remove file.
7549 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
7550 * sysdeps/unix/s-proto-bp.S: Likewise.
7551
8cf28c5e
JM
7552 [BZ #15062]
7553 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
7554 parts of result separately when argument is not close to line from
7555 -i to i and one part of argument is small.
7556 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7557 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7558 * math/libm-test.inc (cacos_test): Add more tests.
7559 (casin_test): Likewise.
7560 (casinh_test): Likewise.
7561 * sysdeps/i386/fpu/libm-test-ulps: Update.
7562 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7563
c4e33b8d
DM
75642013-01-31 David S. Miller <davem@davemloft.net>
7565
7566 * po/de.po: Update from translation team.
7567
3b60b421
MK
75682013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
7569
7570 * time/tzfile.c: Include stdint.h for SIZE_MAX.
7571
bb931195
TS
75722013-01-25 Thomas Schwinge <thomas@codesourcery.com>
7573
b5a5da23
TS
7574 * configure.in (_AC_PROG_CC_C89): New definition.
7575 * configure: Regenerate.
7576
bb931195
TS
7577 * configure.in (AC_PROG_CPP): New definition.
7578 * configure: Regenerate.
7579
8c53a12c
JM
75802013-01-23 Joseph Myers <joseph@codesourcery.com>
7581
7582 * debug/tst-backtrace.h: New file.
7583 * debug/tst-backtrace2.c: Include tst-backtrace.h.
7584 (ret): Remove variable.
7585 (x): Likewise.
7586 (FAIL): Remove macro.
7587 (NO_INLINE): Likewise.
7588 (fn1): Use match function instead of strstr.
7589 * debug/tst-backtrace3.c: Include tst-backtrace.h.
7590 (ret): Remove variable.
7591 (x): Likewise.
7592 (FAIL): Remove macro.
7593 (NO_INLINE): Likewise.
7594 (fn): Use match function instead of strstr.
7595 * debug/tst-backtrace4.c: Include tst-backtrace.h.
7596 (ret): Remove variable.
7597 (x): Likewise.
7598 (FAIL): Remove macro.
7599 (NO_INLINE): Likewise.
7600 (handle_signal): Use match function instead of strstr.
7601 * debug/tst-backtrace5.c: Include tst-backtrace.h.
7602 (ret): Remove variable.
7603 (x): Likewise.
7604 (FAIL): Remove macro.
7605 (NO_INLINE): Likewise.
7606 (handle_signal): Use match function instead of strstr.
7607
4858fa2a
RM
76082013-01-23 Roland McGrath <roland@hack.frob.com>
7609
7610 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
7611
bae8e7f5
DM
76122013-01-23 David S. Miller <davem@davemloft.net>
7613
7614 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
7615 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
7616 argument of CAS if possible.
7617 * sysdeps/sparc/sparc64/bits/atomic.h
7618 (__arch_compare_and_exchange_val_32_acq): Likewise.
7619 (__arch_compare_and_exchange_val_64_acq): Likewise.
7620
9cbbc4ae
PT
76212013-01-23 Pino Toscano <toscano.pino@tiscali.it>
7622
7623 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
7624 * sysdeps/posix/ulimit.c: ... this.
92a601b8 7625 Include <limits.h>.
67b3f58c 7626 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 7627
5655a0b5
AC
76282013-01-23 Adam Conrad <adconrad@0c3.net>
7629
7630 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
7631 (LDFLAGS-tst-array5): Likewise.
7632
052aff95
JM
76332013-01-23 Joseph Myers <joseph@codesourcery.com>
7634
7635 [BZ #15036]
7636 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
7637 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
7638 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
7639 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
7640
7c1e01aa
DM
76412013-01-21 David S. Miller <davem@davemloft.net>
7642
7643 * sysdeps/sparc/backtrace.c: New file.
7644 * sysdeps/sparc/sparc32/backtrace.h: New file.
7645 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
7646 * sysdeps/sparc/sparc64/backtrace.h: New file.
7647 * sysdeps/sparc/sparc64/backtrace.c: Delete.
7648 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
7649 -funwind-tables.
7650
ab087e0a
AS
76512013-01-21 Andreas Schwab <schwab@suse.de>
7652
7653 [BZ #15020]
7654 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
7655 closed its stdout.
7656
ed689c2f
AS
76572013-01-20 Andreas Schwab <schwab@linux-m68k.org>
7658
7659 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
7660 "mpa2.h".
7661 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7662
31d470ac
JM
76632013-01-18 Joseph Myers <joseph@codesourcery.com>
7664 Mark Mitchell <mark@codesourcery.com>
7665 Tom de Vries <tom@codesourcery.com>
7666 Paul Pluzhnikov <ppluzhnikov@google.com>
7667
7668 * debug/tst-backtrace2.c: New file.
7669 * debug/tst-backtrace3.c: Likewise.
7670 * debug/tst-backtrace4.c: Likewise.
7671 * debug/tst-backtrace5.c: Likewise.
7672 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
7673 (CFLAGS-tst-backtrace3.c): Likewise.
7674 (CFLAGS-tst-backtrace4.c): Likewise.
7675 (CFLAGS-tst-backtrace5.c): Likewise.
7676 (LDFLAGS-tst-backtrace2): Likewise.
7677 (LDFLAGS-tst-backtrace3): Likewise.
7678 (LDFLAGS-tst-backtrace4): Likewise.
7679 (LDFLAGS-tst-backtrace5): Likewise.
7680 (tests): Add new tests tst-backtrace2, tst-backtrace3,
7681 tst-backtrace4 and tst-backtrace5.
7682
90567f30 76832013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
7684 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7685
7686 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
7687 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
7688 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
7689 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
7690 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7691 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
7692 "+r" and remove output regs list as redundant. Add explicit inline
7693 asm to specify register of return val to work around compiler codegen
7694 bug. Remove (int) cast on return value. Add return type parameter to
7695 use in macro so that this macro does not truncate return value for
7696 64-bit values.
7697 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
7698 pass to INTERNAL_VSYSCALL_NCS.
7699 (INLINE_VSYSCALL): Add 'long int' as return type to
7700 INTERNAL_VSYSCALL_NCS macro invocation.
7701 (INTERNAL_VSYSCALL): Add 'long int' as return type to
7702 INTERNAL_VSYSCALL_NCS macro invocation.
7703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7704
d3b9ea61
SP
77052013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7706
0b57daeb
SP
7707 [BZ #14496]
7708 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
7709 Fix application of SIMD FP exception mask.
7710
caa99d06
SP
7711 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
7712 mp_no from a power of two.
7713 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
7714 __mpexp_twomm1. Use __pow_mp.
7715
d3b9ea61
SP
7716 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
7717 multiplication.
7718
1dbaee3c
DM
77192013-01-17 David S. Miller <davem@davemloft.net>
7720
7721 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7722
728d7b43
JM
77232013-01-17 Joseph Myers <joseph@codesourcery.com>
7724
7725 [BZ #15023]
7726 * include/complex.h: Condition contents on [!_COMPLEX_H].
7727 (__kernel_casinhf): New prototype.
7728 (__kernel_casinh): Likewise.
7729 (__kernel_casinhl): Likewise.
7730 * math/Makefile (libm_calls): Add k_casinh.
7731 * math/k_casinh.c: New file.
7732 * math/k_casinhf.c: Likewise.
7733 * math/k_casinhl.c: Likewise.
7734 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
7735 finite nonzero arguments.
7736 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
7737 finite nonzero arguments.
7738 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
7739 finite nonzero arguments.
7740 * math/s_casinh.c: Do not include <float.h>.
7741 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
7742 * math/s_casinhf.c: Do not include <float.h>.
7743 (__casinhf): Move code for finite nonzero arguments to
7744 k_casinhf.c.
7745 * math/s_casinhl.c: Do not include <float.h>.
7746 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
7747 redefine.
7748 (__casinhl): Move code for finite nonzero arguments to
7749 k_casinhl.c.
7750 * math/libm-test.inc (cacos_test): Add more tests.
7751 * sysdeps/i386/fpu/libm-test-ulps: Update.
7752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7753
2a26ef3a
PT
77542013-01-17 Pino Toscano <toscano.pino@tiscali.it>
7755
7756 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
7757 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
7758 [!HAVE_MREMAP]: Remove [defined linux] case.
7759 * malloc/arena.c: Do not include <malloc-sysdep.h>.
7760
a897655d
SP
77612013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7762
7763 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
7764
881ebe89 77652013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
7766
7767 * elf/elf.h (R_386_SIZE32): New relocation.
7768 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
7769 R_386_SIZE32.
7770 (elf_machine_rela): Likewise.
7771 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
7772 R_X86_64_SIZE64 and R_X86_64_SIZE32.
7773
59981e9b
JM
77742013-01-17 Joseph Myers <joseph@codesourcery.com>
7775
7776 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
7777 (FP_FAST_FMA): Do not define.
7778 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
7779 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
7780 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
7781 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
7782 !_SOFT_FLOAT]: Likewise.
7783 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
7784 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
7785 value.
7786 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
7787 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
7788 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
7789 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
7790 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
7791 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
7792 file.
7793
cfa8054f
AS
77942013-01-16 Andreas Schwab <schwab@suse.de>
7795
7796 [BZ #14327]
7797 * include/stdlib.h (__mktemp): Add declaration.
7798 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
7799 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
7800
dd930cc5
SP
78012013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7802
881ebe89
SP
7803 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
7804 definitions.
7805 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
7806 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
7807 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
7808 definitions here.
7809 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
7810 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
7811 definitions.
7812 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
7813 and ONE.
7814 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
7815 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
7816 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
7817 definitions.
7818 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
7819 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
7820 definitions.
7821 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 7822
dd930cc5
SP
7823 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
7824
c19a9f89
DM
78252013-01-15 David S. Miller <davem@davemloft.net>
7826
1aa61767
DM
7827 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7828 trunc{,f} to libm-sysdep_routes.
7829 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7830 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
7831 file.
7832 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
7833 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
7834 file.
7835 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
7836 file.
7837 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
7838 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
7839 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
7840 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
7841 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
7842 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
7843 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
7844 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
7845
c42d5e98
DM
7846 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7847 nearbyint{,f} to libm-sysdep_routes.
7848 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7849 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
7850 New file.
7851 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
7852 file.
7853 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
7854 New file.
7855 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
7856 file.
7857 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
7858 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
7859 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
7860 file.
7861 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
7862 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
7863 file.
7864 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
7865 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
7866 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
7867
c19a9f89
DM
7868 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
7869 libc_feholdexcept and libc_fesetenv.
7870
357679d2
MF
78712013-01-15 Mike Frysinger <vapier@gentoo.org>
7872
7873 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
7874
65a82e3d
DM
78752013-01-14 David S. Miller <davem@davemloft.net>
7876
8b954ab9
DM
7877 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
7878 (SPARC_ASM_VIS2_IFUNC): Likewise.
7879 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
7880 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
7881 use of 'siam' instruction.
7882 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
7883 Likewise.
7884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
7885 Likewise.
7886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
7887 Likewise.
7888 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
7889 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
7890 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
7891 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
7892 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
7893 file.
7894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
7895 file.
7896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
7897 file.
7898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
7899 file.
7900 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
7901 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
7902 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
7903 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
7904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
7905 new VIS2 routines.
7906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
7907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
7909 Likewise.
7910 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
7911 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
7912 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
7913 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
7914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
7915 routines to libm-sysdep_routines.
7916 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7917
65a82e3d
DM
7918 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7919 fdim/fdimf to libm-sysdep_routines.
7920 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
7921 file.
7922 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
7923 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
7924 file.
7925 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
7926 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
7927 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
7928 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
7929 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
7930 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
7931 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
7932
e34ab705
SP
79332013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7934
2a91b573
SP
7935 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
7936 to optimize copies.
7937
1066a534
SP
7938 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
7939 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7940 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7941
e34ab705
SP
7942 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
7943 local variable MPTWO.
7944 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7945 Likewise.
7946
aba5e596
MF
79472013-01-13 Mike Frysinger <vapier@gentoo.org>
7948
7949 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
7950 GLOB_NOESCAPE.
7951
e557e9e5
MF
79522013-01-13 Mike Frysinger <vapier@gentoo.org>
7953
7954 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
7955
0428cec9
MF
79562013-01-13 Mike Frysinger <vapier@gentoo.org>
7957
7958 * manual/pattern.texi (glob_t): Document gl_flags.
7959 (glob64_t): Likewise.
7960
8794a964
DM
79612013-01-11 David S. Miller <davem@davemloft.net>
7962
66438c3f
RM
7963 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
7964 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
7965 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
7966 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
7967 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
7968 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
7969 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
7970 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
7971 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
7972 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
7973 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
7974 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
7975 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
7976
4ae4244d
DM
7977 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
7978 sparc V9 rather than using V8 code.
7979 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7980 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7981
8794a964
DM
7982 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
7983 Move to...
7984 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
7985 Here.
7986
6270516e
RM
79872013-01-11 Roland McGrath <roland@hack.frob.com>
7988
7989 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
7990 not in the main loop.
7991 * configure: Regenerated.
7992
6a57d931
JM
79932013-01-11 Joseph Myers <joseph@codesourcery.com>
7994
7995 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
7996 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
7997 to just #else.
7998 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
7999 [!__GLIBC_HAVE_LONG_LONG] case.
8000 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
8001 condition to just #else.
8002 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
8003 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
8004 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
8005 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
8006 unconditional.
8007 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
8008 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8009 #elif condition to just #else.
8010 * sysdeps/unix/sysv/linux/sys/sysmacros.h
8011 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
8012 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8013 #elif condition to just #else.
8014
0e8529e9
SE
80152013-01-11 Steve Ellcey <sellcey@mips.com>
8016
8017 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
8018 (EF_MIPS_ARCH_64): Fix value.
8019 (EF_MIPS_ARCH_32R2): New.
8020 (EF_MIPS_ARCH_64R2): New.
8021
740b3dbe
L
80222013-01-11 H.J. Lu <hongjiu.lu@intel.com>
8023
8024 * Makeconfig (+link-pie-before-libc): New.
8025 (+link-pie-after-libc): Likewise.
8026 (+link-pie-tests): Likewise.
8027 (+link-pie): Rewritten.
8028 (link-before-libc): Remove $(config-LDFLAGS).
8029 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
8030 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
8031 (config-LDFLAGS): Renamed to ...
8032 (rtld-LDFLAGS): This.
8033 (rtld-tests-LDFLAGS): New macro.
8034 (link-libc-rpath-link): Likewise.
8035 (link-libc-tests-rpath-link): Likewise.
8036 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
8037 (link-libc): Prepand $(link-libc-rpath-link).
8038 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
8039 (test-program-prefix): New macro.
8040 (test-via-rtld-prefix): Likewise.
8041 (test-program-cmd): Likewise.
8042 (host-test-program-cmd): Likewise.
8043 * Makefile ($(common-objpfx)testrun.sh): Replace
8044 $(run-program-prefix) with $(test-program-prefix).
8045 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
8046 $(rtld-LDFLAGS).
8047 ($(common-objpfx)shlib.lds): Likewise.
8048 (build-module-helper): Likewise.
8049 ($(common-objpfx)format.lds): Likewise.
8050 * Rules (binaries-pie-tests): New.
8051 (binaries-pie-notests): Likewise.
8052 (binaries-pie): Rewritten.
8053 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
8054 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
8055 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
8056 (make-test-out): Replace $(host-built-program-cmd) with
8057 $(host-test-program-cmd).
8058 * config.make.in (build-hardcoded-path-in-tests): New variable.
8059 * configure.in (--enable-hardcoded-path-in-tests): New configure
8060 option.
8061 (hardcoded_path_in_tests): New AC_SUBST.
8062 * configure: Regenerated.
8063 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
8064 $(built-program-cmd) with $(test-program-cmd).
8065 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
8066 (test_program_cmd): This.
8067 * elf/Makefile ($(objpfx)order.out): Run test with
8068 $(test-program-prefix).
8069 ($(objpfx)order2.out): Likewise.
8070 ($(objpfx)tst-initorder.out): Likewise.
8071 ($(objpfx)tst-initorder2.out): Likewise.
8072 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
8073 $(test-program-cmd).
8074 ($(objpfx)tst-array1-static.out): Likewise.
8075 ($(objpfx)tst-array2.out): Likewise.
8076 ($(objpfx)tst-array3.out): Likewise.
8077 ($(objpfx)tst-array4.out): Likewise.
8078 ($(objpfx)tst-array5.out): Likewise.
8079 ($(objpfx)tst-array5-static.out): Likewise.
8080 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
8081 $(test-program-cmd).
8082 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
8083 $(run-program-prefix) with $(test-program-prefix).
8084 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
8085 (test_program_prefix): This.
8086 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
8087 $(run-program-prefix) with $(test-program-prefix).
8088 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
8089 (test_program_prefix): This.
8090 * iconvdata/tst-tables.sh: Likewise.
8091 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
8092 $(run-program-prefix) with $(test-program-prefix).
8093 ($(objpfx)tst-translit.out): Likewise.
8094 ($(objpfx)tst-gettext2.out): Likewise.
8095 ($(objpfx)tst-gettext4.out): Likewise.
8096 ($(objpfx)tst-gettext6.out): Likewise.
8097 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
8098 (test_program_prefix): This.
8099 * intl/tst-gettext2.sh: Likewise.
8100 * intl/tst-gettext4.sh Likewise.
8101 * intl/tst-gettext6.sh: Likewise.
8102 * intl/tst-translit.sh: Likewise.
8103 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
8104 with $(test-program-cmd).
8105 * libio/Makefile ($(objpfx)test-freopen.out): Replace
8106 $(run-program-prefix) with $(test-program-prefix).
8107 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
8108 (test_program_prefix): This.
8109 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
8110 $(run-program-prefix) with $(test-program-prefix).
8111 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
8112 (test_program_prefix): This.
8113 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
8114 * posix/Makefile ($(objpfx)globtest.out): Replace
8115 $(run-via-rtld-prefix) and $(test-wrapper) with
8116 $(test-program-prefix) and $(test-via-rtld-prefix).
8117 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
8118 $(test-program-prefix).
8119 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
8120 $(host-test-program-cmd).
8121 (tst-spawn-ARGS): Likewise.
8122 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
8123 $(test-program-prefix).
8124 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
8125 (test_via_rtld_prefix): This.
8126 (test_wrapper): Renamed to ...
8127 (test_program_prefix): This.
8128 (run_program_prefix): Replaced by test_program_prefix.
8129 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
8130 (test_program_prefix): This.
8131 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
8132 with $(host-test-program-cmd).
8133 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
8134 $(run-program-prefix) with $(test-program-prefix).
8135 ($(objpfx)tst-printf.out): Likewise.
8136 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
8137 $(test-program-cmd).
8138 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
8139 (test_program_prefix): This.
8140 * stdio-common/tst-unbputc.sh: Likewise.
8141 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
8142 $(run-program-prefix) with $(test-program-prefix).
8143 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
8144 (test_program_prefix): This.
8145 * string/Makefile ($(objpfx)tst-svc.out): Replace
8146 $(built-program-cmd) with $(test-program-cmd).
8147
c6fe55cf
AJ
81482013-01-11 Andreas Jaeger <aj@suse.de>
8149
8150 [BZ #15003]
8151 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
8152 value. Sync with Linux 3.7.
8153
9e6919c8
DM
81542013-01-10 David S. Miller <davem@davemloft.net>
8155
8156 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
8157 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8158 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8159
1c9f1a02
RM
81602013-01-10 Roland McGrath <roland@hack.frob.com>
8161
8162 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
8163 never set.
8164 * configure: Regenerated.
8165
b9de2dde
DM
81662013-01-10 David S. Miller <davem@davemloft.net>
8167
8168 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8169 sparc V9 rather than using V8 code.
8170 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8171 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8172
e7f68ef4
RM
81732013-01-10 Roland McGrath <roland@hack.frob.com>
8174
8175 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
8176 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
8177 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
8178 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
8179 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
8180 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
8181 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
8182 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
8183 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
8184 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
8185 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
8186 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
8187 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
8188 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
8189 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
8190 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
8191 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
8192 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
8193 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
8194 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
8195 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
8196 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
8197 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
8198 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
8199 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
8200 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
8201 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
8202
5a47cc9c
DM
82032013-01-10 David S. Miller <davem@davemloft.net>
8204
8205 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8206
4cf8f209
L
82072013-01-10 H.J. Lu <hongjiu.lu@intel.com>
8208
8209 * posix/Makefile (tests-static): New variable.
8210 (tests): Add $(tests-static).
8211 (tst-exec-static-ARGS): New variable.
8212 (tst-spawn-static-ARGS): Likewise.
8213 * posix/tst-exec-static.c: New file.
8214 * posix/tst-spawn-static.c: Likewise.
8215 * posix/tst-exec.c: Support run directly.
8216 * posix/tst-spawn.c: Likewise.
8217
fed0faa1
JM
82182013-01-10 Joseph Myers <joseph@codesourcery.com>
8219
828beb13
JM
8220 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
8221 long.
8222 * math/bits/mathcalls.h (llrint): Likewise.
8223 (llround): Likewise.
8224 * stdlib/stdlib.h (struct drand48_data): Likewise.
8225 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
8226 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
8227 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
8228 Likewise.
8229 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
8230 Likewise.
8231 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
8232 (elf_greg_t): Likewise.
8233 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
8234 (__jmp_buf): Likewise.
8235 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
8236 definitions.
8237 (llrint): Likewise, for all definitions.
8238 (llrintl): Likewise.
8239
fed0faa1
JM
8240 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
8241 Remove [__GNUC__] condition.
8242 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
8243 condition to just [__USE_ISOC99].
8244 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
8245
1a20cb20
L
82462013-01-10 H.J. Lu <hongjiu.lu@intel.com>
8247
8248 [BZ #14200]
8249 * sysdeps/unix/sysv/linux/x86/bits/environments.h
8250 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
8251 defined.
8252 (_POSIX_V6_ILP32_OFF32): Likewise.
8253 (_XBS5_ILP32_OFF32): Likewise.
8254 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
8255 (__ILP32_OFFBIG_LDFLAGS): Likewise.
8256
751b85f7
SP
82572013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8258
7490eb81
SP
8259 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
8260
751b85f7
SP
8261 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
8262 doubles __mpexp_twomm1. Adjust usage.
8263 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
8264 Remove.
8265
988197f0
AS
82662013-01-10 Andreas Schwab <schwab@suse.de>
8267
8268 [BZ #14964]
8269 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
8270 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
8271
e83d7298
DM
82722013-01-09 David S. Miller <davem@davemloft.net>
8273
034ed64b 8274 [BZ #15003]
e83d7298
DM
8275 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
8276 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
8277 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
8278 TCP_FASTOPEN): Define.
8279 (tcp_repair_opt): New structure.
8280 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
8281 enum values.
8282 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
8283 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
8284 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
8285 (tcp_cookie_transactions): New structure.
8286
d5e0b9bd
AB
82872013-01-09 Anton Blanchard <anton@samba.org>
8288
8289 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
8290 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
8291 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
8292 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
8293
0c07e3ea
JM
82942013-01-09 Joseph Myers <joseph@codesourcery.com>
8295
8296 * include/features.h (__USE_ANSI): Remove.
8297
232f7002
RM
82982013-01-09 Roland McGrath <roland@hack.frob.com>
8299
ad98e30c
RM
8300 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
8301
232f7002
RM
8302 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
8303
950c99ca
SP
83042013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
8305
b5792741
SP
8306 * sysdeps/s390/fpu/libm-test-ulps: Update.
8307
47cf2278
SP
8308 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8309
950c99ca
SP
8310 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
8311 (__acr): Likewise.
8312 (__cpy): Likewise.
8313 (norm): Likewise.
8314 (denorm): Likewise.
8315 (__mp_dbl): Likewise.
8316 (__dbl_mp): Likewise.
8317 (add_magnitudes): Likewise.
8318 (sub_magnitudes): Likewise.
8319 (__add): Likewise.
8320 (__sub): Likewise.
8321 (__mul): Likewise.
8322 (__inv): Likewise.
8323 (__dvd): Likewise.
8324 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
8325 (__acr): Likewise.
8326 (__cpy): Likewise.
8327 (norm): Likewise.
8328 (denorm): Likewise.
8329 (__mp_dbl): Likewise.
8330 (__dbl_mp): Likewise.
8331 (add_magnitudes): Likewise.
8332 (sub_magnitudes): Likewise.
8333 (__add): Likewise.
8334 (__sub): Likewise.
8335 (__mul): Likewise.
8336 (__inv): Likewise.
8337 (__dvd): Likewise.
8338 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
8339 (__acr): Likewise.
8340 (__cpy): Likewise.
8341 (norm): Likewise.
8342 (denorm): Likewise.
8343 (__mp_dbl): Likewise.
8344 (__dbl_mp): Likewise.
8345 (add_magnitudes): Likewise.
8346 (sub_magnitudes): Likewise.
8347 (__add): Likewise.
8348 (__sub): Likewise.
8349 (__mul): Likewise.
8350 (__inv): Likewise.
8351 (__dvd): Likewise.
8352
eede9df9
JM
83532013-01-08 Joseph Myers <joseph@codesourcery.com>
8354
8355 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
8356 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
8357 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
8358 2 && __USE_EXTERN_INLINES]: Likewise.
8359
c40ea3d9
AJ
83602013-01-08 Andreas Jaeger <aj@suse.de>
8361
8362 [BZ# 14985]
8363 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
8364 Remove.
8365 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
8366 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
8367
2ccdea26
AB
83682013-01-07 Anton Blanchard <anton@samba.org>
8369
8370 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
8371 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
8372 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
8373 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
8374 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
8375 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8376 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
8377 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8378 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8379 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8380 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8381 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8382 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8383 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8384 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
8385 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8386 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8387 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8388 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
8389 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
8390 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
8391 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
8392 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8393 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
8394 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
8395 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
8396 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8397 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
8398 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
8399 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8400 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
8401 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8402 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8403 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8404 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8405 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8406 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8407 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
8408 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
8409 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
8410 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
8411 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8412 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8413
a9708fed
JM
84142013-01-07 Joseph Myers <joseph@codesourcery.com>
8415
375607b9
JM
8416 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
8417 (__MALLOC_PMT): Likewise.
8418 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
8419 [__GNUC__], only on [_LIBC].
8420 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8421 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
8422 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8423 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
8424 forward declaration.
8425 (realloc_hook_ini): Likewise.
8426 (memalign_hook_ini): Likewise.
8427 (__libc_memalign): Do not use __MALLOC_PMT in variable
8428 declaration.
8429 (__libc_valloc): Likewise.
8430 (__libc_pvalloc): Likewise.
8431 (__libc_calloc): Likewise.
8432 (__posix_memalign): Likewise.
8433
a9708fed
JM
8434 [BZ #14996]
8435 * math/s_casinh.c: Include <float.h>.
8436 (__casinh): Do not do computation with squaring and square root
8437 for large arguments.
8438 * math/s_casinhf.c: Include <float.h>.
8439 (__casinhf): Do not do computation with squaring and square root
8440 for large arguments.
8441 * math/s_casinhl.c: Include <float.h>.
8442 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
8443 (__casinhl): Do not do computation with squaring and square root
8444 for large arguments.
8445 * math/libm-test.inc (casin_test): Add more tests.
8446 (casinh_test): Likewise.
8447 * sysdeps/i386/fpu/libm-test-ulps: Update.
8448 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8449
afec409a
L
84502013-01-04 H.J. Lu <hongjiu.lu@intel.com>
8451
8452 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
8453 (__x86_64_raw_data_cache_size): Likewise.
8454 (__x86_64_data_cache_size_half): Likewise.
8455 (__x86_64_raw_data_cache_size_half): Likewise.
8456 (__x86_64_shared_cache_size): Likewise.
8457 (__x86_64_raw_shared_cache_size): Likewise.
8458 (__x86_64_shared_cache_size_half): Likewise.
8459 (__x86_64_raw_shared_cache_size_half): Likewise.
8460 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
8461 to ...
8462 (__x86_data_cache_size): This.
8463 (__x86_64_raw_data_cache_size): Renamed to ...
8464 (__x86_raw_data_cache_size): This.
8465 (__x86_64_data_cache_size_half): Renamed to ...
8466 (__x86_data_cache_size_half): This.
8467 (__x86_64_raw_data_cache_size_half): Renamed to ...
8468 (__x86_raw_data_cache_size_half): This.
8469 (__x86_64_shared_cache_size): Renamed to ...
8470 (__x86_shared_cache_size): This.
8471 (__x86_64_raw_shared_cache_size): Renamed to ...
8472 (__x86_raw_shared_cache_size): This.
8473 (__x86_64_shared_cache_size_half): Renamed to ...
8474 (__x86_shared_cache_size_half): This.
8475 (__x86_64_raw_shared_cache_size_half): Renamed to ...
8476 (__x86_raw_shared_cache_size_half): This.
8477 * sysdeps/x86_64/memcpy.S: Updated.
8478 * sysdeps/x86_64/memset.S: Likewise.
8479 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8480 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8481 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8482
0b3986d0
DM
84832013-01-04 David S. Miller <davem@davemloft.net>
8484
8485 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8486
e47686e9
AS
84872013-01-04 Andreas Schwab <schwab@linux-m68k.org>
8488
d643bac1
AS
8489 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
8490 1 to avoid redefinition warning.
8491 (__USE_GNU): Don't define.
8492 (init_signaling_nan): Protoize.
8493
e47686e9
AS
8494 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8495
b18decba
SP
84962013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8497
fffb407f
SP
8498 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
8499 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
8500 (__cpymn): Likewise.
8501 (norm): Remove commented code.
8502 (denorm): Likewise.
8503 (__mp_dbl): Likewise.
8504 (__inv): Likewise.
8505 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
8506 (__cpymn): Likewise.
8507 (norm): Remove commented code.
8508 (denorm): Likewise.
8509 (__mp_dbl): Likewise.
8510 (__inv): Likewise.
8511
b18decba
SP
8512 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
8513 mp_no value for 1.0 and 2.0.
8514 (norm): Use RADIXI instead of radixi.d.
8515 (denorm): Likewise.
8516 (__mul): Use 0.0 instead of zero.d.
8517 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
8518 mp_no value for 1.0 and 2.0.
8519 (norm): Use RADIXI instead of radixi.d.
8520 (denorm): Likewise.
8521 (__mul): Use 0.0 instead of zero.d.
8522
cdc1c96f
JM
85232013-01-04 Joseph Myers <joseph@codesourcery.com>
8524
8525 [BZ #14994]
8526 * math/s_casinh.c (__casinh): Reduce finite argument to first
8527 quadrant then set signs of results at the end.
8528 * math/s_casinhf.c (__casinhf): Likewise.
8529 * math/s_casinhl.c (__casinhl): Likewise.
8530 * math/libm-test.inc (casin_test): Add more tests.
8531 (casinh_test): Likewise.
8532 * sysdeps/i386/fpu/libm-test-ulps: Update.
8533 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8534
302913e1
SP
85352013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8536
6420d207
SP
8537 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
8538
a9e48ab4
SP
8539 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
8540
b7837264
SP
8541 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
8542 declarations.
8543 (denorm): Likewise.
8544 (__mp_dbl): Likewise.
8545 (__inv): Likewise.
8546
f8af25d2
SP
8547 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
8548 and adjust the header comment.
8549
302913e1
SP
8550 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
8551 variable name from declaration.
8552
5d7dd1ca
L
85532013-01-03 H.J. Lu <hongjiu.lu@intel.com>
8554
8555 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8556 Initialize COMMON_CPUID_INDEX_7 element.
8557 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
8558 (CPUID_RTM): Likewise.
8559 (HAS_RTM): Likewise.
8560 (COMMON_CPUID_INDEX_7): New enum.
8561
2f5f40f4
AS
85622013-01-03 Andreas Schwab <schwab@linux-m68k.org>
8563
8564 [BZ #14981]
8565 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
8566 size is zero, record memory as freed.
8567
4056f4a0
AJ
85682013-01-03 Andreas Jaeger <aj@suse.de>
8569
8570 * po/ia.po: Add new Interlingua translation.
8571
ab15736f 85722012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
8573
8574 * locale/programs/localedef.c: Fix description of '--posix' flag.
8575
568035b7
JM
85762013-01-02 Joseph Myers <joseph@codesourcery.com>
8577
e6898b8d
JM
8578 * NEWS: Update dates in second copyright notice.
8579 * README: Update copyright dates in example.
8580 * manual/libc.texinfo: Update copyright dates.
8581 * scripts/test-installation.pl: Update copyright date in --version
8582 output.
8583
0e2f9562
JM
8584 * hurd/ctty-input.c: Fix copyright notice formatting.
8585 * hurd/ctty-output.c: Likewise.
8586 * hurd/dtable.c: Likewise.
8587 * hurd/hurd-raise.c: Likewise.
8588 * hurd/hurdprio.c: Likewise.
8589 * hurd/msgportdemux.c: Likewise.
8590 * misc/sys/file.h: Likewise.
8591 * misc/sys/ioctl.h: Likewise.
8592 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8593 * sysdeps/mach/hurd/chdir.c: Likewise.
8594 * sysdeps/mach/hurd/fchdir.c: Likewise.
8595 * sysdeps/mach/hurd/rename.c: Likewise.
8596 * sysdeps/mach/hurd/rmdir.c: Likewise.
8597 * sysdeps/mach/hurd/seekdir.c: Likewise.
8598 * sysdeps/mach/hurd/setsid.c: Likewise.
8599 * sysdeps/posix/wait3.c: Likewise.
8600
568035b7
JM
8601 * All files with FSF copyright notices: Update copyright dates
8602 using scripts/update-copyrights.
8603 * intl/plural.c: Regenerated.
8604 * locale/programs/charmap-kw.h: Likewise.
8605 * locale/programs/locfile-kw.h: Likewise.
8606
da08f647
SP
86072013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8608
0f5477af
SP
8609 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
8610 four values.
8611
44e0d4c2
SP
8612 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
8613 calculation loop and add branch prediction.
8614
4d55b4e5
SP
8615 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
8616 check access beyond bounds of m1np.
8617
da08f647
SP
8618 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8619 MPTWO.
8620 (__inv): Remove local variable MPTWO to use the global
8621 constant.
8622 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
8623 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8624 variable MPTWO.
8625 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
8626 MP3HALFS static const.
8627
8e051029
DM
86282013-01-01 David S. Miller <davem@davemloft.net>
8629
8630 * po/ca.po: Update from translation team.
8631
f4cf5f2d
JM
86322013-01-01 Joseph Myers <joseph@codesourcery.com>
8633
8634 * scripts/update-copyrights: New file.
8635 * Makeconfig: Reformat copyright notice.
8636 * ctype/ctype.h: Likewise.
8637 * debug/swprintf_chk.c: Likewise.
8638 * elf/dl-cache.c: Likewise.
8639 * elf/dl-debug.c: Likewise.
8640 * elf/dl-object.c: Likewise.
8641 * grp/initgroups.c: Likewise.
8642 * hurd/Makefile: Likewise.
8643 * hurd/hurd/signal.h: Likewise.
8644 * hurd/hurdfault.c: Likewise.
8645 * hurd/hurdioctl.c: Likewise.
8646 * hurd/hurdlookup.c: Likewise.
8647 * hurd/intr-msg.c: Likewise.
8648 * iconv/gconv_open.c: Likewise.
8649 * libio/swprintf.c: Likewise.
8650 * locale/lc-ctype.c: Likewise.
8651 * locale/nl_langinfo.c: Likewise.
8652 * mach/Machrules: Likewise.
8653 * mach/Makefile: Likewise.
8654 * malloc/obstack.h: Likewise.
8655 * manual/Makefile: Likewise.
8656 * manual/tsort.awk: Likewise.
8657 * misc/bits/stab.def: Likewise.
8658 * nis/nis_print_group_entry.c: Likewise.
8659 * nis/nis_table.c: Likewise.
8660 * nis/nss_compat/compat-pwd.c: Likewise.
8661 * nis/nss_compat/compat-spwd.c: Likewise.
8662 * po/Makefile: Likewise.
8663 * posix/fnmatch.c: Likewise.
8664 * posix/regex.h: Likewise.
8665 * resolv/Makefile: Likewise.
8666 * resolv/nss_dns/dns-network.c: Likewise.
8667 * resolv/res_hconf.c: Likewise.
8668 * scripts/gen-sorted.awk: Likewise.
8669 * soft-fp/soft-fp.h: Likewise.
8670 * stdio-common/printf.h: Likewise.
8671 * stdlib/monetary.h: Likewise.
8672 * stdlib/random.c: Likewise.
8673 * stdlib/random_r.c: Likewise.
8674 * sysdeps/generic/Makefile: Likewise.
8675 * sysdeps/gnu/Makefile: Likewise.
8676 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8677 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8678 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8679 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8680 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8681 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8682 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8683 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8684 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8685 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8686 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8687 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8688 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8689 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8690 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
8691 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8692 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8693 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8694 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8695 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8696 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8697 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8698 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8699 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
8700 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
8701 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8702 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
8703 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
8704 * sysdeps/mach/hurd/errnos.awk: Likewise.
8705 * sysdeps/mach/hurd/fork.c: Likewise.
8706 * sysdeps/mach/hurd/getcwd.c: Likewise.
8707 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
8708 * sysdeps/mach/hurd/mmap.c: Likewise.
8709 * sysdeps/mach/hurd/utimes.c: Likewise.
8710 * sysdeps/mach/hurd/xmknod.c: Likewise.
8711 * sysdeps/posix/profil.c: Likewise.
8712 * sysdeps/posix/readdir_r.c: Likewise.
8713 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8714 * sysdeps/powerpc/bits/setjmp.h: Likewise.
8715 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
8716 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8717 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8718 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
8719 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8720 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8721 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8722 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
8723 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8724 * sysdeps/pthread/lio_listio.c: Likewise.
8725 * sysdeps/sparc/dl-procinfo.h: Likewise.
8726 * sysdeps/unix/i386/sysdep.S: Likewise.
8727 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
8728 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
8729 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
8730 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
8731 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8732 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
8733 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
8734 * sysdeps/unix/sysv/linux/speed.c: Likewise.
8735 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
8736 * sysdeps/wordsize-32/divdi3.c: Likewise.
8737 * time/sys/time.h: Likewise.
8738 * wcsmbs/Makefile: Likewise.
8739
0549fbba
DM
87402013-01-01 David S. Miller <davem@davemloft.net>
8741
a141f1a7
DM
8742 * po/fr.po: Update from translation team.
8743
0549fbba
DM
8744 * catgets/gencat.c: Update copyright year.
8745 * csu/version.c: Likewise.
8746 * debug/catchsegv.sh: Likewise.
8747 * debug/pcprofiledump.c: Likewise.
8748 * debug/xtrace.sh: Likewise.
8749 * elf/ldconfig.c: Likewise.
8750 * elf/ldd.bash.in: Likewise.
8751 * elf/pldd.c: Likewise.
8752 * elf/sotruss.ksh: Likewise.
8753 * elf/sprof.c: Likewise.
8754 * iconv/iconv_prog.c: Likewise.
8755 * iconv/iconvconfig.c: Likewise.
8756 * locale/programs/locale.c: Likewise.
8757 * locale/programs/localedef.c: Likewise.
8758 * login/programs/pt_chown.c: Likewise.
8759 * malloc/memusage.sh: Likewise.
8760 * malloc/memusagestat.c: Likewise.
8761 * malloc/mtrace.pl: Likewise.
8762 * nscd/nscd.c: Likewise.
8763 * nss/getent.c: Likewise.
8764 * nss/makedb.c: Likewise.
8765 * posix/getconf.c: Likewise.
8766
18ea052c
SP
87672012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8768
8769 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
8770 numbers.
8771
9c89fca6
MF
87722012-12-30 Mike Frysinger <vapier@gentoo.org>
8773
8774 * math/bits/mathcalls.h (modf): Use __nonnull.
8775
085ec079
SP
87762012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8777
8778 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
8779 (split): Use macro CN instead of the bare value.
8780 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
8781 could be used.
8782 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
8783 instead of the bare value.
8784 (power1): Likewise.
8785
6d9f97e1
SP
87862012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8787
d63f73be
SP
8788 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
8789 __ATAN_TWOM.
8790 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8791
6d9f97e1
SP
8792 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
8793 their values.
8794 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
8795 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8796 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
8797 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
8798
4c4febf5
AJ
87992012-12-28 Andreas Jaeger <aj@suse.de>
8800
af5843ef
AJ
8801 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
8802 values are from Linux 3.7.
8803
4c4febf5
AJ
8804 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
8805 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
8806
99136f82
SP
88072012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8808
2f216c3c 8809 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
8810 TRUE case.
8811
99136f82
SP
8812 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
8813 (norm): Likewise.
8814 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
8815 variables with preprocessor constants.
8816 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8817 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
8818 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
8819
7fffbdff
BH
88202012-12-27 Bruno Haible <bruno@clisp.org>
8821
8822 [BZ #14317]
8823 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
8824 only if needed.
8825
b76eb5f0
SP
88262012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8827
31a7fe5c
SP
8828 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
8829 and use variable directly.
8830 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
8831
b76eb5f0
SP
8832 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8833 MPONE.
8834 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
8835 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8836 variable MPONE.
8837 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8838 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8839 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
8840 include directive. Remove local variable MPONE.
8841 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
8842 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
8843 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8844
2c8bfe7d
DM
88452012-12-25 David S. Miller <davem@davemloft.net>
8846
8847 * version.h (RELEASE): Set to "development".
8848 (VERSION): Set to "2.17.90".
8849 * NEWS: Add 2.18 section.
8850
147d03b0
DM
88512012-12-21 David S. Miller <davem@davemloft.net>
8852
8853 * po/hr.po: Update from translation team.
8854
a8ebb2b9
AK
88552012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8856
8857 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
8858
95b4f1b6
SE
88592012-12-19 Steve Ellcey <sellcey@mips.com>
8860
b2d94007 8861 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 8862
cedb2a90
MS
88632012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8864
8865 * manual/contrib.texi (Contributors): Spelling correction.
8866
bbf527d6
DM
88672012-12-15 David S. Miller <davem@davemloft.net>
8868
8869 * po/ru.po: Update from translation team.
8870
bc38c906
DM
88712012-12-13 David S. Miller <davem@davemloft.net>
8872
85429b1a
DM
8873 * NEWS: Mention IFUNC testsuite enhancements.
8874
d283e353
DM
8875 * po/pl.po: Update from translation team.
8876 * po/bg.po: Likewise.
8877
bc38c906
DM
8878 * manual/contrib.texi (Contributors): Update entries for Hongjiu
8879 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
8880
a181b0d7
DM
88812012-12-11 David S. Miller <davem@davemloft.net>
8882
4641d57e
DM
8883 * po/sv.po: Update from translation team.
8884
f7bc6495
DM
8885 * po/vi.po: Update from translation team.
8886
6fc9048f
DM
8887 * po/cs.po: Update from translation team.
8888
a181b0d7
DM
8889 * po/de.po: Update from translation team.
8890 * po/eo.po: Likewise.
8891 * po/nl.po: Likewise.
8892
f70bfe80
SP
88932012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8894
3c8b4190
SP
8895 [BZ #14246]
8896 * manual/argp.texi (Argp Helper Functions): Move node to follow
8897 Argp Parsing State.
8898
f70bfe80
SP
8899 [BZ #14872]
8900 * manual/conf.texi (Limits on File System Capacity): Mention if
8901 terminating null is included in the max size.
8902
188f0adf
AJ
89032012-12-10 Andreas Jaeger <aj@suse.de>
8904
8905 * po/cs.po: Update from translation team.
8906
56e7d3ad
SP
89072012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8908
8909 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
8910 void pointer and cast to uintptr_t.
8911 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
8912 path.
8913 * sysdeps/s390/s390-64/memcpy.S: Likewise.
8914 * sysdeps/s390/s390-64/memset.S: Likewise.
8915
76f2d2ea 89162012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
8917
8918 [BZ #14833]
8919 * menual/message.texi (Message Translation): Fix typos.
8920 (Helper programs for gettext): Likewise.
8921
67cbf9a2
AS
89222012-12-07 Andreas Schwab <schwab@linux-m68k.org>
8923
8924 [BZ #14898]
8925 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
8926 Change to -1.
8927
682d0e9a
DM
89282012-12-07 David S. Miller <davem@davemloft.net>
8929
8930 * po/libc.pot: Update.
8931
573cd484
RH
89322012-12-07 Richard Henderson <rth@redhat.com>
8933
7e9da188 8934 [BZ #10114]
573cd484
RH
8935 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
8936 normal/normal case to before the switch.
8937 (_FP_DIV): Likewise.
8938
e933a943
MF
89392012-12-06 Carlos O'Donell <carlos@systemhalted.org>
8940 Mike Frysinger <vapier@gentoo.org>
8941
8942 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
8943 check for __NR_fadvise64_64.
8944
82123268
CM
89452012-12-06 Chris Metcalf <cmetcalf@tilera.com>
8946
8947 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
8948 0, not just to plain "0" as a statement.
8949 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
8950 with cw.
8951
d9814526
JM
89522012-12-06 Joseph Myers <joseph@codesourcery.com>
8953
8954 * NEWS: Use sourceware.org in Bugzilla URL.
8955
7728c574
SP
89562012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8957
f16946dd
SP
8958 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8959 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
8960
5704bbcb
SP
8961 * stdio-common/tst-put-error.c (do_test): Add newline to the
8962 padded test to ensure flush.
8963
17aa0516
JL
89642012-12-05 Jeff Law <law@redhat.com>
8965
8966 * sunrpc/etc.rpc (fedfs_admin): Add entry.
8967
363313b5
JM
89682012-12-05 Joseph Myers <joseph@codesourcery.com>
8969
effbd42a
JM
8970 * README: Don't refer to ports add-on as distributed separately.
8971 Mention AArch64 in list of systems supported in the ports add-on.
8972
87600365
JM
8973 * LICENSES: Add more non-FSF copyright and license notices.
8974
a0d7066a
JM
8975 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
8976 ((unused)).
8977
66ca5a5b
JM
8978 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
8979
363313b5
JM
8980 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
8981 10000 as width of padded output.
8982
b37984ad
JM
89832012-12-04 Joseph Myers <joseph@codesourcery.com>
8984
9003570a
JM
8985 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
8986
b37984ad
JM
8987 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
8988 variable LX with __attribute__ ((unused)).
8989 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
8990 Likewise.
8991 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
8992 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8993 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
8994 with __attribute__ ((unused)).
8995
c8df52ec
DM
89962012-12-04 David S. Miller <davem@abraco.davemloft.net>
8997
8998 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
8999
b3b099af
JM
90002012-12-04 Joseph Myers <joseph@codesourcery.com>
9001
c33aa6e3
JM
9002 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
9003 (CFLAGS-nldbl-acos.c): New variable.
9004 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
9005 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
9006 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
9007 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
9008 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
9009 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
9010 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
9011 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
9012 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
9013 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
9014 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
9015 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
9016 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
9017 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
9018 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
9019 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
9020 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
9021 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
9022 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
9023 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
9024 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
9025 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
9026 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
9027 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
9028 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
9029 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
9030 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
9031 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
9032 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
9033 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
9034 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
9035 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
9036 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
9037 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
9038 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
9039 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
9040 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
9041 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
9042 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
9043 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
9044 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
9045 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
9046 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
9047 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
9048 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
9049 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
9050 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
9051 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
9052 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
9053 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
9054 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
9055 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
9056 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
9057 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
9058 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
9059 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
9060 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
9061 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
9062 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
9063 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
9064 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
9065 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
9066 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
9067 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
9068 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
9069 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
9070 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
9071 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
9072 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
9073 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
9074 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
9075 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
9076 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
9077 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
9078 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
9079 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
9080 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
9081 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
9082 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
9083 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
9084 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
9085 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
9086 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
9087 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
9088 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
9089 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
9090 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
9091 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
9092 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
9093 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
9094 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
9095 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
9096 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
9097 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
9098 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
9099 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
9100 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
9101
20f0018d
JM
9102 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9103 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9104
b3b099af
JM
9105 [BZ #14914]
9106 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
9107 whole low double instead of just low 47 bits when splitting values
9108 into two parts.
9109
029264d1
AM
91102012-12-03 Allan McRae <allan@archlinux.org>
9111
9112 * manual/stdio.texi (Predefined Printf Handlers): Remove
9113 @hsep and @vsep usage.
9114
c9d6789e
MF
91152012-12-03 Mike Frysinger <vapier@gentoo.org>
9116
9117 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
9118 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
9119
4b7634a5
JL
91202012-12-03 Jeff Law <law@redhat.com>
9121
9122 * time/sys/time.h (settimeofday): Do not mark TV argument
9123 as __nonnull.
9124
eb6cbd24
MF
91252012-12-01 Mike Frysinger <vapier@gentoo.org>
9126
9127 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
9128 when currently writing and seek to current position when not.
9129 * libio/Makefile (tests): Remove bug-fclose1.
9130 * libio/bug-fclose1.c: Delete.
9131
f638872a
JM
91322012-12-01 Joseph Myers <joseph@codesourcery.com>
9133
9134 * manual/arith.texi (feenableexcept): Fix typo.
9135 (fedisableexcept): Likewise.
9136
48085d14
RM
91372012-11-30 Roland McGrath <roland@hack.frob.com>
9138
9139 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
9140 second, differently-typed declaration, rather than a cast.
9141
1a538b9f
SP
91422012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9143
9144 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
9145 * include/rpc/svc.h: ... here.
9146
d07f2ff1 91472012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
9148
9149 [BZ #13013]
9150 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
9151 depending n and resplen2 to catch cases where answer
9152 equals answerp2.
9153
c93ec1f0
CD
91542012-11-29 Carlos O'Donell <carlos@systemhalted.org>
9155
9156 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
9157 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
9158
37db69de
MF
91592012-11-29 Mike Frysinger <vapier@gentoo.org>
9160
9161 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
9162
e10c4e4f
RM
91632012-11-29 Roland McGrath <roland@hack.frob.com>
9164
9165 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
9166
2af1b328
JL
91672012-11-28 Jeff Law <law@redhat.com>
9168
9169 [BZ #13761]
9170 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
9171 dataset_temporary. Track alloca usage into alloca_used.
9172 If dataset is large allocate and release it via malloc/free.
9173
111db5b1
FW
91742012-06-04 Florian Weimer <fweimer@redhat.com>
9175
f06cc227 9176 [BZ #14197]
111db5b1
FW
9177 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
9178
dd694abd
DM
91792012-11-28 David S. Miller <davem@davemloft.net>
9180
9181 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9182
9984dd01
JM
91832012-11-28 Joseph Myers <joseph@codesourcery.com>
9184
9185 [BZ #14803]
9186 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
9187 of pi/2 rounded to nearest to 64 bits.
9188 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
9189 nearest to 64 bits.
9190 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
9191 bits.
9192
14bc93a9
JL
91932012-11-28 Jeff Law <law@redhat.com>
9194 Martin Osvald <mosvald@redhat.com>
9195
9196 [BZ #14889]
9197 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
9198 * sunrpc/svc.c: Include time.h.
9199 (__svc_accept_failed): New function.
9200 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
9201 any reason other than EINTR, call __svc_accept_failed.
9202 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
9203 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
9204
e3c6aa3a
AS
92052012-11-28 Andreas Schwab <schwab@suse.de>
9206
9207 * scripts/abilist.awk: Also handle indirect functions in .opd
9208 section.
9209
1bead169
JM
92102012-11-28 Joseph Myers <joseph@codesourcery.com>
9211
9212 [BZ #13881]
9213 * sysdeps/x86/fpu/powl_helper.c: New file.
9214 * sysdeps/x86/fpu/Makefile: Likewise.
9215 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
9216 (p3): New object.
9217 (__ieee754_powl): Use __powl_helper for finite arguments except
9218 integer exponents below 8.
9219 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
9220 (p3): New object.
9221 (__ieee754_powl): Use __powl_helper for finite arguments except
9222 integer exponents below 8.
9223 * math/libm-test.inc (pow_test): Add more tests and enable some
9224 previously disabled tests.
9225 * sysdeps/i386/fpu/libm-test-ulps: Update.
9226 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9227
0817d63d
SP
92282012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9229 Carlos O'Donell <carlos_odonell@mentor.com>
9230
9231 * nss/makedb.c (is_prime): Assert that input is odd and greater
9232 than 4. Note that fact in a comment too.
9233 (next_prime): Add 4 to input.
9234
de2fd463
SP
92352012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9236
9237 [BZ #11741]
9238 * libio/Makefile (tests): Add test case tst-fwrite-error.
9239 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
9240 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
9241 * libio/tst-fwrite-error.c: New test case.
9242
c515fb51
L
92432012-11-26 H.J. Lu <hongjiu.lu@intel.com>
9244
9245 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
9246 before casting to void *.
9247 * include/libc-internal.h (__pointer_type): New macro.
9248 (__integer_if_pointer_type_sub): Likewise.
9249 (__integer_if_pointer_type): Likewise.
9250 (cast_to_integer): Likewise.
9251 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
9252 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
9253 before casting to atomic64_t.
9254 (atomic_exchange_acq): Likewise.
9255 (__arch_exchange_and_add_body): Likewise.
9256 (__arch_add_body): Likewise.
9257 (atomic_add_negative): Likewise.
9258 (atomic_add_zero): Likewise.
9259
4cf77aa9
JM
92602012-11-26 Joseph Myers <joseph@codesourcery.com>
9261
9262 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
9263 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
9264 (add_fdes): Likewise.
9265 (linear_search_fdes): Likewise.
9266 (binary_search_unencoded_fdes): Likewise.
9267
d260b3b4
AS
92682012-11-26 Andreas Schwab <schwab@linux-m68k.org>
9269
9270 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
9271
67060746
AC
92722012-11-24 Adam Conrad <adconrad@0c3.net>
9273
9274 * configure.in: Autodetect C++ header directories.
9275 * configure: Regenerated.
9276
800938a1
MF
92772012-11-23 Mike Frysinger <vapier@gentoo.org>
9278
9279 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
9280
4e6e34e6
AS
92812012-11-23 Andreas Schwab <schwab@linux-m68k.org>
9282
9283 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9284
7c7feb47
JM
92852012-11-22 Joseph Myers <joseph@codesourcery.com>
9286
7184dcdf
JM
9287 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
9288 LDBL_MANT_DIG == 106]: Disable some tests.
9289 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9290 Likewise.
9291 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9292 Likewise.
9293
0a42601f
JM
9294 [BZ #14871]
9295 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
9296 input for small inputs. Return +/- pi/2 for large inputs.
9297 * math/libm-test.inc (atan_test): Add more tests.
9298
79c9b9fe
JM
9299 * sysdeps/generic/unwind-dw2-fde-glibc.c
9300 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
9301 __attribute__ ((unused)).
9302
c60d3bf2
JM
9303 [BZ #14645]
9304 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
9305 x * y if x and y are nonzero and z is zero.
9306
ef1e0867
JM
9307 [BZ #14811]
9308 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
9309 nonzero exponents with absolute value below 0x1p-117 to +/-
9310 0x1p-117.
9311
1468ded3
JM
9312 [BZ #14869]
9313 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
9314 up arguments below 2**-450, not just those below 2**-500.
9315 * math/libm-test.inc (hypot_test): Add another test.
9316
8e27e3cc
JM
9317 [BZ #14868]
9318 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
9319 Return a+b for ratio over 2**120, not 2**60.
9320 * math/libm-test.inc (hypot_test): Add another test.
9321
c9c0279b
JM
9322 * math/libm-test.inc (clog_test): Use
9323 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
9324 (clog10_test): Likewise.
9325
7c7feb47
JM
9326 [BZ #6778]
9327 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
9328
fff1530e
AS
93292012-11-22 Andreas Schwab <schwab@suse.de>
9330
9331 * sysdeps/i386/fpu/libm-test-ulps: Update.
9332
94558d30
PT
93332012-11-22 Pino Toscano <toscano.pino@tiscali.it>
9334
9335 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
9336 printf output with newline.
9337
7e1be741
L
93382012-11-21 H.J. Lu <hongjiu.lu@intel.com>
9339
6bfea974
L
9340 [BZ #14865]
9341 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
9342 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
9343 -z nodlopen, -z initfirst and -z execstack support.
9344 * configure: Regenerated.
9345
7e1be741
L
9346 * elf/elf.h (DF_1_NODIRECT): New macro.
9347 (DF_1_IGNMULDEF): Likewise.
9348 (DF_1_NOKSYMS): Likewise.
9349 (DF_1_NOHDR): Likewise.
9350 (DF_1_EDITED): Likewise.
9351 (DF_1_NORELOC): Likewise.
9352 (DF_1_SYMINTPOSE): Likewise.
9353 (DF_1_GLOBAUDIT): Likewise.
9354 (DF_1_SINGLETON): Likewise.
9355 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
9356 DT_1_SUPPORTED_MASK bits.
9357 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
9358
105ce2ce
CD
93592012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
9360
9361 * sysdeps/unix/make-syscalls.sh: Document prefixes.
9362
123be9de
TS
93632012-11-20 Thomas Schwinge <thomas@codesourcery.com>
9364
d072f3f7
TS
9365 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
9366 macro.
9367
123be9de
TS
9368 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
9369 (sendmmsg): Move declarations...
9370 * socket/sys/socket.h: ... here.
9371 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
9372 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
9373 include it from...
9374 * socket/recvmmsg.c: ... this new file.
9375 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
9376 (sendmmsg): Rename to __sendmmsg, create weak alias and make
9377 definition of __sendmmsg hidden.
9378 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
9379 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
9380 Move ENOSYS stub into and include it from...
9381 * socket/sendmmsg.c: ... this new file.
9382 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
9383 (sysdep_routines): Move recvmmsg and sendmmsg...
9384 * socket/Makefile (routines): ... here.
9385 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
9386 (GLIBC_PRIVATE): Add __sendmmsg.
9387 * include/sys/socket.h (__sendmmsg): Add declarations.
9388 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
9389 sendmmsg.
9390
cf9a5d18
JM
93912012-11-20 Joseph Myers <joseph@codesourcery.com>
9392
9393 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
9394 variable I1 with __attribute__ ((unused)).
9395 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9396
ecd4caf9
JM
93972012-11-19 Joseph Myers <joseph@codesourcery.com>
9398
be14d48f
JM
9399 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
9400 DUMMY variables with __attribute__ ((unused)).
9401
ecd4caf9
JM
9402 * bits/byteswap.h: Include <bits/types.h>.
9403 (__bswap_64): Use __uint64_t instead of unsigned long long int.
9404
986cab95
PT
94052012-11-19 Pino Toscano <toscano.pino@tiscali.it>
9406
9407 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
9408 string_t. Do not manually set errno.
9409 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
9410 length with __strnlen. Make sure to both set errno and return it on
9411 failure.
9412
6d33cc9d
DM
94132012-11-19 David S. Miller <davem@davemloft.net>
9414
9415 With help from Joseph Myers.
9416 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
9417 very large arguments properly.
9418 * math/libm-test.inc (atan_test): New tests.
9419 (atan2_test): New tests.
9420 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9421 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9422
ee663277
JM
94232012-11-19 Joseph Myers <joseph@codesourcery.com>
9424
877f2d8e
JM
9425 [BZ #14856]
9426 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
9427 Define to 3.
9428
116fc08a
JM
9429 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
9430 [POSIX] (EADDRNOTAVAIL): Likewise.
9431 [POSIX] (EAFNOSUPPORT): Likewise.
9432 [POSIX] (EALREADY): Likewise.
9433 [POSIX] (ECONNABORTED): Likewise.
9434 [POSIX] (ECONNREFUSED): Likewise.
9435 [POSIX] (ECONNRESET): Likewise.
9436 [POSIX] (EDESTADDRREQ): Likewise.
9437 [POSIX] (EDQUOT): Likewise.
9438 [POSIX] (EHOSTUNREACH): Likewise.
9439 [POSIX] (EIDRM): Likewise.
9440 [POSIX] (EISCONN): Likewise.
9441 [POSIX] (ELOOP): Likewise.
9442 [POSIX] (EMULTIHOP): Likewise.
9443 [POSIX] (ENETDOWN): Likewise.
9444 [POSIX] (ENETUNREACH): Likewise.
9445 [POSIX] (ENOBUFS): Likewise.
9446 [POSIX] (ENODATA): Likewise.
9447 [POSIX] (ENOLINK): Likewise.
9448 [POSIX] (ENOMSG): Likewise.
9449 [POSIX] (ENOPROTOOPT): Likewise.
9450 [POSIX] (ENOSR): Likewise.
9451 [POSIX] (ENOSTR): Likewise.
9452 [POSIX] (ENOTCONN): Likewise.
9453 [POSIX] (ENOTSOCK): Likewise.
9454 [POSIX] (EOPNOTSUPP): Likewise.
9455 [POSIX] (EOVERFLOW): Likewise.
9456 [POSIX] (EPROTO): Likewise.
9457 [POSIX] (EPROTONOSUPPORT): Likewise.
9458 [POSIX] (EPROTOTYPE): Likewise.
9459 [POSIX] (ESTALE): Likewise.
9460 [POSIX] (ETIME): Likewise.
9461 [POSIX] (ETXTBSY): Likewise.
9462 [POSIX] (EWOULDBLOCK): Likewise.
9463 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
9464 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
9465 [POSIX] (SEEK_CUR): Likewise.
9466 [POSIX] (SEEK_END): Likewise.
9467 [POSIX || UNIX98] (mode_t): Do not require.
9468 [POSIX] (off_t): Likewise.
9469 [POSIX] (pid_t): Likewise.
9470 [POSIX] (sys/stat.h): Do not allow header.
9471 [POSIX] (unistd.h): Likewise.
9472 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
9473 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
9474 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
9475 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
9476 require.
9477 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
9478 sigevent): Specify elements.
9479 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
9480 entry.
9481 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
9482 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
9483
a483863f
JM
9484 * conform/data/cpio.h-data [POSIX]: Disable whole file.
9485 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
9486 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
9487 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
9488 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
9489 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
9490 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
9491 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
9492 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
9493 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
9494 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
9495 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
9496 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
9497 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
9498 Likewise.
9499 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
9500 Likewise.
9501 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
9502 Likewise.
9503 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
9504 Likewise.
9505 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
9506 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
9507 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
9508 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
9509 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
9510 Specify lower bound on value.
9511 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
9512 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
9513 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
9514 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
9515 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
9516 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
9517 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
9518 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
9519 value.
9520 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
9521 as optional.
9522 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
9523 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
9524 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
9525 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
9526 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
9527 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
9528 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
9529 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
9530 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
9531 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
9532 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
9533 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
9534 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
9535 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
9536 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
9537 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
9538 entry.
9539 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
9540 optional.
9541 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
9542 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
9543 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
9544 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
9545 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
9546 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
9547 Likewise.
9548 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
9549 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
9550 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
9551 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
9552 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
9553 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
9554 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
9555 as optional.
9556 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
9557 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
9558 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
9559 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
9560 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
9561 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
9562 specify as optional.
9563 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
9564 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
9565 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
9566 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
9567 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
9568 [XPG3] (NL_LANGMAX): Likewise.
9569 [POSIX || XPG3] (NL_MSGMAX): Likewise.
9570 [POSIX || XPG3] (NL_NMAX): Likewise.
9571 [POSIX || XPG3] (NL_SETMAX): Likewise.
9572 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
9573 [XPG3] (NZERO): Likewise.
9574 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
9575 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
9576 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
9577 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
9578 (REG_ERANGE): Expect.
9579 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
9580 optional-constant.
9581 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
9582 Use (void) in prototype.
9583 [POSIX] (*_t): Allow.
9584 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
9585 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
9586 (WRDE_BADVAL): Expect.
9587
5ba924e3
JM
9588 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
9589 expect.
9590 [XPG3 || XPG4] (O_RSYNC): Likewise.
9591 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
9592 Likewise.
9593 [XPG3 || XPG4] (pthread_sigmask): Likewise.
9594 [XPG3 || XPG4] (sigqueue): Likewise.
9595 [XPG3 || XPG4] (sigtimedwait): Likewise.
9596 [XPG3 || XPG4] (sigwaitinfo): Likewise.
9597 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
9598 [XPG3 || XPG4] (vsnprintf): Likewise.
9599 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
9600 Likewise.
9601 [XPG3 || XPG4] (blksize_t): Likewise.
9602 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
9603 Likewise.
9604 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
9605 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
9606 [XPG3 || XPG4] (struct itimerspec): Likewise.
9607 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
9608 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
9609 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
9610 [XPG3 || XPG4] (clockid_t): Likewise.
9611 [XPG3 || XPG4] (timer_t): Likewise.
9612 [XPG3 || XPG4] (clock_getres): Likewise.
9613 [XPG3 || XPG4] (clock_gettime): Likewise.
9614 [XPG3 || XPG4] (clock_settime): Likewise.
9615 [XPG3 || XPG4] (nanosleep): Likewise.
9616 [XPG3 || XPG4] (timer_create): Likewise.
9617 [XPG3 || XPG4] (timer_delete): Likewise.
9618 [XPG3 || XPG4] (timer_gettime): Likewise.
9619 [XPG3 || XPG4] (timer_getoverrun): Likewise.
9620 [XPG3 || XPG4] (timer_settime): Likewise.
9621 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
9622 [XPG3 || XPG4] (getlogin_r): Likewise.
9623 [XPG3 || XPG4] (pread): Likewise.
9624 [XPG3 || XPG4] (pthread_atfork): Likewise.
9625 [XPG3 || XPG4] (pwrite): Likewise.
9626
ee663277
JM
9627 [BZ #14835]
9628 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
9629 <bits/siginfo.h>.
9630
942caa16
PT
96312012-11-19 Pino Toscano <toscano.pino@tiscali.it>
9632
e19af380
PT
9633 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
9634 finalizing MALLSTREAM.
9635
942caa16
PT
9636 * sysdeps/mach/hurd/syncfs.c: New file.
9637
cfde9b46
SP
96382012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9639
9640 [BZ #14719]
9641 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
9642 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
9643 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
9644 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
9645 (_nss_dns_gethostbyname4_r): Likewise.
9646 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
9647 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
9648
f6da27e5
PH
96492012-11-19 Peng Haitao <penght@cn.fujitsu.com>
9650
9651 [BZ #13763]
9652 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
9653
6665d4a2
SM
96542012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
9655
1f51ee92
SM
9656 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
9657 * elf/cache.c (print_entry): Print ",AArch64" for
9658 FLAG_AARCH64_LIB64
9659
6665d4a2
SM
9660 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
9661 * elf/cache.c (print_entry): Print ",hard-float" for
9662 FLAG_ARM_LIBHF.
9663
05b227bd
DM
96642012-11-18 David S. Miller <davem@davemloft.net>
9665
9666 With help from Joseph Myers.
9667 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
9668 cutoff to 2**-13.
9669 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
9670 cutoff to 2**-25.
9671 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
9672 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
9673 small.
9674 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
9675 * math/libm-test.inc (y0_test): New tests.
9676 (y1_test): New tests.
9677 * sysdeps/i386/fpu/libm-test-ulps: Update.
9678 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9679 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9680
786b0b67
AS
96812012-11-18 Andreas Schwab <schwab@linux-m68k.org>
9682
9683 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
9684 64-bit targets.
9685 * configure: Regenerated.
9686
8e18b86d
DM
96872012-11-17 David S. Miller <davem@davemloft.net>
9688
9689 [BZ #14811]
9690 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
9691 nonzero exponents with absolute value below 0x1p-128 to +/-
9692 0x1p-128.
9693
531f1ae0
JM
96942012-11-17 Joseph Myers <joseph@codesourcery.com>
9695
12df29e2
JM
9696 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
9697
150dc1a0
JM
9698 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
9699
531f1ae0
JM
9700 * posix/getconf-speclist.c: New file.
9701 * posix/posix-envs.def: Likewise.
9702 * posix/confstr.c (START_ENV_GROUP): New macro.
9703 (END_ENV_GROUP): Likewise.
9704 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9705 (KNOWN_PRESENT_ENV_STRING): Likewise.
9706 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9707 (UNKNOWN_ENVIRONMENT): Likewise.
9708 (confstr): Include posix-envs.def instead of handling
9709 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
9710 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
9711 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
9712 (END_ENV_GROUP): Likewise.
9713 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9714 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9715 (UNKNOWN_ENVIRONMENT): Likewise.
9716 (__sysconf): Include posix-envs.def instead of handling associated
9717 cases directly here.
9718 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
9719 preprocessing getconf-speclist.c rather than running getconf or
9720 generating empty file.
9721
a93f9cbc
PT
97222012-11-16 Pino Toscano <toscano.pino@tiscali.it>
9723
9724 * scripts/check-local-headers.sh: Ignore 'mach' headers.
9725
d64d9f87
AL
97262012-11-16 Andrej Lajovic <natrij@gmail.com>
9727
9728 [BZ #14672]
9729 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
9730
447885eb
DM
97312012-11-16 David S. Miller <davem@davemloft.net>
9732
9733 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
9734 smaller than LDBL_EPSILON/2.0L, just return xm1.
9735
bcbf9830
L
97362012-11-16 H.J. Lu <hongjiu.lu@intel.com>
9737
9738 * elf/tst-array1.c (init): Set constructor priority to 1000.
9739 (fini): Set destructor priority to 1000.
9740 * elf/tst-array2dep.c: Likewise.
9741
2b766585
SP
97422012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9743
9744 [BZ #11741]
9745 * libio/fileops.c (_IO_new_file_write): Correctly return error.
9746 (_IO_new_file_xsputn): Also return EOF if none of the input
9747 data was written when overflow failed.
9748 * libio/iopadn.c (_IO_padn): Likewise.
9749 * libio/iowpadn.c (_IO_wpadn): Likewise.
9750 * stdio-common/tst-put-error.c: Add copyright notice.
9751 (do_test): Add case for printing padded string.
9752 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
9753 _IO_padn returned error.
9754 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
9755 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
9756 return EOF.
9757
b1848fde
SP
97582012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9759
9760 * libio/libioP.h: Add comment note that the references to C++
9761 bits are now obsolete.
9762
2fd89785
MS
97632012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9764
9765 * math/libm-test.inc (check_complex): Use asprintf.
9766
e3ea5409
JM
97672012-11-14 Joseph Myers <joseph@codesourcery.com>
9768
9769 * debug/pcprofiledump.c (print_version): Update copyright year.
9770 * malloc/memusagestat.c (print_version): Likewise.
9771
2e64d265
L
97722012-11-14 H.J. Lu <hongjiu.lu@intel.com>
9773
9774 [BZ #14831]
9775 * elf/Makefile (tests): Add tst-audit8.
9776 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
9777 ($(objpfx)tst-audit8.out): New target.
9778 (tst-audit8-ENV): New variable.
9779 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
9780 audit if l_reloc_result is NULL.
9781 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
9782 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
9783 * elf/tst-audit8.c: New file.
9784
c485e4d2
MS
97852012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9786
9787 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
9788 * misc/Makefile (CFLAGS-select.c): Define.
9789 * posix/Makefile (CFLAGS-pause.c): Define.
9790
3a0d900a
DM
97912012-11-13 David S. Miller <davem@davemloft.net>
9792
9793 * crypt/Makefile: Move test targets after toplevel Rules
9794 inclusion. Grab any necessary sysdep routines when linking.
9795 * crypt/md5.c (md5_process_block): Remove define, we will always
9796 name it __md5_process_block.
9797 (md5_finish_ctx): Update md5_process_block call.
9798 (md5_stream): Likewise.
9799 (md5_process_bytes): Likewise.
9800 (md5_process_block): Rename to __md5_process_block and move to ...
9801 * crypt/md5-block.c: ... here.
9802 * crypt/sha256.c (sha256_process_block): Move to ...
9803 * crypt/sha256-block.c: ... here.
9804 * crypt/sha512.c (sha512_process_block): Move to ...
9805 * crypt/sha512-block.c: ... here.
9806 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
9807 path.
9808 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
9809 * sysdeps/sparc/sparc64/multiarch/Makefile
9810 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
9811 crypt subdir.
9812 (localedef-aux): Add md5 crypto assembler when in locale subdir.
9813 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
9814 multiarch changes.
9815 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
9816 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
9817 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
9818 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
9819 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
9820 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
9821 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
9822 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
9823 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
9824 file.
9825 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
9826 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
9827 file.
9828 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
9829
8ca89318
JM
98302012-11-13 Joseph Myers <joseph@codesourcery.com>
9831
e27d476a
JM
9832 * timezone/tzselect.ksh: Update from tzcode git revision
9833 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
9834 * timezone/zdump.c: Likewise.
9835 * timezone/zic.c: Likewise.
9836 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
9837 in TZVERSION setting, not $(PKGVERSION).
9838 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
9839 REPORT_BUGS_TO settings.
9840
8ca89318
JM
9841 [BZ #14838]
9842 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
9843 macro.
9844
47594329
MS
98452012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9846
9847 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
9848 detection to immediately after _FP_ROUND().
9849 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
9850 bits are 0.
9851
640ac3f1
DM
98522012-11-11 David S. Miller <davem@davemloft.net>
9853
9854 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
9855 inttypes.h
9856 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
9857 __close rather than their public counterparts.
9858
3d2577bb
JM
98592012-11-10 Joseph Myers <joseph@codesourcery.com>
9860
9861 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
9862 file.
9863 [UNIX98] (sem_timedwait): Do not expect.
9864 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
9865 [XPG4 || UNIX98] (sockatmark): Do not expect.
9866 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
9867 (clock_getcpuclockid): Do not expect.
9868 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
9869 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
9870 Do not expect.
9871 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
9872 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
9873 [UNIX98] (vwscanf): Likewise.
9874 [UNIX98] (vswscanf): Likewise.
9875
fb1ae1ee
JM
98762012-11-09 Joseph Myers <joseph@codesourcery.com>
9877
9ec6f8bd
JM
9878 * timezone/version.h: Remove file.
9879 * timezone/README: Do not refer to version.h.
9880 * timezone/Makefile ($(objpfx)zic.o): New dependency on
9881 $(objpfx)version.h.
9882 ($(objpfx)zdump.o): Likewise.
c3f81911 9883 ($(objpfx)version.h): New target.
9ec6f8bd 9884
0aa8f8a1
JM
9885 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
9886 2012i.
9887 * timezone/README: Don't mention modification to tzselect.ksh.
9888 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
9889 work on unmodified tzselect.ksh. Substitute version numbers in
9890 tzselect.ksh.
9891
4e87147f
JM
9892 * Makefile (format-me): Remove.
9893 (INSTALL): Adjust indentation. Use commands directly instead of
9894 using $(format-me).
9895
8b748aed
JM
9896 * aclocal.m4 (ACX_PKGVERSION): New macro.
9897 (ACX_BUGURL): Likewise.
9898 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
9899 (PKGVERSION): New AC_DEFINE_UNQUOTED.
9900 (REPORT_BUGS_TO): Likewise.
9901 * configure: Regenerated.
9902 * config.h.in (PKGVERSION): New macro.
9903 (REPORT_BUGS_TO): Likewise.
9904 * config.make.in (PKGVERSION): New variable.
9905 (PKGVERSION_TEXI): Likewise.
9906 (REPORT_BUGS_TO): Likewise.
9907 (REPORT_BUGS_TEXI): Likewise.
9908 * Makefile (format-me): Use -I$(common-objpfx)manual.
9909 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
9910 ($(common-objpfx)manual/%): New target.
9911 (manual/%): Remove target.
9912 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
9913 (print_version): Use PKGVERSION.
9914 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
9915 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
9916 and REPORT_BUGS_TO.
9917 ($(objpfx)xtrace): Likewise.
9918 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
9919 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
9920 (print_version): Use PKGVERSION.
9921 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
9922 (do_version): Use PKGVERSION.
9923 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
9924 REPORT_BUGS_TO.
9925 (common-ldd-rewrite): Likewise.
9926 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
9927 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
9928 (print_version): Use PKGVERSION.
9929 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
9930 * elf/pldd.c (argp_program_bug_address): Remove variable.
9931 (more_help): New function.
9932 (argp): Use more_help.
9933 (print_version): Use PKGVERSION.
9934 * elf/sln.c (main): Use PKGVERSION.
9935 (usage): Use REPORT_BUGS_TO.
9936 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
9937 (top level): Use PKGVERSION.
9938 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
9939 (print_version): Use PKGVERSION.
9940 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
9941 (print_version): Use PKGVERSION.
9942 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
9943 (print_version): Use PKGVERSION.
9944 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
9945 (print_version): Use PKGVERSION.
9946 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
9947 (print_version): Use PKGVERSION.
9948 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
9949 (print_version): Use PKGVERSION.
9950 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
9951 and BUGURL.
9952 ($(objpfx)memusage): Likewise.
9953 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
9954 (do_version): Use PKGVERSION.
9955 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
9956 (print_version): Use PKGVERSION.
9957 * malloc/mtrace.pl ($PACKAGE): Remove variable.
9958 ($PKGVERSION): New variable.
9959 ($REPORT_BUGS_TO): Likewise.
9960 (usage): Use $REPORT_BUGS_TO.
9961 (top level): Use $PKGVERSION.
9962 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
9963 ($(objpfx)pkgvers.texi): New rule.
9964 ($(objpfx)stamp-pkgvers): Likewise.
9965 * manual/install.texi: Include pkgvers.texi.
9966 (--with-pkgversion): Document new configure option.
9967 (--with-bugurl): Likewise.
9968 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
9969 than necessarily for this particular distribution. Use
9970 REPORT_BUGS_TO for where to report bugs.
9971 * INSTALL: Regenerated.
9972 * manual/libc.texinfo: Include pkgvers.texi.
9973 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
9974 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
9975 (print_version): Use PKGVERSION.
9976 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
9977 (print_version): Use PKGVERSION.
9978 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
9979 (print_version): Use PKGVERSION.
9980 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
9981 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
9982 macro.
9983 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
9984 (print_version): Use PKGVERSION.
9985 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
9986 (print_version): Use PKGVERSION.
9987 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
9988 and PKGVERSION.
9989
92e4b6a9
JM
9990 * timezone/checktab.awk: Update from tzcode 2012i.
9991 * timezone/ialloc.c: Likewise.
9992 * timezone/private.h: Likewise.
9993 * timezone/scheck.c: Likewise.
9994 * timezone/tzfile.h: Likewise.
9995 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
9996 (TZVERSION): Hardcode tzcode version number.
9997 * timezone/zdump.c: Update from tzcode 2012i.
9998 * timezone/zic.c: Likewise.
9999 * timezone/version.h: New file.
10000 * timezone/README: Describe version.h. Update upstream location.
10001
9bde902c
JM
10002 [BZ #14824]
10003 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
10004 (mktemp): Enable declaration.
10005 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
10006 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
10007 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
10008 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
10009 Likewise.
10010 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
10011 Likewise.
10012 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
10013 Likewise.
10014 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
10015 Likewise.
10016 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
10017 Likewise.
10018 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
10019 Likewise.
10020
fb1ae1ee
JM
10021 [BZ #14821]
10022 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
10023 offset in buffer as u_int32_t not u_long. Consistently use memcpy
10024 for copies of such integer values.
10025 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
10026 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
10027
2c1adbcb
AJ
100282012-11-09 Andreas Jaeger <aj@suse.de>
10029
10030 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
10031 definitions and declarations that are provided by
10032 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
10033
d0f8457e
AK
100342012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10035
3a235abb 10036 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
10037 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
10038 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
10039 definition.
10040
57241e26
MS
100412012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10042
10043 * elf/elf.h: Update comment before AArch64 relocations.
10044
60e8270d
DM
100452012-11-07 David S. Miller <davem@davemloft.net>
10046
10047 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
10048 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
10049 (__start_context): Declare.
10050 (__makecontext_ret): Delete.
10051 (__makecontext): Hook up __start_context instead of
10052 __makecontext_ret.
10053 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
10054 (sysdep_routines): Add __start_context when in stdlib.
10055
0fbb0fbc
JM
100562012-11-07 Joseph Myers <joseph@codesourcery.com>
10057
10058 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
10059 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
10060 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
10061 hardcoded "nm".
10062 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
10063 (READELF): New variable. Use it instead of hardcoded "readelf".
10064
eb48db7e
L
100652012-11-07 H.J. Lu <hongjiu.lu@intel.com>
10066
10067 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
10068 * sysdeps/x86/Makefile: Here.
10069 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
10070 * sysdeps/x86/tst-xmmymm.sh: This.
10071
05bcf62a
JM
100722012-11-07 Joseph Myers <joseph@codesourcery.com>
10073
c4b6cf53
JM
10074 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
10075 expectations.
10076 [UNIX98] (pthread_barrier_t): Do not expect.
10077 [UNIX98] (pthread_barrierattr_t): Likewise.
10078 [UNIX98] (pthread_spinlock_t): Likewise.
10079 [UNIX98] (pthread_barrier_destroy): Likewise.
10080 [UNIX98] (pthread_barrier_init): Likewise.
10081 [UNIX98] (pthread_barrier_wait): Likewise.
10082 [UNIX98] (pthread_barrierattr_destroy): Likewise.
10083 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
10084 [UNIX98] (pthread_barrierattr_init): Likewise.
10085 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
10086 [UNIX98] (pthread_getcpuclockid): Likewise.
10087 [UNIX98] (pthread_mutex_timedlock): Likewise.
10088 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
10089 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
10090 [UNIX98] (pthread_sigmask): Likewise.
10091 [UNIX98] (pthread_spin_destroy): Likewise.
10092 [UNIX98] (pthread_spin_init): Likewise.
10093 [UNIX98] (pthread_spin_lock): Likewise.
10094 [UNIX98] (pthread_spin_trylock): Likewise.
10095 [UNIX98] (pthread_spin_unlock): Likewise.
10096 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
10097 Do not expect.
10098 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
10099 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
10100 [XPG3 || XPG4] (pthread_cond_t): Likewise.
10101 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
10102 [XPG3 || XPG4] (pthread_key_t): Likewise.
10103 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
10104 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
10105 [XPG3 || XPG4] (pthread_once_t): Likewise.
10106 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
10107 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
10108 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
10109 [XPG3 || XPG4] (pthread_t): Likewise.
10110
cbe6e120
JM
10111 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
10112 not expect.
10113 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
10114
1b126443
JM
10115 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
10116 Change function return type to int.
10117
b961a573
JM
10118 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
10119 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
10120 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
10121 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
10122 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
10123 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
10124 [!POSIX] (posix_madvise): Likewise.
10125 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
10126 && !UNIX98].
10127 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
10128 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
10129 (mode_t): Likewise.
10130 (posix_mem_offset): Likewise.
10131 (posix_typed_mem_get_info): Likewise.
10132 (posix_typed_mem_open): Likewise.
10133
9e188909
JM
10134 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
10135 Change condition to [XOPEN2K8].
10136
05bcf62a
JM
10137 * conform/conformtest.pl: Preprocess allow-header data with -x c
10138 instead of from stdin.
10139 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
10140 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
10141 [C99-based standards] (cerfc): Likewise.
10142 [C99-based standards] (cexp2): Likewise.
10143 [C99-based standards] (cexpm1): Likewise.
10144 [C99-based standards] (clog10): Likewise.
10145 [C99-based standards] (clog1p): Likewise.
10146 [C99-based standards] (clog2): Likewise.
10147 [C99-based standards] (clgamma): Likewise.
10148 [C99-based standards] (ctgamma): Likewise.
10149 [C99-based standards] (cerff): Likewise.
10150 [C99-based standards] (cerfcf): Likewise.
10151 [C99-based standards] (cexp2f): Likewise.
10152 [C99-based standards] (cexpm1f): Likewise.
10153 [C99-based standards] (clog10f): Likewise.
10154 [C99-based standards] (clog1pf): Likewise.
10155 [C99-based standards] (clog2f): Likewise.
10156 [C99-based standards] (clgammaf): Likewise.
10157 [C99-based standards] (ctgammaf): Likewise.
10158 [C99-based standards] (cerfl): Likewise.
10159 [C99-based standards] (cerfcl): Likewise.
10160 [C99-based standards] (cexp2l): Likewise.
10161 [C99-based standards] (cexpm1l): Likewise.
10162 [C99-based standards] (clog10l): Likewise.
10163 [C99-based standards] (clog1pl): Likewise.
10164 [C99-based standards] (clog2l): Likewise.
10165 [C99-based standards] (clgammal): Likewise.
10166 [C99-based standards] (ctgammal): Likewise.
10167 * conform/data/inttypes.h-data [C99-based standards]: Include
10168 stdint.h-data. Remove all expectations for stdint.h contents.
10169 [C99-based standards] (PRI*): Do not allow.
10170 [C99-based standards] (SCN*): Likewise.
10171 [C99-based standards] (*_t): Likewise.
10172 [C99-based-standards] (PRId8): Expect macro.
10173 [C99-based-standards] (PRIi8): Likewise.
10174 [C99-based-standards] (PRIo8): Likewise.
10175 [C99-based-standards] (PRIu8): Likewise.
10176 [C99-based-standards] (PRIx8): Likewise.
10177 [C99-based-standards] (PRIX8): Likewise.
10178 [C99-based-standards] (SCNd8): Likewise.
10179 [C99-based-standards] (SCNi8): Likewise.
10180 [C99-based-standards] (SCNo8): Likewise.
10181 [C99-based-standards] (SCNu8): Likewise.
10182 [C99-based-standards] (SCNx8): Likewise.
10183 [C99-based-standards] (PRIdLEAST8): Likewise.
10184 [C99-based-standards] (PRIiLEAST8): Likewise.
10185 [C99-based-standards] (PRIoLEAST8): Likewise.
10186 [C99-based-standards] (PRIuLEAST8): Likewise.
10187 [C99-based-standards] (PRIxLEAST8): Likewise.
10188 [C99-based-standards] (PRIXLEAST8): Likewise.
10189 [C99-based-standards] (SCNdLEAST8): Likewise.
10190 [C99-based-standards] (SCNiLEAST8): Likewise.
10191 [C99-based-standards] (SCNoLEAST8): Likewise.
10192 [C99-based-standards] (SCNuLEAST8): Likewise.
10193 [C99-based-standards] (SCNxLEAST8): Likewise.
10194 [C99-based-standards] (PRIdFAST8): Likewise.
10195 [C99-based-standards] (PRIiFAST8): Likewise.
10196 [C99-based-standards] (PRIoFAST8): Likewise.
10197 [C99-based-standards] (PRIuFAST8): Likewise.
10198 [C99-based-standards] (PRIxFAST8): Likewise.
10199 [C99-based-standards] (PRIXFAST8): Likewise.
10200 [C99-based-standards] (SCNdFAST8): Likewise.
10201 [C99-based-standards] (SCNiFAST8): Likewise.
10202 [C99-based-standards] (SCNoFAST8): Likewise.
10203 [C99-based-standards] (SCNuFAST8): Likewise.
10204 [C99-based-standards] (SCNxFAST8): Likewise.
10205 [C99-based-standards] (PRId16): Likewise.
10206 [C99-based-standards] (PRIi16): Likewise.
10207 [C99-based-standards] (PRIo16): Likewise.
10208 [C99-based-standards] (PRIu16): Likewise.
10209 [C99-based-standards] (PRIx16): Likewise.
10210 [C99-based-standards] (PRIX16): Likewise.
10211 [C99-based-standards] (SCNd16): Likewise.
10212 [C99-based-standards] (SCNi16): Likewise.
10213 [C99-based-standards] (SCNo16): Likewise.
10214 [C99-based-standards] (SCNu16): Likewise.
10215 [C99-based-standards] (SCNx16): Likewise.
10216 [C99-based-standards] (PRIdLEAST16): Likewise.
10217 [C99-based-standards] (PRIiLEAST16): Likewise.
10218 [C99-based-standards] (PRIoLEAST16): Likewise.
10219 [C99-based-standards] (PRIuLEAST16): Likewise.
10220 [C99-based-standards] (PRIxLEAST16): Likewise.
10221 [C99-based-standards] (PRIXLEAST16): Likewise.
10222 [C99-based-standards] (SCNdLEAST16): Likewise.
10223 [C99-based-standards] (SCNiLEAST16): Likewise.
10224 [C99-based-standards] (SCNoLEAST16): Likewise.
10225 [C99-based-standards] (SCNuLEAST16): Likewise.
10226 [C99-based-standards] (SCNxLEAST16): Likewise.
10227 [C99-based-standards] (PRIdFAST16): Likewise.
10228 [C99-based-standards] (PRIiFAST16): Likewise.
10229 [C99-based-standards] (PRIoFAST16): Likewise.
10230 [C99-based-standards] (PRIuFAST16): Likewise.
10231 [C99-based-standards] (PRIxFAST16): Likewise.
10232 [C99-based-standards] (PRIXFAST16): Likewise.
10233 [C99-based-standards] (SCNdFAST16): Likewise.
10234 [C99-based-standards] (SCNiFAST16): Likewise.
10235 [C99-based-standards] (SCNoFAST16): Likewise.
10236 [C99-based-standards] (SCNuFAST16): Likewise.
10237 [C99-based-standards] (SCNxFAST16): Likewise.
10238 [C99-based-standards] (PRId32): Likewise.
10239 [C99-based-standards] (PRIi32): Likewise.
10240 [C99-based-standards] (PRIo32): Likewise.
10241 [C99-based-standards] (PRIu32): Likewise.
10242 [C99-based-standards] (PRIx32): Likewise.
10243 [C99-based-standards] (PRIX32): Likewise.
10244 [C99-based-standards] (SCNd32): Likewise.
10245 [C99-based-standards] (SCNi32): Likewise.
10246 [C99-based-standards] (SCNo32): Likewise.
10247 [C99-based-standards] (SCNu32): Likewise.
10248 [C99-based-standards] (SCNx32): Likewise.
10249 [C99-based-standards] (PRIdLEAST32): Likewise.
10250 [C99-based-standards] (PRIiLEAST32): Likewise.
10251 [C99-based-standards] (PRIoLEAST32): Likewise.
10252 [C99-based-standards] (PRIuLEAST32): Likewise.
10253 [C99-based-standards] (PRIxLEAST32): Likewise.
10254 [C99-based-standards] (PRIXLEAST32): Likewise.
10255 [C99-based-standards] (SCNdLEAST32): Likewise.
10256 [C99-based-standards] (SCNiLEAST32): Likewise.
10257 [C99-based-standards] (SCNoLEAST32): Likewise.
10258 [C99-based-standards] (SCNuLEAST32): Likewise.
10259 [C99-based-standards] (SCNxLEAST32): Likewise.
10260 [C99-based-standards] (PRIdFAST32): Likewise.
10261 [C99-based-standards] (PRIiFAST32): Likewise.
10262 [C99-based-standards] (PRIoFAST32): Likewise.
10263 [C99-based-standards] (PRIuFAST32): Likewise.
10264 [C99-based-standards] (PRIxFAST32): Likewise.
10265 [C99-based-standards] (PRIXFAST32): Likewise.
10266 [C99-based-standards] (SCNdFAST32): Likewise.
10267 [C99-based-standards] (SCNiFAST32): Likewise.
10268 [C99-based-standards] (SCNoFAST32): Likewise.
10269 [C99-based-standards] (SCNuFAST32): Likewise.
10270 [C99-based-standards] (SCNxFAST32): Likewise.
10271 [C99-based-standards] (PRId64): Likewise.
10272 [C99-based-standards] (PRIi64): Likewise.
10273 [C99-based-standards] (PRIo64): Likewise.
10274 [C99-based-standards] (PRIu64): Likewise.
10275 [C99-based-standards] (PRIx64): Likewise.
10276 [C99-based-standards] (PRIX64): Likewise.
10277 [C99-based-standards] (SCNd64): Likewise.
10278 [C99-based-standards] (SCNi64): Likewise.
10279 [C99-based-standards] (SCNo64): Likewise.
10280 [C99-based-standards] (SCNu64): Likewise.
10281 [C99-based-standards] (SCNx64): Likewise.
10282 [C99-based-standards] (PRIdLEAST64): Likewise.
10283 [C99-based-standards] (PRIiLEAST64): Likewise.
10284 [C99-based-standards] (PRIoLEAST64): Likewise.
10285 [C99-based-standards] (PRIuLEAST64): Likewise.
10286 [C99-based-standards] (PRIxLEAST64): Likewise.
10287 [C99-based-standards] (PRIXLEAST64): Likewise.
10288 [C99-based-standards] (SCNdLEAST64): Likewise.
10289 [C99-based-standards] (SCNiLEAST64): Likewise.
10290 [C99-based-standards] (SCNoLEAST64): Likewise.
10291 [C99-based-standards] (SCNuLEAST64): Likewise.
10292 [C99-based-standards] (SCNxLEAST64): Likewise.
10293 [C99-based-standards] (PRIdFAST64): Likewise.
10294 [C99-based-standards] (PRIiFAST64): Likewise.
10295 [C99-based-standards] (PRIoFAST64): Likewise.
10296 [C99-based-standards] (PRIuFAST64): Likewise.
10297 [C99-based-standards] (PRIxFAST64): Likewise.
10298 [C99-based-standards] (PRIXFAST64): Likewise.
10299 [C99-based-standards] (SCNdFAST64): Likewise.
10300 [C99-based-standards] (SCNiFAST64): Likewise.
10301 [C99-based-standards] (SCNoFAST64): Likewise.
10302 [C99-based-standards] (SCNuFAST64): Likewise.
10303 [C99-based-standards] (SCNxFAST64): Likewise.
10304 [C99-based-standards] (PRIdMAX): Likewise.
10305 [C99-based-standards] (PRIiMAX): Likewise.
10306 [C99-based-standards] (PRIoMAX): Likewise.
10307 [C99-based-standards] (PRIuMAX): Likewise.
10308 [C99-based-standards] (PRIxMAX): Likewise.
10309 [C99-based-standards] (PRIXMAX): Likewise.
10310 [C99-based-standards] (SCNdMAX): Likewise.
10311 [C99-based-standards] (SCNiMAX): Likewise.
10312 [C99-based-standards] (SCNoMAX): Likewise.
10313 [C99-based-standards] (SCNuMAX): Likewise.
10314 [C99-based-standards] (SCNxMAX): Likewise.
10315 [C99-based-standards] (PRIdPTR): Likewise.
10316 [C99-based-standards] (PRIiPTR): Likewise.
10317 [C99-based-standards] (PRIoPTR): Likewise.
10318 [C99-based-standards] (PRIuPTR): Likewise.
10319 [C99-based-standards] (PRIxPTR): Likewise.
10320 [C99-based-standards] (PRIXPTR): Likewise.
10321 [C99-based-standards] (SCNdPTR): Likewise.
10322 [C99-based-standards] (SCNiPTR): Likewise.
10323 [C99-based-standards] (SCNoPTR): Likewise.
10324 [C99-based-standards] (SCNuPTR): Likewise.
10325 [C99-based-standards] (SCNxPTR): Likewise.
10326 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
10327 allow.
10328 * conform/data/stdint.h-data: Update comments to clarify
10329 requirements.
10330 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
10331 type.
10332 [C99-based standards] (INT8_MAX): Likewise.
10333 [C99-based standards] (INT16_MIN): Likewise.
10334 [C99-based standards] (INT16_MAX): Likewise.
10335 [C99-based standards] (INT32_MIN): Likewise.
10336 [C99-based standards] (INT32_MAX): Likewise.
10337 [C99-based standards] (INT64_MIN): Likewise.
10338 [C99-based standards] (INT64_MAX): Likewise.
10339 [C99-based standards] (UINT8_MAX): Likewise.
10340 [C99-based standards] (UINT16_MAX): Likewise.
10341 [C99-based standards] (UINT32_MAX): Likewise.
10342 [C99-based standards] (UINT64_MAX): Likewise.
10343 [C99-based standards] (INT_LEAST8_MIN): Likewise.
10344 [C99-based standards] (INT_LEAST8_MAX): Likewise.
10345 [C99-based standards] (INT_LEAST16_MIN): Likewise.
10346 [C99-based standards] (INT_LEAST16_MAX): Likewise.
10347 [C99-based standards] (INT_LEAST32_MIN): Likewise.
10348 [C99-based standards] (INT_LEAST32_MAX): Likewise.
10349 [C99-based standards] (INT_LEAST64_MIN): Likewise.
10350 [C99-based standards] (INT_LEAST64_MAX): Likewise.
10351 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
10352 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
10353 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
10354 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
10355 [C99-based standards] (INT_FAST8_MIN): Likewise.
10356 [C99-based standards] (INT_FAST8_MAX): Likewise.
10357 [C99-based standards] (INT_FAST16_MIN): Likewise.
10358 [C99-based standards] (INT_FAST16_MAX): Likewise.
10359 [C99-based standards] (INT_FAST32_MIN): Likewise.
10360 [C99-based standards] (INT_FAST32_MAX): Likewise.
10361 [C99-based standards] (INT_FAST64_MIN): Likewise.
10362 [C99-based standards] (INT_FAST64_MAX): Likewise.
10363 [C99-based standards] (UINT_FAST8_MAX): Likewise.
10364 [C99-based standards] (UINT_FAST16_MAX): Likewise.
10365 [C99-based standards] (UINT_FAST32_MAX): Likewise.
10366 [C99-based standards] (UINT_FAST64_MAX): Likewise.
10367 [C99-based standards] (INTPTR_MIN): Likewise.
10368 [C99-based standards] (INTPTR_MAX): Likewise.
10369 [C99-based standards] (UINTPTR_MAX): Likewise.
10370 [C99-based standards] (INTMAX_MIN): Likewise.
10371 [C99-based standards] (INTMAX_MAX): Likewise.
10372 [C99-based standards] (UINTMAX_MAX): Likewise.
10373 [C99-based standards] (PTRDIFF_MIN): Likewise.
10374 [C99-based standards] (PTRDIFF_MAX): Likewise.
10375 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
10376 [C99-based standards] (SIZE_MAX): Likewise.
10377 [C99-based standards] (WCHAR_MAX): Likewise.
10378 [C99-based standards] (WINT_MAX): Likewise.
10379 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
10380 constraint on value.
10381 [C99-based standards] (WCHAR_MIN): Likewise.
10382 [C99-based standards] (WINT_MIN): Likewise.
10383 [C99-based standards] (*_t): Allow.
10384 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
10385 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
10386 Include math.h-data and complex.h-data. Remove all expectations
10387 of math.h and complex.h contents.
10388 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
10389 at end of line.
10390 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
10391 (struct tm): Expect tag.
10392 [C99-based-standards] (wcstof): Expect function.
10393 [C99-based-standards] (wcstold): Likewise.
10394 [C99-based-standards] (wcstoll): Likewise.
10395 [C99-based-standards] (wcstoull): Likewise.
10396 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
10397 macro-int-constant. Specify type.
10398 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
10399 constraint on value.
10400 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
10401 Specify type.
10402 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
10403 Specify value.
10404 [ISO C standards]: Do not allow headers.
10405 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
10406 wcs[abcdefghijklmnopqrstuvwxyz]*.
10407 [ISO C standards] (*_t): Do not allow.
10408 * conform/data/wctype.h-data [C99-based standards] (iswblank):
10409 Expect function.
10410 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
10411 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
10412 Specify type.
10413 [ISO C standards]: Do not allow headers.
10414 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
10415 is[abcdefghijklmnopqrstuvwxyz]*.
10416 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
10417 to[abcdefghijklmnopqrstuvwxyz]*.
10418 [ISO C standards] (*_t): Do not allow.
10419 * conform/data/stdalign.h-data: New file.
10420 * conform/data/stdbool.h-data: Likewise.
10421 * conform/data/stdnoreturn.h-data: Likewise.
10422
7514feb8
RM
104232012-11-07 Roland McGrath <roland@hack.frob.com>
10424
10425 [BZ #14815]
10426 * manual/filesys.texi (Directory Entries): Typo fix.
10427 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
10428
19b2ecfc
MS
104292012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10430
10431 * elf/elf.h (EM_AARCH64): New macro.
10432 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
10433 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
10434 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
10435 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
10436 (R_AARCH64_TLSDESC): Likewise.
10437 (NT_ARM_TLS): Likewise.
10438 (NT_ARM_HW_BREAK): Likewise.
10439 (NT_ARM_HW_WATCH): Likewise.
10440
60e235ee
JM
104412012-11-07 Joseph Myers <joseph@codesourcery.com>
10442
10443 [BZ #14811]
10444 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
10445 (__ieee754_powl): Saturate nonzero exponents with absolute value
10446 below 0x1p-79 to +/- 0x1p-79.
10447 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
10448 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
10449 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
10450 nonzero exponents with absolute value below 0x1p-32 to +/-
10451 0x1p-32.
10452 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
10453 (__ieee754_powl): Saturate nonzero exponents with absolute value
10454 below 0x1p-79 to +/- 0x1p-79.
10455 * math/libm-test.inc (pow_test): Add more tests.
10456
0ab234b7
AK
104572012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10458
10459 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
10460 _dl_s390_cap_flags with kernel. Increase string length.
10461 (_dl_s390_platforms): Add z196 and zEC12.
10462
45832f74
JM
104632012-11-07 Joseph Myers <joseph@codesourcery.com>
10464
10465 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
10466 Change XOPEN21K to XOPEN2K.
10467
19218757
MK
104682012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
10469
10470 * string/memmove.c: Use memcpy when possible.
10471
c5f45721
AJ
104722012-11-06 Andreas Jaeger <aj@suse.de>
10473
10474 * po/eo.po: Update from translation team.
10475
82477c28
JM
104762012-11-06 Joseph Myers <joseph@codesourcery.com>
10477
10478 [BZ #14793]
10479 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
10480 exponent and small x and y exponents, scale x or y up. Increase
10481 by 2 the exponent used in scaling up.
10482 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10483 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10484 * math/libm-test.inc (fma_test): Add more tests.
10485 (fma_test_towardzero): Likewise.
10486 (fma_test_downward): Likewise.
10487 (fma_test_upward): Likewise.
10488
99252c8c
JM
104892012-11-05 Joseph Myers <joseph@codesourcery.com>
10490
acfa885f
JM
10491 [BZ #14805]
10492 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
10493 fenv_t *.
10494
99252c8c
JM
10495 [BZ #14801]
10496 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
10497 namespace for names of struct fields.
10498 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
10499 fenv_t fields.
10500 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
10501 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
10502
d6d98dea
ST
105032012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
10504
10505 [BZ #3665]
10506 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
10507
e10bb107
TS
105082012-11-04 Thomas Schwinge <thomas@codesourcery.com>
10509
10510 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
10511 PTR_DEMANGLE.
10512
10513 [BZ #5246]
10514 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
10515 PTR_DEMANGLE.
10516
a0c2940d
JM
105172012-11-04 Joseph Myers <joseph@codesourcery.com>
10518
10519 [BZ #14797]
10520 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
10521 definitely overflow as x * y not x * y + z.
10522 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10523 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10524 * math/libm-test.inc (fma_test): Add more tests.
10525 (fma_test_towardzero): Likewise.
10526 (fma_test_downward): Likewise.
10527 (fma_test_upward): Likewise.
10528
b830319d
TS
105292012-11-04 Thomas Schwinge <thomas@codesourcery.com>
10530
10531 [BZ #157]
10532
10533 * include/stub-tag.h: Remove file.
10534 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
10535 '#include' of it.
10536 * manual/maint.texi (Porting): Don't reference it.
10537 * Makerules ($(objpfx)stubs): Likewise.
10538 * dirent/closedir.c: Don't include <stub-tag.h>.
10539 * dirent/dirfd.c: Likewise.
10540 * dirent/fdopendir.c: Likewise.
10541 * dirent/getdents.c: Likewise.
10542 * dirent/getdents64.c: Likewise.
10543 * dirent/opendir.c: Likewise.
10544 * dirent/readdir.c: Likewise.
10545 * dirent/readdir64.c: Likewise.
10546 * dirent/readdir64_r.c: Likewise.
10547 * dirent/readdir_r.c: Likewise.
10548 * dirent/rewinddir.c: Likewise.
10549 * dirent/seekdir.c: Likewise.
10550 * dirent/telldir.c: Likewise.
10551 * gmon/profil.c: Likewise.
10552 * grp/setgroups.c: Likewise.
10553 * inet/if_index.c: Likewise.
10554 * io/access.c: Likewise.
10555 * io/chdir.c: Likewise.
10556 * io/chmod.c: Likewise.
10557 * io/chown.c: Likewise.
10558 * io/close.c: Likewise.
10559 * io/dup.c: Likewise.
10560 * io/dup2.c: Likewise.
10561 * io/dup3.c: Likewise.
10562 * io/euidaccess.c: Likewise.
10563 * io/faccessat.c: Likewise.
10564 * io/fchdir.c: Likewise.
10565 * io/fchmod.c: Likewise.
10566 * io/fchmodat.c: Likewise.
10567 * io/fchown.c: Likewise.
10568 * io/fchownat.c: Likewise.
10569 * io/fcntl.c: Likewise.
10570 * io/flock.c: Likewise.
10571 * io/fstatfs.c: Likewise.
10572 * io/fstatfs64.c: Likewise.
10573 * io/fstatvfs.c: Likewise.
10574 * io/fstatvfs64.c: Likewise.
10575 * io/futimens.c: Likewise.
10576 * io/fxstat.c: Likewise.
10577 * io/fxstat64.c: Likewise.
10578 * io/fxstatat.c: Likewise.
10579 * io/fxstatat64.c: Likewise.
10580 * io/getcwd.c: Likewise.
10581 * io/isatty.c: Likewise.
10582 * io/lchmod.c: Likewise.
10583 * io/lchown.c: Likewise.
10584 * io/link.c: Likewise.
10585 * io/linkat.c: Likewise.
10586 * io/lseek.c: Likewise.
10587 * io/lseek64.c: Likewise.
10588 * io/lxstat64.c: Likewise.
10589 * io/mkdir.c: Likewise.
10590 * io/mkdirat.c: Likewise.
10591 * io/mkfifo.c: Likewise.
10592 * io/mkfifoat.c: Likewise.
10593 * io/open.c: Likewise.
10594 * io/open64.c: Likewise.
10595 * io/openat.c: Likewise.
10596 * io/openat64.c: Likewise.
10597 * io/pipe.c: Likewise.
10598 * io/pipe2.c: Likewise.
10599 * io/poll.c: Likewise.
10600 * io/posix_fadvise.c: Likewise.
10601 * io/posix_fadvise64.c: Likewise.
10602 * io/posix_fallocate.c: Likewise.
10603 * io/posix_fallocate64.c: Likewise.
10604 * io/read.c: Likewise.
10605 * io/readlink.c: Likewise.
10606 * io/readlinkat.c: Likewise.
10607 * io/rmdir.c: Likewise.
10608 * io/sendfile.c: Likewise.
10609 * io/sendfile64.c: Likewise.
10610 * io/statfs.c: Likewise.
10611 * io/statfs64.c: Likewise.
10612 * io/statvfs.c: Likewise.
10613 * io/statvfs64.c: Likewise.
10614 * io/symlink.c: Likewise.
10615 * io/symlinkat.c: Likewise.
10616 * io/ttyname.c: Likewise.
10617 * io/ttyname_r.c: Likewise.
10618 * io/umask.c: Likewise.
10619 * io/unlink.c: Likewise.
10620 * io/unlinkat.c: Likewise.
10621 * io/utime.c: Likewise.
10622 * io/utimensat.c: Likewise.
10623 * io/write.c: Likewise.
10624 * io/xmknod.c: Likewise.
10625 * io/xmknodat.c: Likewise.
10626 * io/xstat.c: Likewise.
10627 * io/xstat64.c: Likewise.
10628 * login/getpt.c: Likewise.
10629 * login/grantpt.c: Likewise.
10630 * login/unlockpt.c: Likewise.
10631 * math/e_acoshl.c: Likewise.
10632 * math/e_acosl.c: Likewise.
10633 * math/e_asinl.c: Likewise.
10634 * math/e_atan2l.c: Likewise.
10635 * math/e_atanhl.c: Likewise.
10636 * math/e_coshl.c: Likewise.
10637 * math/e_expl.c: Likewise.
10638 * math/e_fmodl.c: Likewise.
10639 * math/e_gammal_r.c: Likewise.
10640 * math/e_hypotl.c: Likewise.
10641 * math/e_j0l.c: Likewise.
10642 * math/e_j1l.c: Likewise.
10643 * math/e_jnl.c: Likewise.
10644 * math/e_lgammal_r.c: Likewise.
10645 * math/e_log10l.c: Likewise.
10646 * math/e_log2l.c: Likewise.
10647 * math/e_logl.c: Likewise.
10648 * math/e_powl.c: Likewise.
10649 * math/e_rem_pio2l.c: Likewise.
10650 * math/e_sinhl.c: Likewise.
10651 * math/e_sqrtl.c: Likewise.
10652 * math/fclrexcpt.c: Likewise.
10653 * math/fedisblxcpt.c: Likewise.
10654 * math/feenablxcpt.c: Likewise.
10655 * math/fegetenv.c: Likewise.
10656 * math/fegetexcept.c: Likewise.
10657 * math/fegetround.c: Likewise.
10658 * math/feholdexcpt.c: Likewise.
10659 * math/fesetenv.c: Likewise.
10660 * math/fesetround.c: Likewise.
10661 * math/feupdateenv.c: Likewise.
10662 * math/fgetexcptflg.c: Likewise.
10663 * math/fraiseexcpt.c: Likewise.
10664 * math/fsetexcptflg.c: Likewise.
10665 * math/ftestexcept.c: Likewise.
10666 * math/k_cosl.c: Likewise.
10667 * math/k_rem_pio2l.c: Likewise.
10668 * math/k_sinl.c: Likewise.
10669 * math/k_tanl.c: Likewise.
10670 * math/s_asinhl.c: Likewise.
10671 * math/s_atanl.c: Likewise.
10672 * math/s_cbrtl.c: Likewise.
10673 * math/s_erfl.c: Likewise.
10674 * math/s_expm1l.c: Likewise.
10675 * math/s_log1pl.c: Likewise.
10676 * math/s_tanhl.c: Likewise.
10677 * misc/acct.c: Likewise.
10678 * misc/brk.c: Likewise.
10679 * misc/chflags.c: Likewise.
10680 * misc/chroot.c: Likewise.
10681 * misc/fchflags.c: Likewise.
10682 * misc/fgetxattr.c: Likewise.
10683 * misc/flistxattr.c: Likewise.
10684 * misc/fremovexattr.c: Likewise.
10685 * misc/fsetxattr.c: Likewise.
10686 * misc/fsync.c: Likewise.
10687 * misc/ftruncate.c: Likewise.
10688 * misc/futimes.c: Likewise.
10689 * misc/futimesat.c: Likewise.
10690 * misc/getdomain.c: Likewise.
10691 * misc/getdtsz.c: Likewise.
10692 * misc/gethostid.c: Likewise.
10693 * misc/gethostname.c: Likewise.
10694 * misc/getloadavg.c: Likewise.
10695 * misc/getpagesize.c: Likewise.
10696 * misc/getsysstats.c: Likewise.
10697 * misc/getxattr.c: Likewise.
10698 * misc/gtty.c: Likewise.
10699 * misc/ioctl.c: Likewise.
10700 * misc/lgetxattr.c: Likewise.
10701 * misc/listxattr.c: Likewise.
10702 * misc/llistxattr.c: Likewise.
10703 * misc/lremovexattr.c: Likewise.
10704 * misc/lsetxattr.c: Likewise.
10705 * misc/lutimes.c: Likewise.
10706 * misc/madvise.c: Likewise.
10707 * misc/mincore.c: Likewise.
10708 * misc/mlock.c: Likewise.
10709 * misc/mlockall.c: Likewise.
10710 * misc/mmap.c: Likewise.
10711 * misc/mprotect.c: Likewise.
10712 * misc/msync.c: Likewise.
10713 * misc/munlock.c: Likewise.
10714 * misc/munlockall.c: Likewise.
10715 * misc/munmap.c: Likewise.
10716 * misc/preadv.c: Likewise.
10717 * misc/preadv64.c: Likewise.
10718 * misc/ptrace.c: Likewise.
10719 * misc/pwritev.c: Likewise.
10720 * misc/pwritev64.c: Likewise.
10721 * misc/readv.c: Likewise.
10722 * misc/reboot.c: Likewise.
10723 * misc/remap_file_pages.c: Likewise.
10724 * misc/removexattr.c: Likewise.
10725 * misc/revoke.c: Likewise.
10726 * misc/select.c: Likewise.
10727 * misc/setdomain.c: Likewise.
10728 * misc/setegid.c: Likewise.
10729 * misc/seteuid.c: Likewise.
10730 * misc/sethostid.c: Likewise.
10731 * misc/sethostname.c: Likewise.
10732 * misc/setregid.c: Likewise.
10733 * misc/setreuid.c: Likewise.
10734 * misc/setxattr.c: Likewise.
10735 * misc/sstk.c: Likewise.
10736 * misc/stty.c: Likewise.
10737 * misc/swapoff.c: Likewise.
10738 * misc/swapon.c: Likewise.
10739 * misc/sync.c: Likewise.
10740 * misc/syncfs.c: Likewise.
10741 * misc/syscall.c: Likewise.
10742 * misc/truncate.c: Likewise.
10743 * misc/ualarm.c: Likewise.
10744 * misc/usleep.c: Likewise.
10745 * misc/ustat.c: Likewise.
10746 * misc/utimes.c: Likewise.
10747 * misc/vhangup.c: Likewise.
10748 * misc/writev.c: Likewise.
10749 * posix/_exit.c: Likewise.
10750 * posix/alarm.c: Likewise.
10751 * posix/execve.c: Likewise.
10752 * posix/fexecve.c: Likewise.
10753 * posix/fork.c: Likewise.
10754 * posix/fpathconf.c: Likewise.
10755 * posix/getaddrinfo.c: Likewise.
10756 * posix/getegid.c: Likewise.
10757 * posix/geteuid.c: Likewise.
10758 * posix/getgid.c: Likewise.
10759 * posix/getgroups.c: Likewise.
10760 * posix/getlogin.c: Likewise.
10761 * posix/getlogin_r.c: Likewise.
10762 * posix/getpgid.c: Likewise.
10763 * posix/getpid.c: Likewise.
10764 * posix/getppid.c: Likewise.
10765 * posix/getresgid.c: Likewise.
10766 * posix/getresuid.c: Likewise.
10767 * posix/getsid.c: Likewise.
10768 * posix/getuid.c: Likewise.
10769 * posix/glob64.c: Likewise.
10770 * posix/nanosleep.c: Likewise.
10771 * posix/pathconf.c: Likewise.
10772 * posix/pause.c: Likewise.
10773 * posix/posix_madvise.c: Likewise.
10774 * posix/pread.c: Likewise.
10775 * posix/pread64.c: Likewise.
10776 * posix/pwrite.c: Likewise.
10777 * posix/pwrite64.c: Likewise.
10778 * posix/sched_getaffinity.c: Likewise.
10779 * posix/sched_getp.c: Likewise.
10780 * posix/sched_gets.c: Likewise.
10781 * posix/sched_primax.c: Likewise.
10782 * posix/sched_primin.c: Likewise.
10783 * posix/sched_rr_gi.c: Likewise.
10784 * posix/sched_setaffinity.c: Likewise.
10785 * posix/sched_setp.c: Likewise.
10786 * posix/sched_sets.c: Likewise.
10787 * posix/sched_yield.c: Likewise.
10788 * posix/setgid.c: Likewise.
10789 * posix/setlogin.c: Likewise.
10790 * posix/setpgid.c: Likewise.
10791 * posix/setresgid.c: Likewise.
10792 * posix/setresuid.c: Likewise.
10793 * posix/setsid.c: Likewise.
10794 * posix/setuid.c: Likewise.
10795 * posix/sleep.c: Likewise.
10796 * posix/spawni.c: Likewise.
10797 * posix/sysconf.c: Likewise.
10798 * posix/times.c: Likewise.
10799 * posix/wait.c: Likewise.
10800 * posix/wait3.c: Likewise.
10801 * posix/wait4.c: Likewise.
10802 * posix/waitpid.c: Likewise.
10803 * resolv/gai_sigqueue.c: Likewise.
10804 * resource/getpriority.c: Likewise.
10805 * resource/getrlimit.c: Likewise.
10806 * resource/getrusage.c: Likewise.
10807 * resource/nice.c: Likewise.
10808 * resource/setpriority.c: Likewise.
10809 * resource/setrlimit.c: Likewise.
10810 * resource/ulimit.c: Likewise.
10811 * rt/aio_cancel.c: Likewise.
10812 * rt/aio_fsync.c: Likewise.
10813 * rt/aio_read.c: Likewise.
10814 * rt/aio_sigqueue.c: Likewise.
10815 * rt/aio_suspend.c: Likewise.
10816 * rt/aio_write.c: Likewise.
10817 * rt/clock_getres.c: Likewise.
10818 * rt/clock_gettime.c: Likewise.
10819 * rt/clock_nanosleep.c: Likewise.
10820 * rt/clock_settime.c: Likewise.
10821 * rt/lio_listio.c: Likewise.
10822 * rt/mq_close.c: Likewise.
10823 * rt/mq_getattr.c: Likewise.
10824 * rt/mq_notify.c: Likewise.
10825 * rt/mq_open.c: Likewise.
10826 * rt/mq_receive.c: Likewise.
10827 * rt/mq_send.c: Likewise.
10828 * rt/mq_setattr.c: Likewise.
10829 * rt/mq_timedreceive.c: Likewise.
10830 * rt/mq_timedsend.c: Likewise.
10831 * rt/mq_unlink.c: Likewise.
10832 * rt/shm_open.c: Likewise.
10833 * rt/shm_unlink.c: Likewise.
10834 * rt/timer_create.c: Likewise.
10835 * rt/timer_delete.c: Likewise.
10836 * rt/timer_getoverr.c: Likewise.
10837 * rt/timer_gettime.c: Likewise.
10838 * rt/timer_settime.c: Likewise.
10839 * setjmp/__longjmp.c: Likewise.
10840 * setjmp/setjmp.c: Likewise.
10841 * signal/kill.c: Likewise.
10842 * signal/killpg.c: Likewise.
10843 * signal/raise.c: Likewise.
10844 * signal/sigaction.c: Likewise.
10845 * signal/sigaltstack.c: Likewise.
10846 * signal/sigblock.c: Likewise.
10847 * signal/sigignore.c: Likewise.
10848 * signal/sigintr.c: Likewise.
10849 * signal/signal.c: Likewise.
10850 * signal/sigpause.c: Likewise.
10851 * signal/sigpending.c: Likewise.
10852 * signal/sigqueue.c: Likewise.
10853 * signal/sigreturn.c: Likewise.
10854 * signal/sigset.c: Likewise.
10855 * signal/sigsetmask.c: Likewise.
10856 * signal/sigstack.c: Likewise.
10857 * signal/sigsuspend.c: Likewise.
10858 * signal/sigtimedwait.c: Likewise.
10859 * signal/sigvec.c: Likewise.
10860 * signal/sigwait.c: Likewise.
10861 * signal/sigwaitinfo.c: Likewise.
10862 * signal/sysv_signal.c: Likewise.
10863 * socket/accept.c: Likewise.
10864 * socket/accept4.c: Likewise.
10865 * socket/bind.c: Likewise.
10866 * socket/connect.c: Likewise.
10867 * socket/getpeername.c: Likewise.
10868 * socket/getsockname.c: Likewise.
10869 * socket/getsockopt.c: Likewise.
10870 * socket/isfdtype.c: Likewise.
10871 * socket/listen.c: Likewise.
10872 * socket/recv.c: Likewise.
10873 * socket/recvfrom.c: Likewise.
10874 * socket/recvmsg.c: Likewise.
10875 * socket/send.c: Likewise.
10876 * socket/sendmsg.c: Likewise.
10877 * socket/sendto.c: Likewise.
10878 * socket/setsockopt.c: Likewise.
10879 * socket/shutdown.c: Likewise.
10880 * socket/sockatmark.c: Likewise.
10881 * socket/socket.c: Likewise.
10882 * socket/socketpair.c: Likewise.
10883 * stdio-common/ctermid.c: Likewise.
10884 * stdio-common/cuserid.c: Likewise.
10885 * stdio-common/remove.c: Likewise.
10886 * stdio-common/rename.c: Likewise.
10887 * stdio-common/renameat.c: Likewise.
10888 * stdio-common/tempname.c: Likewise.
10889 * stdlib/getcontext.c: Likewise.
10890 * stdlib/makecontext.c: Likewise.
10891 * stdlib/setcontext.c: Likewise.
10892 * stdlib/swapcontext.c: Likewise.
10893 * stdlib/system.c: Likewise.
10894 * streams/fattach.c: Likewise.
10895 * streams/fdetach.c: Likewise.
10896 * streams/getmsg.c: Likewise.
10897 * streams/getpmsg.c: Likewise.
10898 * streams/putmsg.c: Likewise.
10899 * streams/putpmsg.c: Likewise.
10900 * sysdeps/unix/bsd/getpt.c: Likewise.
10901 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
10902 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
10903 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
10904 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
10905 Likewise.
10906 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
10907 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
10908 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
10909 * sysvipc/msgctl.c: Likewise.
10910 * sysvipc/msgget.c: Likewise.
10911 * sysvipc/msgrcv.c: Likewise.
10912 * sysvipc/msgsnd.c: Likewise.
10913 * sysvipc/semctl.c: Likewise.
10914 * sysvipc/semget.c: Likewise.
10915 * sysvipc/semop.c: Likewise.
10916 * sysvipc/semtimedop.c: Likewise.
10917 * sysvipc/shmat.c: Likewise.
10918 * sysvipc/shmctl.c: Likewise.
10919 * sysvipc/shmdt.c: Likewise.
10920 * sysvipc/shmget.c: Likewise.
10921 * termios/tcdrain.c: Likewise.
10922 * termios/tcflow.c: Likewise.
10923 * termios/tcflush.c: Likewise.
10924 * termios/tcgetattr.c: Likewise.
10925 * termios/tcgetpgrp.c: Likewise.
10926 * termios/tcsendbrk.c: Likewise.
10927 * termios/tcsetattr.c: Likewise.
10928 * termios/tcsetpgrp.c: Likewise.
10929 * time/adjtime.c: Likewise.
10930 * time/clock.c: Likewise.
10931 * time/getitimer.c: Likewise.
10932 * time/gettimeofday.c: Likewise.
10933 * time/setitimer.c: Likewise.
10934 * time/settimeofday.c: Likewise.
10935 * time/stime.c: Likewise.
10936 * time/time.c: Likewise.
10937
109382012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 10939
a20492cf
PT
10940 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
10941 /usr/old/bin.
10942
72e182e3
PT
10943 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
10944 instead of spaces.
10945 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
10946
fbeafede
JM
109472012-11-03 Joseph Myers <joseph@codesourcery.com>
10948
5b5b04d6
JM
10949 [BZ #14796]
10950 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
10951 FE_TONEAREST before applying Dekker multiplication and Knuth
10952 addition. Clear inexact exceptions and check for exact zero
10953 results afterwards.
10954 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10955 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10956 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10957 * math/libm-test.inc (fma_test): Add more tests.
10958 (fma_test_towardzero): Likewise.
10959 (fma_test_downward): Likewise.
10960 (fma_test_upward): Likewise.
10961 * sysdeps/generic/math_private.h (default_libc_fesetround): New
10962 function.
10963 (libc_fesetround): New macro.
10964 (libc_fesetroundf): Likewise.
10965 (libc_fesetroundl): Likewise.
10966 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
10967 function.
10968 (libc_fesetround_387): Likewise.
10969 (libc_fesetroundf): New macro.
10970 (libc_fesetround): Likewise.
10971 (libc_fesetroundl): Likewise.
10972 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
10973 function.
10974 (libc_fesetroundf): New macro.
10975 (libc_fesetround): Likewise.
10976 (libc_fesetroundl): Likewise.
10977 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
10978 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
10979 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
10980 libm_hidden_ver.
10981 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
10982 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
10983 libm_hidden_def.
10984 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
10985 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
10986 libm_hidden_ver.
10987 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
10988 libm_hidden_def.
10989
fbeafede
JM
10990 [BZ #3439]
10991 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
10992 integer constant usable in #if and use that to give value to enum
10993 constant.
10994 (FE_DIVBYZERO): Likewise.
10995 (FE_UNDERFLOW): Likewise.
10996 (FE_OVERFLOW): Likewise.
10997 (FE_INVALID): Likewise.
10998 (FE_INVALID_SNAN): Likewise.
10999 (FE_INVALID_ISI): Likewise.
11000 (FE_INVALID_IDI): Likewise.
11001 (FE_INVALID_ZDZ): Likewise.
11002 (FE_INVALID_IMZ): Likewise.
11003 (FE_INVALID_COMPARE): Likewise.
11004 (FE_INVALID_SOFTWARE): Likewise.
11005 (FE_INVALID_SQRT): Likewise.
11006 (FE_INVALID_INTEGER_CONVERSION): Likewise.
11007 (FE_TONEAREST): Likewise.
11008 (FE_TOWARDZERO): Likewise.
11009 (FE_UPWARD): Likewise.
11010 (FE_DOWNWARD): Likewise.
11011 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
11012 (FE_DIVBYZERO): Likewise.
11013 (FE_OVERFLOW): Likewise.
11014 (FE_UNDERFLOW): Likewise.
11015 (FE_INEXACT): Likewise.
11016 (FE_TONEAREST): Likewise.
11017 (FE_DOWNWARD): Likewise.
11018 (FE_UPWARD): Likewise.
11019 (FE_TOWARDZERO): Likewise.
11020 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
11021 (FE_UNDERFLOW): Likewise.
11022 (FE_OVERFLOW): Likewise.
11023 (FE_DIVBYZERO): Likewise.
11024 (FE_INVALID): Likewise.
11025 (FE_TONEAREST): Likewise.
11026 (FE_TOWARDZERO): Likewise.
11027 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
11028 (FE_OVERFLOW): Likewise.
11029 (FE_UNDERFLOW): Likewise.
11030 (FE_DIVBYZERO): Likewise.
11031 (FE_INEXACT): Likewise.
11032 (FE_TONEAREST): Likewise.
11033 (FE_TOWARDZERO): Likewise.
11034 (FE_UPWARD): Likewise.
11035 (FE_DOWNWARD): Likewise.
11036 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
11037 (FE_DIVBYZERO): Likewise.
11038 (FE_OVERFLOW): Likewise.
11039 (FE_UNDERFLOW): Likewise.
11040 (FE_INEXACT): Likewise.
11041 (FE_TONEAREST): Likewise.
11042 (FE_DOWNWARD): Likewise.
11043 (FE_UPWARD): Likewise.
11044 (FE_TOWARDZERO): Likewise.
11045
105ca950
CM
110462012-11-02 Chris Metcalf <cmetcalf@tilera.com>
11047
11048 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
11049
a542b389
AS
110502012-11-03 Andreas Schwab <schwab@linux-m68k.org>
11051
11052 * scripts/cross-test-ssh.sh (command): Use newlines to separate
11053 commands. Quote $PWD.
11054 (blacklist_exports): Don't use remove_newlines. Replace "declare
11055 -x" by "export".
11056 (remove_newlines): Remove.
11057
f62c8abc
L
110582012-11-02 H.J. Lu <hongjiu.lu@intel.com>
11059
11060 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
11061 * stdlib/stdlib.h (atof): Moved to ...
11062 * include/bits/stdlib-float.h: Here. New file.
11063 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
11064 * stdlib/bits/stdlib-float.h: New file.
11065 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
11066 -mno-sse -mno-mmx.
11067 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
11068 <xmmintrin.h>.
11069
0155d5b2
JM
110702012-11-02 Joseph Myers <joseph@codesourcery.com>
11071
a68d0680
JM
11072 * conform/conformtest.pl (@headers): Add fenv.h.
11073 * conform/data/fenv.h-data: New file.
11074 * include/fenv.h [_ISOMAC]: Disable all contents of file except
11075 include of <math/fenv.h>.
11076
caf7f573
JM
11077 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
11078 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
11079 && !UNIX98]. Enables tests for XOPEN2K8.
11080 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
11081 POSIX2008]: Likewise.
11082
6c073ad6
JM
11083 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
11084 (struct rusage): Do not expect type or its members.
11085
0155d5b2
JM
11086 [BZ #3439]
11087 * math/math.h (FP_NAN): Define macro to integer constant usable in
11088 #if and use that to give value to enum constant.
11089 (FP_INFINITE): Likewise.
11090 (FP_ZERO): Likewise.
11091 (FP_SUBNORMAL): Likewise.
11092 (FP_NORMAL): Likewise.
11093
b5dcacb4
AS
110942012-11-02 Andreas Schwab <schwab@linux-m68k.org>
11095
11096 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
11097 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
11098 arguments.
11099
f7934be8
RM
111002012-11-02 Roland McGrath <roland@hack.frob.com>
11101
11102 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
11103 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
11104 autoconf-time if not.
11105 * configure.in: Remove AC_PREREQ.
11106
d7d08bde
TMQMF
111072012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11108
11109 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
11110 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
11111 of the internal implementation.
11112
dcdae19a
JM
111132012-11-02 Joseph Myers <joseph@codesourcery.com>
11114
11115 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
11116 except include of <misc/sys/syslog.h>.
11117
d6cffd3e
AS
111182012-11-01 Andreas Schwab <schwab@linux-m68k.org>
11119
11120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
11121 function returns with a NULL context exit with zero.
11122
b3563932
TMQMF
111232012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11124
11125 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
11126
b288a93d
L
111272012-11-01 H.J. Lu <hongjiu.lu@intel.com>
11128
11129 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
11130 (run_program_cmd): This.
11131 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
11132 (tst_langinfo): New variable. Use it.
11133
a2421a68
SAS
111342012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
11135
11136 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
11137 floating point opcodes.
11138
6f796e1b
TS
111392012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11140
7402596b
TS
11141 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
11142 variable.
11143
d0d4f868
TS
11144 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
11145
6f796e1b
TS
11146 * sysdeps/mach/hurd/powerpc: Remove directory.
11147 * sysdeps/mach/powerpc: Likewise.
11148
4da224a2
AS
111492012-11-01 Andreas Schwab <schwab@linux-m68k.org>
11150
11151 * scripts/check-local-headers.sh: Ignore c++ headers.
11152
341dd673
TS
111532012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11154
11155 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
11156 __libc_cleanup_region_start argument.
11157
473611b2
JM
111582012-11-01 Joseph Myers <joseph@codesourcery.com>
11159
11160 [BZ #14784]
11161 [BZ #14785]
11162 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
11163 x * y using scaling, not as x * y + z.
11164 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11165 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11166 * math/libm-test.inc (fma_test): Add more tests.
11167 (fma_test_towardzero): Likewise.
11168 (fma_test_downward): Likewise.
11169 (fma_test_upward): Likewise.
11170
4078da3d
TS
111712012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11172
11173 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
11174
903252aa
JM
111752012-10-31 Joseph Myers <joseph@codesourcery.com>
11176
11177 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
11178 New variable.
11179
cbc818d0
TS
111802012-10-31 Thomas Schwinge <thomas@codesourcery.com>
11181
11182 * rt/tst-shm.c (worker): Correct checking for mmap failure.
11183
5a03cb1e
AS
111842012-10-31 Andreas Schwab <schwab@linux-m68k.org>
11185
11186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11187 Fix sort order.
11188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11189 Likewise.
11190
90aff2ff
TMQMF
111912012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11192
11193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11194 Fix the order of the list for glibc 2.17.
11195 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11196 Likewise.
11197
1818fcb7
AS
111982012-10-31 Andreas Schwab <schwab@linux-m68k.org>
11199
11200 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11201
ef82f4da
JM
112022012-10-31 Joseph Myers <joseph@codesourcery.com>
11203
16a0e2ec
JM
11204 [BZ #14610]
11205 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
11206 for low part of x being zero before using __atanl (y).
11207 * math/libm-test.inc (atan2_test): Add another test.
11208
0eb69512
JM
11209 * manual/install.texi (Configuring and compiling): Document
11210 general use of test-wrapper and test-wrapper-env.
11211 * INSTALL: Regenerated.
11212
ef82f4da
JM
11213 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
11214 (__fma): Do not extract and scale down low bits on after-rounding
11215 systems when result rounded to normal precision would have normal
11216 exponent.
11217 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
11218 (__fmal): Do not extract and scale down low bits on after-rounding
11219 systems when result rounded to normal precision would have normal
11220 exponent.
11221 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
11222 (__fmal): Do not extract and scale down low bits on after-rounding
11223 systems when result rounded to normal precision would have normal
11224 exponent.
11225 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
11226 macro.
11227 (fma_test): Add more tests.
11228 (fma_test_towardzero): Likewise.
11229 (fma_test_downward): Likewise.
11230 (fma_test_upward): Likewise.
11231
954ef0d9
L
112322012-10-30 H.J. Lu <hongjiu.lu@intel.com>
11233
11234 * sysdeps/i386/tininess.h: Renamed to ...
11235 * sysdeps/x86/tininess.h: This.
11236 * sysdeps/x86_64/tininess.h: Removed.
11237
df61ffb2
JM
112382012-10-30 Joseph Myers <joseph@codesourcery.com>
11239
11240 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
11241 input. Use $(build-program-cmd).
11242 ($(objpfx)tst-array1-static.out): Likewise.
11243 ($(objpfx)tst-array2.out): Likewise.
11244 ($(objpfx)tst-array3.out): Likewise.
11245 ($(objpfx)tst-array4.out): Likewise.
11246 ($(objpfx)tst-array5.out): Likewise.
11247 ($(objpfx)tst-array5-static.out): Likewise.
11248
01767843
CM
112492012-10-30 Chris Metcalf <cmetcalf@tilera.com>
11250
47cc1490
CM
11251 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
11252 if defined.
11253
01767843
CM
11254 * nss/nsswitch.h (nss_interface_function): Provide new
11255 macro for use with NSS functions.
11256 * grp/initgroups.c: Use new macro.
11257 * nss/getXXbyYY.c: Likewise.
11258 * nss/getXXbyYY_r.c: Likewise.
11259 * nss/getXXent.c: Likewise.
11260 * nss/getXXent_r.c: Likewise.
11261 * sysdeps/posix/getaddrinfo.c: Likewise.
11262
8321aa97
AJ
112632012-10-30 Andreas Jaeger <aj@suse.de>
11264
11265 * po/ru.po: Update Russion translation from translation project.
11266
2a27fd6d
JM
112672012-10-30 Joseph Myers <joseph@codesourcery.com>
11268
8627a232
JM
11269 [BZ #14152]
11270 [BZ #14783]
11271 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
11272 result and shift together with sticky bit instead of replicating
11273 round-to-nearest rounding.
11274 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11275 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11276 * math/libm-test.inc (fma_test): Add more tests. Do not permit
11277 missing underflow exceptions.
11278 (fma_test_towardzero): Add more tests.
11279 (fma_test_downward): Likewise.
11280 (fma_test_upward): Likewise.
11281
2a27fd6d
JM
11282 [BZ #14047]
11283 * sysdeps/generic/tininess.h: New file.
11284 * sysdeps/i386/tininess.h: Likewise.
11285 * sysdeps/sh/tininess.h: Likewise.
11286 * sysdeps/x86_64/tininess.h: Likewise.
11287 * stdlib/tst-strtod-underflow.c: Likewise.
11288 * stdlib/tst-tininess.c: Likewise.
11289 * stdlib/strtod_l.c: Include <tininess.h>.
11290 (round_and_return): Do not set errno for exact underflow cases.
11291 Force an underflow exception when setting errno for underflow.
11292 Determine underflow based on rounding to normal precision if
11293 TININESS_AFTER_ROUNDING.
11294 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
11295 ERANGE for exact underflow cases.
11296 * stdlib/Makefile (tests): Add tst-tininess and
11297 tst-strtod-underflow.
11298 ($(objpfx)tst-tininess): Use $(link-libm).
11299 ($(objpfx)tst-strtod-underflow): Likewise.
11300
e7170363
AJ
113012012-10-30 Andreas Jaeger <aj@suse.de>
11302
e5088dc6
AJ
11303 [BZ#14767]
11304 * elf/Makefile (tests): Remove conditional for have-initfini-array
11305 since this is now always required and the variable does not exist
11306 anymore.
11307 (tests-static): Likewise.
11308 (modules-names): Likewise.
11309
e7170363 11310 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
11311
11312 * elf/tst-array1.c (fini_array): Make writeable so that it can be
11313 merged with constructor/destructor.
11314 (init_array): Likewise.
11315 * elf/tst-array2dep.c (fini_array): Likewise.
11316 (init_array): Likewise.
11317
60457d8a
MF
113182012-10-29 Mike Frysinger <vapier@gentoo.org>
11319
11320 * manual/message.texi: Delete @cartouche tags.
11321
8bece752
PT
113222012-10-29 Pino Toscano <toscano.pino@tiscali.it>
11323
94ce799f
PT
11324 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
11325 EOPNOTSUPP.
11326 * sysdeps/mach/hurd/fsync.c: Likewise.
11327
8bece752
PT
11328 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
11329 [_POSIX_REALTIME_SIGNALS]: Change condition to
11330 [_POSIX_REALTIME_SIGNALS > 0].
11331
86ebe6b1
AJ
113322012-10-27 Andreas Jaeger <aj@suse.de>
11333
11334 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
11335 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
11336 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
11337 [__WORDSIZE != 64]: Likewise.
11338
54399c08
L
113392012-10-26 H.J. Lu <hongjiu.lu@intel.com>
11340
11341 * iconvdata/tst-table.sh: Remove ${SHELL}.
11342 * iconvdata/tst-tables.sh: Likewise.
11343
e2211bed
DM
113442012-10-25 David S. Miller <davem@davemloft.net>
11345
11346 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11347 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
11348 of strtoull.
11349
f303f97c
DM
11350 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
11351 ifunc-impl-list.c
11352 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11353 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
11354 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
11355 file.
11356
1e9d84cd
RM
113572012-10-25 Roland McGrath <roland@hack.frob.com>
11358
11359 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11360 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
11361 __getdirentries.
11362
df381762
JM
113632012-10-25 Joseph Myers <joseph@codesourcery.com>
11364 Jim Blandy <jimb@codesourcery.com>
11365
11366 * scripts/cross-test-ssh.sh: New file.
11367 * manual/install.texi (Configuring and compiling): Document use of
11368 cross-test-ssh.sh.
11369 * INSTALL: Regenerated.
11370
bff64913
PT
113712012-10-25 Pino Toscano <toscano.pino@tiscali.it>
11372
11373 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
11374 EOPNOTSUPP.
11375
25fe8932
JM
113762012-10-25 Joseph Myers <joseph@codesourcery.com>
11377
11378 * Makeconfig (run-program-prefix): Fix comment.
11379
cc1290d0
JM
113802012-10-24 Joseph Myers <joseph@codesourcery.com>
11381 Jim Blandy <jimb@codesourcery.com>
11382
11383 * Makeconfig (test-wrapper): New variable,
11384 (test-wrapper-env): Likewise.
11385 [$(cross-compiling) = yes && $(test-wrapper) != ""]
11386 (run-built-tests): Define to yes.
11387 (run-program-prefix): Use $(test-wrapper).
11388 (built-program-cmd): Likewise.
11389 * Rules (make-test-out): Use $(test-wrapper-env) and
11390 $(host-built-program-cmd).
11391 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
11392 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
11393 tst-pathopt.sh.
11394 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
11395 $(test-wrapper-env) to tst-rtld-load-self.sh.
11396 ($(objpfx)order2.out): Use $(test-wrapper).
11397 ($(objpfx)tst-initorder.out): Likewise.
11398 ($(objpfx)tst-initorder2.out): Likewise.
11399 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
11400 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
11401 (test_wrapper_env): New variable. Use it to run ld.so.
11402 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
11403 Use it to run ld.so.
11404 (test_wrapper_env): Likewise.
11405 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
11406 $(test-wrapper) to run-iconv-test.sh.
11407 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
11408 (ICONV): Use $test_wrapper.
11409 * posix/Makefile ($(objpfx)globtest.out): Pass
11410 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
11411 globtest.sh, not $(run-program-prefix).
11412 * posix/globtest.sh (run_via_rtld_prefix): New variable.
11413 (test_wrapper): Likewise.
11414 (test_wrapper_env): Likewise. Use it to run globtest with HOME
11415 set together with run_via_rtld_prefix.
11416 (run_program_prefix): Define in terms of test_wrapper and
11417 run_via_rtld_prefix.
11418
6e6249d0
RM
114192012-10-24 Roland McGrath <roland@hack.frob.com>
11420
11421 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
11422 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
11423 Targets removed.
11424
11425 [BZ #14743]
11426 * include/time.h: Remove librt_hidden_proto (clock_gettime).
11427 Declare __clock_getres, __clock_gettime, __clock_settime,
11428 __clock_nanosleep, and __clock_getcpuclockid.
11429 * rt/clock_gettime.c: Define __clock_gettime as an alias.
11430 Remove librt_hidden_def (clock_gettime).
11431 * sysdeps/unix/clock_gettime.c: Likewise.
11432 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
11433 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
11434 * rt/clock_getres.c: Define __clock_getres as an alias.
11435 * sysdeps/posix/clock_getres.c: Likewise.
11436 * rt/clock_settime.c: Define __clock_settime as an alias.
11437 * sysdeps/unix/clock_settime.c: Likewise.
11438 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
11439 * sysdeps/unix/clock_nanosleep.c: Likewise.
11440 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
11441 * rt/clock-compat.c: New file.
11442 * rt/Makefile (librt-routines): Add clock-compat and move
11443 $(clock-routines) to ...
11444 (routines): ... here, new variable.
11445 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
11446 Don't add get_clockfreq here.
11447 * rt/Versions (libc: GLIBC_2.17): New version set.
11448 Add clock_* symbols here.
11449 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
11450 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
11451 (GLIBC_2.17): Add clock_* symbols.
11452 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11453 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11454 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11455 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11456 Likewise.
11457 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11458 Likewise.
11459 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11460 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
11461 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11462 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11463 * NEWS: Mention the move.
11464
11465 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11466 Use __open, __read, __close rather than their public counterparts.
11467 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11468 (__get_clockfreq_via_cpuinfo): Likewise.
11469 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
11470 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
11471
11472 * config.h.in (HAVE_IFUNC): New #undef.
11473 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
11474 was successful.
11475 * configure: Regenerated.
11476
0cae3f4b
MF
114772012-10-24 Mike Frysinger <vapier@gentoo.org>
11478
11479 * configure.in: Move READELF check to start of file.
11480 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
11481 libc_cv_asm_gnu_indirect_function in the process.
11482 * configure: Regenerated.
11483
8175a253
MF
114842012-10-24 Mike Frysinger <vapier@gentoo.org>
11485
11486 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
11487 send the output to /dev/null.
11488 (libc_cv_cc_with_libunwind): Likewise.
11489 (libc_cv_as_noexecstack): Likewise.
11490 * configure: Regenerate.
11491
0708a7d1
JM
114922012-10-24 Joseph Myers <joseph@codesourcery.com>
11493
10b40d85
JM
11494 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
11495
0708a7d1
JM
11496 * posix/globtest.sh (TMPDIR): Do not set.
11497 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
11498 (testout): Likewise.
11499
9fddec1a
AJ
115002012-10-24 Andreas Jaeger <aj@suse.de>
11501
3a8db22f
AJ
11502 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
11503 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
11504 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
11505 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
11506 posix_fadvise64, posix_fallocate64.
11507
9fddec1a
AJ
11508 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
11509 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
11510 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
11511 Likewise.
11512 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
11513 Likewise.
11514 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
11515
11516 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
11517 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
11518 <bits/fcntl-linux.h>.
11519 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
11520
11521 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
11522 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
11523 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
11524 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
11525 [__WORDSIZE != 64]: Likewise.
11526
ebfd1bbd
JM
115272012-10-23 Joseph Myers <joseph@codesourcery.com>
11528
03ac099f
JM
11529 * Makeconfig (run-built-tests): New variable.
11530 * Rules [$(cross-compiling) = yes]: Change condition to
11531 [$(run-built-tests) = no].
11532 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
11533 to [$(run-built-tests) = yes].
11534 * elf/Makefile [$(cross-compiling) = no]: Likewise
11535 * grp/Makefile [$(cross-compiling) = no]: Likewise.
11536 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
11537 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
11538 * intl/Makefile [$(cross-compiling) = no]: Likewise.
11539 * io/Makefile [$(cross-compiling) = no]: Likewise.
11540 * libio/Makefile [$(cross-compiling) = no]: Likewise.
11541 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
11542 * misc/Makefile [$(cross-compiling) = no]: Likewise.
11543 * posix/Makefile [$(cross-compiling) = no]: Likewise.
11544 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
11545 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
11546 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
11547 * string/Makefile [$(cross-compiling) = no]: Likewise.
11548
ebfd1bbd
JM
11549 * posix/Makefile ($(objpfx)globtest.out): Pass
11550 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
11551 $(rtld-installed-name).
11552 * posix/globtest.sh (elf_objpfx): Remove variable.
11553 (rtld_installed_name): Likewise.
11554 (library_path): Likewise.
11555 (run_program_prefix): New variable. Use for running globtest
11556 binary.
11557
166bca24
JB
115582012-10-23 Jim Blandy <jimb@codesourcery.com>
11559 Joseph Myers <joseph@codesourcery.com>
11560
11561 * Makeconfig (host-built-program-cmd): New variable.
11562 * elf/Makefile (tst-stackguard1-ARGS): Use
11563 $(host-built-program-cmd).
11564 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
11565 (tst-spawn-ARGS): Likewise.
11566 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
11567
88866099
JM
115682012-10-23 Joseph Myers <joseph@codesourcery.com>
11569 Jim Blandy <jimb@codesourcery.com>
11570
11571 * Makeconfig (run-via-rtld-prefix): New variable.
11572 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
11573 (built-program-cmd): Likewise.
11574
b4b4c296
AJ
115752012-10-22 Andreas Jaeger <aj@suse.de>
11576
11577 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
11578 __O_RSYNC if it exists, otherwise to O_SYNC.
11579
6fb54a22
JB
115802012-10-22 Jim Blandy <jimb@codesourcery.com>
11581 Joseph Myers <joseph@codesourcery.com>
11582
11583 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
11584 /dev/null.
11585 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
11586 from /dev/null
11587 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
11588 /dev/null.
11589
481b90b9
AJ
115902012-10-22 Andreas Jaeger <aj@suse.de>
11591
2a0e2669
AJ
11592 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
11593 Define always.
11594 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
11595
76e38f9a
AJ
11596 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11597 bits/fcntl-linux.h.
11598
7cd37b43
AJ
11599 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
11600 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
11601
481b90b9
AJ
11602 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
11603 to __O_LARGEFILE.
11604 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
11605 to __O_LARGEFILE.
11606
aba75984
JB
116072012-10-21 Jim Blandy <jimb@codesourcery.com>
11608 Joseph Myers <joseph@codesourcery.com>
11609
11610 * config.make.in (NM): New variable.
11611
88d4247f
AJ
116122012-10-21 Andreas Jaeger <aj@suse.de>
11613
11614 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
11615 definitions and declarations that are provided by
11616 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11617
f2eed205
L
116182012-10-20 H.J. Lu <hongjiu.lu@intel.com>
11619
11620 [BZ #14683]
11621 * elf/Makefile (tests-static): Add tst-leaks1-static.
11622 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
11623 ($(objpfx)tst-leaks1-static): New rule.
11624 ($(objpfx)tst-leaks1-static-mem): Likewise.
11625 (tst-leaks1-static-ENV): New macro.
11626 * elf/dl-open.c (dl_open_worker): Check the main application
11627 only if SHARED is defined.
11628 * elf/tst-leaks1-static.c: New file.
11629
335e6931
AJ
116302012-10-20 Andreas Jaeger <aj@suse.de>
11631
11632 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
11633 generic values for Linux.
11634 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
11635 and declarations that are provided by <bits/fcntl-linux.h> and
11636 include <bits/fcntl-linux.h>.
11637 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11638 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11639
ac5c94d3
RM
116402012-10-20 Roland McGrath <roland@hack.frob.com>
11641
11642 * io/fcntl.h: Move include of <bits/types.h> to the top and
11643 include it unconditionally.
11644
de54b33a
L
116452012-10-20 H.J. Lu <hongjiu.lu@intel.com>
11646
228cfb01
L
11647 * wcsmbs/Makefile (tests-ifunc): New variable.
11648 (tests): Add $(tests-ifunc).
11649 * wcsmbs/test-wcschr-ifunc.c: New file.
11650 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
11651 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
11652 * wcsmbs/test-wcslen-ifunc.c: Likewise.
11653 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
11654 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
11655
69f07e5f
L
11656 * string/Makefile (tests-ifunc): New variable.
11657 (tests): Add $(tests-ifunc).
11658 * string/test-memccpy.c (TEST_NAME): New macro.
11659 * string/test-memchr.c (TEST_NAME): Likewise.
11660 * string/test-memcmp.c (TEST_NAME): Likewise.
11661 * string/test-memcpy.c (TEST_NAME): Likewise.
11662 * string/test-memmem.c (TEST_NAME): Likewise.
11663 * string/test-memmove.c (TEST_NAME): Likewise.
11664 * string/test-memset.c (TEST_NAME): Likewise.
11665 * string/test-rawmemchr.c (TEST_NAME): Likewise.
11666 * string/test-stpcpy.c (TEST_NAME): Likewise.
11667 * string/test-stpncpy.c (TEST_NAME): Likewise.
11668 * string/test-strcasecmp.c (TEST_NAME): Likewise.
11669 * string/test-strcasestr.c (TEST_NAME): Likewise.
11670 * string/test-strcat.c (TEST_NAME): Likewise.
11671 * string/test-strchr.c (TEST_NAME): Likewise.
11672 * string/test-strcmp.c(TEST_NAME): Likewise.
11673 * string/test-strcpy.c (TEST_NAME): Likewise.
11674 * string/test-strcspn.c (TEST_NAME): Likewise.
11675 * string/test-strlen.c (TEST_NAME): Likewise.
11676 * string/test-strncasecmp.c (TEST_NAME): Likewise.
11677 * string/test-strncmp.c (TEST_NAME): Likewise.
11678 * string/test-strncpy.c (TEST_NAME): Likewise.
11679 * string/test-strnlen.c (TEST_NAME): Likewise.
11680 * string/test-strpbrk.c (TEST_NAME): Likewise.
11681 * string/test-strrchr.c (TEST_NAME): Likewise.
11682 * string/test-strspn.c (TEST_NAME): Likewise.
11683 * string/test-strstr.c (TEST_NAME): Likewise.
11684 * string/test-bcopy-ifunc.c: New file.
11685 * string/test-bzero-ifunc.c: Likewise.
11686 * string/test-memccpy-ifunc.c: Likewise.
11687 * string/test-memchr-ifunc.c: Likewise.
11688 * string/test-memcmp-ifunc.c: Likewise.
11689 * string/test-memcpy-ifunc.c: Likewise.
11690 * string/test-memmem-ifunc.c: Likewise.
11691 * string/test-memmove-ifunc.c: Likewise.
11692 * string/test-mempcpy-ifunc.c: Likewise.
11693 * string/test-memset-ifunc.c: Likewise.
11694 * string/test-rawmemchr-ifunc.c: Likewise.
11695 * string/test-stpcpy-ifunc.c: Likewise.
11696 * string/test-stpncpy-ifunc.c: Likewise.
11697 * string/test-strcasecmp-ifunc.c: Likewise.
11698 * string/test-strcasestr-ifunc.c: Likewise.
11699 * string/test-strcat-ifunc.c: Likewise.
11700 * string/test-strchr-ifunc.c: Likewise.
11701 * string/test-strchrnul-ifunc.c: Likewise.
11702 * string/test-strcmp-ifunc.c: Likewise.
11703 * string/test-strcpy-ifunc.c: Likewise.
11704 * string/test-strcspn-ifunc.c: Likewise.
11705 * string/test-strlen-ifunc.c: Likewise.
11706 * string/test-strncasecmp-ifunc.c: Likewise.
11707 * string/test-strncat-ifunc.c: Likewise.
11708 * string/test-strncmp-ifunc.c: Likewise.
11709 * string/test-strncpy-ifunc.c: Likewise.
11710 * string/test-strnlen-ifunc.c: Likewise.
11711 * string/test-strpbrk-ifunc.c: Likewise.
11712 * string/test-strrchr-ifunc.c: Likewise.
11713 * string/test-strspn-ifunc.c: Likewise.
11714 * string/test-strstr-ifunc.c: Likewise.
11715
de54b33a
L
11716 * debug/Makefile (tests-ifunc): New variable.
11717 (tests): Add $(tests-ifunc).
11718 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
11719 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
11720 * debug/test-stpcpy_chk-ifunc.c: New file.
11721 * debug/test-strcpy_chk-ifunc.c: Likewise.
11722
88481c16
SP
117232012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11724
11725 [BZ #13601]
11726 * elf/dl-load.c (open_verify): Retry read if the entire ELF
11727 header is not read in.
11728
135948bd
JM
117292012-10-19 Joseph Myers <joseph@codesourcery.com>
11730
89f1c388
JM
11731 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
11732 script to $(SHELL) as $<. Pass $(common-objpfx) to script
11733 directly. Pass built executable to script as
11734 $(built-program-cmd).
11735 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
11736 $testprogram without using LD_LIBRARY_PATH and $ldso.
11737
e40a0d21
JM
11738 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
11739 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
11740 $(rtld-installed-name).
11741 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
11742 (rtld_installed_name): Likewise.
11743 (library_path): Likewise.
11744 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
11745 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
11746 $(run-program-prefix) to tst-tables.sh.
11747 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
11748 it to run tst-table-from and tst-table-to.
11749 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
11750 Pass it to tst-table.sh.
11751 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
11752 $(run-program-prefix) to tst-gettext.sh.
11753 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
11754 tst-translit.sh.
11755 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
11756 tst-gettext2.sh.
11757 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
11758 to run tst-gettext.
11759 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
11760 to run tst-gettext2.
11761 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
11762 to run tst-translit.
11763 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
11764 $(run-program-prefix) to tst-mtrace.sh.
11765 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
11766 to run tst-mtrace.
11767 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
11768 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
11769 $(rtld-installed-name).
11770 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
11771 (rtld_installed_name): Likewise.
11772 (run_program_prefix): New variable. Use it to run wordexp-test.
11773
728e272a
JM
11774 * Makeconfig (ARCH): Remove all definitions.
11775 (machine): Likewise.
11776 [ARCH]: Remove conditional code.
11777 [!objdir]: Give error.
11778 [!objdir] (objpfx): Remove.
11779 [!objdir] (common-objpfx): Likewise.
11780 [!objdir] (common-objdir): Likewise.
11781 * configure.in (config_makefile): Remove. Hardcode Makefile in
11782 AC_CONFIG_FILES call.
11783 * configure: Regenerated.
11784
d528cdcf
JM
11785 [BZ #13888]
11786 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
11787 or TMPDIR.
11788 (testout): Likewise.
11789
135948bd
JM
11790 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
11791 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
11792 $(rtld-installed-name).
11793 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
11794 (rtld_installed_name): Likwise.
11795 (runit): Remove function.
11796 (run_getconf): New variable, Use it for running getconf binary.
11797
38c78296
L
117982012-10-18 H.J. Lu <hongjiu.lu@intel.com>
11799
11800 [BZ #14716]
11801 * string/test-memmem.c (check_result): New function.
11802 (do_one_test): Use it.
11803 (check1): New function.
11804 (test_main): Use it.
11805
d077f65f
MT
118062012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
11807
11808 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
11809
ced52c71
JM
118102012-10-18 Joseph Myers <joseph@codesourcery.com>
11811
11812 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
11813 (_G_LSEEK64): Likewise.
11814 (_G_MMAP64): Likewise.
11815 (_G_FSTAT64): Likewise.
11816 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
11817 (_G_LSEEK64): Likewise.
11818 (_G_MMAP64): Likewise.
11819 (_G_FSTAT64): Likewise.
11820 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
11821 unconditional. Call __mmap64 directly.
11822 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
11823 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
11824 __lseek64 directly.
11825 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
11826 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
11827 __mmap64 directly.
11828 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
11829 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
11830 __lseek64 directly.
11831 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
11832 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
11833 __lseek64 directly.
11834 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
11835 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
11836 __lseek64 directly.
11837 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
11838 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
11839 __fxstat64 directly.
11840 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
11841 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
11842 unconditional.
11843 (freopen64) [!_G_OPEN64]: Remove conditional code.
11844 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
11845 unconditional.
11846 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
11847 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
11848 unconditional.
11849 (ftello64) [!_G_LSEEK64]: Remove conditional code.
11850 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
11851 unconditional.
11852 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
11853 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
11854 unconditional.
11855 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
11856 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
11857 unconditional.
11858 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
11859 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
11860 unconditional.
11861 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
11862 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
11863 unconditional.
11864 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
11865
b741de23
SP
118662012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11867
11868 [BZ #12140]
11869 * manual/memory.texi (Malloc Tunable Parameters): Add note
11870 about free list pointers overwriting some perturb bytes.
11871 Wording suggested by Roland McGrath.
11872
f9b9d9c9
JM
118732012-10-17 Joseph Myers <joseph@codesourcery.com>
11874
11875 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
11876 (lgamma_test): Likewise.
11877 (tgamma_test): Likewise.
11878
172a631a
FW
118792012-10-16 Florian Weimer <fweimer@redhat.com>
11880
11881 [BZ #14700]
11882 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
11883 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
11884
e9f37252
MK
118852012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
11886
11887 * NEWS: Mention BZ #14716.
11888 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
11889 when removing AVAILABLE1_USES_J macro.
11890
d394eb74
L
118912012-10-12 H.J. Lu <hongjiu.lu@intel.com>
11892
11893 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
11894 (__bswap_64): __uint64_t for unsigned 64-bit int.
11895
ca38dc17
AS
118962012-10-12 Andreas Schwab <schwab@linux-m68k.org>
11897
11898 * include/string.h (memmem): Declare libc hidden alias.
11899 * string/memmem.c (memmem): Define libc hidden alias.
11900 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
11901 __read, __close instead of open, read, close.
11902
9a387d1f
L
119032012-10-11 H.J. Lu <hongjiu.lu@intel.com>
11904
ac49ecaf
L
11905 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
11906 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
11907 global and hidden.
11908 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
11909 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
11910 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
11911 Likewise.
11912 (__rawmemchr_sse2): Likewise.
11913 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
11914 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
11915 (__strchr_sse2): Likewise.
11916 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
11917 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
11918 (__strcasecmp_sse2): Likewise.
11919 (__strncasecmp_sse2): Likewise.
11920 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
11921 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
11922 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
11923 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
11924 (__strrchr_sse2): Likewise.
11925 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
11926 ifunc-impl-list.c.
11927 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
11928 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11929 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11930 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11931 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11932 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11933 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11934 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11935 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
11936 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
11937 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
11938 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
11939 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
11940 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
11941 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
11942 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11943 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
11944 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
11945 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
11946 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
11947 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
11948 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
11949 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
11950 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11951 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
11952 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11953 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
11954 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
11955 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
11956 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
11957
b090e8ea
L
11958 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
11959 global and hidden.
11960 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
11961 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
11962 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
11963 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
11964 Likewise.
11965 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
11966 Likewise.
11967 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
11968 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
11969 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
11970 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
11971 ifunc-impl-list.c.
11972 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11973 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11974 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11975 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11976 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11977 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11978 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11979 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11980 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11981 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11982 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11983 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11984 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11985 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
11986 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
11987 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11988 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
11989 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
11990 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11991 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11992 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11993 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11994 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11995 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11996 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11997 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
11998 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
11999 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
12000 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
12001 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12002 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
12003 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12004 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12005 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
12006 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12007 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12008 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12009 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12010 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12011 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12012 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
12013
11dd4af6
L
12014 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
12015 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
12016 * include/ifunc-impl-list.h: New file.
12017 * misc/ifunc-impl-list.c: Likewise.
12018 * misc/Makefile (routines): Add ifunc-impl-list.
12019 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
12020 * string/test-string.h: Include <ifunc-impl-list.h>.
12021 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
12022 impl_array): New variables.
12023 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
12024 are defined.
12025 (test_init): Call __libc_ifunc_impl_list to initialize
12026 func_list if TEST_IFUNC and TEST_NAME are defined.
12027
9a387d1f
L
12028 * string/Makefile (strop-tests): Add bcopy and bzero.
12029 * string/test-bcopy.c: New file.
12030 * string/test-bzero.c: Likewise.
12031 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
12032 defined.
12033 * string/test-memset.c: Support bzero test if TEST_BZERO is
12034 defined.
12035 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
12036 __libc_memmove.
12037 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
12038 __libc_memset.
12039 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
12040 of memset.
12041
472371b9
JM
120422012-10-10 Joseph Myers <joseph@codesourcery.com>
12043
1e4a9536
JM
12044 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
12045 * configure: Regenerated.
12046
d173d12e
JM
12047 * Makeconfig (+link-static-before-libc): Don't include
12048 $(link-static-libc).
12049
472371b9
JM
12050 * libio/libio.h (_IO_pos_t): Remove.
12051
89a3ad0b
AO
120522012-10-10 Alexandre Oliva <aoliva@redhat.com>
12053
12054 * NEWS: Add note about FIPS mode. Wording suggested by Roland
12055 McGrath.
12056
e7451425
AO
120572012-10-10 Alexandre Oliva <aoliva@redhat.com>
12058
12059 * crypt/crypt-entry.c: Include fips-private.h.
12060 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
12061 * crypt/md5c-test.c (main): Tolerate disabled MD5.
12062 * sysdeps/unix/sysv/linux/fips-private.h: New file.
12063 * sysdeps/generic/fips-private.h: New file, dummy fallback.
12064
4ba74a35
AO
120652012-10-10 Alexandre Oliva <aoliva@redhat.com>
12066
12067 * crypt/crypt-private.h: Include stdbool.h.
12068 (_ufc_setup_salt_r): Return bool.
12069 * crypt/crypt-entry.c: Include errno.h.
12070 (__crypt_r): Return NULL with EINVAL for bad salt.
12071 * crypt/crypt_util.c (bad_for_salt): New.
12072 (_ufc_setup_salt_r): Check that salt is long enough and within
12073 the specified alphabet.
12074 * crypt/badsalttest.c: New file.
12075 * crypt/Makefile (tests): Add it.
12076 ($(objpfx)badsalttest): New.
12077
f96f1242
MK
120782012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
12079
12080 * NEWS: Add entry for BZ #14602.
12081
0e8e0c1c
JM
120822012-10-09 Joseph Myers <joseph@codesourcery.com>
12083
12084 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
12085 type-generic.
12086 * math/libm-test.inc: Update comment listing what functions and
12087 macros are tested.
12088 (isgreater_test): New function.
12089 (isgreaterequal_test): Likewise.
12090 (isless_test): Likewise.
12091 (islessequal_test): Likewise.
12092 (islessgreater_test): Likewise.
12093 (isunordered_test): Likewise.
12094 (main): Call the new functions.
12095
273edc5e
RM
120962012-10-09 Roland McGrath <roland@hack.frob.com>
12097
b8493de0
RM
12098 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
12099 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
12100 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
12101 * sysdeps/i386/configure: Regenerated.
12102 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
12103 * sysdeps/mach/configure: Regenerated.
12104 * sysdeps/mach/hurd/configure: Regenerated.
12105 * sysdeps/powerpc/configure: Regenerated.
12106 * sysdeps/powerpc/powerpc32/configure: Regenerated.
12107 * sysdeps/powerpc/powerpc64/configure: Regenerated.
12108 * sysdeps/s390/s390-32/configure: Regenerated.
12109 * sysdeps/s390/s390-64/configure: Regenerated.
12110 * sysdeps/sh/configure: Regenerated.
12111 * sysdeps/sparc/configure: Regenerated.
12112 * sysdeps/unix/sysv/linux/configure: Regenerated.
12113 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
12114 * sysdeps/x86_64/configure: Regenerated.
12115
273edc5e
RM
12116 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
12117 defined. Don't check if MAP is NULL.
12118
c8450f70
JM
121192012-10-09 Joseph Myers <joseph@codesourcery.com>
12120
12121 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
12122 (_G_stat64): Likewise.
12123 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
12124 (_G_stat64): Likewise.
12125 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
12126 instead of struct _G_stat64.
12127 * libio/fileops.c (mmap_remap_check): Likewise.
12128 (decide_maybe_mmap): Likewise.
12129 (_IO_new_file_seekoff): Likewise.
12130 (_IO_file_stat): Likewise.
12131 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
12132 _G_off64_t.
12133 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
12134 instead of struct _G_stat64.
12135 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12136
57e605ba
MK
121372012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
12138
12139 [BZ #14602]
12140 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12141 Replace with ...
12142 (CHECK_EOL): New macro.
12143 (two_way_short_needle): Check beginning of haystack for EOL. Use
12144 CHECK_EOL.
12145 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12146 Replace with CHECK_EOL.
12147 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12148 Replace with CHECK_EOL.
12149
ef1bb361
JM
121502012-10-08 Joseph Myers <joseph@codesourcery.com>
12151
12152 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
12153 type-generic.
12154 * math/libm-test.inc: Update comment listing what functions and
12155 macros are tested.
12156 (finite_test): New function.
12157 (isinf_test): Likewise.
12158 (isnan_test): Likewise.
12159 (fpclassify_test): Test subnormal input.
12160 (isfinite_test): Likewise.
12161 (isnormal_test): Likewise.
12162 (main): Call the new functions.
12163
55f11534
JN
121642012-10-08 Jonathan Nieder <jrnieder@gmail.com>
12165
12166 [BZ #14660]
12167 * Makerules (%.dynsym): Force C locale when running
12168 $(OBJDUMP) --dynamic-syms.
12169
1ab29350
AS
121702012-10-08 Andreas Schwab <schwab@linux-m68k.org>
12171
12172 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
12173 <stdint.h>.
12174
f1ecb7ef
DM
121752012-10-06 David S. Miller <davem@davemloft.net>
12176
12177 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
12178 upper 32-bits of the length value in %o2 since we use branch-on-register
12179 tests which consider the entire 64-bit register.
12180
5d41d91a
L
121812012-10-06 H.J. Lu <hongjiu.lu@intel.com>
12182
12183 * string/test-strstr.c (check2): Add a test for page boundary.
12184
3baddb72
DM
121852012-10-05 David S. Miller <davem@davemloft.net>
12186
12187 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
12188 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
12189 file.
12190 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12191 sysdep_routines.
12192 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12193 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
12194 and bzero when HWCAP_SPARC_CRYPTO is present.
12195
9cee5585
L
121962012-10-05 H.J. Lu <hongjiu.lu@intel.com>
12197
d7e0dab9
L
12198 [BZ #14602]
12199 * string/test-strstr.c (check2): New function.
12200 (test_main): Call check2.
12201
03759f47
L
12202 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
12203 and bug-strchr1.
12204 * string/bug-strcasestr1.c (do_test): Moved to ...
12205 * string/test-strcasestr.c (check1): Here. New function.
12206 (do_one_test): Break out result checking code into ...
12207 (check_result): This. New function.
12208 (do_one_test): Call check_result.
12209 (test_main): Call check1.
12210 * string/bug-strchr1.c (do_test): Moved to ...
12211 * string/test-strchr.c (check1): Here. New function.
12212 (do_one_test): Break out result checking code into ...
12213 (check_result): This. New function.
12214 (do_one_test): Call check_result.
12215 (test_main): Call check1.
12216 * string/bug-strstr1.c (main): Moved to ...
046f153e 12217 * string/test-strstr.c (check1): Here. New function.
03759f47
L
12218 (do_one_test): Break out result checking code into ...
12219 (check_result): This. New function.
12220 (do_one_test): Call check_result.
12221 (test_main): Call check1.
12222 * string/bug-strcasestr1.c: Removed.
12223 * string/bug-strchr1.c: Likewise.
12224 * string/bug-strstr1.c: Likewise.
12225
53cea63e
L
12226 * elf/Makefile (dl-routines): Add hwcaps.
12227 * elf/dl-support.c (_dl_important_hwcaps): Removed.
12228 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
12229 (_dl_important_hwcaps): Moved to ...
12230 * elf/dl-hwcaps.c: Here. New file.
12231 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
12232
9cee5585 12233 [BZ #14557]
bb859b06
L
12234 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
12235 if IS_IN_rtld isn't defined.
12236
9cee5585
L
12237 * elf/dl-support.c (_dl_sysinfo_map): New.
12238 Include "get-dynamic-info.h" and "setup-vdso.h".
12239 (_dl_non_dynamic_init): Call setup_vdso.
12240 * elf/dynamic-link.h: Don't include <assert.h>.
12241 (elf_get_dynamic_info): Moved to ...
12242 * elf/get-dynamic-info.h: Here. New file.
12243 * elf/dynamic-link.h: Include "get-dynamic-info.h".
12244 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
12245 * elf/setup-vdso.h: Here. New file.
12246 * elf/rtld.c: Include "setup-vdso.h".
12247 (dl_main): Call setup_vdso.
12248
23c31b76
JM
122492012-10-05 Joseph Myers <joseph@codesourcery.com>
12250
28234b07
JM
12251 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
12252 creal in comment listing functions tested. List finite, isinf,
12253 isnan, isless, islessequal, isgreater, isgreaterequal,
12254 islessgreater, isunordered, lgamma_r and pow10 as functions and
12255 macros not tested. Mention which functions not tested are aliases
12256 for other functions. Fix typo. Note that signs of NaNs are not
12257 tested.
12258
23c31b76
JM
12259 * scripts/config.guess: Update from config.git.
12260 * scripts/config.sub: Likewise.
12261
9043e228
RM
122622012-10-04 Roland McGrath <roland@hack.frob.com>
12263
12264 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
12265 * misc/madvise.c (madvise): Renamed to __madvise.
12266 Make madvise a weak alias.
12267 * include/sys/mman.h: Declare __madvise.
12268 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
12269 * sysdeps/unix/syscalls.list
12270 (madvise): Make __madvise the strong name, and madvise a weak alias.
12271 * sysdeps/unix/sysv/linux/syscalls.list
12272 (madvise, mmap): Remove redundant entries.
12273 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
12274 * malloc/malloc.c (mtrim): Likewise.
12275 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
12276
f57f8055
RM
122772012-10-03 Roland McGrath <roland@hack.frob.com>
12278
12279 * sysdeps/mach/hurd/dl-cache.c: File removed.
12280 * config.h.in (USE_LDCONFIG): New #undef.
12281 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
12282 * configure: Regenerated.
12283 * elf/Makefile (dl-routines): Add dl-cache only under
12284 [$(use-ldconfig) = yes].
12285 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
12286 cache on [USE_LDCONFIG].
12287 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
12288 [USE_LDCONFIG].
12289 * elf/rtld.c (dl_main): Likewise.
12290
5bb0c10a
PT
122912012-10-03 Pino Toscano <toscano.pino@tiscali.it>
12292
12293 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
12294 _SC_LEVEL4_CACHE_LINESIZE.
12295
010188c6
RM
122962012-10-03 Roland McGrath <roland@hack.frob.com>
12297
12298 * sysdeps/unix/bsd/confstr.h: File removed.
12299
b6c5ec07
AO
123002012-10-02 Alexandre Oliva <aoliva@redhat.com>
12301
12302 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
12303 sys/sdt-config.h.
12304
408223d4
RM
123052012-10-02 Roland McGrath <roland@hack.frob.com>
12306
12307 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
12308 Make 'mapoff' field ElfW(Off) rather than off_t.
12309
bb9510dc
DL
123102012-10-02 Dmitry V. Levin <ldv@altlinux.org>
12311
fc997c6e
DL
12312 * nscd/Makefile: Remove nscd-cflags and all its users.
12313 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
12314 (CFLAGS-nonlib): Add compiler flags for nscd modules.
12315
bb9510dc
DL
12316 [BZ #10631]
12317 * malloc.c (malloc_printerr): Clarify error message.
12318
05699367
L
123192012-10-02 H.J. Lu <hongjiu.lu@intel.com>
12320
12321 [BZ #14648]
12322 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12323 Set bit_FMA_Usable if FMA is supported.
12324 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
12325 macro.
12326 (bit_FMA4_Usable): Updated.
12327 (index_FMA_Usable): New macro.
12328 (CPUID_FMA): Likewise
12329 (HAS_FMA): Defined with bit_FMA_Usable.
12330
51367701
RM
123312012-10-01 Roland McGrath <roland@hack.frob.com>
12332
12333 * bits/types.h (__swblk_t): Type removed.
12334 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
12335 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
12336 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12337 (__SWBLK_T_TYPE): Likewise.
12338 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
12339 (__SWBLK_T_TYPE): Likewise.
12340 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12341 (__SWBLK_T_TYPE): Likewise.
12342 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12343 (__SWBLK_T_TYPE): Likewise.
12344
4d57bf63 123452012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 12346 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
12347
12348 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
12349 (xdr_mapname): Use YPMAXMAP as maxsize.
12350 (xdr_peername): Use YPMAXPEER as maxsize.
12351 (xdr_keydat): Use YPAXRECORD as maxsize.
12352 (xdr_valdat): Use YPMAXRECORD as maxsize.
12353
93c65d43
RM
123542012-10-01 Roland McGrath <roland@hack.frob.com>
12355
497a03d6
RM
12356 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
12357
93c65d43
RM
12358 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
12359 * csu/init-first.c: ... here.
12360 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
12361 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
12362 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
12363 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
12364 * sysdeps/i386/init-first.c: File removed.
12365 * sysdeps/sh/init-first.c: File removed.
12366
bec749fd
JM
123672012-10-01 Joseph Myers <joseph@codesourcery.com>
12368
12369 [BZ #14645]
12370 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
12371 if x * y might underflow to zero and z is zero.
12372 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12373 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12374 * math/libm-test.inc (min_subnorm_value): New variable.
12375 (fma_test): Add more tests.
12376 (fma_test_towardzero): Likewise.
12377 (fma_test_downward): Likewise
12378 (fma_test_upward): Likewise.
12379 (initialize): Set min_subnorm_value.
12380
8ec5b013
JM
123812012-09-29 Joseph Myers <joseph@codesourcery.com>
12382
12383 [BZ #14638]
12384 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
12385 0 + 0.
12386 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
12387 mode for addition resulting in exact zero.
12388 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
12389 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
12390 exact 0 + 0.
12391 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12392 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12393 * math/libm-test.inc (fma_test): Add more tests.
12394 (fma_test_towardzero): New function.
12395 (fma_test_downward): Likewise.
12396 (fma_test_upward): Likewise.
12397 (main): Call the new functions.
12398
b1fa802e
DM
123992012-09-28 David S. Miller <davem@davemloft.net>
12400
12401 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
12402
d3b9fd9e
RM
124032012-09-28 Roland McGrath <roland@hack.frob.com>
12404
ea4d37b3
RM
12405 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
12406 instead of SIGALRM.
12407
ac51c949
RM
12408 * sysdeps/gnu/_G_config.h: Moved to ...
12409 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
12410 * sysdeps/mach/hurd/_G_config.h: Moved to ...
12411 * sysdeps/generic/_G_config.h: ... here.
12412
28c195f7
RM
12413 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
12414
848917f9
RM
12415 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
12416
6bacf05b
RM
12417 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
12418 Conditionalize target on [libnss_test1.so-version].
12419
91363dbb
RM
12420 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
12421
cc87f7d8
RM
12422 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
12423 (elfobjdir): Move out of conditionals.
12424
b1c608fe
RM
12425 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
12426 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
12427 (__nss_lookup_function): Conditionalize label remove_from_tree on
12428 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 12429
1d9a6d96
DM
124302012-09-28 David S. Miller <davem@davemloft.net>
12431
12432 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
12433 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
12434 file.
12435 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12436 sysdep_routines.
12437 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12438 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
12439 when HWCAP_SPARC_CRYPTO is present.
12440
72581615
PT
124412012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12442
12443 * io/tst-mknodat.c: Create a FIFO instead of a socket.
12444
715a900c
JL
124452012-09-28 Andreas Schwab <schwab@linux-m68k.org>
12446
12447 [BZ #6530]
12448 * stdio-common/vfprintf.c (process_string_arg): Revert
12449 2000-07-22 change.
12450
124512011-09-28 Jonathan Nieder <jrnieder@gmail.com>
12452
12453 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
12454 for testcase.
12455 * stdio-common/tst-sprintf.c: Include <locale.h>
12456 (main): Test sprintf's handling of incomplete multibyte
12457 characters.
12458
9bac1d86
L
124592012-09-28 H.J. Lu <hongjiu.lu@intel.com>
12460
12461 * elf/dl-runtime.c (VERSYMIDX): Removed.
12462 * elf/dl-version.c (VERSYMIDX): Likewise.
12463 * elf/do-rel.h (VERSYMIDX): Likewise.
12464 (VALIDX): Likewise.
12465 * elf/dynamic-link.h (VERSYMIDX): Likewise.
12466 * elf/rtld.c (VALIDX): Likewise.
12467 (ADDRIDX): Likewise.
9bac1d86
L
12468 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
12469 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
12470 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
12471 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
12472 (VALIDX): Likewise.
12473 (ADDRIDX): Likewise.
9bac1d86 12474
b31606c0
PT
124752012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12476
12477 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
12478
11541177
JL
124792012-09-28 Dmitry V. Levin <ldv@altlinux.org>
12480
12481 [BZ #11438]
12482 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
12483 to global scope.
12484 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
12485 addresses are in the same scope as 192.0.2/24.
12486 * posix/gai.conf: Document new scope table defaults.
12487
adb26fae
SP
124882012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12489
12490 [BZ #5298]
12491 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
12492 for ftell. Compute offsets from write pointers instead.
12493 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12494
4573c6b0
SP
124952012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12496
12497 [BZ #14543]
12498 * libio/Makefile (tests): New test case tst-fseek.
12499 * libio/tst-fseek.c: New test case to verify that fseek/ftell
12500 combination works in wide mode.
12501 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
12502 state when the external buffer state changes.
12503
aa9bbfe6
DM
125042012-09-27 David S. Miller <davem@davemloft.net>
12505
12506 [BZ #14376]
12507 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
12508 pass reloc->r_addend in as the 'high' argument to
12509 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
12510
784421e7
DM
12511 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12512
c39bc8b8
PT
125132012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12514
12515 * rt/tst-aio2.c: Include <pthread.h>.
12516 * rt/tst-aio3.c: Likewise.
12517
1ccc2399
SE
125182012-09-27 Steve Ellcey <sellcey@mips.com>
12519
12520 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
12521
31ed4153
L
125222012-09-27 H.J. Lu <hongjiu.lu@intel.com>
12523
25f5f885
L
12524 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
12525 contents on [SHARED].
31ed4153 12526
b7bfe116
MP
125272012-09-26 Marek Polacek <polacek@redhat.com>
12528
12529 [BZ #14530]
12530 [BZ #13741]
12531 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
12532 for C++ and GCC <4.3 as well as for non GCC compilers.
12533
43c4edba
MT
125342012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
12535
12536 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12537
6a1bf82f
RM
125382012-09-25 Roland McGrath <roland@hack.frob.com>
12539
12540 * Makefile.in (all, install): Declare with .PHONY.
12541 Reported by Michael Hope <michael.hope@linaro.org>.
12542
8ad11b9a
TMQMF
125432012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12544
12545 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
12546 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
12547 system header.
12548 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
12549 Likewise.
12550 (sydep_routines): Add the new and the internal functions.
12551 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
12552 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
12553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
12554 (GLIBC_2.17): Add the new function.
12555 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12556 (GLIBC_2.17): Likewise.
12557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
12558 (GLIBC_2.17): Likewise.
12559 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
12560 (GLIBC_2.17): Likewise.
12561 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
12562
7e2fca8d
AM
125632012-09-25 Alan Modra <amodra@gmail.com>
12564
12565 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
12566 Add release barrier before setting once_control to say
12567 initialisation is done. Add hints on lwarx. Use macro in
12568 place of isync.
12569 (clear_once_control): Add release barrier.
12570
b87c4b24
JM
125712012-09-25 Joseph Myers <joseph@codesourcery.com>
12572
d032e0d2
JM
12573 [BZ #13629]
12574 * math/s_clog.c (__clog): Handle more values close to |z| = 1
12575 specially.
12576 * math/s_clog10.c (__clog10): Likewise.
12577 * math/s_clog10f.c (__clog10f): Likewise.
12578 * math/s_clog10l.c (__clog10l): Likewise.
12579 * math/s_clogf.c (__clogf): Likewise.
12580 * math/s_clogl.c (__clogl): Likewise.
12581 * math/Makefile (libm-calls): Add x2y2m1.
12582 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
12583 (__x2y2m1): Likewise.
12584 (__x2y2m1l): Likewise.
12585 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
12586 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
12587 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
12588 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12589 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
12590 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
12591 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
12592 * sysdeps/i386/fpu/libm-test-ulps: Update.
12593 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12594
b87c4b24
JM
12595 [BZ #14621]
12596 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
12597 int as type of variable DEPTH.
12598 (glob): Use size_t instead of int as type of variables NEWCOUNT
12599 and OLD_PATHC.
12600
6d3bf199
LD
126012012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12602
22bf5c17
LD
12603 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
12604 Add s_sincosf-sse2.
12605 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
12606 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
12607 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
12608 macros for using routine as __sincosf_ia32.
12609 Use macro for function declaration and weak_alias.
12610 * sysdeps/i386/fpu/libm-test-ulps: Update.
12611
12612 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
12613 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12614
12615 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
12616 subnormal argument.
12617 * math/s_cexpf.c (__cexpf): Likewise.
12618 * math/s_csinf.c (__csinf): Likewise.
12619 * math/s_csinhf.c (__csinhf): Likewise.
12620 * math/s_ctanf.c (__ctanf): Likewise.
12621 * math/s_ctanhf.c (__ctanhf): Likewise.
12622 * math/s_ccosh.c (__ccoshf): Likewise.
12623 * math/s_cexp.c (__cexpl): Likewise.
12624 * math/s_csin.c (__csin): Likewise.
12625 * math/s_csinh.c (__csinh): Likewise.
12626 * math/s_ctan.c (__ctan): Likewise.
12627 * math/s_ctanh.c (ctanh): Likewise.
12628 * math/s_ccoshl.c (__ccoshl): Likewise.
12629 * math/s_cexpl.c (__cexpl): Likewise.
12630 * math/s_csinl.c (__csinl): Likewise.
12631 * math/s_csinhl.c (__csinhl): Likewise.
12632 * math/s_ctanl.c (__ctanl): Likewise.
12633 * math/s_ctanhl.c (__ctanhl): Likewise.
12634
203e5603
JM
126352012-09-25 Joseph Myers <joseph@codesourcery.com>
12636
12637 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
12638 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
12639 (_IO_off_t): Define to __off_t, not _G_off_t.
12640 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
12641 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
12642 (_IO_wint_t): Define to wint_t, not _G_wint_t.
12643 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
12644 type of __dummy and __dummy2 fields.
12645 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
12646 (_G_ssize_t): Likewise.
12647 (_G_off_t): Likewise.
12648 (_G_pid_t): Likewise.
12649 (_G_uid_t): Likewise.
12650 (_G_wchar_t): Likewise.
12651 (_G_wint_t): Likewise.
12652 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
12653 (_G_ssize_t): Likewise.
12654 (_G_off_t): Likewise.
12655 (_G_pid_t): Likewise.
12656 (_G_uid_t): Likewise.
12657 (_G_wchar_t): Likewise.
12658 (_G_wint_t): Likewise.
12659 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
12660 (_G_ssize_t): Likewise.
12661 (_G_off_t): Likewise.
12662 (_G_pid_t): Likewise.
12663 (_G_uid_t): Likewise.
12664 (_G_wchar_t): Likewise.
12665 (_G_wint_t): Likewise.
12666
9fab36eb
SP
126672012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12668
12669 * malloc/arena.c: Include malloc-sysdep.h.
12670 (shrink_heap): Use check_may_shrink_heap to decide if madvise
12671 is sufficient to shrink the heap or an unmap is needed.
12672 * sysdeps/generic/malloc-sysdep.h: New file. Define
12673 new function check_may_shrink_heap.
12674 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
12675 new function check_may_shrink_heap.
12676
2b4f00d1
SP
126772012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12678
12679 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
12680 comments.
12681
9a9028b1
DL
126822012-09-24 Dmitry V. Levin <ldv@altlinux.org>
12683
57c69bef
DL
12684 * catgets/test-gencat.sh: Add "set -e".
12685 * elf/tst-pathopt.sh: Likewise.
12686 * grp/tst_fgetgrent.sh: Likewise.
12687 * iconvdata/run-iconv-test.sh: Likewise.
12688 * intl/tst-gettext.sh: Likewise.
12689 * intl/tst-gettext2.sh: Likewise.
12690 * intl/tst-gettext4.sh: Likewise.
12691 * intl/tst-gettext6.sh: Likewise.
12692 * intl/tst-translit.sh: Likewise.
12693 * io/ftwtest-sh: Likewise.
12694 * libio/test-freopen.sh: Likewise.
12695 * malloc/tst-mtrace.sh: Likewise.
12696 * posix/globtest.sh: Likewise.
12697 * posix/tst-getconf.sh: Likewise.
12698 * posix/wordexp-tst.sh: Likewise.
12699 * stdio-common/tst-printf.sh: Likewise.
12700 * stdio-common/tst-unbputc.sh: Likewise.
12701 * stdlib/tst-fmtmsg.sh: Likewise.
12702 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12703 * catgets/Makefile: Do not specify -e option when running
12704 testsuite shell scripts.
12705 * elf/Makefile: Likewise.
12706 * grp/Makefile: Likewise.
12707 * iconvdata/Makefile: Likewise.
12708 * intl/Makefile: Likewise.
12709 * io/Makefile: Likewise.
12710 * libio/Makefile: Likewise.
12711 * malloc/Makefile: Likewise.
12712 * posix/Makefile: Likewise.
12713 * stdio-common/Makefile: Likewise.
12714 * stdlib/Makefile: Likewise.
12715 * sysdeps/x86_64/Makefile: Likewise.
12716
9a9028b1
DL
12717 * io/ftwtest-sh: Add copyright header.
12718 * posix/globtest.sh: Likewise.
12719 * posix/tst-getconf.sh: Likewise.
12720 * posix/wordexp-tst.sh: Likewise.
12721 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12722
ced6f16e
L
127232012-09-24 H.J. Lu <hongjiu.lu@intel.com>
12724
94b32c39
L
12725 [BZ #13679]
12726 * Makeconfig (+link): Defined as $(+link-static) if
12727 $(build-shared) isn't yes.
12728 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
12729 isn't yes.
12730 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
12731
189e935b
L
12732 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
12733
ced6f16e
L
12734 [BZ #14562]
12735 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
12736 new chunk size with MALLOC_ALIGN_MASK.
12737
a9f8e53a
JM
127382012-09-24 Joseph Myers <joseph@codesourcery.com>
12739
12740 [BZ #5044]
12741 * stdio-common/printf_fphex.c: Include <stdbool.h> and
12742 <rounding-mode.h>.
12743 (__printf_fphex): Determine rounding using get_rounding_mode and
12744 round_away.
12745 * stdio-common/tst-printf-round.c (struct hex_test): New
12746 structure.
12747 (hex_tests): New variable.
12748 (test_hex_in_one_mode): New function.
12749 (do_test): Also run tests for hex float output.
12750
43153109
JM
127512012-09-21 Joseph Myers <joseph@codesourcery.com>
12752
12753 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12754 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12755 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
12756 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12757 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12758 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
12759 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12760 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12761
8a26625d
JM
127622012-09-20 Joseph Myers <joseph@codesourcery.com>
12763
12764 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
12765 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
12766 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
12767 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
12768
f3fd569c
DL
127692012-09-19 Dmitry V. Levin <ldv@altlinux.org>
12770
12771 [BZ #14579]
12772 * elf/rtld.c (dl_main): Limit the check for self loading to normal
12773 mode only.
12774 * elf/tst-rtld-load-self.sh: New test.
12775 * elf/Makefile: Run it.
12776
63bbedd4
JM
127772012-09-18 Joseph Myers <joseph@codesourcery.com>
12778
12779 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
12780 (tst-writev-ENV): Remove.
12781 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
12782
626f8b6a
CM
127832012-09-17 Chris Metcalf <cmetcalf@tilera.com>
12784
12785 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
12786
b7aaa4d6
JM
127872012-09-17 Joseph Myers <joseph@codesourcery.com>
12788
12789 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
12790 unconditional.
12791 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
12792 Likewise.
12793 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
12794 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
12795 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
12796 Likewise.
12797
65513990
L
127982012-09-14 H.J. Lu <hongjiu.lu@intel.com>
12799
12800 [BZ #14587]
12801 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
12802 * config.make.in (have-cpp-asm-debuginfo): Removed.
12803 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
12804 * configure: Regenerated.
12805
784761be
JM
128062012-09-14 Joseph Myers <joseph@codesourcery.com>
12807
12808 [BZ #5044]
12809 * stdio-common/printf_fp.c: Include <stdbool.h> and
12810 <rounding-mode.h>.
12811 (___printf_fp): Determine rounding using get_rounding_mode and
12812 round_away.
12813 * stdio-common/tst-printf-round.c: New file.
12814 * stdio-common/Makefile (tests): Add tst-printf-round.
12815 (link-libm): New variable.
12816 ($(objpfx)tst-printf-round): Depend in $(link-libm).
12817
9503345f
L
128182012-09-13 H.J. Lu <hongjiu.lu@intel.com>
12819
12820 [BZ #14576]
12821 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
12822 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
12823 Likewise.
12824 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
12825 Likewise.
12826
ad35fc00
JM
128272012-09-13 Joseph Myers <joseph@codesourcery.com>
12828
12829 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
12830 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12831 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12832 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12833
6c9b0f68
JM
128342012-09-12 Joseph Myers <joseph@codesourcery.com>
12835
12836 [BZ #14518]
12837 * include/rounding-mode.h: New file.
12838 * sysdeps/generic/get-rounding-mode.h: Likewise.
12839 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
12840 * stdlib/strtod_l.c: Include <rounding-mode.h>.
12841 (MAX_VALUE): New macro.
12842 (MIN_VALUE): Likewise.
12843 (overflow_value): New function.
12844 (underflow_value): Likewise.
12845 (round_and_return): Use overflow_value and underflow_value to
12846 determine return values in overflow and underflow cases. Use
12847 round_away to determine rounding depending on rounding mode.
12848 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
12849 determine return values in overflow and underflow cases.
12850 * stdlib/tst-strtod-round.c: Include <fenv.h>.
12851 (struct test_results): New structure.
12852 (struct test): Use struct test_results to store expected results
12853 for all rounding modes.
12854 (TEST): Include expected results for all rounding modes.
12855 (test_in_one_mode): New function.
12856 (do_test): Use test_in_one_mode to compute and check results.
12857 Check results for all rounding modes.
12858 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
12859 $(link-libm).
12860
19fcedd5
AM
128612012-12-09 Allan McRae <allan@archlinux.org>
12862
1e9d84cd 12863 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 12864
8bbfd2f1
JM
128652012-09-11 Joseph Myers <joseph@codesourcery.com>
12866
12867 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
12868 (_G_int32_t): Likewise.
12869 (_G_uint16_t): Likewise.
12870 (_G_uint32_t): Likewise.
12871 (_G_HAVE_BOOL): Likewise.
12872 (_G_HAVE_ATEXIT): Likewise.
12873 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12874 (_G_HAVE_IO_FILE_OPEN): Likewise.
12875 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
12876 (_G_int32_t): Likewise.
12877 (_G_uint16_t): Likewise.
12878 (_G_uint32_t): Likewise.
12879 (_G_HAVE_BOOL): Likewise.
12880 (_G_HAVE_ATEXIT): Likewise.
12881 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12882 (_G_HAVE_IO_FILE_OPEN): Likewise.
12883 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
12884 (_G_int32_t): Likewise.
12885 (_G_uint16_t): Likewise.
12886 (_G_uint32_t): Likewise.
12887 (_G_HAVE_BOOL): Likewise.
12888 (_G_HAVE_ATEXIT): Likewise.
12889 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12890 (_G_HAVE_IO_FILE_OPEN): Likewise.
12891
b1dc5912
L
128922012-09-11 H.J. Lu <hongjiu.lu@intel.com>
12893
12894 * csu/libc-tls.c: Update copyright years.
12895
0e886ef9
JM
128962012-09-10 Joseph Myers <joseph@codesourcery.com>
12897
28361c5e
JM
12898 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
12899 [!_G_USING_THUNKS]: Remove conditional code.
12900 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
12901 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
12902
0e886ef9
JM
12903 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
12904 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
12905 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12906 (_G_VTABLE_LABEL_PREFIX): Likewise.
12907 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12908 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12909 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12910 (_G_VTABLE_LABEL_PREFIX): Likewise.
12911 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
12912 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12913 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12914 (_G_VTABLE_LABEL_PREFIX): Likewise.
12915 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
12916
bcba7aa2
L
129172012-09-10 H.J. Lu <hongjiu.lu@intel.com>
12918
12919 * libio/Makefile: Include ../Makeconfig before tests.
12920 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
12921 only if $(build-shared) is yes.
12922
06585ee8
L
12923 * iconv/gconv_db.c: Update copyright years.
12924
80ccd52c
LD
129252012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12926
12927 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
12928 unwind info if defined PIC. Fix special cases description.
12929 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
12930
12931 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
12932 DP_HI_MASK entry.
12933 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
12934
691bc9c1
L
129352012-09-07 H.J. Lu <hongjiu.lu@intel.com>
12936
3d9b46b3
L
12937 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
12938
de2139a9
L
12939 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
12940 is NULL.
12941
5ca78dd0
L
12942 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
12943 (LDLIBS-tst-chk4): This.
12944 (LDFLAGS-tst-chk5): Renamed to ...
12945 (LDLIBS-tst-chk5): This.
12946 (LDFLAGS-tst-chk6): Renamed to ...
12947 (LDLIBS-tst-chk6): This.
12948 (LDFLAGS-tst-lfschk4): Renamed to ...
12949 (LDLIBS-tst-lfschk4): This.
12950 (LDFLAGS-tst-lfschk5): Renamed to ...
12951 (LDLIBS-tst-lfschk5): This.
12952 (LDFLAGS-tst-lfschk6): Renamed to ...
12953 (LDLIBS-tst-lfschk6): This.
12954
691bc9c1
L
12955 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
12956 on $(common-objpfx)soversions.mk.
12957
65cafb1c
JM
129582012-09-07 Joseph Myers <joseph@codesourcery.com>
12959
12960 [BZ #10014]
12961 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
12962 example host name.
12963
c78ab094
SP
129642012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
12965
12966 * malloc/arena.c (arena_get_retry): New function that gets
12967 another arena for the caller to try its request on.
12968 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
12969 current arena cannot fulfill the request.
12970 (__libc_memalign): Likewise.
12971 (__libc_memalign): Likewise.
12972 (__libc_pvalloc): Likewise.
12973 (__libc_calloc): Likewise.
12974
01f49f59
JT
129752012-09-05 John Tobey <john.tobey@gmail.com>
12976
12977 [BZ #13542]
12978 * manual/arith.texi (Operations on Complex): Fix description
12979 of carg branch cut.
12980
4c23fed5
JM
129812012-09-06 Joseph Myers <joseph@codesourcery.com>
12982
1d3c8572
JM
12983 [BZ #10014]
12984 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
12985 host name.
12986
4c23fed5
JM
12987 [BZ #10038]
12988 * manual/memory.texi (Memory): Make order of menu items match
12989 order of sections.
12990
04570aaa
L
129912012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12992
12993 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
12994 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
12995 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
12996
b80af2f4
L
129972012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12998
12999 * csu/libc-tls.c (static_dtv): Renamed to ...
13000 (_dl_static_dtv): This. Make it global.
13001 (_dl_initial_dtv): Removed.
13002 (__libc_setup_tls): Updated.
13003 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
13004 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
13005 DL_INITIAL_DTV.
13006
2abe9f15
PM
130072012-09-06 Petr Machata <pmachata@redhat.com>
13008
13009 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
13010 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
13011 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
13012 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
13013
0948c3af
L
130142012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13015
13016 [BZ #14545]
13017 * csu/libc-tls.c (_dl_initial_dtv): New variable.
13018 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
13019 freeing dtv[-1].
13020
a5055ad1
L
130212012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13022
13023 [BZ #14544]
13024 * Makeconfig (link-static-before-libc): Replace $(+prector)
13025 with $(+prectorT).
13026 (link-static-after-libc): Replace $(+postctor) with
13027 $(+postctorT).
13028 (link-bounded): Replace $(+prector)/$(+postctor) with
13029 $(+prectorT)/$(+postctorT).
13030 (+prectorT): New macro.
13031 (+postctorT): Likewise.
13032
ed8c2ecd
JM
130332012-09-06 Joseph Myers <joseph@codesourcery.com>
13034
13035 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
13036 (round_str): Handle values above the maximum for IBM long double
13037 as inexact.
13038 * stdlib/tst-strtod-round.c (tests): Regenerated.
13039
14c996c8
AK
130402012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13041
13042 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
13043 assembler flag.
13044 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
13045 zarch_nohighgprs around the zarch optimized routines.
13046 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
13047 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
13048 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
13049 for zarch.
13050
430d6ce6
DM
130512012-09-05 David S. Miller <davem@davemloft.net>
13052
13053 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13054
ff04dda4
DM
13055 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
13056 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
13057 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
13058 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
13059 entries.
13060
24d4e01b
AO
130612012-09-05 Alexandre Oliva <aoliva@redhat.com>
13062
13063 * malloc/arena.c: Fold copyright years.
13064 * malloc/mcheck.c, malloc/memusage.c: Likewise.
13065
61d58174
AO
130662012-09-05 Alexandre Oliva <aoliva@redhat.com>
13067
13068 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
13069
20196a5e
AO
130702012-09-05 Alexandre Oliva <aoliva@redhat.com>
13071
13072 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
13073
5c447383
AO
130742012-09-05 Alexandre Oliva <aoliva@redhat.com>
13075
13076 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
13077 change internal state upon failure.
13078
fad64255
AO
130792012-09-05 Alexandre Oliva <aoliva@redhat.com>
13080
13081 * malloc/mcheck.c (mcheck_check_all): Fix typo.
13082 * malloc/memusage.c (mmap): Likewise.
13083 (mmap64, mremap): Likewise. Adjust name in comment.
13084
1ffb8c90
SP
130852012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13086
13087 * libio/fileops.c: Fix typos in comments.
13088 * libio/oldfileops.c: Likewise.
13089 * libio/wfileops.c: Likewise.
13090
6ef9cc37
SP
130912012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13092
13093 [BZ #1349]
13094 * malloc/Makefile (tests): Add tst-malloc-usable test case.
13095 (tst-malloc-usable-ENV): Set environment for test case.
13096 * malloc/hooks.c (malloc_check_get_size): New function to get
13097 requested size.
13098 * malloc/malloc.c (musable): Use malloc_check_get_size.
13099 * malloc/tst-malloc-usable.c: New test case.
13100
4d038ae3
AS
131012012-09-05 Andreas Schwab <schwab@linux-m68k.org>
13102
13103 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
13104
c4e85184
AM
131052012-09-05 Allan McRae <allan@archlinux.org>
13106
b9dafc56 13107 [BZ #13966]
c4e85184
AM
13108 * configure.in (CXX_SYSINCLUDES): Use compiler output to
13109 determine header location.
13110 * configure: Regenerated.
13111
e1343020
AS
131122012-09-05 Andreas Schwab <schwab@linux-m68k.org>
13113
13114 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
13115 float format.
13116 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
13117 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
13118 format.
e1343020
AS
13119 (test): Regenerate.
13120
0a9f1987
DM
131212012-09-04 David S. Miller <davem@davemloft.net>
13122
13123 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
13124 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
13125 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
13126
29237804
FW
131272012-09-04 Florian Weimer <fweimer@redhat.com>
13128
13129 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
13130 failures.
13131
edb3cb88
FW
13132 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
13133
60160d83
JM
131342012-09-04 Joseph Myers <joseph@codesourcery.com>
13135
13136 [BZ #9914]
13137 * libio/iogetdelim.c: Include <limits.h>.
13138 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
13139 + len + 1 would overflow.
13140
bcd6c8dc
AJ
131412012-09-03 Andreas Jaeger <aj@suse.de>
13142
13143 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13144 * sysdeps/i386/fpu/libm-test-ulps: Update.
13145
4ffffbd2
LD
131462012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13147
13148 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13149 Add s_sinf-sse2, s_conf-sse2.
13150
13151 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
13152 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
13153 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
13154 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
13155
13156 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
13157 for using routine as __sinf_ia32.
13158 Use macro for function declaration and weak_alias.
13159 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
13160 for using routine as __cosf_ia32.
13161 Use macro for function declaration and weak_alias.
13162
13163 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
13164 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
13165
13166 * sysdeps/x86_64/fpu/s_sinf.S: New file.
13167 * sysdeps/x86_64/fpu/s_cosf.S: New file.
13168 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13169
13170 * math/libm-test.inc (cos_test): Add more test cases.
13171 (sin_test): Likewise.
13172 (sincos_test): Likewise.
13173
511fa286
AK
131742012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13175
13176 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
13177 (IFUNC_RESOLVE): Make pointers to the specialized implementations
13178 hidden.
13179 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
13180
5f30cfec
L
131812012-09-02 H.J. Lu <hongjiu.lu@intel.com>
13182
13183 [BZ #14538]
13184 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
13185 first element of the GOT.
13186 (elf_machine_load_address): Return the difference between
13187 the runtime address of _DYNAMIC and elf_machine_dynamic ().
13188
0786794f
AM
131892012-09-01 Allan McRae <allan@archlinux.org>
13190
5f30cfec
L
13191 [BZ #13412]
13192 * configure.in (AWK): Require gawk version 3.0 or later.
13193 * configure: Regenerated.
0786794f 13194
26889eac
JM
131952012-09-01 Joseph Myers <joseph@codesourcery.com>
13196
13197 * sysdeps/unix/sysv/linux/kernel-features.h
13198 (__ASSUME_POSIX_CPU_TIMERS): Remove.
13199 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13200 [__NR_clock_getres]: Make code unconditional.
13201 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
13202 (clock_getcpuclockid): Remove code left unreachable by removal of
13203 conditionals.
13204 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
13205 code unconditional.
13206 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13207 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13208 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
13209 Make code unconditional.
13210 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13211 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13212 * sysdeps/unix/sysv/linux/clock_settime.c
13213 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
13214 conditional code.
13215 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
13216 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13217
d22e28b0
L
132182012-08-29 H.J. Lu <hongjiu.lu@intel.com>
13219
13220 [BZ #14476]
13221 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
13222 scripts/test-installation.pl.
13223
13224 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
13225 and $ld_so_version if it is set.
13226
050af9c4
SP
132272012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13228
13229 [BZ #14516]
13230 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
13231 failure if reading from procfs failed.
13232 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
13233
ad845c0b
JM
132342012-08-27 Joseph Myers <joseph@codesourcery.com>
13235
13236 * sysdeps/unix/sysv/linux/kernel-features.h
13237 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
13238 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13239 Remove conditional code.
13240 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13241 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
13242 Remove conditional code.
13243 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13244 * sysdeps/unix/sysv/linux/i386/fxstat.c
13245 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13246 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13247 * sysdeps/unix/sysv/linux/i386/fxstatat.c
13248 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13249 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13250 * sysdeps/unix/sysv/linux/i386/lxstat.c
13251 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13252 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13253 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
13254 Remove conditional code.
13255 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13256 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13257 Remove conditional code.
13258 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13259 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
13260 <kernel-features.h>.
13261 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
13262 Remove.
13263 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
13264 Remove conditional code.
13265 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13266 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
13267 Remove conditional.
13268
5dbf56af
MF
132692012-08-27 Mike Frysinger <vapier@gentoo.org>
13270
13271 [BZ #5400]
13272 * NEWS: Add fixed bug number.
13273
d6e70f43
JM
132742012-08-27 Joseph Myers <joseph@codesourcery.com>
13275
7efb4737
JM
13276 [BZ #14519]
13277 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
13278 underflowing exponent in case of negative sign.
13279 * stdlib/tst-strtod-round-data: Add more tests.
13280 * stdlib/tst-strtod-round.c (tests): Regenerated.
13281
af92131a
JM
13282 [BZ #3479]
13283 * stdlib/strtod_l.c (NDIG): Remove.
13284 (HEXNDIG): Likewise.
13285 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
13286 smallest representable value.
13287 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
13288 lie within an exact representation of 1/2 ulp of the result.
13289 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
13290 unconditionally.
13291 (TENS_P9_IDX): Define unconditionally.
13292 (TENS_P9_SIZE): Likewise.
13293 (TENS_P10_IDX): Likewise.
13294 (TENS_P10_SIZE): Likewise.
13295 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
13296 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
13297 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
13298 entries for 10^2^13 and 10^2^14.
13299 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
13300 (TENS_P13_IDX): Define.
13301 (TENS_P13_SIZE): Likewise.
13302 (TENS_P14_IDX): Likewise.
13303 (TENS_P14_SIZE): Likewise.
13304 (_fpioconst_pow10): Change array size to
13305 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
13306 unconditional.
13307 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
13308 1024]: Add entries for 10^2^13 and 10^2^14.
13309 [LAST_POW10 > _LAST_POW10]: Remove #error.
13310 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
13311 (_fpioconst_pow10): Change array size to
13312 FPIOCONST_POW10_ARRAY_SIZE.
13313 * stdlib/gen-fpioconst.c: New file.
13314 * stdlib/gen-tst-strtod-round.c: Likewise.
13315 * stdlib/tst-strtod-round-data: Likewise.
13316 * stdlib/tst-strtod-round.c: Likewise.
13317 * stdlib/Makefile (tests): Add tst-strtod-round.
13318
d6e70f43
JM
13319 [BZ #14459]
13320 * stdlib/strtod_l.c: Include <stdint.h>.
13321 (NDEBUG): Do not define.
13322 (round_and_return): Change EXPONENT parameter to type intmax_t.
13323 Rearrange calculations to avoid internal overflow possibilities.
13324 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
13325 Rearrange calculations to avoid internal overflow possibilities.
13326 Assert that number fits inside MPNSIZE limbs.
13327 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
13328 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
13329 calculations and add assertions to avoid internal overflow
13330 possibilities. Add casts to avoid signed/unsigned operations.
13331 * stdlib/tst-strtod-overflow.c: New file.
13332 * stdlib/Makefile (tests): Add tst-strtod-overflow.
13333
1f529f7d
MP
133342012-08-25 Marek Polacek <polacek@redhat.com>
13335
13336 * time/time.h: Fix some typos in comments.
13337
59a629f1
RM
133382012-08-23 Roland McGrath <roland@hack.frob.com>
13339
13340 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
13341 * posix/tst-rfc3484-2.c: Likewise.
13342 * posix/tst-rfc3484-3.c: Likewise.
13343
d3bafbc9
SM
133442012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
13345
13346 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
13347 (EF_ARM_ABI_FLOAT_HARD): Likewise.
13348
4efcc022
JM
133492012-08-23 Joseph Myers <joseph@codesourcery.com>
13350
13351 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
13352 #include of fxstatat64.c.
13353
3cc3ef96
RM
133542012-08-22 Roland McGrath <roland@hack.frob.com>
13355
f04e2132
RM
13356 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
13357 * shadow/getspent_r.c: Likewise.
13358 * shadow/getspnam.c: Likewise.
13359 * shadow/getspnam_r.c: Likewise.
13360 * gshadow/getsgent.c: Likewise.
13361 * gshadow/getsgent_r.c: Likewise.
13362 * gshadow/getsgnam.c: Likewise.
13363 * gshadow/getsgnam_r.c: Likewise.
13364 * inet/getnetbyad.c: Likewise.
13365 * inet/getnetbyad_r.c: Likewise.
13366 * inet/getnetbynm.c: Likewise.
13367 * inet/getnetbynm_r.c: Likewise.
13368 * inet/getnetent.c: Likewise.
13369 * inet/getnetent_r.c: Likewise.
13370 * inet/getproto.c: Likewise.
13371 * inet/getproto_r.c: Likewise.
13372 * inet/getprtent.c: Likewise.
13373 * inet/getprtent_r.c: Likewise.
13374 * inet/getprtname.c: Likewise.
13375 * inet/getprtname_r.c: Likewise.
13376 * inet/getrpcbyname.c: Likewise.
13377 * inet/getrpcbyname_r.c: Likewise.
13378 * inet/getrpcbynumber.c: Likewise.
13379 * inet/getrpcbynumber_r.c: Likewise.
13380 * inet/getrpcent.c: Likewise.
13381 * inet/getrpcent_r.c: Likewise.
13382 * inet/getaliasent.c: Likewise.
13383 * inet/getaliasent_r.c: Likewise.
13384 * inet/getaliasname.c: Likewise.
13385 * inet/getaliasname_r.c: Likewise.
13386 * nscd/getgrgid_r.c: Likewise.
13387 * nscd/getgrnam_r.c: Likewise.
13388 * nscd/gethstbyad_r.c: Likewise.
13389 * nscd/gethstbynm3_r.c: Likewise.
13390 * nscd/getpwnam_r.c: Likewise.
13391 * nscd/getpwuid_r.c: Likewise.
13392 * nscd/getsrvbynm_r.c: Likewise.
13393 * nscd/getsrvbypt_r.c: Likewise.
13394 * nscd/gai.c: Likewise.
13395
c53d909c
RM
13396 * configure.in (build_nscd): New substituted variable, set
13397 by --disable-build-nscd and defaults to $use_nscd.
13398 * configure: Regenerated.
13399 * config.make.in (build-nscd): New substituted variable.
13400 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
13401 Change conditional to require [$(build-nscd) = yes] as well.
13402 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
13403
3cc3ef96
RM
13404 [BZ# 13696]
13405 * configure.in (use_nscd): New substituted variable, set by
13406 --disable-nscd. If enabled, define USE_NSCD.
13407 * configure: Regenerated.
13408 * config.h.in: Add USE_NSCD.
13409 * config.make.in (use-nscd): New substituted variable.
13410 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
13411 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
13412 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
13413 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
13414 (CFLAGS-getgrnam_r.c): Likewise.
13415 (CFLAGS-initgroups.c): Likewise.
13416 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
13417 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
13418 Variables removed.
13419 * inet/getnetgrent_r.c
13420 (nscd_setnetgrent): New function, broken out of ...
13421 (setnetgrent): ... here. Call it.
13422 (innetgr): Conditionalize nscd bits on [USE_NSCD].
13423 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
13424 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
13425 * nscd/Makefile (routines, aux): Move definitions after include of
13426 Makeconfig. Conditionalize on [$(use-nscd) != no].
13427 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
13428 Conditionalize on [USE_NSCD].
13429 (is_nscd, nscd_init_cb): Likewise.
13430 (nss_load_library): Conditionalize init callback on [USE_NSCD].
13431 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
13432 * nss/nss_db/db-init.c: Likewise.
13433 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
13434 [USE_NSCD].
13435 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
13436 (make_request): Use it.
13437 (cache_valid_p): New function.
13438 (__check_pf): Use it.
13439 * NEWS: Add item for --disable-nscd.
13440
07e51550
DL
134412012-08-22 Dmitry V. Levin <ldv@altlinux.org>
13442
13443 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
13444 to support sed >= 4.2.1-20-ga9bf076.
13445 * configure: Regenerated.
13446
35a5b08b
RM
134472012-08-22 Roland McGrath <roland@hack.frob.com>
13448
13449 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
13450 Conditionalize whole body on [IREL].
13451
8479f23a
JL
134522012-08-22 Jeff Law <law@redhat.com>
13453
13454 [BZ #14505]
13455 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
13456 if the family is PF_UNSPEC.
13457
48da0b21
MF
134582012-08-22 Mike Frysinger <vapier@gentoo.org>
13459
13460 * Makerules (lib-version): Rename from V.
13461 (install-lib-nosubdir): Change V to lib-version.
13462
15d0da8c
WS
134632012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
13464
13465 [BZ #14252]
13466 * powerpc32/power6/wcschr.c: New file.
13467 * powerpc32/power6/wcscpy.c: New file.
13468 * powerpc32/power6/wcsrchr.c: New file.
13469 * powerpc64/power6/wcschr.c: New file.
13470 * powerpc64/power6/wcscpy.c: New file.
13471 * powerpc64/power6/wcsrchr.c: New file.
13472
bcca0895
MK
134732012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
13474
13475 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
13476 (two_way_short_needle): Use it.
5a4aaa33
RM
13477 * string/strstr.c (AVAILABLE1_USES_J): Define.
13478 * string/strcasestr.c: Likewise.
99677e57
MK
13479
13480 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
13481 array references.
13482 * string/strcasestr.c (TOLOWER): Make side-effect safe.
13483
400726de
MK
13484 [BZ #11607]
13485 * NEWS: Add an entry.
13486 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
13487 define their defaults.
13488 (two_way_short_needle): Detect end-of-string on-the-fly.
13489 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
13490 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
13491 * string/bug-strcasestr1.c: New test.
13492 * string/Makefile: Run it.
13493
20a71f2c
MK
134942012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
13495
13496 [BZ #11607]
13497 * string/str-two-way.h (two_way_short_needle): Optimize matching of
13498 the first character.
13499
21ad0558
RM
135002012-08-21 Roland McGrath <roland@hack.frob.com>
13501
13502 * csu/elf-init.c (__libc_csu_irel): Function removed.
13503 * csu/libc-start.c (apply_irel): New function.
13504 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
13505
0e1d9911
JM
135062012-08-21 Joseph Myers <joseph@codesourcery.com>
13507
13508 * sysdeps/unix/sysv/linux/kernel-features.h
13509 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
13510 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
13511 <kernel-features.h>.
13512 [__NR_fadvise64_64]: Make code unconditional.
13513 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
13514 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13515 !__NR_fadvise64_64)]: Likewise.
13516 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13517 !__NR_fadvise64_64))]: Likewise.
13518 [__NR_fadvise64]: Make code unconditional.
13519 [!__NR_fadvise64]: Remove conditional code.
13520 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
13521 <kernel-features.h>.
13522 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13523 unconditional.
13524 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13525 conditional code.
13526 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
13527 not include <kernel-features.h>.
13528 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13529 unconditional.
13530 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13531 conditional code.
13532 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
13533 include <kernel-features.h>.
13534 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13535 unconditional.
13536 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13537 conditional code.
13538
14a50c9d
WS
135392012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
13540
13541 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
13542 slight instruction rearrangements per scrollpipe analysis.
13543 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
13544
c0f4faf0
RM
135452012-08-20 Roland McGrath <roland@hack.frob.com>
13546
696da859
RM
13547 * manual/syslog.texi (syslog; vsyslog, closelog):
13548 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
13549 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
13550
c0f4faf0
RM
13551 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
13552 DSOCAPS to match condition on defining it.
13553
348363b2
JM
135542012-08-20 Joseph Myers <joseph@codesourcery.com>
13555
a35cbf28
JM
13556 * sysdeps/unix/sysv/linux/kernel-features.h
13557 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
13558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
13559 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13560 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13561 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
13562 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13563 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
13565 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13566 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13567
445f7ecd
JM
13568 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
13569 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
13570
348363b2
JM
13571 * sysdeps/unix/sysv/linux/kernel-features.h
13572 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
13573 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
13574 unconditional.
13575 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13576 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
13577 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13578 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13579 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
13580 Make code unconditional.
13581 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13582 (__mmap64) [!__NR_mmap2]: Likewise.
13583 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
13584 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13585 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13586 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
13587 [__NR_mmap2]: Make code unconditional.
13588 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13589 (__mmap64) [!__NR_mmap2]: Likewise.
13590
bc5bc0e5
AK
135912012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13592
13593 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
13594
88d506de
AJ
135952012-08-18 Andreas Jaeger <aj@suse.de>
13596
13597 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
13598
493387d2
MF
135992012-08-18 Mike Frysinger <vapier@gentoo.org>
13600
13601 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
13602 * include/unistd.h (__have_sock_cloexec): Likewise.
13603 (__have_pipe2): Likewise.
13604 (__have_dup3): Likewise.
13605
a277af22
MF
136062012-08-18 Mike Frysinger <vapier@gentoo.org>
13607
13608 [BZ #9685]
13609 * include/unistd.h (__have_pipe2): Change define into an extern int.
13610 (__have_dup3): Likewise.
13611 * socket/have_sock_cloexec.c: Include fcntl.h.
13612 (__have_pipe2): New variable.
13613 (__have_dup3): Likewise.
13614
fdab8fd3
MF
136152012-08-17 Mike Frysinger <vapier@gentoo.org>
13616
13617 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
13618
31035e80
MP
136192012-08-17 Marek Polacek <polacek@redhat.com>
13620
13621 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
13622 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
13623
3bd9e993
RM
136242012-08-17 Roland McGrath <roland@hack.frob.com>
13625
c91c505f
RM
13626 * configure.in: Add AC_SUBST for sysheaders.
13627 * configure: Regenerated.
13628 * config.make.in (sysheaders): New substituted variable.
13629
7c6f9d53
RM
13630 * sysdeps/unix/mkfifo.c: Moved ...
13631 * sysdeps/posix/mkfifo.c: ... here.
13632 * sysdeps/unix/mkfifoat.c: Moved ...
13633 * sysdeps/posix/mkfifoat.c: ... here.
13634
13635 * sysdeps/unix/utime.c: Moved ...
13636 * sysdeps/posix/utime.c: ... here.
13637
13638 * sysdeps/unix/time.c: Moved ...
13639 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
13640 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
13641 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
13642
13643 * sysdeps/unix/nice.c: Moved ...
13644 * sysdeps/posix/nice.c: ... here.
13645
13646 * sysdeps/unix/alarm.c: Moved ...
13647 * sysdeps/posix/alarm.c: ... here.
13648
3bd9e993
RM
13649 * intl/Makefile ($(codeset_mo)): Depend on the input file.
13650
d1f09384
JL
136512012-08-17 Jeff Law <law@redhat.com>
13652
13653 * intl/Makefile (codeset_mo): New variable.
13654 ($(codeset_mo)): New target.
13655 (tst-codeset.out): Depend on that. Remove explicit rule.
13656 (tst-gettext3.out, tst-gettext5.out): Likewise.
13657 (LOCPATH-ENV, tst-codeset-ENV): New variables.
13658 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
13659 * intl/tst-codeset.sh: Remove.
13660 * intl/tst-gettext3.sh: Likewise.
13661 * intl/tst-gettext5.sh: Likewise.
13662
2ae1ae5c
RM
136632012-08-17 Roland McGrath <roland@hack.frob.com>
13664
c31fdb83
RM
13665 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
13666 * sysdeps/unix/syscalls.list: ... here.
13667
a0844057
RM
13668 * sysdeps/posix/getaddrinfo.c
13669 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
13670 (gaiconf_init, gaiconf_reload): Use them.
13671 [!_STATBUF_ST_NSEC]
13672 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
13673 Define using time_t rather than struct timespec.
13674
750c1f2a
RM
13675 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
13676 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
13677 Macros removed.
13678 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
13679 [!NO_THREADS].
13680 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
13681 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
13682 Likewise.
13683
2ae1ae5c
RM
13684 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
13685 __libc_cleanup_push argument.
13686
e66a42f5
RM
13687 * bits/param.h: New file.
13688 * misc/sys/param.h: New file.
13689 * include/sys/param.h: New file.
13690 * misc/Makefile (headers): Add bits/param.h.
13691 * sysdeps/generic/sys/param.h: File removed.
13692 * sysdeps/unix/sysv/linux/bits/param.h: New file.
13693 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
13694 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 13695 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 13696
b7c08a66
RM
13697 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
13698 last change.
13699
b2e1c562
RM
13700 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
13701 [_IO_MTSAFE_IO].
13702 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
13703 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
13704 New macros.
13705
c75ccd4c
RM
13706 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
13707 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
13708 rather than -D_IO_MTSAFE_IO conditionally.
13709 * stdio-common/Makefile (CPPFLAGS): Likewise.
13710 * wcsmbs/Makefile (CPPFLAGS): Likewise.
13711 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
13712 Use $(libio-mtsafe).
13713 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
13714 of -D_IO_MTSAFE_IO.
13715 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
13716 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
13717 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
13718 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
13719 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
13720 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
13721 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
13722 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
13723 (CFLAGS-fread_u_chk.c): Likewise.
13724 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
13725 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
13726 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
13727 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
13728 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
13729 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
13730 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
13731 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
13732 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
13733
13734 * libio/Makefile: Test [$(libc-reentrant) = yes]
13735 instead of [$(filter %REENTRANT, $(defines)) nonempty].
13736
13737 * Makeconfig
13738 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
13739 * sysdeps/pthread/configure: File removed.
13740 * sysdeps/pthread/Makeconfig: New file.
13741 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
13742 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
13743
d9195db8
GB
137442012-08-16 Gary Benson <gbenson@redhat.com>
13745
13746 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
13747 unmapping the first object in a namespace.
13748
86466cd9
RM
137492012-08-16 Roland McGrath <roland@hack.frob.com>
13750
13751 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
13752 (__internal_setnetgrent): ... this. Add internal_function to
13753 definition. Add libc_hidden_def.
13754 (setnetgrent): Update caller.
13755 (internal_endnetgrent): Renamed to ...
13756 (__internal_endnetgrent): ... this. Add internal_function to
13757 definition. Add libc_hidden_def.
13758 (endnetgrent): Update caller.
13759 (internal_getnetgrent_r): Renamed to ...
13760 (__internal_getnetgrent_r): ... this. Add internal_function to
13761 definition. Add libc_hidden_def.
13762 (__getnetgrent_r): Update caller.
13763 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
13764
c3c8283c
JM
137652012-08-16 Joseph Myers <joseph@codesourcery.com>
13766
13767 * stdlib/longlong.h: Update from GCC.
13768
db1ee0a8
RM
137692012-08-16 Roland McGrath <roland@hack.frob.com>
13770
13771 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
13772 on _QL, which is set by umul_ppmm but never used.
13773 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
13774 variables, which are set by GMP macros but never used.
13775 * stdio-common/_itowa.c (_itowa): Likewise.
13776 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
13777 * stdlib/mod_1.c (mpn_mod_1): Likewise.
13778
30f69637
CD
137792012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
13780
13781 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
13782 struct La_sh_regs is not constant.
13783 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
13784 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
13785 and struct La_sparc64_regs are not constant.
13786
93a78ac4
JM
137872012-08-16 Joseph Myers <joseph@codesourcery.com>
13788
13789 * sysdeps/unix/sysv/linux/kernel-features.h
13790 (__ASSUME_POSIX_TIMERS): Remove.
13791 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13792 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13793 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
13794 Make code unconditional.
13795 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13796 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
13797 Make code unconditional.
13798 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13799 * sysdeps/unix/sysv/linux/clock_nanosleep.c
13800 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
13801 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13802 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
13803 Make code unconditional.
13804 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13805 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
13806 (__libc_missing_posix_timers): Remove.
13807
dd924cd7
RM
138082012-08-15 Roland McGrath <roland@hack.frob.com>
13809
4b4f2771
RM
13810 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
13811 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
13812
601c888b
RM
13813 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
13814
176790a7
RM
13815 * elf/dl-sym.c: Include <stdlib.h>.
13816
329bc018
RM
13817 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
13818 constants, which avoids warnings in 32-bit builds.
13819
e04e272d
RM
13820 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
13821 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
13822
952bf94a
RM
13823 * misc/lseek.c: File moved to ...
13824 * io/lseek.c: ... here.
13825
7c99b50a
RM
13826 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
13827
dd924cd7
RM
13828 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
13829 shifting LEN more than 31 bits at once.
13830
b3f479a8
LD
138312012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13832
13833 [BZ #14195]
8c4ae0d4
RM
13834 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
13835 segmentation fault for a case of two empty input strings.
b3f479a8
LD
13836 * string/test-strncasecmp.c (check1): Renamed to...
13837 (bz12205): ...this.
13838 (bz14195): Add new testcase for two empty input strings and N > 0.
13839 (test_main): Call new testcase, adapt for renamed function.
13840
9c55864e
AJ
138412012-08-15 Andreas Jaeger <aj@suse.de>
13842
13843 [BZ #14090]
13844 * crypt/md5test2.c: New test, based on test supplied by Serge
13845 Belyshev <belyshev@depni.sinp.msu.ru>.
13846 * crypt/Makefile (xtests): Add md5test-giant..
13847 * crypt/Makefile ($(objpfx)md5test-giant): Add.
13848
02dcb6c5
PE
138492012-08-15 Paul Eggert <eggert@cs.ucla.edu>
13850
13851 [BZ #14090]
13852 * crypt/md5.c (md5_process_block): Don't assume the buffer
13853 length is less than 2**32.
13854 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
13855 length is less than 2**64.
13856
a3f95dcc
RM
138572012-08-15 Roland McGrath <roland@hack.frob.com>
13858
be75d758
RM
13859 * string/str-two-way.h: Include <sys/param.h>.
13860 (MAX): Macro removed.
13861
7312ca90
RM
13862 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
13863 Move #define and #undef of memmove to just before and after
13864 including <string.h>.
13865
9a0a5486
RM
13866 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
13867 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
13868 and after including <string.h>. Move declarations of
13869 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
13870 to before #include "string/memmove.c".
13871
67cc348d
RM
13872 * include/dirent.h: Declare __getdirentries.
13873
a3f95dcc
RM
13874 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
13875 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
13876
ca98e171
MF
138772012-08-14 Mike Frysinger <vapier@gentoo.org>
13878
13879 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
13880 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
13881 * sysdeps/i386/configure: Regenerated.
13882 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
13883 STABS_CURRENT_FILE, and STABS_FUN.
13884 (END): Remove call to STABS_FUN_END.
13885 (STABS_CURRENT_FILE1): Delete.
13886 (STABS_CURRENT_FILE): Likewise.
13887 (STABS_FUN): Likewise.
13888 (STABS_FUN_END): Likewise.
13889 (STABS_FUN2): Likewise.
13890 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
13891 * sysdeps/x86_64/configure: Regenerated.
13892
5908bf46
RM
138932012-08-14 Roland McGrath <roland@hack.frob.com>
13894
13895 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 13896 * elf/dl-lookup.c: Likewise.
5908bf46 13897
f2c05b9e
JM
138982012-08-14 Joseph Myers <joseph@codesourcery.com>
13899
13900 * sysdeps/unix/sysv/linux/kernel-features.h
13901 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
13902 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
13903 unconditionally.
13904 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
13905 unconditionally.
13906 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
13907 condition on __ASSUME_CLONE_THREAD_FLAGS.
13908
e11f5155
AJ
139092012-08-14 Andreas Jaeger <aj@suse.de>
13910
13911 * sysdeps/i386/fpu/libm-test-ulps: Update.
13912
51a9ba86
MK
139132012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
13914
2fdd4f78
AJ
13915 * include/atomic.h (atomic_exchange_and_add): Split into ...
13916 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
13917 New atomic macros.
51a9ba86 13918
ba6cba9e
MT
139192012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
13920
13921 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13922
42443a47
JL
139232012-08-13 Jeff Law <law@redhat.com>
13924
13925 * manual/stdio.texi (snprintf): Clarify handling of the trailing
13926 null byte in the output string.
13927
121dce05
JM
139282012-08-10 Joseph Myers <joseph@codesourcery.com>
13929
13930 * sysdeps/unix/sysv/linux/kernel-features.h
13931 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
13932 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
13933 (__ASSUME_ARG_MAX_STACK_BASED): Define.
13934 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
13935 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
13936 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
13937 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
13938
bf51f568
JL
139392012-08-09 Jeff Law <law@redhat.com>
13940
13941 [BZ #13939]
13942 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
13943 When avoid_arena is set, don't retry in the that arena. Pick the
13944 next one, whatever it might be.
13945 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
13946 (arena_lock): Pass in new parameter to arena_get2.
13947 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
13948 arena_get2.
13949 (__libc_malloc): Unify retrying after main arena failure with
13950 __libc_memalign version.
13951 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
13952
f85fa270
L
139532012-08-09 H.J. Lu <hongjiu.lu@intel.com>
13954
13955 [BZ #14166]
13956 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
13957 to __redirect_strstr.
13958 (__strstr_sse42): Use typeof __redirect_strstr.
13959 (__strstr_ia32): Likewise.
13960 (__libc_strstr): New prototype.
13961 (strstr): Renamed to ...
13962 (__libc_strstr): This.
13963 (strstr): New strong alias of __libc_strstr.
13964 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
13965 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
13966 __redirect_time.
13967 Include <time.h>.
13968 (__libc_time): New prototype.
13969 (time_ifunc): Replace time with __libc_time.
13970 (time): New strong alias and hidden definition of __libc_time.
13971 (__GI_time): Remove strong alias.
13972 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
13973 Include <stddef.h>.
13974 (memmove): Redefined to __redirect_memmove.
13975 (__memmove_sse2): Use typeof __redirect_memmove.
13976 (__memmove_ssse3): Likewise.
13977 (__memmove_ssse3_back): Likewise.
13978 (__libc_memmove): New prototype.
13979 (memmove): Renamed to ...
13980 (__libc_memmove): This.
13981 (memmove): New strong alias of __libc_memmove.
13982
33b4a91e
MS
139832012-08-08 Mark Salter <msalter@redhat.com>
13984
13985 * elf/elf.h
13986 (R_MN10300_TLS_GD): Define.
13987 (R_MN10300_TLS_LD): Likewise.
13988 (R_MN10300_TLS_LDO): Likewise.
13989 (R_MN10300_TLS_GOTIE): Likewise.
13990 (R_MN10300_TLS_IE): Likewise.
13991 (R_MN10300_TLS_LE): Likewise.
13992 (R_MN10300_TLS_DTPMOD): Likewise.
13993 (R_MN10300_TLS_DTPOFF): Likewise.
13994 (R_MN10300_TLS_TPOFF): Likewise.
13995 (R_MN10300_SYM_DIFF): Likewise.
13996 (R_MN10300_ALIGN): Likewise.
13997 (R_MN10300_NUM): Update.
13998
b36137f1
JM
139992012-08-08 Joseph Myers <joseph@codesourcery.com>
14000
14001 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
14002 Remove.
14003
cdd915fd
RM
140042012-08-08 Roland McGrath <roland@hack.frob.com>
14005
a2433aac
RM
14006 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
14007
cdd915fd
RM
14008 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
14009 sysdeps/unix -> sysdeps/posix move.
14010 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14011
bf9b740a
AM
140122012-08-07 Allan McRae <allan@archlinux.org>
14013
14014 [BZ #14303]
14015 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
14016 (SUNOS_CPP): Likewise.
14017 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
14018 not found.
14019 (open_input): Call CPP using execvp.
14020
93df14ee
JM
140212012-08-07 Joseph Myers <joseph@codesourcery.com>
14022
14023 * sysdeps/unix/sysv/linux/kernel-features.h
14024 (__ASSUME_PROT_GROWSUPDOWN): Remove.
14025 (__ASSUME_NO_CLONE_DETACHED): Likewise.
14026 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14027 (__ASSUME_WAITID_SYSCALL): Likewise.
14028 * sysdeps/unix/sysv/linux/dl-execstack.c
14029 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
14030 code unconditional.
14031 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
14032 conditional code.
14033 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
14034 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
14035 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
14036 code.
14037 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
14038 unconditional.
14039 [__ASSUME_WAITID_SYSCALL]: Likewise.
14040 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
14041
d34689de
RM
140422012-08-07 Roland McGrath <roland@hack.frob.com>
14043
a281decc
RM
14044 * sysdeps/unix/closedir.c: Renamed to ...
14045 * sysdeps/posix/closedir.c: ... here.
14046 * sysdeps/unix/dirfd.c: Renamed to ...
14047 * sysdeps/posix/dirfd.c: ... here.
14048 * sysdeps/unix/dirstream.h: Renamed to ...
14049 * sysdeps/posix/dirstream.h: ... here.
14050 * sysdeps/unix/fdopendir.c: Renamed to ...
14051 * sysdeps/posix/fdopendir.c: ... here.
14052 * sysdeps/unix/opendir.c: Renamed to ...
14053 * sysdeps/posix/opendir.c: ... here.
14054 * sysdeps/unix/readdir.c: Renamed to ...
14055 * sysdeps/posix/readdir.c: ... here.
14056 * sysdeps/unix/readdir_r.c: Renamed to ...
14057 * sysdeps/posix/readdir_r.c: ... here.
14058 * sysdeps/unix/rewinddir.c: Renamed to ...
14059 * sysdeps/posix/rewinddir.c: ... here.
14060 * sysdeps/unix/seekdir.c: Renamed to ...
14061 * sysdeps/posix/seekdir.c: ... here.
14062 * sysdeps/unix/telldir.c: Renamed to ...
14063 * sysdeps/posix/telldir.c: ... here.
14064 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
14065 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
14066 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
14067 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
14068
22895b47
RM
14069 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
14070 * bits/fcntl.h: ... here.
14071
707a53b6
RM
14072 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
14073 not 0.
14074 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
14075 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
14076 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
14077 (struct flock): Move l_start, l_len to the beginning.
14078 Use __pid_t for l_pid.
14079 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
14080 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
14081 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
14082 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
14083 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
14084 [__USE_LARGEFILE64] (struct flock64): New type.
14085 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
14086
f0bd3e25
RM
14087 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
14088 * bits/dirent.h: ... here.
14089
d34689de
RM
14090 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
14091 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
14092
6dad2c06
JM
140932012-08-07 Joseph Myers <joseph@codesourcery.com>
14094
14095 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14096 Change from 2.6.0 to 2.6.16.
14097 * sysdeps/unix/sysv/linux/configure: Regenerated.
14098 * sysdeps/unix/sysv/linux/kernel-features.h
14099 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
14100 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
14101 version.
14102 (__ASSUME_UTIMES): Likewise.
14103 (__ASSUME_CLONE_STOPPED): Remove.
14104 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
14105 architectures, not kernel version.
14106 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
14107 (__ASSUME_NO_CLONE_DETACHED): Likewise.
14108 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14109 (__ASSUME_WAITID_SYSCALL): Likewise.
14110 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
14111 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
14112 * README: State 2.6.16 as minimum Linux kernel version. Do not
14113 refer to older versions.
14114
03af9520
RM
141152012-08-06 Roland McGrath <roland@hack.frob.com>
14116
8e49df1d
RM
14117 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
14118 Define alphasort64 as an alias.
14119 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
14120 Define versionsort64 as an alias.
14121 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
14122 Define scandir64 as an alias.
14123 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
14124 Define scandirat64 as an alias.
14125 * dirent/alphasort64.c (alphasort64):
14126 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
14127 * dirent/versionsort64.c: Likewise.
14128 * dirent/scandir64.c: Likewise.
14129 * dirent/scandirat64.c: Likewise.
14130 * sysdeps/wordsize-64/alphasort.c: File removed.
14131 * sysdeps/wordsize-64/alphasort64.c: File removed.
14132 * sysdeps/wordsize-64/scandir.c: File removed.
14133 * sysdeps/wordsize-64/scandir64.c: File removed.
14134 * sysdeps/wordsize-64/scandirat.c: File removed.
14135 * sysdeps/wordsize-64/scandirat64.c: File removed.
14136 * sysdeps/wordsize-64/versionsort.c: File removed.
14137 * sysdeps/wordsize-64/versionsort64.c: File removed.
14138 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
14139 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
14140 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
14141 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
14142 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
14143 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
14144 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
14145 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
14146
14147 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
14148 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14149 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
14150 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14151 [defined __arch64__ || defined __sparcv9]
14152 (__INO_T_MATCHES_INO64_T): New macro.
14153 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14154 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
14155 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
14156 * sysdeps/unix/sysv/linux/bits/dirent.h
14157 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
14158 (_DIRENT_MATCHES_DIRENT64): New macro.
14159
03af9520
RM
14160 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
14161 Define lockf64 as an alias.
14162 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
14163 Define fseeko64 as an alias.
14164 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
14165 Define ftello64 as an alias.
14166 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
14167 Define _IO_fgetpos64 and fgetpos64 as aliases.
14168 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
14169 Define _IO_fsetpos64 and fsetpos64 as aliases.
14170 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
14171 Conditionalize body on this.
14172 * libio/fseeko64.c: Likewise.
14173 * libio/ftello64.c: Likewise.
14174 * libio/iofgetpos64.c: Likewise.
14175 * libio/iofsetpos64.c: Likewise.
14176 * sysdeps/wordsize-64/lockf.c: File removed.
14177 * sysdeps/wordsize-64/lockf64.c: File removed.
14178 * sysdeps/wordsize-64/fseeko.c: File removed.
14179 * sysdeps/wordsize-64/fseeko64.c: File removed.
14180 * sysdeps/wordsize-64/ftello.c: File removed.
14181 * sysdeps/wordsize-64/ftello64.c: File removed.
14182 * sysdeps/wordsize-64/iofgetpos.c: File removed.
14183 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
14184 * sysdeps/wordsize-64/iofsetpos.c: File removed.
14185 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
14186 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
14187 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
14188 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
14189 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
14190 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
14191 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
14192 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
14193 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
14194 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
14195 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
14196
14197 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14198 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14199 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
14200 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14201 [defined __arch64__ || defined __sparcv9]
14202 (__OFF_T_MATCHES_OFF64_T): New macro.
14203 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14204 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14205 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14206 (__OFF_T_MATCHES_OFF64_T): New macro.
14207
c5757acd
L
142082012-08-06 H.J. Lu <hongjiu.lu@intel.com>
14209
14210 * stdlib/secure-getenv.c (__secure_getenv): Replace
14211 GLIBC_2_16 with GLIBC_2_17.
14212
3a31811e
L
142132012-08-06 H.J. Lu <hongjiu.lu@intel.com>
14214
14215 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
14216 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
14217
faa2bccb
DM
142182012-08-03 David S. Miller <davem@davemloft.net>
14219
14220 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14221
85fe1997
JM
142222012-08-03 Joseph Myers <joseph@codesourcery.com>
14223
14224 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
14225 Remove.
14226 (__ASSUME_CORRECT_SI_PID): Likewise.
14227 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
14228 (__ASSUME_TMPFS_NAME): Likewise.
14229 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
14230 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
14231 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
14232 (HAVE_AUX_SECURE): Make definition unconditional.
14233 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
14234 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
14235
4f75b7a0
RM
142362012-08-03 Roland McGrath <roland@hack.frob.com>
14237
14238 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
14239 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
14240 * sysdeps/mach/hurd/eloop-threshold.h: New file.
14241 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14242 __eloop_threshold instead of SYMLOOP_MAX.
14243
14244 * sysdeps/generic/eloop-threshold.h: New file.
14245 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
14246 of MAXSYMLINKS.
14247 * elf/chroot_canon.c (chroot_canon): Likewise.
14248
7aab07e4
JM
142492012-08-03 Joseph Myers <joseph@codesourcery.com>
14250
14251 [BZ #13717]
14252 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14253 Change to 2.6.0 everywhere.
14254 * sysdeps/unix/sysv/linux/configure: Regenerated.
14255 * sysdeps/unix/sysv/linux/kernel-features.h
14256 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
14257 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
14258 kernel versions.
14259 (__ASSUME_POSIX_TIMERS): Define unconditionally.
14260 (__ASSUME_FUTEX_REQUEUE): Remove.
14261 (__ASSUME_STATFS64): Define unconditionally.
14262 (__ASSUME_AT_SECURE): Likewise.
14263 (__ASSUME_CORRECT_SI_PID): Likewise.
14264 (__ASSUME_TGKILL): Define without depending on kernel version for
14265 i386.
14266 (__ASSUME_UTIMES): Likewise.
14267 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
14268 kernel version.
14269 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
14270 (__ASSUME_TMPFS_NAME): Likewise.
14271 * README: Update reference to Linux kernel versions.
14272
b67e9372
MP
142732012-08-02 Marek Polacek <polacek@redhat.com>
14274
1f529f7d 14275 [BZ# 14150]
b67e9372
MP
14276 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
14277 libc_cv_asm_type_prefix with %.
14278 * configure: Regenerated.
d2441631
RM
14279 * include/libc-symbols.h: Remove comment about
14280 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
14281 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
14282 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
14283 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
14284 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
14285 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
14286 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
14287 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
14288 * elf/tst-unique2mod1.c: Likewise.
14289 * elf/tst-unique1mod2.c: Likewise.
14290 * elf/tst-unique1mod1.c: Likewise.
14291 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
14292 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
14293 Replace ASM_TYPE_DIRECTIVE with .type.
14294 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14295 * sysdeps/i386/sysdep.h: Likewise.
14296 * sysdeps/x86_64/sysdep.h: Likewise.
14297 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
14298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14299 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 14300 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
14301 * sysdeps/powerpc/powerpc32/sysdep.h:
14302 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
14303 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
14304 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14305 * sysdeps/i386/fpu/e_powf.S: Likewise.
14306 * sysdeps/i386/fpu/e_expl.S: Likewise.
14307 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14308 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14309 * sysdeps/i386/fpu/e_pow.S: Likewise.
14310 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
14311 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14312 * sysdeps/i386/fpu/s_expm1.S: Likewise.
14313 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
14314 * sysdeps/i386/fpu/e_log2.S: Likewise.
14315 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14316 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14317 * sysdeps/i386/fpu/e_powl.S: Likewise.
14318 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14319 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
14320 * sysdeps/i386/fpu/e_logl.S: Likewise.
14321 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
14322 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
14323 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
14324 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14325 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14326 * sysdeps/i386/fpu/e_log.S: Likewise.
14327 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14328 * sysdeps/i386/fpu/e_logf.S: Likewise.
14329 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14330 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14331 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
14332 * sysdeps/i386/fpu/e_log10.S: Likewise.
14333 * sysdeps/i386/fpu/s_frexp.S: Likewise.
14334 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14335 * sysdeps/i386/fpu/s_asinh.S: Likewise.
14336 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
14337 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14338 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
14339 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
14340 * sysdeps/i386/i686/strtok.S: Likewise.
14341 * sysdeps/i386/i386-mcount.S: Likewise.
14342 * sysdeps/i386/strtok.S: Likewise.
14343 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
14344 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14345 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14346 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14347 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
14348 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14349 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
14350 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
14351 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14352 * sysdeps/x86_64/_mcount.S: Likewise.
14353 * sysdeps/x86_64/strtok.S: Likewise.
14354 * sysdeps/sh/_mcount.S: Likewise.
14355
2747bf9a
RM
143562012-08-01 Roland McGrath <roland@hack.frob.com>
14357
14358 * libio/iofopen.c: Include <fcntl.h>.
14359 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
14360 (_IO_fopen64, fopen64): Define as aliases.
14361 * libio/iofopen64.c: Include <fcntl.h>.
14362 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
14363 Conditionalize body on this.
14364 * sysdeps/wordsize-64/iofopen.c: File removed.
14365 * sysdeps/wordsize-64/iofopen64.c: File removed.
14366
3fb791b8
MP
143672012-08-01 Marek Polacek <polacek@redhat.com>
14368
14369 * libc/Makeconfig: Use elf in place of binfmt-subdir.
14370 Use dlfcn directly instead of a variable.
14371 (binfmt-subdir): Do not define.
14372 (dlfcn): Likewise.
14373
a9f1039f
JM
143742012-08-01 Joseph Myers <joseph@codesourcery.com>
14375
23bddc06
JM
14376 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
14377 Remove all definitions.
14378 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
14379 <kernel-features.h>.
14380 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
14381 (miss_F_GETOWN_EX): Remove all definitions.
14382 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
14383 macro definition.
14384 [!__ASSUME_FCNTL64]: Remove conditional code.
14385 [__ASSUME_FCNTL64]: Make code unconditional.
14386 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
14387 <kernel-features.h>.
14388 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
14389 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
14390 (lockf64) [__NR_fcntl64]: Make code unconditional.
14391 (lockf64) [__ASSUME_FCNTL64]: Likewise.
14392
a9f1039f
JM
14393 * sysdeps/unix/sysv/linux/kernel-features.h
14394 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
14395 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
14396 Make code unconditional.
14397 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14398 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14399 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
14400 [__NR_vfork]: Make code unconditional.
14401 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14402 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14403 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
14404 [__NR_vfork]: Make code unconditional.
14405 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14406 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14407
09c0ee5f
RM
144082012-08-01 Roland McGrath <roland@hack.frob.com>
14409
48aec5b9
RM
14410 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
14411 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
14412
cd97c966
RM
14413 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14414 Define mkstemp64 as an alias.
3f55550c
RM
14415 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14416 Define mkstemps64 as an alias.
cd97c966
RM
14417 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14418 Define mkostemp64 as an alias.
b8625cfc
RM
14419 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14420 Define mkostemps64 as an alias.
cd97c966
RM
14421 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
14422 Conditionalize body on this.
14423 * misc/mkostemp64.c: Likewise.
b8625cfc 14424 * misc/mkostemps64.c: Likewise.
3f55550c 14425 * misc/mkstemps64.c: Likewise.
cd97c966
RM
14426 * sysdeps/wordsize-64/mkstemp64.c: File removed.
14427 * sysdeps/wordsize-64/mkostemp64.c: File removed.
14428 * sysdeps/wordsize-64/mkostemp.c: File removed.
14429 * sysdeps/wordsize-64/mkstemp.c: File removed.
14430 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
14431 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
14432 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
14433 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
14434
09c0ee5f
RM
14435 [BZ #14138]
14436 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
14437 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
14438 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
14439 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
14440
14441 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
14442 compat_symbol macros from <shlib-compat.h> rather than the underlying
14443 default_symbol_version and symbol_version macros, so that DEFAULT
14444 lines in shlib-versions are respected.
14445 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
14446
7e66ee51
FW
144472012-08-01 Florian Weimer <fweimer@redhat.com>
14448
14449 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
14450 Declare with warn_unused_result.
14451 (setgid, setregid, setegid, setresgid): Likewise.
14452 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
14453 Likewise.
14454 * WUR-REPORT: Remove set*id functions.
14455
d2a54255
PT
144562012-07-31 Pino Toscano <toscano.pino@tiscali.it>
14457
14458 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
14459
7ecdb005
RM
144602012-07-31 Roland McGrath <roland@hack.frob.com>
14461
b4180a5e 14462 [BZ #10191]
789bd351
RM
14463 * include/sys/socket.h (__libc_accept, __libc_accept4):
14464 Add attribute_hidden.
14465 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
14466
40ce302d
RM
14467 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
14468 use of PTR_MANGLE.
14469 * inet/getnetgrent_r.c (setup): Likewise.
14470
7ecdb005
RM
14471 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
14472
e2eabb2c
DM
144732012-07-31 David S. Miller <davem@davemloft.net>
14474
14475 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14476
d0419dbf
JM
144772012-07-31 Joseph Myers <joseph@codesourcery.com>
14478
14479 [BZ #13629]
14480 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
14481 value between 1.0 and 2.0 and smaller part has absolute value less
14482 than 1.0.
14483 * math/s_clog10.c (__clog10): Likewise.
14484 * math/s_clog10f.c (__clog10f): Likewise.
14485 * math/s_clog10l.c (__clog10l): Likewise.
14486 * math/s_clogf.c (__clogf): Likewise.
14487 * math/s_clogl.c (__clogl): Likewise.
14488 * math/libm-test.inc (clog_test): Add more tests.
14489 (clog10_test): Likewise.
14490 * sysdeps/i386/fpu/libm-test-ulps: Update.
14491 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14492
2bc13872
FW
144932012-07-31 Florian Weimer <fweimer@redhat.com>
14494
14495 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
14496 Exit with zero in case no suitable GID is found, and write a
14497 message to standard error.
14498
bea9b193
RM
144992012-07-30 Roland McGrath <roland@hack.frob.com>
14500
14501 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
14502 rather than to 1.
14503 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
14504 (MAXPATHLEN): Removed.
14505 (NOGROUP, NODEV): New macros.
14506 (setbit, clrbit, isset, isclr): New macros.
14507 (howmany, roundup, powerof2): New macros.
14508 (DEV_BSIZE): New macro.
14509
14510 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
14511 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
14512
14513 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
14514 definition on [!__NO_LONG_DOUBLE_MATH].
14515
14516 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
14517 PTR_MANGLE and PTR_DEMANGLE.
14518
14519 * socket/accept4.c (accept4): Rename to __libc_accept4.
14520 Define accept4 as a weak alias.
14521
14522 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
14523 on [_DIRENT_HAVE_D_TYPE].
14524 * io/ftw.c (ftw_dir): Likewise.
14525
14526 * io/xmknod.c (__xmknod): Don't check PATH for being null.
14527
14528 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
14529
14530 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
14531 Use the BSD numbers rather than the arbitrary ones we had.
14532 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
14533 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
14534 (SIGXCPU, SIGXFSZ): New macros.
14535 (_NSIG): Now 32.
14536
14537 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
14538 initializer on [_LIBC_REENTRANT].
14539
14540 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
14541 definitions inside [_POSIX_MAPPED_FILES].
14542
14543 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
14544
14545 * dirent/opendir.c: Include <fcntl.h>.
14546
14547 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
14548 (__libc_getspecific): Likewise.
14549 (__libc_key_create): Likewise.
14550
14551 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
14552 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
14553 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
14554 (tmpfile64): Define as alias.
14555 * sysdeps/wordsize-64/tmpfile.c: File removed.
14556 * sysdeps/wordsize-64/tmpfile64.c: File removed.
14557 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
14558 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
14559
14560 * stdio-common/vfscanf.c: Include <stdbool.h>.
14561 * nss/makedb.c: Likewise.
14562 * stdio-common/_i18n_number.h: Likewise.
14563 * argp/argp-help.c: Likewise.
14564 * posix/wordexp.c: Likewise.
14565 * sysdeps/posix/spawni.c: Likewise.
14566 * nss/nss_files/files-initgroups.c: Likewise.
14567 * stdio-common/reg-modifier.c: Include <stdlib.h>.
14568 * nss/nss_files/files-initgroups.c: Likewise.
14569 * nss/nss_db/db-netgrp.c: Likewise.
14570 * nss/nss_db/db-initgroups.c: Likewise.
14571 * io/fchmodat.c: Include <sys/stat.h>.
14572
14573 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
14574 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
14575
14576 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
14577 [HAVE_MMAP].
14578
14579 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
14580 Add multiple inclusion protection.
14581
e5abc686
DM
145822012-07-27 David S. Miller <davem@davemloft.net>
14583
14584 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14585
815e6fa3
GB
145862012-07-27 Gary Benson <gbenson@redhat.com>
14587
14588 [BZ #14298]
14589 * elf/rtld.c: Include <stap-probe.h>.
14590 (dl_main): Added static probes "init_start" and "init_complete".
14591 * elf/dl-load.c: Include <stap-probe.h>.
14592 (lose): Take new parameter "nsid".
14593 Added static probe "map_failed".
14594 (_dl_map_object_from_fd): Pass namespace id to lose.
14595 Added static probe "map_start".
14596 (open_verify): Pass namespace id to lose.
14597 * elf/dl-open.c: Include <stap-probe.h>.
14598 (dl_open_worker) Added static probes "map_complete", "reloc_start"
14599 and "reloc_complete".
14600 * elf/dl-close.c: Include <stap-probe.h>.
14601 (_dl_close_worker): Added static probes "unmap_start" and
14602 "unmap_complete".
14603 * elf/rtld-debugger-interface.txt: New file documenting the above.
14604
9f98c16c
RM
146052012-07-26 Roland McGrath <roland@hack.frob.com>
14606
14607 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
14608 rather than a string variable.
14609 * sunrpc/rpc_main.c (h_output): Likewise.
14610 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
14611
f3c22df3
PT
146122012-07-26 Pino Toscano <toscano.pino@tiscali.it>
14613
14614 * inet/check_native.c: New file.
14615
3129cfc6
JM
146162012-07-26 Joseph Myers <joseph@codesourcery.com>
14617
da865e95
JM
14618 [BZ #13629]
14619 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
14620 if larger part has absolute value 1.0.
14621 * math/s_clog10.c (__clog10): Likewise.
14622 * math/s_clog10f.c (__clog10f): Likewise.
14623 * math/s_clog10l.c (__clog10l): Likewise.
14624 * math/s_clogf.c (__clogf): Likewise.
14625 * math/s_clogl.c (__clogl): Likewise.
14626 * math/libm-test.inc (clog_test): Add more tests.
14627 (clog10_test): Likewise.
14628 * sysdeps/i386/fpu/libm-test-ulps: Update.
14629 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14630
3129cfc6
JM
14631 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
14632 (pltexit): Likewise.
14633 (La_regs): Likewise.
14634 (La_retval): Likewise.
14635 (int_retval): Likewise.
14636 Update #error for removed macros to refer only to definitions in
14637 tst-audit.h.
14638 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
14639 macro.
14640 (pltexit): Likewise.
14641 (La_regs): Likewise.
14642 (La_retval): Likewise.
14643 (int_retval): Likewise.
14644 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
14645 macro.
14646 (pltexit): Likewise.
14647 (La_regs): Likewise.
14648 (La_retval): Likewise.
14649 (int_retval): Likewise.
14650 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
14651 macro.
14652 (pltexit): Likewise.
14653 (La_regs): Likewise.
14654 (La_retval): Likewise.
14655 (int_retval): Likewise.
14656 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
14657 macro.
14658 (pltexit): Likewise.
14659 (La_regs): Likewise.
14660 (La_retval): Likewise.
14661 (int_retval): Likewise.
14662 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
14663 macro.
14664 (pltexit): Likewise.
14665 (La_regs): Likewise.
14666 (La_retval): Likewise.
14667 (int_retval): Likewise.
14668 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
14669 macro.
14670 (pltexit): Likewise.
14671 (La_regs): Likewise.
14672 (La_retval): Likewise.
14673 (int_retval): Likewise.
14674 * sysdeps/generic/tst-audit.h: Update comment to refer only to
14675 macro definitions in tst-audit.h.
14676 * sysdeps/i386/tst-audit.h: New file.
14677 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
14678 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
14679 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
14680 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
14681 * sysdeps/sh/tst-audit.h: Likewise.
14682 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
14683 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
14684 * sysdeps/x86_64/tst-audit.h: Likewise.
14685
bfc07087
AJ
146862012-07-26 Andreas Jaeger <aj@suse.de>
14687
b1b2aaf8
AJ
14688 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
14689 ptrace.
14690
14691 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
14692 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
14693 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
14694 PTRACE_O_MASK.
14695 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
14696 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
14697 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
14698
bfc07087
AJ
14699 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
14700 value.
14701
14702 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
14703 _sigsys.
14704 (si_call_addr, si_syscall, si_arch): Define new macro.
14705 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
14706 _sigsys.
14707 (si_call_addr, si_syscall, si_arch): Define new marcro.
14708 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
14709 _sigsys.
14710 (si_call_addr, si_syscall, si_arch): Define new macro.
14711 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
14712 _sigsys.
14713 (si_call_addr, si_syscall, si_arch): Define new macro.
14714
89b4b02f
JM
147152012-07-25 Joseph Myers <joseph@codesourcery.com>
14716
14717 [BZ #13717]
14718 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14719 Change to 2.4.21 where previously 2.4.1.
14720 * sysdeps/unix/sysv/linux/configure: Regenerated.
14721 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
14722 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
14723 Linux kernel version.
14724 (__ASSUME_STD_AUXV): Remove.
14725 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
14726 kernel version.
14727 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
14728 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
14729 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
14730 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
14731 (__ASSUME_NETLINK_SUPPORT): Likewise.
14732 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
14733 (__no_netlink_support): Remove conditional definition.
14734 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
14735 Remove.
14736 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14737 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
14738 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
14739 (if_nameindex_ioctl): Remove.
14740 (if_nameindex_netlink): Do not handle __no_netlink_support.
14741 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14742 code.
14743 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
14744 Remove conditional code.
14745 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14746 code.
14747 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
14748 unconditional.
14749 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14750 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
14751 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
14752 Remove.
14753 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
14754 [!__ASSUME_STD_AUXV]: Remove conditional code.
14755 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
14756 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
14757 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
14758 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
14759 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
14760 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14761 code.
14762 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14763 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14764 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
14765 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14766 conditional code.
14767 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14768 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14769 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14770 code.
14771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14772 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14773 conditional code.
14774 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
14775 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14776 code unconditional.
14777 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14778 conditional code.
14779 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14780 unconditional.
14781 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14782 conditional code.
14783 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14784 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14785 unconditional.
14786 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14787 conditional code.
14788 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
14789 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14790 code unconditional.
14791 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14792 conditional code.
14793 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14794 unconditional.
14795 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14796 conditional code.
14797 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
14798 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14799 code unconditional.
14800 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14801 conditional code.
14802 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14803 unconditional.
14804 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14805 conditional code.
14806
842a39cd
AS
148072012-07-25 Andreas Schwab <schwab@linux-m68k.org>
14808
14809 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
14810 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
14811 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
14812 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
14813 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
14814 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
14815 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
14816 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
14817 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
14818 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
14819 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
14820 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
14821 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
14822 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
14823 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
14824 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
14825 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
14826 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
14827 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
14828 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
14829 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
14830 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
14831 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14832
84b3fd84
FW
148332012-07-25 Florian Weimer <fweimer@redhat.com>
14834
14835 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
14836 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
14837 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
14838 Introduce __libc_secure_getenv.
0c7936d5
FW
14839 * stdlib/Versions (2.17): Add secure_getenv
14840 (GLIBC_PRIVATE): Add __libc_secure_getenv.
14841 * stdlib/secure-getenv.c: Rename __secure_getenv to
14842 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
14843 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
14844 * stdlib/tst-secure-getenv.c: New.
14845 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
14846 * manual/startup.texi (Environment Access): Document
14847 secure_getenv.
84b3fd84
FW
14848 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
14849 __libc_secure_getenv.
14850 * inet/ruserpass.c (ruserpass): Likewise.
14851 * malloc/mtrace.c (mtrace): Likewise.
14852 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 14853 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
14854 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
14855 * sysdeps/posix/tempname.c: Likewise. Evaluate
14856 HAVE_SECURE_GETENV.
14857 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 14858 __secure_getenv to __libc_secure_getenv.
84b3fd84 14859 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
14860 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14861 Likewise.
14862 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14863 Likewise.
14864 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
14865 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
14866 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14867 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
14868 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
14869 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14870 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 14871
56e49b71
JM
148722012-07-25 Joseph Myers <joseph@codesourcery.com>
14873
14874 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
14875 (struct La_i86_retval): Likewise.
14876 (struct La_x86_64_regs): Likewise.
14877 (struct La_x86_64_retval): Likewise.
14878 (struct La_x32_regs): Likewise.
14879 (struct La_x32_retval): Likewise.
14880 (struct La_ppc32_regs): Likewise.
14881 (struct La_ppc32_retval): Likewise.
14882 (struct La_ppc64_regs): Likewise.
14883 (struct La_ppc64_retval): Likewise.
14884 (struct La_sh_regs): Likewise.
14885 (struct La_sh_retval): Likewise.
14886 (struct La_s390_32_regs): Likewise.
14887 (struct La_s390_32_retval): Likewise.
14888 (struct La_s390_64_regs): Likewise.
14889 (struct La_s390_64_retval): Likewise.
14890 (struct La_sparc32_regs): Likewise.
14891 (struct La_sparc32_retval): Likewise.
14892 (struct La_sparc64_regs): Likewise.
14893 (struct La_sparc64_retval): Likewise.
14894 (struct audit_ifaces): Remove architecture-specific pltenter and
14895 pltexit members.
14896 * sysdeps/i386/ldsodefs.h: New file.
14897 * sysdeps/powerpc/ldsodefs.h: Likewise.
14898 * sysdeps/s390/ldsodefs.h: Likewise.
14899 * sysdeps/sh/ldsodefs.h: Likewise.
14900 * sysdeps/sparc/ldsodefs.h: Likewise.
14901 * sysdeps/x86_64/ldsodefs.h: Likewise.
14902
354691b7
MP
149032012-07-25 Marek Polacek <polacek@redhat.com>
14904
14905 [BZ #6808]
14906 * math/libm-test.inc (yn_test): Add another test.
14907 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
14908 to ERANGE when the result is +-Inf.
14909 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
14910 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
14911 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
14912 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
14913
bf9e2071
JM
149142012-07-24 Joseph Myers <joseph@codesourcery.com>
14915
14916 * conform/data/time.h-data (NULL): Use macro-constant. Require
14917 equal to 0.
14918 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
14919 clock_t.
14920 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
14921
57633811
TS
149222012-07-23 Thomas Schwinge <thomas@codesourcery.com>
14923
14924 * configure.in <sysdeps resolving>: Correct printing
14925 Implies_before.
14926 * configure: Regenerate.
14927
c23c33b0
TS
149282012-07-22 Thomas Schwinge <thomas@codesourcery.com>
14929
14930 * math/w_ilogb.c: Include <limits.h>.
14931 * math/w_ilogbl.c: Likewise.
14932
b5982523
JM
149332012-07-20 Joseph Myers <joseph@codesourcery.com>
14934
14935 * manual/lang.texi (__va_copy): Document primarily as ISO C99
14936 va_copy. Document allowing for unavailable va_copy only as
14937 pre-C99 compatibility.
14938 * manual/string.texi (Copying and Concatenation): Use va_copy
14939 instead of __va_copy in concat example.
14940
ac4ea442
PT
149412012-07-20 Pino Toscano <toscano.pino@tiscali.it>
14942
14943 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
14944 (__sendto): Use create_address_port. Initialize APORT and deallocate
14945 it if not null.
14946
f98eafbd
PT
14947 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
14948 with O_NOLINK passed to __file_name_lookup.
14949
898c7aab
PT
14950 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
14951 with O_NOLINK passed to __file_name_lookup.
14952
0ced335a
PT
14953 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
14954 negative N or less than NGIDS.
14955
b3404dbd
PT
14956 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
14957 type to string_t. Set ERANGE as errno and return it if NAME is not big
14958 enough. Use memcpy instead of strncpy.
14959
0f48659e
JM
149602012-07-20 Joseph Myers <joseph@codesourcery.com>
14961
14962 * elf/Makefile (check-data): Remove.
14963 (localplt.data): New vpath directive.
14964 ($(objpfx)check-localplt.out): Use localplt.data from vpath
14965 instead of $(check-data).
14966 * scripts/data/localplt-generic.data: Move to ...
14967 * sysdeps/generic/localplt.data: ... here.
14968 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
14969 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
14970 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
14971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
14972 ... here.
14973 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
14974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
14975 ... here.
14976 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
14977 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
14978 ... here.
14979 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
14980 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
14981 ... here.
14982 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
14983 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
14984 ... here.
14985 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
14986 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
14987 ... here.
14988
d37cbdaa
AZ
149892012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14990
14991 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
14992 PPC32 and PPC64 files.
14993 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
14994 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
14995
46f85fc2
AK
149962012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14997
14998 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
14999 __makecontext_ret to ...
15000 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
15001 ... here and call exit if uc_link is NULL. New file.
15002 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
15003 __makecontext_ret.S.
15004 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
15005 __makecontext_ret to ...
15006 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
15007 ... here and call exit if uc_link is NULL. New file.
15008 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
15009 __makecontext_ret.S.
15010
08f43f9b
AK
150112012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15012
15013 * elf/elf.h (R_390_IRELATIVE): New definition.
15014 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
15015 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
15016 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
15017 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15018 (elf_machine_lazy_rel): Likewise.
15019 * sysdeps/s390/dl-irel.h: New file.
15020 * sysdeps/s390/s390-64/memcpy.S: New asm code.
15021 * sysdeps/s390/s390-64/memset.S: New asm code.
15022 * sysdeps/s390/s390-64/memcmp.S: New asm code.
15023 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
15024 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
15025 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
15026 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
15027 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
15028 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
15029 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
15030 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
15031 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
15032 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
15033 * sysdeps/s390/s390-32/memcpy.S: New asm code.
15034 * sysdeps/s390/s390-32/memset.S: New asm code.
15035 * sysdeps/s390/s390-32/memcmp.S: New asm code.
15036
3b05db33
MP
150372012-07-17 Marek Polacek <polacek@redhat.com>
15038
15039 [BZ #14349]
15040 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
15041 * sysdeps/s390/s390-64/configure.in: Likewise.
15042 * sysdeps/sparc/configure.in: Likewise.
15043 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
15044 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
15045 * sysdeps/i386/configure.in: Likewise.
15046 * sysdeps/x86_64/configure.in: Likewise.
15047 * sysdeps/sh/configure.in: Likewise.
15048 * sysdeps/s390/s390-32/configure: Regenerated.
15049 * sysdeps/s390/s390-64/configure: Likewise.
15050 * sysdeps/x86_64/configure: Likewise.
15051 * sysdeps/sh/configure: Likewise.
15052 * sysdeps/powerpc/powerpc64/configure: Likewise.
15053 * sysdeps/powerpc/powerpc32/configure: Likewise.
15054 * sysdeps/sparc/configure: Likwise.
15055 * sysdeps/i386/configure: Likewise.
15056
a66877c6
MP
15057 * elf/dl-open.c: Comment fixes.
15058
cfc82fd8
JM
150592012-07-17 Joseph Myers <joseph@codesourcery.com>
15060
bd29910a
JM
15061 * Makefile [CXX] (check-data): Remove.
15062 [CXX] (c++-types.data): New vpath directive.
15063 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
15064 vpath. Do not allow for C++ type data being missing.
15065 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
15066 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
15067 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
15068 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
15069 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
15070 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
15071 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
15072 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
15073 ... here.
15074 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
15075 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
15076 ... here.
15077 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
15078 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
15079 ... here.
15080 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
15081 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
15082 ... here.
15083 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
15084 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
15085 ... here.
15086 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
15087 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
15088 ... here.
15089 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
15090 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
15091 ... here.
15092 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
15093 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
15094
cfc82fd8
JM
15095 * elf/tls-macros.h (TLS_LE): Move architecture-specific
15096 definitions to architecture-specific files.
15097 (TLS_IE): Likewise.
15098 (TLS_LD): Likewise.
15099 (TLS_GD): Likewise.
15100 * sysdeps/i386/tls-macros.h: New file.
15101 * sysdeps/powerpc/tls-macros.h: Likewise.
15102 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
15103 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
15104 * sysdeps/sh/tls-macros.h: Likewise.
15105 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
15106 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
15107 * sysdeps/x86_64/tls-macros.h: Likewise.
15108
f7db3170
TS
151092012-07-17 Thomas Schwinge <thomas@codesourcery.com>
15110
07cbfc23
TS
15111 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
15112 zero value for regular exit case.
15113
f7db3170
TS
15114 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
15115 (__start_context): Preserve zero value for regular exit case.
15116
dc97c227
TS
151172012-07-17 Thomas Schwinge <thomas@codesourcery.com>
15118 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15119
15120 * manual/setjmp.texi (setcontext): Clarify normal process
15121 termination when uc_link is the null pointer.
15122 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
15123 exit call.
15124
d0cd7d02
AS
151252012-07-16 Andreas Schwab <schwab@linux-m68k.org>
15126
15127 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
15128 preprocessor. Test for each exception mask separately.
15129
dd318934
AJ
151302012-07-16 Andreas Jaeger <aj@suse.de>
15131
15132 * po/ru.po: Update from translation team.
15133
8048311a
JM
151342012-07-15 Joseph Myers <joseph@codesourcery.com>
15135
15136 * conform/data/string.h-data (NULL): Use macro-constant. Require
15137 equal to 0.
15138 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
15139 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
15140 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
15141 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
15142 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15143
b637d46e
AJ
151442012-07-13 Andreas Jaeger <aj@suse.de>
15145
15146 * po/fr.po: Update from translation team.
15147
541428fe
MP
151482012-07-12 Marek Polacek <polacek@redhat.com>
15149
15150 [BZ #14173]
15151 * math/libm-test.inc (yn_test): Add test for BZ #14173.
15152 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
15153 loop condition.
15154
ec332e94
JM
151552012-07-12 Joseph Myers <joseph@codesourcery.com>
15156
15157 [BZ #13717]
15158 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15159 Change to 2.4.1 where previously 2.4.0.
15160 * sysdeps/unix/sysv/linux/configure: Regenerated.
15161 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
15162 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
15163 version.
15164 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
15165 (__ASSUME_AT_CLKTCK): Remove.
15166 (__ASSUME_AT_PAGESIZE): Likewise.
15167 (__ASSUME_AT_XID): Likewise.
15168 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
15169 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
15170 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
15171 unconditionally.
15172 (HAVE_AUX_PAGESIZE): Likewise.
15173 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
15174 [__ASSUME_AT_CLKTCK]: Make code unconditional.
15175 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
15176
7b6e99be
JB
151772012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
15178
15179 [BZ #14307]
15180 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
15181 the temporary buffer used to invoke __gethostbyname2_r,
15182 __gethostbyaddr_r and gethostbyname4_r to make room for struct
15183 host_data / struct gaih_addrtuple.
15184 * resolv/nss_dns/dns-host.c (global scope): Move definition of
15185 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
15186 header file nss/nsswitch.h.
15187 * nss/nsswitch.h (global scope): Add definition of implementation
15188 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
15189 resolv/nss_dns/dns-host.c).
15190
608404eb
AJ
151912012-07-11 Andreas Jaeger <aj@suse.de>
15192
15193 * po/fr.po: Update from translation team.
15194
71220aca
AJ
15195 * po/sv.po: Update from translation team
15196 * po/fr.po: Another update from translation team.
15197
28cfe843
AZ
151982012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15199
15200 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
15201 for subnormals or multiply small sinh result by itself.
15202 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15203 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15204
6b90f981
DM
152052012-07-11 David S. Miller <davem@davemloft.net>
15206
15207 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15208
c6825772
AS
152092012-07-10 Andreas Schwab <schwab@linux-m68k.org>
15210
15211 [BZ #14347]
15212 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
15213 (INTERNAL_MARK): Shift it here.
15214
7b8e0d49
MP
152152012-07-10 Marek Polacek <polacek@redhat.com>
15216
15217 [BZ #14151]
15218 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
15219 libc_cv_asm_global_directive with .globl.
15220 * configure: Regenerated.
15221 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
15222 with .globl.
15223 * sysdeps/i386/configure: Regenerated.
15224 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
15225 with .globl.
15226 * sysdeps/x86_64/configure: Regenerated.
15227 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
15228 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
15229 * elf/tst-unique2mod2.c: Likewise.
15230 * elf/tst-unique2mod1.c: Likewise.
15231 * elf/tst-unique1mod2.c: Likewise.
15232 * elf/tst-unique1mod1.c: Likewise.
15233 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15234 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15235 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15236 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15237 * sysdeps/mach/sysdep.h: Likewise.
15238 * sysdeps/i386/sysdep.h: Likewise.
15239 * sysdeps/i386/i386-mcount.S: Likewise.
15240 * sysdeps/x86_64/_mcount.S: Likewise.
15241 * sysdeps/x86_64/sysdep.h: Likewise.
15242 * sysdeps/sh/_mcount.S: Likewise.
15243 * sysdeps/sh/sysdep.h: Likewise.
15244 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
15245 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
15246 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
15247 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15248 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
15249 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
15250 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
15251 * locale/localeinfo.h: Likewise.
15252 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
15253 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
15254
6c55cda3
RM
152552012-07-09 Roland McGrath <roland@hack.frob.com>
15256
15257 [BZ #14336]
15258 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
15259 system".
15260 * manual/message.texi (The Uniforum approach): Likewise.
15261 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
15262 (glibc iconv Implementation): Likewise.
15263
638a572e
JM
152642012-07-09 Joseph Myers <joseph@codesourcery.com>
15265
15266 [BZ #14337]
15267 * math/s_clog.c (__clog): Avoid scaling a value down where that
15268 could result in underflow.
15269 * math/s_clog10.c (__clog10): Likewise.
15270 * math/s_clog10f.c (__clog10f): Likewise.
15271 * math/s_clog10l.c (__clog10l): Likewise.
15272 * math/s_clogf.c (__clogf): Likewise.
15273 * math/s_clogl.c (__clogl): Likewise.
15274 * math/libm-test.inc (clog_test): Add more tests.
15275 (clog10_test): Likewise.
15276 * sysdeps/i386/fpu/libm-test-ulps: Update.
15277 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15278
261f4859
AS
152792012-07-06 Andreas Schwab <schwab@linux-m68k.org>
15280
0abaf3e4
AS
15281 [BZ #14283]
15282 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
15283 by 7 not 8 to examine high bit of fractional part.
15284
261f4859
AS
15285 [BZ #14042]
15286 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
15287 for call to __mcount_internal.
15288 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
15289 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
15290 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
15291
f17ac40d
JM
152922012-07-06 Joseph Myers <joseph@codesourcery.com>
15293
9ad63c23
JM
15294 [BZ #14154]
15295 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
15296 approximation for values within 0x1p-13f of an odd multiple of
15297 pi/4.
15298 * math/libm-test.inc (tan_test): Do not allow spurious underflow
15299 exception. Add more tests.
15300 * sysdeps/i386/fpu/libm-test-ulps: Update.
15301
f17ac40d
JM
15302 [BZ #6778]
15303 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
15304 inputs and return -1 for them. Do not check for +Inf in case not
15305 reachable for +Inf.
15306 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
15307 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
15308 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
15309 and return -1 for them. Do not check for +Inf in case not
15310 reachable for +Inf.
15311 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
15312 define.
15313 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
15314 and return -1 for them. Do not check for +Inf in case not
15315 reachable for +Inf.
15316 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
15317 spurious underflow.
15318 * sysdeps/i386/fpu/libm-test-ulps: Update.
15319 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15320
fb21f89b
MF
153212012-07-06 Mike Frysinger <vapier@gentoo.org>
15322
15323 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
15324
cdfe2c5e
JM
153252012-07-05 Joseph Myers <joseph@codesourcery.com>
15326
15327 [BZ #14157]
15328 [BZ #14331]
15329 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
15330 could result in spurious underflow. Scale down values above
15331 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
15332 * math/s_csqrtf.c (__csqrtf): Likewise.
15333 * math/s_csqrtl.c (__csqrtl): Likewise.
15334 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
15335 spurious underflow.
15336 * sysdeps/i386/fpu/libm-test-ulps: Update.
15337 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15338
70d35b67
AS
153392012-07-04 Andreas Schwab <schwab@linux-m68k.org>
15340
704bc459
AS
15341 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
15342 xopen-msg.sed.
15343 * catgets/xopen-msg.awk: New file.
15344 * catgets/xopen-msg.sed: Removed.
15345
70d35b67
AS
15346 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
15347 po2text.sed.
15348 * intl/po2test.awk: New file.
15349 * intl/po2test.sed: Removed.
15350
ca61cf32
JM
153512012-07-04 Joseph Myers <joseph@codesourcery.com>
15352
15353 [BZ #14328]
15354 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
15355 or multiply small sinh result by itself.
15356 * math/s_ctanf.c (__ctanf): Likewise.
15357 * math/s_ctanh.c (__ctanh): Likewise.
15358 * math/s_ctanhf.c (__ctanhf): Likewise.
15359 * math/s_ctanhl.c (__ctanhl): Likewise.
15360 * math/s_ctanl.c (__ctanl): Likewise.
15361 * math/libm-test.inc (ctan_test_tonearest): New function.
15362 (ctan_test_towardzero): Likewise.
15363 (ctan_test_downward): Likewise.
15364 (ctan_test_upward): Likewise.
15365 (ctanh_test_tonearest): Likewise.
15366 (ctanh_test_towardzero): Likewise.
15367 (ctanh_test_downward): Likewise.
15368 (ctanh_test_upward): Likewise.
15369 (main): Call these new functions.
15370 * sysdeps/i386/fpu/libm-test-ulps: Update.
15371 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15372
ca48a46a
MF
153732012-07-03 Mike Frysinger <vapier@gentoo.org>
15374
15375 * .gitignore: Delete /ports entry.
15376
9d63d37d
AJ
153772012-07-03 Andreas Jaeger <aj@suse.de>
15378
15379 * po/bg.po: Update from translation team.
15380 * po/cs.po: Likewise.
15381 * po/de.po: Likewise.
15382 * po/hr.po: Likewise.
15383 * po/nl.pl: Likewise.
15384 * po/pl.po: Likewise.
15385 * po/vi.po: Likewise.
15386
370ca3d2
JM
153872012-07-03 Joseph Myers <joseph@codesourcery.com>
15388
95f5a9a8
JM
15389 * Makeconfig [!+link] (+link-before-libc): New variable.
15390 [!+link] (+link-after-libc): Likewise.
15391 [!+link] (+link-tests): Likewise.
15392 [!+link] (+link): Define in terms of $(+link-before-libc) and
15393 $(+link-after-libc).
15394 [!+link-static] (+link-static-before-libc): New variable.
15395 [!+link-static] (+link-static-after-libc): Likewise.
15396 [!+link-static] (+link-static-tests): Likewise.
15397 [!+link-static] (+link-static): Define in terms of
15398 $(+link-static-before-libc) and $(+link-static-after-libc).
15399 [build-shared] (link-libc-before-gnulib): New variable.
15400 [build-shared] (link-libc-tests): Likewise.
15401 [build-shared] (link-libc): Define in terms of
15402 $(link-libc-before-gnulib).
15403 [!build-shared] (link-libc-tests): New variable.
15404 (link-libc-static-tests): New variable.
15405 [!gnulib] (gnulib-arch): New variable.
15406 [!gnulib] (gnulib-tests): Likewise.
15407 [!gnulib] (static-gnulib-arch): Likewise.
15408 [!gnulib] (static-gnulib-tests): Likewise.
15409 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
15410 Define with "=" instead of ":=".
15411 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
15412 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
15413 * Rules (binaries-all-notests): New variable.
15414 (binaries-all-tests): Likewise.
15415 (binaries-static-notests): Likewise.
15416 (binaries-static-tests): Likewise.
15417 (binaries-all): Define using $(binaries-all-notests) and
15418 $(binaries-all-tests).
15419 (binaries-static): Define using $(binaries-static-notests) and
15420 $(binaries-static-tests).
15421 (binaries-shared-tests): New variable.
15422 (binaries-shared-notests): Likewise.
15423 (binaries-shared): Remove variable.
15424 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
15425 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
15426 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
15427 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
15428 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
15429 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
15430 * elf/Makefile (sln-modules): New variable.
15431 (extra-objs): Add $(sln-modules:=.o).
15432 (ldconfig-modules): Add static-stubs.
15433 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
15434 * elf/static-stubs.c: New file.
15435
7a845b2c
JM
15436 [BZ #14283]
15437 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
15438 by 7 not 8 to examine high bit of fractional part. Use volatile
15439 variables when splitting into final array of floats if
15440 __FLT_EVAL_METHOD__ != 0.
15441 * math/libm-test.inc (cos_test): Add another test.
15442 (sin_test): Likewise.
15443 * sysdeps/i386/fpu/libm-test-ulps: Update.
15444
e2283f38
JM
15445 [BZ #14273]
15446 * math/libm-test.inc (cosh_test): Add more tests.
15447
370ca3d2
JM
15448 * version.h (RELEASE): Set to "development".
15449 (VERSION): Set to "2.16.90".
15450
ee9247c3
CD
154512012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
15452
15453 * NEWS: Update copyright. Remove last-updated date.
15454 Mention math library bug fixes and timezone data changes.
15455 * README: Mention GNU/Hurd, x32, and HPPA support status.
15456
4648c381
TS
154572012-06-28 Thomas Schwinge <thomas@codesourcery.com>
15458
15459 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
15460
aac78a43
AJ
154612012-06-27 Andreas Jaeger <aj@suse.de>
15462
15463 * manual/contrib.texi (Contributors): Add Samuel Thibault.
15464
ed3dbfad
AJ
154652012-06-25 Andreas Jaeger <aj@suse.de>
15466
15467 * sysdeps/s390/fpu/libm-test-ulps: Update.
15468
4d0ee855
AS
154692012-06-23 Andreas Schwab <schwab@linux-m68k.org>
15470 Thomas Schwinge <thomas@codesourcery.com>
15471
15472 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
15473 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
15474 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
15475 fanotify_mark.
15476
af1bce34
TS
154772012-06-23 Thomas Schwinge <thomas@codesourcery.com>
15478
a9fa33ba
TS
15479 * sysdeps/mach/start.c: Remove file.
15480 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
15481 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
15482 * sysdeps/sh/init-first.c: Likewise.
15483
58f902b8
TS
15484 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
15485 registers for frame unwinding purposes, add CFI directives.
15486 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15487 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
15488 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
15489 Likewise.
15490
1518f58b
TS
15491 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
15492 __fortify_fail returning.
15493 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15494
db9b5059
TS
15495 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
15496 sysdeps/sh/____longjmp_chk.S.
15497 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
15498 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
15499 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
15500 (gen-as-const-headers): Append sigaltstack-offsets.sym.
15501
967705fe
TS
15502 * sysdeps/sh/abort-instr.h: New file.
15503 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
15504 process in case exit returns.
15505
a9def8c4
TS
15506 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
15507 initialize the GOT register before use.
15508
2a649725
TS
15509 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
15510 calculation of ARGC > 4.
15511
af1bce34
TS
15512 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
15513 meaningful names to some local labels.
15514
d230f50a
KK
155152012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15516 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15517
15518 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
15519 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
15520 (__arch_compare_and_exchange_val_16_acq): Likewise.
15521 (__arch_compare_and_exchange_val_32_acq): Likewise.
15522 (atomic_exchange_and_add): Fix gUSA sequence.
15523 (atomic_add): Likewise.
15524 (atomic_add_negative): Likewise.
15525 (atomic_add_zero): Likewise.
15526 (atomic_bit_test_set): Likewise.
15527
0479b305
AS
155282012-06-22 Andreas Schwab <schwab@redhat.com>
15529
15530 [BZ #13579]
15531 * include/link.h (struct link_map): Add l_free_initfini.
15532 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
15533 l_initfini.
15534 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
15535 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
15536 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
15537 set.
15538
0e3933b9
CD
155392012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
15540
15541 * configure.in: Use AC_LANG_SOURCE.
15542 * configure: Regenerate.
15543
4248b1b1
RM
155442012-06-22 Roland McGrath <roland@hack.frob.com>
15545
15546 * configure.in (libc_cv_localstatedir): New substituted variable.
15547 * configure: Regenerated.
15548 * config.make.in (localstatedir): New variable, substituted from
15549 libc_cv_localstatedir.
15550 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
15551 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
15552 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
15553 * sysdeps/gnu/configure: Regenerated.
15554
006dd861
JL
155552012-06-21 Jeff Law <law@redhat.com>
15556
15557 [BZ #14277]
15558 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
15559 free. Simplify list management for _LIBC case.
15560
79662d42
JM
155612012-06-21 Joseph Myers <joseph@codesourcery.com>
15562
b7abb4bf
JM
15563 [BZ #14273]
15564 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
15565 Clear sign bit of 64-bit integer value before comparing against
15566 overflow value.
15567
79662d42
JM
15568 * sysdeps/mach/configure: Regenerated.
15569
1f150908
L
155702012-06-21 H.J. Lu <hongjiu.lu@intel.com>
15571
15572 [BZ #14278]
15573 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
15574
28363bbf
JL
155752012-06-21 Jeff Law <law@redhat.com>
15576
15577 [BZ #13882]
15578 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
15579 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 15580 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
15581 * elf/dl-open.c (dl_open_worker): Likewise.
15582
09615db4
CD
155832012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
15584
15585 * scripts/list-sources.sh: Scan PORTS for translations.
15586 * po/libc.pot: Regenerated.
15587
2174c6dd
AJ
155882012-06-21 Andreas Jaeger <aj@suse.de>
15589
15590 [BZ #12194]
15591 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
15592 warning.
15593 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
15594 * bits/byteswap-16.h (__bswap_16): Likewise.
15595 * bits/byteswap.h (__bswap_constant_16): Likewise.
15596
3ee947b1
L
155972012-06-18 H.J. Lu <hongjiu.lu@intel.com>
15598
15599 [BZ #14117]
a2f34833
L
15600 * sysdeps/i386/fpu_control.h: Removed.
15601 * sysdeps/x86_64/fpu_control.h: Moved to ...
15602 * sysdeps/x86/fpu_control.h: Here.
15603
3ee947b1
L
15604 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
15605 (_FPU_SETCW): Likewise.
15606
ed1825f8
L
156072012-06-15 H.J. Lu <hongjiu.lu@intel.com>
15608
25f1282a
L
15609 [BZ #14117]
15610 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
15611 * sysdeps/x86/fpu/bits/mathinline.h: This.
15612 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
15613
ed1825f8
L
15614 [BZ #14050]
15615 [BZ #14117]
15616 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
15617 functions if __x86_64__ is defined.
15618
36d54b74
CLT
156192012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
15620
15621 * string/endian.h: Add !__ASSEMBLER__ condition for including
15622 conversion interfaces.
15623
10285c21
JM
156242012-06-15 Joseph Myers <joseph@codesourcery.com>
15625
15626 [BZ #14241]
15627 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
15628 of ABS(x) in calculating zero to negative powers other than odd
15629 integers.
15630 * math/libm-test.inc (pow_test): Add more tests.
15631
06c5abbd
AJ
156322012-06-15 Andreas Jaeger <aj@suse.de>
15633
15634 * manual/contrib.texi (Contributors): Update entry of Liubov
15635 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
15636 Machado Filho.
15637
a3aeac40
CH
156382012-06-15 Cyril Hrubis <metan@ucw.cz>
15639
15640 * string/string.h: Add __wur to GNU version of strerror_r.
15641
49bdf4c1
L
156422012-06-14 H.J. Lu <hongjiu.lu@intel.com>
15643
15644 [BZ #14229]
15645 * string/Makefile (tests): Add tst-strtok_r.
15646 * string/tst-strtok_r.c: New file.
15647 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
15648 RAX_LP/RDX_LP on SAVE_PTR.
15649
834f9b8d
RM
156502012-06-14 Roland McGrath <roland@hack.frob.com>
15651
15652 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
15653
75fa1921
JM
156542012-06-14 Joseph Myers <joseph@codesourcery.com>
15655
15656 * libm_test.inc (csqrt_test): Allow more spurious underflow
15657 exceptions.
15658 (j0_test): Likewise.
15659 (j1_test): Likewise.
15660 (y0_test): Likewise.
15661 (y1_test): Likewise.
15662
771766df
CD
156632012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
15664
15665 * po/Makefile (libc.pot): Use UTF-8 charset.
15666
ceb9e56b
PP
156672012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
15668
15669 [BZ #14210]
15670 Suppress sign-conversion warning from FD_SET.
15671 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
15672 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
15673 not unsigned long int.
15674 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
15675
ddb28975
L
156762012-06-12 H.J. Lu <hongjiu.lu@intel.com>
15677
15678 [BZ #14050]
15679 [BZ #14117]
15680 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
15681 __extern_always_inline instead of __extern_inline.
15682 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
15683 (__signbit): Likewise.
15684 (__signbitl): Support C++ namespace.
15685 (lrintf): New inline function.
15686 (lrint): Likewise.
15687 (llrintf): Likewise.
15688 (llrint): Likewise.
15689 (fmaxf): Likewise.
15690 (fmax): Likewise.
15691 (fminf): Likewise.
15692 (fmin): Likewise.
15693 (rint): Likewise.
15694 (rintf): Likewise.
15695 (ceil): Likewise.
15696 (ceilf): Likewise.
15697 (floor): Likewise.
15698 (floorf): Likewise.
15699 (nearbyint): Likewise.
15700 (nearbyintf): Likewise.
15701
d7b4fb26
TS
157022012-06-12 Thomas Schwinge <thomas@codesourcery.com>
15703
15704 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
15705 non-default versions.
15706
eb55f5c2
RM
157072012-06-11 Roland McGrath <roland@hack.frob.com>
15708
15709 [BZ #14218]
15710 * manual/argp.texi (Argp): Reword argp_parse description slightly.
15711
366af02c
TS
157122012-06-09 Thomas Schwinge <thomas@codesourcery.com>
15713
99ff6e5c
TS
15714 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
15715 (FE_UPWARD, FE_DOWNWARD): Don't define.
15716 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
15717 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15718
366af02c
TS
15719 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
15720 reading it.
15721 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
15722 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15723
793ea851
KK
157242012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15725
15726 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15727 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
15728 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
15729 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
15730
a728a38f
L
157312012-06-06 H.J. Lu <hongjiu.lu@intel.com>
15732
15733 [BZ #14117]
c08010c7
L
15734 * sysdeps/i386/fpu/bits/fenv.h: Removed.
15735 * sysdeps/i386/fpu/Implies: New file.
15736 * sysdeps/x86_64/fpu/Implies: Likewise.
15737 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
15738 * sysdeps/x86/fpu/bits/fenv.h: This.
15739
a728a38f
L
15740 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
15741 __SSE_MATH__.
15742
6e230d11
SP
157432012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15744
15745 [BZ #14134]
15746 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
15747 character 0xffff that matches the last element of the
15748 conversion table.
15749
1b671feb
AZ
157502012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15751
15752 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
15753 fmodl commit.
15754
6043738b
AZ
157552012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15756
15757 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
15758 values higher than 25.6283.
15759
34ae0b32
AZ
157602012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15761
15762 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
15763 subnormal exponent extraction and add some __builtin_expect.
15764 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
15765 Fix for subnormal mantissa calculation.
15766
1214ec8f
MF
157672012-06-04 Mike Frysinger <vapier@gentoo.org>
15768
15769 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
15770 cpu2 is -1 and errno is not ENOSYS.
15771
f3d1f93c
L
157722012-06-04 H.J. Lu <hongjiu.lu@intel.com>
15773
15774 [BZ #14117]
0e4a3cd7
L
15775 * sysdeps/i386/i486/bits/string.h: Renamed to ...
15776 * sysdeps/x86/bits/string.h: This.
15777 * sysdeps/x86_64/bits/string.h: Removed.
15778
6704c645
L
15779 * sysdeps/i386/i486/bits/string.h: Define inline functions only
15780 if not compiling for x86-64, but compiling for >= i486.
15781
48495318
L
15782 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
15783 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
15784
14adcbfc
L
15785 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
15786 New macro from Linux kernel 3.4.0.
15787 (FP_XSTATE_MAGIC2): Likewise.
15788 (FP_XSTATE_MAGIC2_SIZE): Likewise.
15789 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
15790 (struct _fpx_sw_bytes): New struct.
15791 (struct _xsave_hdr): Likewise.
15792 (struct _ymmh_state): Likewise.
15793 (struct _xstate): Likewise.
15794
68e408ab
L
15795 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
15796 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
15797 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
15798 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
15799 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
15800 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
15801
f3d1f93c
L
15802 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
15803 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
15804 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
15805 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
15806 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
15807 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
15808
d9dc34cd
TMQMF
158092012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15810
15811 [BZ #13743]
15812 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
15813 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
15814 (sysdep_headers): Include sys/platform/ppc.h.
15815 * sysdeps/powerpc/test-gettimebase.c: Test for
15816 __ppc_get_timebase() to catch future ISA opcode/insn changes.
15817 * manual/Makefile (appendices): Include platform.texi.
15818 * manual/contrib.texi (Contributors): Update @node pointers.
15819 * manual/maint.texi (Maintenance): Likewise.
15820 (Platform): New node.
15821 * manual/platform.texi: New file. Document the new features.
15822
4af3879c
SP
158232012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15824 Jakub Jelinek <jakub@redhat.com>
15825
15826 [BZ #14188]
15827 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
15828 where __builtin_expect is unavailable.
15829
2fd6ff13
DM
158302012-06-03 David S. Miller <davem@davemloft.net>
15831
15832 * stdlib/longlong.h: Updated from GCC.
15833
173f7220
AS
158342012-06-02 Andreas Schwab <schwab@linux-m68k.org>
15835
15836 [BZ #14042]
15837 * sysdeps/powerpc/powerpc32/mcount.c: New file.
15838 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
15839 __mcount_internal.
15840 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
15841 (GLIBC_2.16): Likewise.
15842
f34a1c6f
L
158432012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15844
15845 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
15846
88a4576f
JM
158472012-06-01 Joseph Myers <joseph@codesourcery.com>
15848
ea32bcdd
JM
15849 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
15850 (default-abi): New variable.
15851 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
15852 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
15853 variable.
15854 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
15855 Likewise.
15856 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
15857 Likewise.
15858 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
15859 Likewise.
15860
88a4576f
JM
15861 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
15862 definition. Document in comment.
15863
402fe938
DM
158642012-06-01 David S. Miller <davem@davemloft.net>
15865
15866 * stdlib/longlong.h: Updated from GCC.
15867
3553723f
L
158682012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15869
15870 [BZ #14117]
3bd872c4
L
15871 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
15872 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
15873 sys/debugreg.h sys/io.h here.
15874 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
15875 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
15876 sys/io.h.
15877 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
15878 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
15879 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
15880 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
15881 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
15882 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
15883
3553723f
L
15884 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
15885 Define only if __x86_64__ is defined.
15886
4842e4fe
JM
158872012-06-01 Joseph Myers <joseph@codesourcery.com>
15888
c5bfe3d5
JM
15889 [BZ #14048]
15890 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
15891 Use int64_t for variable i.
15892 * math/libm-test.inc (fmod_test): Add more tests.
15893
4842e4fe
JM
15894 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
15895 z computation is not scheduled after fetestexcept.
15896 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
15897 Use math_force_eval instead of asm to ensure calculation scheduled
15898 before exception test.
15899 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
15900 Ensure a1 + u.d computation is not scheduled after fetestexcept.
15901
efb73488
AJ
159022012-06-01 Aurelien Jarno <aurelien@aurel32.net>
15903
15904 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
15905 computation is not scheduled after fetestexcept.
15906
29bcce7c
L
159072012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15908
15909 [BZ #14117]
15910 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
15911 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
15912
73a68f94
AZ
159132012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15914
15915 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
15916 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
15917
67b6df78
L
159182012-05-31 H.J. Lu <hongjiu.lu@intel.com>
15919
edf2933a 15920 [BZ #14117]
ebc64a18
L
15921 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
15922 <bits/wordsize.h>.
15923 (__WCHAR_MIN): Support __WORDSIZE == 64.
15924 (__WCHAR_MAX): Likewise.
15925
edf2933a
L
15926 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
15927 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
15928
57c6cf40
L
15929 [BZ #14183]
15930 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
15931 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
15932
67b6df78 15933 [BZ #14117]
8eb6281e
L
15934 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
15935 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
15936
aac639f4
L
15937 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
15938 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
15939
67b6df78
L
15940 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
15941 Defined to 1 if __x86_64__ isn't defined.
15942 (_STAT_VER_LINUX_OLD): New.
15943 (st_atime): Remove duplicate.
15944 (st_mtime): Likewise.
15945 (st_ctime): Likewise.
15946
1c2cfe81
DM
159472012-05-31 David S. Miller <davem@davemloft.net>
15948
15949 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
15950 entries.
15951
5be8418c
AS
159522012-06-01 Andreas Schwab <schwab@linux-m68k.org>
15953
e7725326
AS
15954 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
15955 gen-libm-test.pl.
15956
5be8418c
AS
15957 [BZ #14132]
15958 * elf/dl-reloc.c: Include <_itoa.h>.
15959 (_dl_reloc_bad_type): Remove use of INTUSE.
15960 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
15961 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
15962 * stdio-common/psiginfo.c (psiginfo): Likewise.
15963 * stdio-common/psignal.c (psignal): Likewise.
15964 * string/strsignal.c (strsignal): Likewise.
15965 * include/signal.h (_sys_siglist): Declare hidden proto.
15966 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
15967 INTVARDEF with libc_hidden_data_def.
15968 * stdio-common/itoa-udigits.c: Likewise.
15969 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
15970 (_itoa_lower_digits_internal): Remove declaration.
15971 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
15972 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
15973 (_sys_sigabbrev_internal): Remove aliases.
15974 (_sys_siglist): Define hidden alias.
15975
507352f1
MT
159762012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
15977
15978 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15979 bits/sysctl.h.
15980
42bbb1c3
L
159812012-05-31 H.J. Lu <hongjiu.lu@intel.com>
15982
15983 [BZ #14117]
6bd784b6
L
15984 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
15985 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
15986
8bca20f0
L
15987 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
15988 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
15989 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
15990 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
15991 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
15992 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
15993
f9e890a9
L
15994 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
15995 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
15996 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
15997
471101a1
L
15998 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
15999 with __addr.
16000 (insw): Likewise.
16001 (insl): Likewise.
16002 (outsb): Likewise.
16003 (outsw): Likewise.
16004 (outsl): Likewise.
16005
6451c862
L
16006 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
16007 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
16008 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
16009
a254b8c9
L
16010 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
16011 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
16012 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
16013 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
16014 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
16015 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
16016
b8dfdd92
L
16017 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
16018 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
16019
578cd270
L
16020 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
16021 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
16022
de662f5f
L
16023 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
16024 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
16025 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
16026
25653439
L
16027 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
16028 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
16029 to ...
16030 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
16031
6bad24a0
L
16032 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
16033 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
16034 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
16035
42bbb1c3
L
16036 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
16037 for x86-64.
16038 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
16039
2d10d547
JM
160402012-05-31 Joseph Myers <joseph@codesourcery.com>
16041
16042 * math/math.h (M_El): Use two more decimal places.
16043 (M_LOG2El): Likewise.
16044 (M_LOG10El): Likewise.
16045 (M_LN2l): Likewise.
16046 (M_LN10l): Likewise.
16047 (M_PIl): Likewise.
16048 (M_PI_2l): Likewise.
16049 (M_PI_4l): Likewise.
16050 (M_1_PIl): Likewise.
16051 (M_2_PIl): Likewise.
16052 (M_2_SQRTPIl): Likewise.
16053 (M_SQRT2l): Likewise.
16054 (M_SQRT1_2l): Likewise.
16055
f230c29b
DM
160562012-05-31 David S. Miller <davem@davemloft.net>
16057
16058 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
16059 values between float registers.
16060 * sysdeps/sparc/sparc64/memset.S: Likewise.
16061 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16062
fed806c3
MF
160632012-05-31 Mike Frysinger <vapier@gentoo.org>
16064
16065 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
16066 -D_FORTIFY_SOURCE=1.
16067 (CPPFLAGS-tst-longjmp_chk.c): Define.
16068 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
16069 (CPPFLAGS-tst-longjmp_chk2.c): Define.
16070 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
16071 CFLAGS-tst-wchar-h.c.
16072
30917259
MP
160732012-05-31 Marek Polacek <polacek@redhat.com>
16074
16075 [BZ #14132]
16076 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
16077 __endmntent_internal): Remove declaration.
16078 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
16079 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
16080 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
16081
1c58d5dc
DM
160822012-05-30 David S. Miller <davem@davemloft.net>
16083
16084 * sysdeps/sparc/sparc32/soft-fp/q_util.c
16085 (___Q_simulate_exceptions): Use real FP ops rather than writing
16086 into the %fsr.
16087 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
16088 Likewise.
16089
7dc00e0d
L
160902012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16091
16092 [BZ #14117]
0bd53985
L
16093 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
16094 * sysdeps/x86/bits/xtitypes.h: This.
16095
3a257e66
L
16096 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
16097 * sysdeps/x86/bits/wordsize.h: This.
16098
62f62904
L
16099 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
16100 * sysdeps/x86/bits/huge_vall.h: This.
16101
404fe9d9
L
16102 * sysdeps/i386/bits/select.h: Removed.
16103 * sysdeps/x86_64/bits/select.h: Renamed to ...
16104 * sysdeps/x86/bits/select.h: This.
16105
d48d0446
L
16106 * sysdeps/i386/bits/setjmp.h: Removed.
16107 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
16108 * sysdeps/x86/bits/setjmp.h: This.
16109
7dc00e0d
L
16110 * sysdeps/i386/bits/mathdef.h: Removed.
16111 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
16112 * sysdeps/x86/bits/mathdef.h: This.
16113
03277f8f
AS
161142012-05-30 Andreas Schwab <schwab@linux-m68k.org>
16115
16116 [BZ #14132]
16117 * include/sys/socket.h (__connect_internal)
16118 (__libc_sa_len_internal): Remove declaration.
16119 (__connect, __libc_sa_len): Declare hidden_proto.
16120 (SA_LEN): Remove use of INTUSE.
16121 * socket/connect.c: Add libc_hidden_def.
16122 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
16123 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
16124 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
16125 alias.
16126 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
16127 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
16128 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
16129 of adding _internal alias.
16130
13764867
L
161312012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16132
16133 [BZ #14117]
6bd97696
L
16134 * sysdeps/i386/bits/link.h: Removed.
16135 * sysdeps/i386/bits/linkmap.h: Likewise.
16136 * sysdeps/x86_64/bits/link.h: Renamed to ...
16137 * sysdeps/x86/bits/link.h: This.
16138 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
16139 * sysdeps/x86/bits/linkmap.h: This.
16140
f726f0bb
L
16141 * sysdeps/i386/bits/endian.h: Removed.
16142 * sysdeps/x86_64/bits/endian.h: Renamed to ...
16143 * sysdeps/x86/bits/endian.h: This.
16144
13764867
L
16145 * sysdeps/i386/bits/byteswap.h: Removed.
16146 * sysdeps/i386/bits/byteswap-16.h: Likewise.
16147 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
16148 * sysdeps/x86/bits/byteswap.h: This.
16149 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
16150 * sysdeps/x86/bits/byteswap-16.h: This.
16151 * sysdeps/i386/Implies: Add x86.
16152 * sysdeps/x86_64/Implies: Likewise.
16153
ae251b0b
DM
161542012-05-30 David S. Miller <davem@davemloft.net>
16155
16156 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
16157 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
16158 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
16159 (FP_TRAPPING_EXCEPTIONS): Define.
16160 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
16161 (FP_TRAPPING_EXCEPTIONS): Define.
16162 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
16163 subnormals only when inexact has been signalled or underflow
16164 exceptions are enabled.
16165 (_FP_PACK_CANONICAL): Likewise.
16166
d5c90867
L
161672012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16168
16169 [BZ #14183]
16170 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
16171 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
16172
63f1549e
RH
161732012-05-30 Richard Henderson <rth@twiddle.net>
16174
8d8f2279
RH
16175 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
16176 with #ifndef NOT_IN_libc.
16177
63f1549e
RH
16178 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
16179 marked to avoid plt entry.
16180
0ab0291b
L
161812012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16182
16183 [BZ #14112]
16184 * Makeconfig (default-abi): New macro.
16185 (abi-includes): Likewise.
16186 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
16187 $(abi-$(default-abi)-lib-soname) for soname if defined.
16188 ($(common-objpfx)gnu/lib-names.stmp): Generate from
16189 abi-variants.
16190 * Makefile (installed-stubs): Likewise.
16191 * include/stubs-biarch.h: Removed.
16192 * scripts/lib-names.awk: Only handle one library at a time.
16193 * scripts/soversions.awk: Remove WORDSIZE support.
16194 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
16195 entries.
16196 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
16197 Removed.
16198 (syscall-list-default-condition): Likewise.
16199 (syscall-list-default-condition): Likewise.
16200 (syscall-list-includes): Likewise.
16201 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
16202 syscall-list-* with abi-*. Handle undefined abi-variants.
16203 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
16204 * sysdeps/unix/sysv/linux/i386/Implies: New file.
16205 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
16206 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
16207 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
16208 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
16209 Removed.
16210 (syscall-list-32-options): Likewise.
16211 (syscall-list-32-condition): Likewise.
16212 (syscall-list-64-options): Likewise.
16213 (syscall-list-64-condition): Likewise.
16214 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
16215 macro.
16216 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
16217 Renamed to ...
16218 (abi-*): This.
16219 (abi-64-ld-soname): New macro.
16220 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
16221 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
16222 Renamed to ...
16223 (abi-*): This.
16224 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
16225 * sysdeps/x86_64/x32/shlib-versions: Likewise.
16226
4da0431d
JM
162272012-05-30 Joseph Myers <joseph@codesourcery.com>
16228
3a85279c
JM
16229 * sysdeps/unix/sysv/linux/kernel-features.h
16230 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
16231 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
16232 include <kernel-features.h>.
16233 [!__NR_ftruncate64]: Remove conditional code.
16234 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16235 [__NR_ftruncate64]: Make code unconditional.
16236 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16237 * sysdeps/unix/sysv/linux/truncate64.c: Do not
16238 include <kernel-features.h>.
16239 [!__NR_ftruncate64]: Remove conditional code.
16240 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16241 [__NR_ftruncate64]: Make code unconditional.
16242 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
16244 include <kernel-features.h>.
16245 [!__NR_ftruncate64]: Remove conditional code.
16246 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16247 [__NR_ftruncate64]: Make code unconditional.
16248 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
16250 include <kernel-features.h>.
16251 [!__NR_ftruncate64]: Remove conditional code.
16252 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16253 [__NR_ftruncate64]: Make code unconditional.
16254 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16255
4da0431d
JM
16256 * configure.in (libc_cv_fpie): Weaken to a compile test using
16257 LIBC_TRY_CC_OPTION.
16258 * configure: Regenerated.
16259
11ef492c
AK
162602012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16261
16262 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
16263 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
16264 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
16265 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16266 Refreshed.
16267 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
16268 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
16269 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
16270 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
16271 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
16272 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16273 Refreshed.
16274
d66ef399
DM
162752012-05-27 David S. Miller <davem@davemloft.net>
16276
16277 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
16278 (___Q_zero): New.
16279 (__Q_simulate_exceptions): Return void. Change to simulate
16280 exceptions by writing into the %fsr.
16281 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
16282 (__Qp_handle_exceptions): Likewise.
16283 (numbers): Delete.
16284 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
16285 __Qp_handle_exceptions.
16286 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
16287 __Qp_handle_exceptions.
16288 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
16289 as unused and give dummy FP_RND_NEAREST initializer.
16290 (FP_INHIBIT_RESULTS): Define.
16291 (___Q_simulate_exceptions): Update declaration.
16292 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
16293 formatting.
16294 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
16295 as unused and give dummy FP_RND_NEAREST initializer.
16296 (__Qp_handle_exceptions): Update declaration.
16297 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
16298 formatting.
16299
04fb54b5
TS
163002012-05-27 Thomas Schwinge <thomas@codesourcery.com>
16301
16302 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
16303 the temporary FPU control word.
16304 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
16305 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
16306 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
16307 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
16308 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
16309 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
16310 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
16311 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16312 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
16313 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
16314 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16315
3f99608f
KK
163162012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16317
16318 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
16319 fields.
16320
65a4de4e
CLT
163212012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
16322
16323 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
16324 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
16325 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
16326 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
16327 Likewise.
16328 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
16329 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
16330 Likewise.
16331
15749d40
UD
163322012-05-27 Ulrich Drepper <drepper@gmail.com>
16333
16334 * po/h.po: Update from translation team.
16335
25dbcb27
AS
163362012-05-26 Andreas Schwab <schwab@linux-m68k.org>
16337
3d3f8e55
AS
16338 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
16339
25dbcb27
AS
16340 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
16341 handling of denormals.
16342 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16343 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
16344 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
16345 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
16346 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16347 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
16348 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
16349 Likewise.
16350
7ad47a80 163512012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
16352
16353 [BZ #14152]
16354 * math/libm-test.inc (fma_test): Don't always expect underflow
16355 exception.
16356
9c6ea9fa
SP
163572012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16358
16359 [BZ #12416]
16360 * elf/tst-execstack.c: Include stackinfo.h.
16361 (do_test): Adjust test case to ensure that pthread_getattr_np
16362 behaviour remains the same after marking stack executable.
16363
a8239222
JM
163642012-05-25 Joseph Myers <joseph@codesourcery.com>
16365
16366 * sysdeps/unix/sysv/linux/kernel-features.h
16367 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
16368 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
16369 kernel-features.h.
16370 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
16371 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
16372 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
16373 kernel-features.h.
16374 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
16375 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
16376
918b5606
L
163772012-05-25 H.J. Lu <hongjiu.lu@intel.com>
16378
16379 * configure.in: Define the default includes to being none.
16380 * configure: Regenerated.
16381
3a097cc7
RM
163822012-05-25 Roland McGrath <roland@hack.frob.com>
16383
8422c9a5
RM
16384 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
16385 * sysdeps/x86_64/setjmp.S: Likewise.
16386 * sysdeps/i386/bsd-setjmp.S: Likewise.
16387 * sysdeps/i386/bsd-_setjmp.S: Likewise.
16388 * sysdeps/i386/setjmp.S: Likewise.
16389 * sysdeps/i386/__longjmp.S: Likewise.
16390 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
16391 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
16392
3a097cc7
RM
16393 * include/stap-probe.h: New file.
16394 * configure.in: Handle --enable-systemtap.
16395 * configure: Regenerated.
16396 * config.h.in (USE_STAP_PROBE): New #undef.
16397 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
16398 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
16399 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
16400
21708942
JM
164012012-05-25 Joseph Myers <joseph@codesourcery.com>
16402
16403 [BZ #13717]
16404 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
16405 to 2.4.0 where earlier.
16406 * sysdeps/unix/sysv/linux/configure: Regenerated.
16407 * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
16416 [__ASSUME_32BITUIDS]: Make code unconditional.
16417 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
16418 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
16419 <kernel-features.h>.
16420 [__ASSUME_32BITUIDS]: Make code unconditional.
16421 [!__ASSUME_32BITUIDS]: Remove conditional code.
16422 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
16423 <kernel-features.h>.
16424 [__ASSUME_32BITUIDS]: Make code unconditional.
16425 [!__ASSUME_32BITUIDS]: Remove conditional code.
16426 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
16427 <kernel-features.h>.
16428 [__ASSUME_32BITUIDS]: Make code unconditional.
16429 [!__ASSUME_32BITUIDS]: Remove conditional code.
16430 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
16431 <kernel-features.h>.
16432 [__ASSUME_32BITUIDS]: Make code unconditional.
16433 [!__ASSUME_32BITUIDS]: Remove conditional code.
16434 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
16435 <kernel-features.h>.
16436 [__ASSUME_32BITUIDS]: Make code unconditional.
16437 [!__ASSUME_32BITUIDS]: Remove conditional code.
16438 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
16439 <kernel-features.h>.
16440 [__ASSUME_32BITUIDS]: Make code unconditional.
16441 [!__ASSUME_32BITUIDS]: Remove conditional code.
16442 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
16443 <kernel-features.h>.
16444 [__ASSUME_32BITUIDS]: Make code unconditional.
16445 [!__ASSUME_32BITUIDS]: Remove conditional code.
16446 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
16447 <kernel-features.h>.
16448 [__ASSUME_32BITUIDS]: Make code unconditional.
16449 [!__ASSUME_32BITUIDS]: Remove conditional code.
16450 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
16451 <kernel-features.h>.
16452 [__ASSUME_32BITUIDS]: Make code unconditional.
16453 [!__ASSUME_32BITUIDS]: Remove conditional code.
16454 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
16455 <kernel-features.h>.
16456 [__ASSUME_32BITUIDS]: Make code unconditional.
16457 [!__ASSUME_32BITUIDS]: Remove conditional code.
16458 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
16459 <kernel-features.h>.
16460 [__NR_setresgid] (__setresgid): Do not declare.
16461 [__ASSUME_32BITUIDS]: Make code unconditional.
16462 [!__ASSUME_32BITUIDS]: Remove conditional code.
16463 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
16464 <kernel-features.h>.
16465 [__NR_setresuid] (__setresuid): Do not declare.
16466 [__ASSUME_32BITUIDS]: Make code unconditional.
16467 [!__ASSUME_32BITUIDS]: Remove conditional code.
16468 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
16469 <kernel-features.h>.
16470 [__ASSUME_32BITUIDS]: Make code unconditional.
16471 [!__ASSUME_32BITUIDS]: Remove conditional code.
16472 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
16473 <kernel-features.h>.
16474 [__ASSUME_32BITUIDS]: Make code unconditional.
16475 [!__ASSUME_32BITUIDS]: Remove conditional code.
16476 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
16477 <kernel-features.h>.
16478 [__ASSUME_32BITUIDS]: Make code unconditional.
16479 [!__ASSUME_32BITUIDS]: Remove conditional code.
16480 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
16481 <kernel-features.h>.
16482 [__ASSUME_32BITUIDS]: Make code unconditional.
16483 [!__ASSUME_32BITUIDS]: Remove conditional code.
16484 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
16485 <kernel-features.h>.
16486 [__ASSUME_32BITUIDS]: Make code unconditional.
16487 [!__ASSUME_32BITUIDS]: Remove conditional code.
16488 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
16489 <kernel-features.h>.
16490 [__ASSUME_32BITUIDS]: Make code unconditional.
16491 [!__ASSUME_32BITUIDS]: Remove conditional code.
16492 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
16493 <kernel-features.h>.
16494 [__ASSUME_32BITUIDS]: Make code unconditional.
16495 [!__ASSUME_32BITUIDS]: Remove conditional code.
16496 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
16497 <kernel-features.h>.
16498 [__ASSUME_32BITUIDS]: Make code unconditional.
16499 [!__ASSUME_32BITUIDS]: Remove conditional code.
16500 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
16501 <kernel-features.h>.
16502 [__ASSUME_32BITUIDS]: Make code unconditional.
16503 [!__ASSUME_32BITUIDS]: Remove conditional code.
16504 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
16505 <kernel-features.h>.
16506 [__ASSUME_32BITUIDS]: Make code unconditional.
16507 [!__ASSUME_32BITUIDS]: Remove conditional code.
16508 * sysdeps/unix/sysv/linux/kernel-features.h
16509 (__ASSUME_SETRESUID_SYSCALL): Remove.
16510 (__ASSUME_SETRESGID_SYSCALL): Likewise.
16511 (__ASSUME_32BITUIDS): Likewise.
16512 (__ASSUME_LDT_WORKS): Likewise.
16513 (__ASSUME_O_DIRECTORY): Likewise.
16514 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
16515 architecture but not kernel version.
16516 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
16517 (__ASSUME_MMAP2_SYSCALL): Likewise.
16518 (__ASSUME_STAT64_SYSCALL): Likewise.
16519 (__ASSUME_IPC64): Likewise.
16520 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
16521 <kernel-features.h>.
16522 [__ASSUME_32BITUIDS]: Make code unconditional.
16523 [!__ASSUME_32BITUIDS]: Remove conditional code.
16524 * sysdeps/unix/sysv/linux/opendir.c: Do not include
16525 <kernel-features.h>.
16526 [__ASSUME_O_DIRECTORY]: Make code unconditional.
16527 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
16528 132096]: Remove conditional code.
16529 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
16530 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
16531 <kernel-features.h>.
16532 [__ASSUME_32BITUIDS]: Make code unconditional.
16533 [!__ASSUME_32BITUIDS]: Remove conditional code.
16534 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
16535 <kernel-features.h>.
16536 [__ASSUME_32BITUIDS]: Make code unconditional.
16537 [!__ASSUME_32BITUIDS]: Remove conditional code.
16538 * sysdeps/unix/sysv/linux/setegid.c: Do not include
16539 <kernel-features.h>.
16540 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
16541 unconditional.
16542 (__setresgid): Do not declare.
16543 [__ASSUME_32BITUIDS]: Make code unconditional.
16544 [!__ASSUME_32BITUIDS]: Remove conditional code.
16545 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
16546 <kernel-features.h>.
16547 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
16548 unconditional.
16549 (__setresuid): Do not declare.
16550 [__ASSUME_32BITUIDS]: Make code unconditional.
16551 [!__ASSUME_32BITUIDS]: Remove conditional code.
16552 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
16553 <kernel-features.h>.
16554 [__ASSUME_32BITUIDS]: Make code unconditional.
16555 [!__ASSUME_32BITUIDS]: Remove conditional code.
16556 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
16557 <kernel-features.h>.
16558 [__ASSUME_32BITUIDS]: Make code unconditional.
16559 [!__ASSUME_32BITUIDS]: Remove conditional code.
16560
a386f1cc
RH
165612012-05-25 Richard Henderson <rth@twiddle.net>
16562
16563 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
16564 dl_hwcap to ifunc resolver.
16565 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
16566 elf_ifunc_invoke.
16567 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
16568 dl_hwcap to ifunc resolver.
16569 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
16570
b6550497
JM
165712012-05-24 Joseph Myers <joseph@codesourcery.com>
16572
16573 [BZ #14153]
16574 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
16575 for |x| <= 2**-26, not 2**-57.
16576 * math/libm-test.inc (acos_test): Do not allow spurious underflow
16577 exception.
16578
b0bc23a1
JL
165792012-05-24 Jeff Law <law@redhat.com>
16580
16581 * stdio-common/Makefile (tests): Add bug25.
16582 * stdio-common/bug25.c: New test.
16583
347c92e9
L
165842012-05-24 H.J. Lu <hongjiu.lu@intel.com>
16585
16586 [BZ #13576]
16587 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
16588 multiple of MALLOC_ALIGNMENT in size.
16589 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
16590
6bcc8b3f
JM
165912012-05-24 Joseph Myers <joseph@codesourcery.com>
16592
16593 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
16594 Require >= 256.
16595 (FILENAME_MAX): Use macro-int-constant.
16596 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
16597 (_IOFBF): Use macro-int-constant.
16598 (_IOLBF): Likewise.
16599 (_IONBF): Likewise.
16600 (SEEK_CUR): Likewise.
16601 (SEEK_END): Likewise.
16602 (SEEK_SET): Likewise.
16603 (TMP_MAX): Likewise.
16604 (EOF): Use macro-int-constant. Require < 0.
16605 (NULL): Use macro-constant. Require == 0.
16606 (stdin): Require type to be FILE *.
16607 (stdout): Likewise.
16608 (stderr): Likewise.
16609 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
16610 macro-int-constant.
16611 (EXIT_SUCCESS): Likewise.
16612 (NULL): Use macro-constant. Require == 0.
16613 (RAND_MAX): Use macro-int-constant.
16614 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
16615 [C99-based standards] (strtof): Require function.
16616 [C99-based standards] (strtold): Likewise.
16617 [C99-based standards] (strtoll): Likewise.
16618 [C99-based standards] (strtoull): Likewise.
16619 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16620 [ISO || ISO99 || ISO11] (limits.h): Likewise.
16621 [ISO || ISO99 || ISO11] (math.h): Likewise.
16622 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
16623 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16624 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16625
d18ea0c5
AS
166262012-05-24 Andreas Schwab <schwab@linux-m68k.org>
16627
16628 [BZ #14132]
56d25bb8
AS
16629 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
16630 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
16631 * intl/dgettext.c (DCGETTEXT): Likewise.
16632 * intl/gettext.c (DCGETTEXT): Likewise.
16633 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
16634 * posix/regex_internal.h (gettext): Likewise.
16635 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
16636 Remove declaration.
16637 * include/argz.h (__argz_count_internal)
16638 (__argz_stringify_internal): Remove declaration.
16639 (__argz_count, __argz_stringify): Declare hidden proto.
16640 * intl/dcgettext.c: Remove use of INTDEF.
16641 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
16642 * string/argz-stringify.c: Likewise.
16643 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16644 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16645 Declare hidden proto.
d18ea0c5
AS
16646 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16647 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16648 Declare hidden proto.
16649 * include/stdio.h (__asprintf_internal): Don't declare.
16650 (__asprintf): Don't define as macro. Declare hidden proto.
16651 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
16652 (__fsetlocking): Declare hidden proto.
16653 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
16654 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
16655 hidden proto.
16656 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
16657 (_IO_setlinebuf): Remove use of INTUSE.
16658 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
16659 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
16660 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
16661 Remove declaration.
16662 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
16663 (_IO_do_flush): Remove use of INTUSE.
16664 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
16665 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
16666 (_IO_adjust_column, _IO_least_wmarker)
16667 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
16668 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
16669 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
16670 (_IO_default_doallocate, _IO_wdefault_doallocate)
16671 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
16672 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
16673 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
16674 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
16675 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
16676 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
16677 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
16678 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
16679 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
16680 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
16681 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
16682 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
16683 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
16684 proto.
16685 (_IO_flush_all_internal, _IO_adjust_column_internal)
16686 (_IO_default_uflow_internal, _IO_default_finish_internal)
16687 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
16688 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
16689 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
16690 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
16691 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
16692 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
16693 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
16694 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
16695 (_IO_file_close_internal, _IO_file_close_it_internal)
16696 (_IO_file_underflow_internal, _IO_file_overflow_internal)
16697 (_IO_file_init_internal, _IO_file_attach_internal)
16698 (_IO_file_fopen_internal, _IO_file_read_internal)
16699 (_IO_file_sync_internal, _IO_file_seek_internal)
16700 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
16701 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
16702 (_IO_str_underflow_internal, _IO_str_overflow_internal)
16703 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
16704 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
16705 (_IO_list_all_internal, _IO_link_in_internal)
16706 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
16707 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
16708 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
16709 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
16710 (_IO_do_write_internal, _IO_padn_internal)
16711 (_IO_getline_info_internal, _IO_getline_internal)
16712 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
16713 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
16714 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
16715 (_IO_vfscanf_internal, _IO_vfprintf_internal)
16716 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
16717 (_IO_init_internal, _IO_un_link_internal): Don't declare.
16718 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
16719 with libc_hidden_ver, remove use of INTUSE.
16720 * libio/genops.c: Likewise.
16721 * libio/freopen.c: Likewise.
16722 * libio/freopen64.c: Likewise.
16723 * libio/iofclose.c: Likewise.
16724 * libio/iofdopen.c: Likewise.
16725 * libio/iofflush.c: Likewise.
16726 * libio/iofflush_u.c: Likewise.
16727 * libio/iofgets.c: Likewise.
16728 * libio/iofgets_u.c: Likewise.
16729 * libio/iofopen.c: Likewise.
16730 * libio/iofopncook.c: Likewise.
16731 * libio/iofread.c: Likewise.
16732 * libio/iofread_u.c: Likewise.
16733 * libio/ioftell.c: Likewise.
16734 * libio/iofwrite.c: Likewise.
16735 * libio/iogetline.c: Likewise.
16736 * libio/iogets.c: Likewise.
16737 * libio/iogetwline.c: Likewise.
16738 * libio/iopadn.c: Likewise.
16739 * libio/iopopen.c: Likewise.
16740 * libio/ioseekoff.c: Likewise.
16741 * libio/ioseekpos.c: Likewise.
16742 * libio/iosetbuffer.c: Likewise.
16743 * libio/iosetvbuf.c: Likewise.
16744 * libio/ioungetc.c: Likewise.
16745 * libio/ioungetwc.c: Likewise.
16746 * libio/iovdprintf.c: Likewise.
16747 * libio/iovsprintf.c: Likewise.
16748 * libio/iovsscanf.c: Likewise.
16749 * libio/memstream.c: Likewise.
16750 * libio/obprintf.c: Likewise.
16751 * libio/oldfileops.c: Likewise.
16752 * libio/oldiofclose.c: Likewise.
16753 * libio/oldiofdopen.c: Likewise.
16754 * libio/oldiofopen.c: Likewise.
16755 * libio/oldiopopen.c: Likewise.
16756 * libio/oldstdfiles.c: Likewise.
16757 * libio/putc.c: Likewise.
16758 * libio/setbuf.c: Likewise.
16759 * libio/setlinebuf.c: Likewise.
16760 * libio/stdfiles.c: Likewise.
16761 * libio/strops.c: Likewise.
16762 * libio/vasprintf.c: Likewise.
16763 * libio/vscanf.c: Likewise.
16764 * libio/vsnprintf.c: Likewise.
16765 * libio/vswprintf.c: Likewise.
16766 * libio/wfiledoalloc.c: Likewise.
16767 * libio/wfileops.c: Likewise.
16768 * libio/wgenops.c: Likewise.
16769 * libio/wmemstream.c: Likewise.
16770 * libio/wstrops.c: Likewise.
16771 * libio/__fpurge.c: Likewise.
16772 * libio/__fsetlocking.c: Likewise.
16773 * assert/assert.c: Likewise.
16774 * debug/fgets_chk.c: Likewise.
16775 * debug/fgets_u_chk.c: Likewise.
16776 * debug/fread_chk.c: Likewise.
16777 * debug/fread_u_chk.c: Likewise.
16778 * debug/gets_chk.c: Likewise.
16779 * debug/obprintf_chk.c: Likewise.
16780 * debug/vasprintf_chk.c: Likewise.
16781 * debug/vdprintf_chk.c: Likewise.
16782 * debug/vsnprintf_chk.c: Likewise.
16783 * debug/vsprintf_chk.c: Likewise.
16784 * malloc/mtrace.c: Likewise.
16785 * misc/error.c: Likewise.
16786 * misc/syslog.c: Likewise.
16787 * stdio-common/asprintf.c: Likewise.
16788 * stdio-common/fxprintf.c: Likewise.
16789 * stdio-common/getw.c: Likewise.
16790 * stdio-common/isoc99_fscanf.c: Likewise.
16791 * stdio-common/isoc99_scanf.c: Likewise.
16792 * stdio-common/isoc99_vfscanf.c: Likewise.
16793 * stdio-common/isoc99_vscanf.c: Likewise.
16794 * stdio-common/isoc99_vsscanf.c: Likewise.
16795 * stdio-common/printf-prs.c: Likewise.
16796 * stdio-common/printf_fp.c: Likewise.
16797 * stdio-common/printf_fphex.c: Likewise.
16798 * stdio-common/printf_size.c: Likewise.
16799 * stdio-common/putw.c: Likewise.
16800 * stdio-common/scanf.c: Likewise.
16801 * stdio-common/sprintf.c: Likewise.
16802 * stdio-common/tmpfile.c: Likewise.
16803 * stdio-common/vfprintf.c: Likewise.
16804 * stdio-common/vfscanf.c: Likewise.
16805 * stdlib/strfmon_l.c: Likewise.
16806 * sunrpc/openchild.c: Likewise.
16807 * sunrpc/xdr_stdio.c: Likewise.
16808 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
16809 * sysdeps/mach/hurd/tmpfile.c: Likewise.
16810
d6c33fda
RM
168112012-05-24 Roland McGrath <roland@hack.frob.com>
16812
c1487492
RM
16813 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
16814
16815 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
16816 in the third column, to generate for the shared library an IFUNC
16817 that uses _dl_vdso_vsym.
16818 * Makerules (COMPILE.c, compile-stdin.c): New variables.
16819 * Makeconfig (object-suffixes-noshared): New variable.
16820
16821 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
16822 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
16823 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
16824 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
16825
d6c33fda
RM
16826 [BZ #14132]
16827 * include/sys/time.h (__gettimeofday): Remove macro.
16828 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
16829 * time/gettimeofday.c (__gettimeofday): Remove #undef.
16830 Remove INTDEF.
16831 (__gettimeofday): Add libc_hidden_def.
16832 (gettimeofday): Add libc_hidden_weak.
16833 * sysdeps/mach/gettimeofday.c: Likewise.
16834 * sysdeps/posix/gettimeofday.c: Likewise.
16835 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
16836 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
16837 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
16838 (__gettimeofday_internal): Remove strong_alias.
16839 (__gettimeofday): Add libc_hidden_def.
16840 (gettimeofday): Add libc_hidden_weak.
16841 * sysdeps/unix/syscalls.list (gettimeofday):
16842 Remove __gettimeofday_internal alias.
16843
b5a2bbe6
L
168442012-05-24 Daniel Jacobowitz <drow@false.org>
16845 H.J. Lu <hongjiu.lu@intel.com>
16846
16847 [BZ #12495]
16848 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
16849 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
16850 (largebin_index_32_big): New.
16851 (largebin_index): Use it for 16-byte alignment.
16852 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
16853 correction with front_misalign.
16854
cfba4fda
L
168552012-05-24 H.J. Lu <hongjiu.lu@intel.com>
16856
7f907421
L
16857 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
16858 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
16859 Likewise.
16860 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
16861 Likewise.
16862 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
16863 Likewise.
16864 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
16865 Likewise.
16866 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
16867 Likewise.
16868 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
16869 Likewise.
16870 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
16871 Likewise.
16872 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16873 Likewise.
16874 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
16875 Likewise.
16876 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
16877 Likewise.
16878 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
16879 Likewise.
16880 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
16881 Likewise.
16882
cfba4fda
L
16883 * scripts/data/c++-types-x32-linux-gnu.data: New file.
16884 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
16885
80bad0cc
JM
168862012-05-24 Joseph Myers <joseph@codesourcery.com>
16887
7a25eb06
JM
16888 [BZ #10846]
16889 [BZ #14036]
16890 * math/libm-test.inc (exp_test): Add test from bug 14036.
16891 (pow_test): Add test from bug 10846.
16892
795405f9
JM
16893 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
16894 and other flags.
16895 (special_function): Do not include flags in test name.
16896 (parse_args): Likewise.
16897 * sysdeps/i386/fpu/libm-test-ulps: Update.
16898 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16899 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16900 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16901 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16902
80bad0cc
JM
16903 * math/gen-libm-test.pl (%beautify): Add entries for underflow
16904 exceptions.
16905 * math/libm-test.inc ("Philosophy"): Update comment about
16906 exception testing.
16907 (UNDERFLOW_EXCEPTION): New macro.
16908 (UNDERFLOW_EXCEPTION_OK): Likewise.
16909 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
16910 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
16911 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
16912 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
16913 (INVALID_EXCEPTION_OK): Update value.
16914 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16915 (OVERFLOW_EXCEPTION_OK): Likewise.
16916 (IGNORE_ZERO_INF_SIGN): Likewise.
16917 (test_exceptions): Handle underflow exceptions.
16918 (acos_test): Update for underflow exception expectations.
16919 (cexp_test): Likewise.
16920 (clog_test): Likewise.
16921 (clog10_test): Likewise.
16922 (csqrt_test): Likewise.
16923 (ctan_test): Likewise.
16924 (ctanh_test): Likewise.
16925 (exp_test): Likewise.
16926 (exp10_test): Likewise.
16927 (exp2_test): Likewise.
16928 (expm1_test): Likewise.
16929 (fma_test): Likewise.
16930 (j0_test): Likewise.
16931 (jn_test): Likewise.
16932 (nexttoward_test): Likewise.
16933 (pow_test): Likewise.
16934 (scalbn_test): Likewise.
16935 (scalbln_test): Likewise.
16936 (tan_test): Likewise.
16937 (y1_test): Likewise.
16938 * sysdeps/i386/fpu/libm-test-ulps: Update.
16939 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16940
9e0e3d0b
DM
169412012-05-23 David S. Miller <davem@davemloft.net>
16942
16943 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
16944 (__libc_sigaction): Remove unused local variables.
16945
ccd0a08f
L
169462012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16947
16948 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
16949
62bdf9a6
PE
169502012-05-23 Paul Eggert <eggert@cs.ucla.edu>
16951
f8591f80
PE
16952 mktime: avoid signed integer overflow
16953 * time/mktime.c (__mktime_internal): Do not mishandle the case
16954 where diff == INT_MIN.
16955
94c7d826
PE
16956 mktime: simplify computation of average
16957 * time/mktime.c (ranged_convert): Use new time_t_avg function
16958 instead of rolling our own (probably-slower) code.
16959
ce73d683
PE
16960 mktime: do not assume signed right shift propagates sign bit
16961 * time/mktime.c (isdst_differ): New static function.
16962 (__mktime_internal): No need to normalize tm_isdst now.
16963 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
16964 tm_isdst values.
16965
72a22e59
PE
16966 mktime: merge another wrapv change from gnulib
16967 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
16968 from some compilers.
16969
68605433
PE
16970 mktime: remove incorrect attempt at unusual arithmetics
16971 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
16972 The code didn't really work on such machines anyway.
16973 (TYPE_MINIMUM): Assume two's complement.
16974 (twos_complement_arithmetic): Verify that long_int and time_t
16975 are two's complement (or unsigned, in the latter case).
16976
03cf7fe3
PE
16977 mktime: check signed shifts on long_int and time_t, too
16978 * time/mktime.c (SHR): Check that shifts work as desired
16979 on the types long_int and time_t too, as SHR is used on
16980 such types.
16981
f04dfbc2
PE
16982 mktime: do not assume 'long' is wide enough
16983 * time/mktime.c (verify): Move decl up.
16984 (long_int): New type.
16985 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
16986 to remove assumption in the code that 'long' is wide enough to
16987 store year values. This assumption is not true on x32 and on
16988 some non-glibc platforms.
16989
62bdf9a6
PE
16990 mktime: merge wrapv change from gnulib
16991 * time/mktime.c (WRAPV): New macro.
16992 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
16993 (guess_time_tm, __mktime_internal): Do not assume that signed
16994 integer overflow wraps around; modern compilers generate code
16995 where this assumption is no longer valid.
16996
5e292e4f
L
169972012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16998
16999 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17000 Replace "jmp L(pseudo_end)" with "ret".
17001 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
17002 Likewise.
17003
8caf8c87
AJ
170042012-05-23 Andreas Jaeger <aj@suse.de>
17005
17006 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
17007 * sysdeps/unix/sysv/linux/poll.c: Remove file.
17008
1a09dc56
AJ
170092012-05-23 Andreas Jaeger <aj@suse.de>
17010 Maximilian Attems <max@stro.at>
17011
17012 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
17013 New macros.
17014
1c87aba0
L
170152012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17016
17017 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
17018 code so that pseudo_end is just ret and the stack pointer is
17019 correct also for static library in error case.
17020
40e45bd5
JM
170212012-05-23 Joseph Myers <joseph@codesourcery.com>
17022
c2670533
JM
17023 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
17024 move to syscalls.list.
17025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
17026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
17027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
17028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
17029
40e45bd5
JM
17030 * manual/install.texi (Running make install): Do not mention Linux
17031 kernel version for which pt_chown is not needed.
17032 (Linux): Do not mention problems with nscd with 2.0 kernels.
17033 * INSTALL: Regenerated.
17034
be08eda5
AJ
170352012-05-23 Andreas Jaeger <aj@suse.de>
17036
17037 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
17038 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
17039 macro.
17040 * sysdeps/unix/sysv/linux/s390/bits/mman.h
17041 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17042 * sysdeps/unix/sysv/linux/sh/bits/mman.h
17043 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17044 * sysdeps/unix/sysv/linux/i386/bits/mman.h
17045 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17046 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
17047 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17048 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
17049 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17050 * sysdeps/unix/sysv/linux/bits/in.h
17051 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
17052
a6a056bb
RM
170532012-05-22 Roland McGrath <roland@hack.frob.com>
17054
17055 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
17056 (PREPARE_VERSION): Just use assert instead, it will be elided
17057 under [NDEBUG] anyway.
17058
c9009328
L
170592012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17060
17061 * sysdeps/unix/sysv/linux/Makefile: Include
17062 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 17063 (sysdep_routines): Remove sysctl.
c9009328
L
17064 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
17065 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
17066 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
17067 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
17068 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
17069
73338355
AJ
170702012-05-22 Andreas Jaeger <aj@suse.de>
17071
17072 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
17073 that pseudo_end is just ret and the stack pointer is correct also
17074 for static library in error case.
17075
d44638b0
PP
170762012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
17077
17078 [BZ #14122]
17079 * nss/nsswitch.c (defconfig_entries): New variable.
17080 (__nss_database_lookup): Don't leak defconfig entries.
17081 (nss_parse_service_list): Don't leak on error paths.
17082 (free_database_entries): New function.
17083 (free_defconfig): New function.
17084 (free_mem): Move common code to free_database_entries.
17085
31a39bd8
L
170862012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17087
da0331a8
L
17088 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
17089 Add arch_prctl.
17090 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
17091
31a39bd8
L
17092 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17093 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
17094 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
17095 New macro.
17096 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
17097 (INTERNAL_SYSCALL_TYPES): Likewise.
17098 (LOAD_ARGS_TYPES_[1-6]): Likewise.
17099 (LOAD_REGS_TYPES_[1-6]): Likewise.
17100 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
17101 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
17102
45470df3
AZ
171032012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17104
17105 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
17106 copysignl for GLIBC_2_0.
17107 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
17108 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
17109 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
17110 logbl for GLIBC_2_0.
17111 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
17112 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
17113
98a61bcb
L
171142012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17115
a4f6e481
L
17116 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
17117 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17118
f63d5db6
L
17119 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17120 Use "neg %eax".
17121
98a61bcb
L
17122 * time/mktime.c: Update copyright years.
17123
95770f14
PE
171242012-05-22 Paul Eggert <eggert@cs.ucla.edu>
17125
6226efbd
PE
17126 mktime: merge comment-quoting-style change from gnulib
17127 * time/mktime.c: Quote 'like this' in comments.
17128 The GNU coding standards suggest that we no longer quote `like this',
17129 as "`" and "'" are typically rendered asymmetrically nowadays.
17130 The typical gnulib style is to quote 'like this' when quoting
17131 code, and "like this" when quoting English.
17132
b99e4f78
PE
17133 * time/mktime.c (compile-command): Add "-I.".
17134
643e01e6
PE
17135 mktime: merge mktime-internal.h change from gnulib
17136 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
17137
2554247d
PE
17138 mktime: merge time_r change from gnulib
17139 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
17140
826dd0ab
PE
17141 mktime: merge DEBUG change from gnulib
17142 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
17143 case system <time.h> has a #define.
17144
bd83aabe
PE
17145 mktime: merge <sys/types.h> change from gnulib
17146 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
17147 since <time.t> is now guaranteed to define time_t.
17148
95770f14
PE
17149 mktime: merge HAVE_CONFIG_H change from gnulib
17150 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
17151
5e1a27a9
L
171522012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17153
0e44a77e
L
17154 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17155 Use "neg %eax".
17156
5e1a27a9
L
17157 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
17158 __rlim_t cast.
17159 (struct rusage): Use anonymous union to pad each field to
17160 __syscall_slong_t.
17161
46259bec
DM
171622012-05-21 David S. Miller <davem@davemloft.net>
17163
17164 * Makefules (o-iterator): Remove .s cases.
17165 (compile-command.s): Delete.
17166 (COMPILE.s): Delete.
17167 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
17168
59f0c22e
JM
171692012-05-21 Joseph Myers <joseph@codesourcery.com>
17170
17171 * configure.in (libc_cv_predef_stack_protector): Only consider
17172 "foobar" and "__stack_chk_fail" lines in libc_undefs.
17173 * configure: Regenerated.
17174
20c07380
L
171752012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17176
bbb3154b
L
17177 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17178 New macro. Use R*LP on int and pointer.
17179 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
17180 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
17181 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
17182 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
17183
20c07380
L
17184 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
17185 [__WORDSIZE_TIME64_COMPAT32] instead of
17186 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
17187 (struct utmp): Likewise.
17188 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
17189 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
17190 Renamed to ...
17191 (__WORDSIZE_TIME64_COMPAT32): This.
17192 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
17193 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
17194 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
17195 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
17196 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
17197 (__WORDSIZE_TIME64_COMPAT32): New macro.
17198
d8d1017e
AJ
171992012-05-21 Andreas Jaeger <aj@suse.de>
17200
17201 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
17202 only if [SHARED]. Add prototype for __wcschr_ia32.
17203
6c7fb145
RM
172042012-05-21 Roland McGrath <roland@hack.frob.com>
17205
17206 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
17207 of %rbp unmolested in the jmp_buf while mangling the low bits.
17208 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
17209 unmolested high bits of %rbp while demangling the low bits.
17210 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17211
66274218
AJ
172122012-05-21 Andreas Jaeger <aj@suse.de>
17213
07c58f8f
AJ
17214 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
17215 * sunrpc/svc_simple.c: Use it for registerrpc.
17216 * sunrpc/xcrypt.c: Use it for passwd2des.
17217
66274218
AJ
17218 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
17219
61f65140
L
172202012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17221
17222 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
17223 Don't define if [__SYSCALL_WORDSIZE != 32].
17224 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
17225 New macro.
17226
5fefb436
AJ
172272012-05-21 Bruno Haible <bruno@clisp.org>
17228 Andreas Jaeger <aj@suse.de>
17229
17230 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
17231 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
17232 inptr and inend for must_buffer_ch.
17233 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
17234 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
17235 * stdio-common/Makefile (tests): Remove bug15.
17236 (bug15-ENV): Remove macro.
17237 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
17238 anymore.
17239
d8e272ab
AJ
172402012-05-19 Andreas Jaeger <aj@suse.de>
17241 Roland McGrath <roland@hack.frob.com>
17242
17243 * manual/contrib.texi: Completely rewritten. It contains now an
17244 alphabetical list of contributors and their contributions.
17245
4a56a162
RH
172462012-05-21 Richard Henderson <rth@twiddle.net>
17247
17248 * misc/getauxval.c (__getauxval): Use unsigned long int.
17249 * misc/sys/auxv.h: Include <sys/cdefs.h>.
17250 (getauxval): Use unsigned long int.
17251
d024d23c
L
172522012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17253
17254 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
17255
cbc00a03
RM
172562012-05-21 Roland McGrath <roland@hack.frob.com>
17257
17258 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
17259 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
17260 __alignof__ (long double).
17261
478143fa
AZ
172622012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17263
17264 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17265
c7683a6d
RH
172662012-05-20 Richard Henderson <rth@twiddle.net>
17267
17268 * misc/getauxval.c: New file.
17269 * misc/sys/auxv.h: New file.
17270 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
17271 (routines): Add getauxval.
17272 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
17273 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
17274 * elf/dl-sysdep.c (_dl_auxv): Remove.
17275 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
17276 * elf/dl-support.c (_dl_auxv): New variable.
17277 (_dl_aux_init): Initialize it.
17278 * manual/startup.texi (Auxiliary Vector): New node.
17279 * sysdeps/generic/bits/hwcap.h: New file.
17280 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
17281 * sysdeps/powerpc/sysdep.h: ... here. Include it.
17282 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
17283 * sysdeps/sparc/sysdep.h: ... here. Include it.
17284 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
17285 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
17286 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17287 Update.
c7683a6d
RH
17288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
17289 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
17290 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
17291 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
17292 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
17293 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
17294 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
17295 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
17296
a6f1845d
AZ
172972012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17298
17299 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17300
cbcbe830
DM
173012012-05-19 David S. Miller <davem@davemloft.net>
17302
17303 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17304
e0b16cc2
JM
173052012-05-19 Joseph Myers <joseph@codesourcery.com>
17306
17307 [BZ #14123]
17308 * math/s_ccosh.c: Include <float.h>
17309 (__ccosh): Avoid internal overflow calculating sinh and cosh
17310 values before multiplying by sin and cos values.
17311 * math/s_ccoshf.c: Likewise.
17312 * math/s_ccoshl.c: Likewise.
17313 * math/s_csin.c: Likewise.
17314 * math/s_csinf.c: Likewise.
17315 * math/s_csinl.c: Likewise.
17316 * math/s_csinh.c: Likewise.
17317 * math/s_csinhf.c: Likewise.
17318 * math/s_csinhl.c: Likewise.
17319 * math/libm-test.inc (ccos_test): Add more tests.
17320 (ccosh_test): Likewise.
17321 (csin_test): Likewise.
17322 (csinh_test): Likewise.
17323 * sysdeps/i386/fpu/libm-test-ulps: Update.
17324 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17325
6ad13e08
L
173262012-05-19 H.J. Lu <hongjiu.lu@intel.com>
17327
f66f0ce8
L
17328 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
17329 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
17330
6ad13e08
L
17331 * sysdeps/x86_64/x32/_itoa.h: Add comment.
17332
b1d072a7
JM
173332012-05-19 Joseph Myers <joseph@codesourcery.com>
17334
17335 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
17336 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
17337 * sysdeps/powerpc/soft-fp/Versions: Likewise.
17338 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
17339 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
17340 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
17341 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
17342 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
17343 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
17344 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
17345 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
17346 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
17347 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
17348 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
17349 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
17350 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
17351 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
17352 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
17353 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
17354 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
17355 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
17356 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
17357 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
17358 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
17359 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
17360 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
17361 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
17362 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
17363 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
17364 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
17365 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
17366
9eae47cb
AJ
173672012-05-18 Andreas Jaeger <aj@suse.de>
17368
17369 * csu/.gitignore: Delete.
17370
bb07f69f
L
173712012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17372
17373 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
17374 (timex): Use __syscall_slong_t.
17375
e6bdb741
AJ
173762012-05-18 Andreas Jaeger <aj@suse.de>
17377 Carlos O'Donell <carlos_odonell@mentor.com>
17378
17379 * manual/install.texi (Configuring and compiling): Update
17380 description about files modified in the source directory.
d6c33fda 17381 * INSTALL: Regenerated.
e6bdb741 17382
1b74487e
L
173832012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17384
17385 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
17386 value. Use "or" to set return value to -1.
17387 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
17388 negate return value.
17389
a88b64b9
TMQMF
173902012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17391
17392 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
17393 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
17394 failure if the compiler has Graphite support disabled.
17395 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
17396 Likewise.
17397 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
17398 CFLAGS-memmove.c): Likewise.
17399 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
17400 Likewise.
17401
3707636e
L
174022012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17403
610b8622
L
17404 * sysdeps/x86_64/x32/_itoa.h: New file.
17405
7cd195df
L
17406 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
17407 getdents system call only if kernel and user dirents have the
17408 same d_ino and d_off.
17409
94b07d20
L
17410 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17411 LLONG_MAX != LONG_MAX.
17412 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17413 (_fitoa_word): Likewise.
17414
18298070
L
17415 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
17416 years.
17417 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
17418 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
17419 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
17420
553c7ea4
L
17421 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
17422 include <bits/wordsize.h>. Check __x86_64__ instead of
17423 __WORDSIZE.
17424 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
17425 if __x86_64__ is defined. Use anonymous union on fpstate.
17426
3707636e
L
17427 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
17428 anonymous union.
17429
b53ef01a
AS
174302012-05-18 Andreas Schwab <schwab@linux-m68k.org>
17431
37fb1dc0
AS
17432 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
17433 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
17434 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
17435 Refer to _rtld_local_ro instead of _rtld_global_ro.
17436 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
17437 Likewise.
17438 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
17439 Likewise.
17440 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
17441 Likewise.
17442 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
17443 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
17444 of _rtld_global, and rtld_progname instead of _dl_argv[0].
17445
b53ef01a
AS
17446 * sysdeps/powerpc/powerpc32/dl-machine.c
17447 (__elf_machine_runtime_setup) [PROF]: Don't reference
17448 _dl_prof_resolve.
17449
7a185db2
AJ
174502012-05-18 Andreas Jaeger <aj@suse.de>
17451
17452 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
17453 function only available for GCCs before 3.4 since GCC 3.4
17454 introduced a builtin.
17455 (lrint): Likewise.
17456 (llrintf): Likewise.
17457 (llrint): Likewise.
17458 (fmaxf): Likewise.
17459 (fmax): Likewise.
17460 (fminf): Likewise.
17461 (fmin): Likewise.
17462 (rint): Likewise.
17463 (rintf): Likewise.
17464 (nearbyint): Likewise.
17465 (nearbyintf): Likewise.
17466 (ceil): Likewise.
17467 (ceilf): Likewise.
17468 (floor): Likewise.
17469 (floorf): Likewise.
17470
3e5aef87
L
174712012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17472
428bd707
L
17473 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
17474 on both fields and cast pointer to __syscall_ulong_t.
17475
3e5aef87
L
17476 * bits/types.h (__fsword_t): New type.
17477 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
17478 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
17479 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17480 (__FSWORD_T_TYPE): Likewise.
17481 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17482 (__FSWORD_T_TYPE): Likewise.
17483 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17484 (__FSWORD_T_TYPE): Likewise.
17485 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
17486 (__FSWORD_T_TYPE): Likewise.
17487 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
17488 __SWORD_TYPE with __fsword_t.
17489 (statfs64): Likewise.
17490
1ba7c3dc
DM
174912012-05-17 David S. Miller <davem@davemloft.net>
17492
17493 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
17494
59910343
AJ
174952012-05-17 Andreas Jaeger <aj@suse.de>
17496
17497 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
17498 warning.
17499
2e4c1e9e
L
175002012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17501
17502 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
17503
de7f5ce7
AJ
175042012-05-17 Andreas Jaeger <aj@suse.de>
17505
17506 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
17507 when it is used.
17508
286abc3d
CM
175092012-05-17 Chris Metcalf <cmetcalf@tilera.com>
17510
17511 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
17512
477cc68e
L
175132012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17514
17515 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
17516 * sysdeps/x86_64/tst-mallocalign1.c: New file.
17517
1a0994f5
CD
175182012-05-17 Andreas Jaeger <aj@suse.de>
17519 Carlos O'Donell <carlos_odonell@mentor.com>
17520
17521 [BZ #14059]
17522 * sysdeps/x86_64/multiarch/init-arch.h
17523 (bit_YMM_Usable): Rename to...
17524 (bit_AVX_Usable): ... this.
17525 (bit_FMA4_Usable): New macro.
17526 (bit_XMM_state): New macro.
17527 (bit_YMM_state): New macro.
17528 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
17529 [__ASSEMBLER__] (index_AVX_Usable): ... this.
17530 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
17531 (CPUID_OSXSAVE): New macro.
17532 (CPUID_AVX): New macro.
17533 (CPUID_FMA4): New macro.
17534 (index_YMM_Usable): Rename to...
17535 (index_AVX_Usable): ... this.
17536 (HAS_AVX): Use HAS_ARCH_FEATURE.
17537 (HAS_FMA4): Likewise.
17538 (HAS_YMM_USABLE): Remove.
17539 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17540 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
17541 are present.
17542 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
17543 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
17544 * sysdeps/x86_64/multiarch/Makefile: Likewise.
17545 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
17546 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
17547
0af797de
CM
175482012-05-17 Chris Metcalf <cmetcalf@tilera.com>
17549
17550 * math/libm-test.c: Support platforms without multiple rounding modes.
17551 * math/bug-nextafter.c: Support platforms without FP exceptions.
17552 * math/bug-nexttoward.c: Likewise.
17553 * math/test-fenv.c: Likewise.
17554 * math/test-misc.c: Likewise.
17555 * stdlib/bug-getcontext.c: Likewise.
17556
e39745ff
AJ
175572012-05-17 Andreas Jaeger <aj@suse.de>
17558
17559 * manual/examples/search.c (critter_cmp): Change signature to
17560 avoid warnings.
17561 * manual/string.texi (Collation Functions): Likewise.
17562
48970aba
L
175632012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17564
17565 * bits/types.h: Fold copyright years.
17566 * bits/typesizes.h: Likewise.
17567 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
17568 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
17569 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
17570 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
17571 * time/time.h: Likewise.
17572
bedee953
PP
175732012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
17574
17575 [BZ #208]
17576 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
17577 in instead of returning them. Return void.
17578 (__libc_mallinfo): Accumulate over all arenas.
17579 (__malloc_stats): Adjust for change in int_mallinfo interface.
17580
61653dfb
RM
175812012-05-16 Roland McGrath <roland@hack.frob.com>
17582
30b99d79
RM
17583 [BZ #10375]
17584 * configure.in (NM): Add AC_CHECK_TOOL for it.
17585 (libc_extra_cflags): New substituted variable.
17586 Check for -fstack-protector being used implicitly.
17587 * configure: Regenerated.
17588 * config.make.in (config-extra-cflags): New variable,
17589 gets @libc_extra_cflags@.
17590 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
17591
61653dfb
RM
17592 [BZ #10375]
17593 * configure.in: Check for _FORTIFY_SOURCE being predefined.
17594 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
17595 * configure: Regenerated.
17596 * config.make.in (CPPUNDEFS): New substituted variable.
17597 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
17598 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
17599 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
17600
661768bb
L
176012012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17602
17603 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
17604 (mq_attr): Use __syscall_slong_t.
17605
d4261567
L
176062012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17607
17608 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
17609 Check __x86_64__ instead of __WORDSIZE.
17610 (_STAT_VER_LINUX): Likewise.
17611 (stat): Check __x86_64__ instead of __WORDSIZE. Use
17612 __syscall_ulong_t and __syscall_slong_t.
17613 (stat64): Likewise.
17614
cf3ff365
L
176152012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17616
17617 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
17618
76cf3e4d
L
176192012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17620
17621 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
17622
a637753a
L
176232012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17624
17625 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
17626 __syscall_ulong_t.
17627
d5e05119
L
17628 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
17629 include <bits/wordsize.h>. Check __x86_64__ instead of
17630 __WORDSIZE.
17631 (greg_t): Use "__extension__ long long int" if __x86_64__ is
17632 defined.
17633 (mcontext_t): Replace "unsigned long" with "unsigned long long".
17634
f62ee380
L
17635 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
17636 include <bits/wordsize.h>. Check __x86_64__ instead of
17637 __WORDSIZE.
17638 (user_regs_struct): Use "__extension__ unsigned long long"
17639 instead of "unsigned long" if __x86_64__ is defined.
17640 (user): Likewise. Pad after pointer field if __ILP32__ is
17641 defined.
17642
4e124ced
JM
176432012-05-16 Joseph Myers <joseph@codesourcery.com>
17644
6a3951a0
JM
17645 * configure.in (makeinfo): Require version 4.5 or later. Allow
17646 versions 5 to 9.
17647 * configure: Regenerated.
17648 * manual/install.texi (texinfo): Increase version requirement to
17649 4.5 or later.
17650 * INSTALL: Regenerated.
17651
4e124ced
JM
17652 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
17653
953ca31a
L
176542012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17655
17656 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
17657
617aca05
L
17658 * sysdeps/x86_64/x32/ffs.c: New file.
17659
5762f7ae
L
17660 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
17661 __syscall_ulong_t.
17662 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
17663 defined. Use __syscall_ulong_t.
17664 (shminfo): Use __syscall_ulong_t.
17665 (shm_info): Likewise.
17666
a26b6856
L
17667 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
17668 __syscall_ulong_t.
17669
cb2b9ef7
L
17670 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
17671 <bits/wordsize.h>.
17672 (msgqnum_t): Use __syscall_ulong_t.
17673 (msglen_t): Likewise.
17674 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
17675 __syscall_ulong_t.
17676
34683bb0
L
17677 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
17678 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17679
84a68786
L
17680 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
17681
48baa5f1
L
17682 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
17683 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
17684
180be88b
L
17685 * sysvipc/sys/msg.h (msgbuf): Replace long int with
17686 __syscall_slong_t.
17687
5e90c8ad
L
17688 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
17689 include <bits/wordsize.h>. Check __x86_64__ instead of
17690 __WORDSIZE.
17691
23dfb58b
L
17692 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
17693 "unsigned long long int" if __x86_64__ is defined.
17694 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
17695
ce5d54b0
L
17696 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
17697 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17698 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
17699
13dc9eac
L
17700 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
17701 <stdint.h>.
17702 (GET_PC): Cast to uintptr_t first.
17703 (GET_FRAME): Likewise.
17704 (GET_STACK): Likewise.
17705
a7895d15
L
17706 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
17707 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
17708 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
17709 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
17710 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
17711 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
17712 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
17713 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
17714 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
17715 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
17716 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
17717 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
17718 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17719 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
17720 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
17721 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
17722 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
17723 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
17724 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
17725 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
17726 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
17727 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
17728 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
17729 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
17730 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
17731 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
17732 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
17733 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
17734 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
17735
656416c9
AS
177362012-05-16 Andreas Schwab <schwab@linux-m68k.org>
17737
5bd66283
AS
17738 * Makerules (+depfiles): Also collect depfiles from .oS in
17739 $(extra-objs).
17740 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
17741 .oS, $(libnldbl-routines)).
17742
656416c9
AS
17743 * Makerules (native-compile-mkdep-flags): Define.
17744 * sunrpc/Makefile (extra-objs): Add $(addprefix
17745 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
17746 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
17747 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
17748 calling $(make-target-directory).
17749
a46f2169
L
177502012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17751
17752 * bits/types.h (__snseconds_t): Removed.
17753 * time/time.h (struct timespec): Replace __snseconds_t with
17754 __syscall_slong_t.
17755 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
17756 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
17757 Likewise.
17758 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17759 (__SNSECONDS_T_TYPE): Likewise.
17760 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17761 (__SNSECONDS_T_TYPE): Likewise.
17762 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17763 (__SNSECONDS_T_TYPE): Likewise.
17764
6af6528b
L
177652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17766
17767 * sysdeps/mach/hurd/bits/typesizes.h
17768 (__SYSCALL_SLONG_TYPE): New macro.
17769 (__SYSCALL_ULONG_TYPE): Likewise.
17770
de986b56
L
177712012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17772
17773 * bits/types.h (__syscall_slong_t): New type.
17774 (__syscall_ulong_t): Likewise.
17775
17776 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
17777 (__SYSCALL_ULONG_TYPE): Likewise.
17778 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17779 (__SYSCALL_SLONG_TYPE): Likewise.
17780 (__SYSCALL_ULONG_TYPE): Likewise.
17781 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17782 (__SYSCALL_SLONG_TYPE): Likewise.
17783 (__SYSCALL_ULONG_TYPE): Likewise.
17784 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17785 (__SYSCALL_SLONG_TYPE): Likewise.
17786 (__SYSCALL_ULONG_TYPE): Likewise.
17787
85736dc7
L
177882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17789
17790 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
17791 Add sigaltstack-offsets.sym.
17792 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
17793 <sigaltstack-offsets.h>.
17794 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
17795 longjmp_msg pointer.
17796 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
17797 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
17798 signal stack.
17799 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
17800
cc03b296
JM
178012012-05-15 Joseph Myers <joseph@codesourcery.com>
17802
a9538892
JM
17803 * elf/stackguard-macros.h: Remove file.
17804 * sysdeps/generic/stackguard-macros.h: New file.
17805 * sysdeps/i386/stackguard-macros.h: Likewise.
17806 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17807 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17808 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17809 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17810 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17811 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17812 * sysdeps/x86_64/stackguard-macros.h: Likewise.
17813 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
17814 <elf/stackguard-macros.h>.
17815
cc03b296
JM
17816 [BZ #14109]
17817 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
17818 __aligned__ in attribute.
17819 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
17820 (gregset_t): Likewise.
17821
93171016
L
178222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17823
17824 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
17825 * sysdeps/x86_64/64/Implies-after: Here. New file.
17826 * sysdeps/x86_64/x32/Implies-after: New file.
17827
d86813a0
L
178282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17829
17830 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
17831 and access return value for _dl_profile_fixup. Use R10_LP to
17832 load frame size.
17833
2953ec75
L
178342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17835
17836 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
17837
3b550e9e
L
178382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17839
17840 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
17841 * sysdeps/x86_64/x32/sysdep.h: New file.
17842
eda41706
L
178432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17844
17845 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
17846 * sysdeps/x86_64/setjmp.S: Likewise.
17847
9ea01d93
AZ
178482012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17849
17850 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
17851 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
17852 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
17853 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
17854 remove unused global constant.
17855
02a91938
CM
178562012-05-15 Chris Metcalf <cmetcalf@tilera.com>
17857
17858 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
17859 include of <not-cancel.h>.
17860
6540185f
RM
178612012-05-15 Roland McGrath <roland@hack.frob.com>
17862
17863 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
17864
509072a0
AJ
178652012-05-15 Jeff Law <law@redhat.com>
17866 Andreas Jaeger <aj@suse.de>
17867
17868 [BZ #13594]
17869 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
17870 out from...
17871 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
17872 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
17873 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
17874 code changing __hst_map_handle.map.
17875
ba75122d
RM
178762012-05-15 Roland McGrath <roland@hack.frob.com>
17877
17878 * configure.in (sysnames): Look for Implies-before and Implies-after
17879 files.
17880 * configure: Regenerated.
17881
890d8bd8
L
178822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17883
17884 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
17885 8-byte data alignment with LP_SIZE alignment.
17886
f6ee6623
L
178872012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17888
17889 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
17890 into R10_LP.
17891
ea2626f6
L
178922012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17893
17894 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
17895
085f715e
L
178962012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17897
17898 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
17899 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
17900 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
17901 Likewise.
17902 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17903
be8498fc
L
179042012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17905
17906 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
17907 (stackinfo_sub_sp): Likewise.
17908
70bc83b9
L
179092012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17910
17911 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
17912 RAX_LP.
17913
9bc0b730
L
179142012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17915
17916 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
17917 into R*_LP.
17918
6d2850e7
L
179192012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17920
17921 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
17922 sizes into R*_LP.
17923
3cb84561
L
179242012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17925
17926 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
17927
54e2ed81
L
179282012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17929
17930 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
17931 into R11_LP and load __x86_64_shared_cache_size_half into
17932 R8_LP.
17933
8a17f349
L
179342012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17935
17936 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
17937 R8_LP.
17938
777b1eea
AZ
179392012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17940
17941 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
17942 logb for POWER7.
17943 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
17944 logbf for POWER7.
17945 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
17946 logbl for POWER7.
17947 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
17948 powerpc32/power7/fpu/s_logb.c via #include.
17949 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
17950 powerpc32/power7/fpu/s_logbf.c via #include.
17951 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
17952 powerpc32/power7/fpu/s_logbl.c via #include.
17953
d20d4ac2
JM
179542012-05-15 Joseph Myers <joseph@codesourcery.com>
17955
17956 * README.libm: Remove file.
17957
6cdef1ab
L
179582012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17959
17960 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
17961 count for x32. Use R*_LP and omit operand-size suffix.
17962
0b254d8f
L
179632012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17964
17965 * shlib-versions: Move x86_64-.*-linux.* entries to ...
17966 * sysdeps/x86_64/64/shlib-versions: Here. New file.
17967 * sysdeps/x86_64/x32/shlib-versions: New file.
17968
ceb809dc
RM
179692012-05-14 Roland McGrath <roland@hack.frob.com>
17970
17971 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
17972 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
17973 Use _dl_fatal_printf instead.
17974
37f1abd4
JM
179752012-05-14 Joseph Myers <joseph@codesourcery.com>
17976
17977 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
17978 set if not set by the user. Do not allow for being unset.
17979 * sysdeps/unix/sysv/linux/configure: Regenerated.
17980
11de3a33
L
179812012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17982
17983 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
17984 the `q' suffix from lea and replace .quad with ASM_ADDR.
17985
e02f153a
L
179862012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17987
17988 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
17989 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
17990 instead of $17.
17991 (PTR_DEMANGLE): Likewise.
17992
520ae0fd
L
179932012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17994
17995 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
17996 (LP_OP): Likewise.
17997 (ASM_ADDR): Likewise.
17998 (RAX_LP): Likewise.
17999 (RBP_LP): Likewise.
18000 (RBX_LP): Likewise.
18001 (RCX_LP): Likewise.
18002 (RDI_LP): Likewise.
18003 (RSI_LP): Likewise.
18004 (RSP_LP): Likewise.
18005 (R8_LP): Likewise.
18006 (R9_LP): Likewise.
18007 (R10_LP): Likewise.
18008 (R10_LP): Likewise.
18009 (R11_LP): Likewise.
18010 (R12_LP): Likewise.
18011 (R13_LP): Likewise.
18012 (R14_LP): Likewise.
18013 (R15_LP): Likewise.
18014
b985be81
L
180152012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18016
18017 * sysdeps/x86_64/x32/dl-machine.h: New file.
18018
6a4888ff
AJ
180192012-05-14 Andreas Jaeger <aj@suse.de>
18020
18021 * manual/Makefile (subdir): Remove export of subdir.
18022 (all): Remove target.
18023 (.PHONY): Remove all from list.
18024 (mkinstalldirs): Remove.
18025 (.PHONY): Remove installdirs from list.
18026 ($(inst_infodir)/libc.info): Use make-target-directory.
18027 (installdirs): Remove.
18028 (subdir_%): Remove.
18029 (glibc-targets): Remove.
18030 (lib): Remove.
18031 (stubs): Remove.
18032 ($(objpfx)stubs ../po/manual.pot): Remove.
18033 ($(objpfx)stamp%): Remove.
18034 (make-target-directory): Remove.
18035 (subdir_install): Remove.
18036 (routines): Remove.
18037 (aux): Remove.
18038 (sources): Remove.
18039 (objects): Remove.
18040 (headers): Remove.
18041
18042 [BZ #13750]
18043 * manual/.gitignore: Remove, it's not needed anymore.
18044 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
18045 all files in it.
18046 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
18047 directory.
18048 (texis): Renamed to $(objpfx)texis.
18049 (texis-path): New, contains path to generated files.
18050 (chapters.%): Use texis-path for complete path, add extra argument
18051 libc-texinfo.sh.
18052 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
18053 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
18054 (summary,texi, stamp-summary): Use complete path of
18055 files. Generate files in build dir.
18056 (dir-add.texi): Build in build dir.
18057 (libm-err.texi,stamp-libm-err): Likewise.
18058 (version.texi, stamp-version): Likewise.
18059 (.%c.texi): Likewise.
18060 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
18061 (mostlyclean): Remove target.
18062 (realclean): Remove target.
18063 (generated): Add new variable with contents from mostlyclean and
18064 realclean, remove entries duplicated in common-mostlyclean, add
18065 stamp-libm-err and stamp-version.
18066 (generated-dirs): Add libc directory.
18067 ($(inst_infodir)/libc.info): Install files from build dir.
18068
18069 * manual/install.texi (Configuring and compiling): Adjust since
18070 the info files are not part of the tar ball anymore.
18071
7ac77294
AJ
180722012-05-14 Andreas Jaeger <aj@suse.de>
18073
18074 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
18075 variable.
18076
ffb7875d
JM
180772012-05-14 Joseph Myers <joseph@codesourcery.com>
18078
18079 [BZ #13717]
18080 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
18081 to 2.2.0 where earlier.
18082 * sysdeps/unix/sysv/linux/configure: Regenerated.
18083 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
18084 Remove conditional code.
18085 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
18086 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
18087 Remove conditional code.
18088 [!__NR_lchown]: Likewise.
18089 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18090 [__NR_lchown]: Likewise.
18091 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
18092 comment referencing __ASSUME_LCHOWN_SYSCALL.
18093 * sysdeps/unix/sysv/linux/i386/sigaction.c
18094 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18095 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18096 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
18097 Remove conditional code.
18098 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
18099 (__protocol_available): Remove #if 0 code.
18100 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
18101 conditional code.
18102 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
18103 * sysdeps/unix/sysv/linux/kernel-features.h
18104 (__ASSUME_GETCWD_SYSCALL): Don't define.
18105 (__ASSUME_REALTIME_SIGNALS): Likewise.
18106 (__ASSUME_PREAD_SYSCALL): Likewise.
18107 (__ASSUME_PWRITE_SYSCALL): Likewise.
18108 (__ASSUME_POLL_SYSCALL): Likewise.
18109 (__ASSUME_LCHOWN_SYSCALL): Likewise.
18110 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
18111 non-SPARC.
18112 (__ASSUME_SIOCGIFNAME): Don't define.
18113 (__ASSUME_MSG_NOSIGNAL): Likewise.
18114 (__ASSUME_SENDFILE): Define unconditionally.
18115 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
18116 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
18117 conditional code.
18118 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
18119 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
18120 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18121 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18122 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
18123 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18124 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18125 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
18126 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18127 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18128 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
18129 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18130 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18131 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
18132 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18133 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18134 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
18135 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18136 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
18138 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18139 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18140 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
18141 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18142 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
18144 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18145 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
18147 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18148 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18149 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
18150 Remove conditional code.
18151 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18152 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18153 Remove conditional code.
18154 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18155 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
18156 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
18157 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18158 Remove conditional code.
18159 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18160 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
18161 Remove conditional code.
18162 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18163 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
18164 Remove conditional code.
18165 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18166 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18167 Remove conditional code.
18168 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18169 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18170 Remove conditional code.
18171 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18172 * sysdeps/unix/sysv/linux/sh/pwrite64.c
18173 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18174 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18175 * sysdeps/unix/sysv/linux/sigaction.c
18176 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18177 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18178 * sysdeps/unix/sysv/linux/sigpending.c
18179 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18180 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18181 * sysdeps/unix/sysv/linux/sigprocmask.c
18182 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18183 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18184 * sysdeps/unix/sysv/linux/sigsuspend.c
18185 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18186 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18187 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
18188 (__libc_missing_rt_sigs): Remove.
18189 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
18190 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
18191 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
18192 Remove conditional code.
18193 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
18194 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
18195 return 1.
18196 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
18197 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
18198 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
18199 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
18200
1bfb7291
AJ
182012012-05-14 Andreas Jaeger <aj@suse.de>
18202
caae5a81
AJ
18203 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
18204 it's not used in glibc.
18205 (__coshm1): Likewise.
18206 (__acosh1p): Likewise.
18207 (__sgn): Likewise.
18208
1bfb7291
AJ
18209 * manual/string.texi (Copying and Concatenation): Add missing
18210 variable in concat example.
18211 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
18212
c044d724
L
182132012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18214
144c5467 18215 [BZ #14103]
c044d724
L
18216 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
18217 __builtin_clzl with __builtin_clzll.
18218
2523c62b
L
182192012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18220
18221 [BZ #14104]
18222 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
18223 libc_freeres_ptr.
18224
d7bb4c42
LD
182252012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18226
18227 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
18228 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
18229 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
18230 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
18231
9dc4e1fb
MF
182322012-05-14 Mike Frysinger <vapier@gentoo.org>
18233
18234 * NEWS: Update ia64 info.
18235
c7df0112
AS
182362012-05-12 Andreas Schwab <schwab@linux-m68k.org>
18237
18238 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
18239 used as bcopy.
18240
dc70356c
TS
182412012-05-12 Thomas Schwinge <thomas@codesourcery.com>
18242
18243 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
18244 * sysdeps/unix/syscalls.list (dup3): Likewise.
18245 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
18246 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
18247
9fb1a21f
L
182482012-05-11 H.J. Lu <hongjiu.lu@intel.com>
18249
18250 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
18251 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
18252
4822a2a5
L
182532012-05-11 H.J. Lu <hongjiu.lu@intel.com>
18254
18255 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
18256 thread pointer.
18257 (TLS_IE): Use mov/add instead of movq/addq to load thread
18258 pointer.
18259 (TLS_GD_PREFIX): New.
18260 (TLS_GD): Use it.
18261
842b81d6
DM
182622012-05-11 David S. Miller <davem@davemloft.net>
18263
18264 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
18265 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
18266 (_FPU_SETCW): Likewise.
18267
1cf463cd
L
182682012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18269
18270 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
18271 is 32-byte aligned.
18272
60cc4a18
AS
182732012-05-11 Andreas Schwab <schwab@linux-m68k.org>
18274
18275 [BZ #11837]
18276 * iconvdata/gb18030.c: Update tables.
18277 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
18278 characters specially.
18279 (BODY for TO_LOOP): Add encoding of missing ranges.
18280
febb44a4
TS
182812012-05-11 Thomas Schwinge <thomas@codesourcery.com>
18282
18283 [BZ #13673]
18284 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
18285 * sysdeps/mach/hurd/dup3.c: Likewise.
18286 * sysdeps/mach/hurd/readlinkat.c: Likewise.
18287 * sysdeps/powerpc/memmove.c:: Likewise.
18288
0a10fb9e
L
182892012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18290
18291 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
18292 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
18293
df8a552f
L
182942012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18295
18296 * elf/elf.h (R_X86_64_RELATIVE64): New.
18297 (R_X86_64_NUM): Updated.
18298 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18299 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
18300 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
18301 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
18302 tst-quad1pie tst-quad2pie
18303 (modules-names): Add tst-quadmod1 tst-quadmod2.
18304 ($(objpfx)tst-quad1): New dependency.
18305 ($(objpfx)tst-quad2): Likewise.
18306 ($(objpfx)tst-quad1pie): Likewise.
18307 ($(objpfx)tst-quad2pie): Likewise.
18308 * sysdeps/x86_64/tst-quad1.c: New file.
18309 * sysdeps/x86_64/tst-quad1pie.c: New file.
18310 * sysdeps/x86_64/tst-quad2.c: Likewise.
18311 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
18312 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
18313 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
18314 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
18315 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
18316
f34d6f84
ST
183172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18318
f42d41d1
ST
18319 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
18320 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
18321 * streams/stropts.h (t_scalar_t): Define type.
18322
3c3571fc
ST
18323 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
18324 (_PATH_PRESERVE): Set to "/var/lib".
18325 (_PATH_RWHODIR): Set to "/var/spool/rwho".
18326
61f06bd3
ST
18327 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
18328 instead of int.
18329
918d4d71
ST
18330 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
18331 if __dir_mkfile succeeded.
18332
f34d6f84
ST
18333 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
18334 checking for _hurd_dtablesize. Unlock it right after having
18335 finished _hurd_dtable allocation.
18336
10589b4a
TS
183372012-05-10 Thomas Schwinge <thomas@schwinge.name>
18338
674cdbc7
TS
18339 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
18340 * sysdeps/mach/hurd/configure: Regenerated.
18341 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
18342 special-casing to...
18343 * sysdeps/gnu/configure.in: ... this new file.
18344 * sysdeps/unix/sysv/linux/configure: Regenerated.
18345 * sysdeps/gnu/configure: New generated file.
18346
8e41b99f
TS
18347 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
18348 for Linux: use nsec instead of usec, as well as:
18349 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
18350 members of type struct timespec.
18351 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
18352 New macros.
18353 (struct stat64): Likewise.
18354 (_STATBUF_ST_NSEC): New macro.
18355 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
18356
10589b4a
TS
18357 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
18358 __strtoul_internal rather than strtoul.
18359
63643c85
PT
183602012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18361
18362 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
18363 and reject them.
18364
3faebe6a
ST
183652012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18366
18367 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
18368 which preserves existing values.
18369 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
18370
c6474b07
PT
183712012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18372
18373 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
18374 TIMEOUT values. Return EINVAL for NFDS values either negative or
18375 greater than FD_SETSIZE.
18376
1043890b
ST
183772012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18378
18379 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
18380 allocated, call __vm_protect to finish enabling the existing space, and
18381 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
18382 allocate the remainder.
18383
37ed8b9b
PT
183842012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18385
18386 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
18387 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
18388
db653660
ST
183892012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18390
37ed8b9b
PT
18391 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
18392 sysdeps/mach/hurd/readlink.c.
b29d4053 18393
db653660
ST
18394 * posix/tst-sysconf.c (posix_options): Only use
18395 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
18396 _POSIX_SYNCHRONIZED_IO when they are defined
18397 * sysdeps/mach/hurd/bits/posix_opt.h:
18398 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
18399 (_XOPEN_REALTIME): Undefine macro.
18400 (_XOPEN_REALTIME_THREADS): Undefine macro.
18401 (_XOPEN_SHM): Undefine macro.
18402 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
18403 macro to -1.
18404 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
18405 macro to -1.
18406 (_POSIX_ASYNC_IO): Undefine macro.
18407 (_POSIX_PRIORITIZED_IO): Undefine macro.
18408 (_POSIX_SPIN_LOCKS): Define macro to -1.
18409
ee16e894
ST
18410 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
18411 SA_NODEFER, SA_RESETHAND.
18412 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
18413 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
18414 F_DUPFD_CLOEXEC.
18415
6103ae3b
TS
184162012-05-10 Thomas Schwinge <thomas@schwinge.name>
18417
18418 * elf/Makefile (pldd-modules): Define unconditionally.
18419
80b4e5f3
TS
184202012-05-10 Thomas Schwinge <thomas@schwinge.name>
18421
18422 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
18423
edadcbd6
ST
184242012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18425
18426 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
18427 Return ENOENT when name is empty.
18428 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
18429
80694780
TS
184302012-05-10 Thomas Schwinge <thomas@schwinge.name>
18431
1792c087
TS
18432 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
18433
80694780
TS
18434 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
18435
6b645f0d
ST
184362012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18437
80694780
TS
18438 Fix mlock in all cases except non-readable pages.
18439 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
18440 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 18441
6b645f0d
ST
18442 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
18443 (__mkdir): When path is `/', just fail with EEXIST.
18444 * sysdeps/mach/hurd/mkdirat.c: Likewise.
18445
e468f8a3
TS
184462012-05-10 Thomas Schwinge <thomas@schwinge.name>
18447
18448 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
18449 <sys/uio.h> (for writev).
18450 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
18451 and <sys/param.h> (for MIN).
18452
a4186cff
PT
184532012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18454
18455 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
18456 REQUESTED_TIME. Properly set the remaining time and return EINTR
18457 if interrupted.
18458
510bbf14
TS
184592012-05-10 Thomas Schwinge <thomas@schwinge.name>
18460
18461 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
18462 Depend on against $(link-rpcuserlibs).
18463
5d5722e8
ST
184642012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18465
a4186cff
PT
18466 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
18467 (__libc_stack_end): Do not use attribute_relro.
18468 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
18469 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 18470 to libthread-provided value.
a4186cff
PT
18471 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
18472 attribute_relro.
5d5722e8 18473
37233df9
TS
184742012-05-10 Thomas Schwinge <thomas@schwinge.name>
18475
be971a2b
TS
18476 [BZ #3748]
18477 * bits/libc-lock.h (__libc_once_get): New macro.
18478 * sysdeps/mach/bits/libc-lock.h: Likewise.
18479 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
18480 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
18481 instead of using implementation details.
18482
37233df9
TS
18483 * libio/fileops.c: Unconditionally include <kernel-features.h>.
18484 * libio/freopen.c: Likewise.
18485 * libio/freopen64.c: Likewise.
18486 * misc/syslog.c: Likewise.
18487 * nscd/connections.c: Likewise.
18488 * nscd/netgroupcache.c: Likewise.
18489 * sysdeps/posix/getcwd.c: Likewise.
18490
38de94a5
RM
184912012-05-10 Roland McGrath <roland@hack.frob.com>
18492
18493 * math/w_ilogbf.c: Add #include <limits.h>.
18494
67530489
ST
184952012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18496
a4186cff 18497 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
18498 path instead of returning without unlocking.
18499
67530489
ST
18500 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
18501 immediate-write ioctls.
18502 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
18503
5aa3a74a
TS
185042012-05-10 Thomas Schwinge <thomas@schwinge.name>
18505
18bad2ae
TS
18506 * sysdeps/mach/hurd/i386/init-first.c (init): Use
18507 __builtin_frame_address instead of making assumptions about the
18508 location of the return address relative to DATA. Force early load of
18509 the return address.
18510 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
18511 __builtin_frame_address.
18512
5aa3a74a
TS
18513 dup3 for GNU Hurd.
18514 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
18515 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
18516 implement dup3 and do some further code clean-ups.
18517 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
18518 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
18519
ecd0de9a
ST
185202012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18521
cd9fa985
ST
18522 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
18523
a4186cff
PT
18524 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
18525 HURD_CRITICAL_END around holding _hurd_dtable_lock.
18526 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
18527 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
18528 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
18529 d->port.lock.
802ca5a5 18530
a4186cff
PT
18531 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
18532 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
18533 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 18534
bcf55240
TS
185352012-05-10 Thomas Schwinge <thomas@schwinge.name>
18536
6960eb42
TS
18537 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
18538 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
18539 definitions.
18540
eb43375f
TS
18541 accept4 for GNU Hurd.
18542 * include/sys/socket.h (__libc_accept4): New prototype.
18543 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
18544 to implement __libc_accept4.
18545 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
18546 __libc_accept4.
18547 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
18548
bcf55240
TS
18549 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
18550 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
18551 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
18552 signal-defines.sym.
18553
6178c55b
ST
185542012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18555
a4186cff 18556 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 18557
6f080c2f
TS
185582012-05-10 Thomas Schwinge <thomas@schwinge.name>
18559
18560 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
18561 assertion on O_CLOEXEC flag.
18562 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
18563 * hurd/intern-fd.c: Likewise.
18564 * hurd/port2fd.c: Likewise.
18565
bcfe3a54
ST
185662012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18567
18568 [BZ #3906]
18569 * bits/in.h (IPV6_PKTINFO): Define new macro.
18570 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
18571
89c9aa49
AZ
185722012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18573
18574 [BZ #13954]
18575 [BZ #13955]
18576 [BZ #13956]
18577 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
18578 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18579 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
18580 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
18581 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18582 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
18583 * math/libm-test.inc (logb_test) : Additional logb tests.
18584
021db4be
AJ
185852012-05-09 Andreas Schwab <schwab@linux-m68k.org>
18586 Andreas Jaeger <aj@suse.de>
18587
18588 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
18589 * configure: Regenerated.
18590 * config.h.in (LINK_OBSOLETE_RPC): New macro.
18591 * config.make.in (link-obsolete-rpc): New substituted variable.
18592 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
18593 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
18594 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18595 (shared-only-routines): Don't set it under [link-obsolete-rpc],
18596 so that libc.a contains the symbols.
18597 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18598 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
18599 * sunrpc/auth_none.c: Likewise.
18600 * sunrpc/auth_unix.c: Likewise.
18601 * sunrpc/authdes_prot.c: Likewise.
18602 * sunrpc/authuxprot.c: Likewise.
18603 * sunrpc/clnt_gen.c: Likewise.
18604 * sunrpc/clnt_perr.c: Likewise.
18605 * sunrpc/clnt_raw.c: Likewise.
18606 * sunrpc/clnt_simp.c: Likewise.
18607 * sunrpc/clnt_tcp.c: Likewise.
18608 * sunrpc/clnt_udp.c: Likewise.
18609 * sunrpc/clnt_unix.c: Likewise.
18610 * sunrpc/des_crypt.c: Likewise.
18611 * sunrpc/des_soft.c: Likewise.
18612 * sunrpc/get_myaddr.c: Likewise.
18613 * sunrpc/key_call.c: Likewise.
18614 * sunrpc/key_prot.c: Likewise.
18615 * sunrpc/netname.c: Likewise.
18616 * sunrpc/pm_getmaps.c: Likewise.
18617 * sunrpc/pm_getport.c: Likewise.
18618 * sunrpc/pmap_clnt.c: Likewise.
18619 * sunrpc/pmap_prot.c: Likewise.
18620 * sunrpc/pmap_prot2.c: Likewise.
18621 * sunrpc/pmap_rmt.c: Likewise.
18622 * sunrpc/publickey.c: Likewise.
18623 * sunrpc/rpc_cmsg.c: Likewise.
18624 * sunrpc/rpc_common.c: Likewise.
18625 * sunrpc/rpc_dtable.c: Likewise.
18626 * sunrpc/rpc_prot.c: Likewise.
18627 * sunrpc/rpc_thread.c: Likewise.
18628 * sunrpc/rtime.c: Likewise.
18629 * sunrpc/svc.c: Likewise.
18630 * sunrpc/svc_auth.c: Likewise.
18631 * sunrpc/svc_raw.c: Likewise.
18632 * sunrpc/svc_run.c: Likewise.
18633 * sunrpc/svc_tcp.c: Likewise.
18634 * sunrpc/svc_udp.c: Likewise.
18635 * sunrpc/svc_unix.c: Likewise.
18636 * sunrpc/svcauth_des.c: Likewise.
18637 * sunrpc/xcrypt.c: Likewise.
18638 * sunrpc/xdr.c: Likewise.
18639 * sunrpc/xdr_array.c: Likewise.
18640 * sunrpc/xdr_float.c: Likewise.
18641 * sunrpc/xdr_intXX_t.c: Likewise.
18642 * sunrpc/xdr_mem.c: Likewise.
18643 * sunrpc/xdr_rec.c: Likewise.
18644 * sunrpc/xdr_ref.c: Likewise.
18645 * sunrpc/xdr_sizeof.c: Likewise.
18646 * sunrpc/xdr_stdio.c: Likewise.
18647
b5c086a2
RM
186482012-05-10 Roland McGrath <roland@hack.frob.com>
18649
18650 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
18651 change. Update copyright years.
18652
6d74dd09
JM
186532012-05-10 Joseph Myers <joseph@codesourcery.com>
18654
18655 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
18656
28e72501
MK
186572012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
18658 Joseph Myers <joseph@codesourcery.com>
18659 Paul Pluzhnikov <ppluzhnikov@google.com>
18660
18661 [BZ #14012]
18662 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
18663 requiring rpcgen.
18664 [cross-compiling] (extra-libs): Likewise.
18665 [cross-compiling] (extra-libs-others): Likewise.
18666 [cross-compiling] (librpcsvc-routines): Likewise.
18667 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
18668 [cross-compiling] (omit-deps): Likewise.
18669 (sunrpc-CPPFLAGS): New variable.
18670 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
18671 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
18672 (cross-rpcgen-objs): New variable.
18673 (extra-objs): Append $(cross-rpcgen-objs).
18674 ($(cross-rpcgen-objs)): New rule.
18675 ($(objpfx)cross-rpcgen): Likewise.
18676 (rpcgen-cmd): Define to use $(built-program-file). Expand
18677 comment.
18678 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
18679 ($(objpfx)x%.stmp): Likewise.
18680 * sunrpc/proto.h [IS_IN_build] (_): Define.
18681 [IS_IN_build] (_libc_intl_domainname): Likewise.
18682
c8c59454
L
186832012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18684
18685 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
18686 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
18687 and R_X86_64_TPOFF64.
18688
6f27cd16
JM
186892012-05-10 Joseph Myers <joseph@codesourcery.com>
18690
18691 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
18692 sysdeps/unix/sysv/syscalls.list.
18693 (stime): Likewise.
18694 (utime): Likewise.
18695 * sysdeps/unix/sysv/syscalls.list: Remove file.
18696
02467e1c
PE
186972012-05-10 Paul Eggert <eggert@cs.ucla.edu>
18698
18699 [BZ #3440]
18700 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
18701 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
18702 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
18703 (__LC_IDENTIFICATION): Make these macros useful in #if
18704 expressions, as required by C99.
18705
da392631
AS
187062012-05-10 Andreas Schwab <schwab@linux-m68k.org>
18707
18708 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
18709 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
18710 after this.
18711
8115f29b
L
187122012-05-09 H.J. Lu <hongjiu.lu@intel.com>
18713
18714 * stdlib/longlong.h: Updated from GCC.
18715
bdd74070
AJ
187162012-05-09 Andreas Jaeger <aj@suse.de>
18717
edfe0dbe
AJ
18718 * nscd/nscd.c (run_modes): Make named enum, reorder so that
18719 default is first entry.
18720 (run_mode): Set type.
18721 (main): Remove informal message about syslog.
18722 (options): Fix typo.
18723
bcfe3a54
ST
18724 [BZ #14053]
18725 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 18726 to asm.
bcfe3a54
ST
18727 (lrint): Likewise.
18728 (llrintf): Likewise.
18729 (llrint): Likewise.
18730 (rint): Likewise.
18731 (rintf): Likewise.
18732 (nearbyint): Likewise.
18733 (nearbyintf): Likewise.
bdd74070 18734
91d8d69e
AJ
187352012-05-09 Andreas Jaeger <aj@suse.de>
18736 Pedro Alves <palves@redhat.com>
18737
18738 * nscd/nscd.c (run_mode): Use enum.
18739 (main): Cleanup coding style issue.
18740
bb90b80b
AJ
187412012-05-09 Alexandre Oliva <aoliva@redhat.com>
18742 Andreas Jaeger <aj@suse.de>
18743
bcfe3a54
ST
18744 * nscd/nscd.c (go_background): Replaced with...
18745 (run_mode): ... this.
bb90b80b 18746 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
18747 (options): Add -F --foreground.
18748 (main): Implement it.
18749 (parse_opt): Parse it.
bb90b80b 18750
1a4b75a1
AJ
187512012-05-09 Andreas Jaeger <aj@suse.de>
18752
18753 [BZ #14083]
18754 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
18755 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
18756 -Wconversion warning.
18757 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
18758 Likewise.
18759
b1cc2472
JM
187602012-05-09 Joseph Myers <joseph@codesourcery.com>
18761
18762 * conform/data/locale.h-data (NULL): Use macro-constant. Require
18763 == 0.
18764 (LC_ALL): Use macro-int-constant.
18765 (LC_COLLATE): Likewise.
18766 (LC_CTYPE): Likewise.
18767 (LC_MESSAGES): Likewise.
18768 (LC_MONETARY): Likewise.
18769 (LC_NUMERIC): Likewise.
18770 (LC_TIME): Likewise.
18771 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
18772 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18773 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18774 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
18775 Specify type.
18776 [C99-based standards] (float_t): Expect type.
18777 [C99-based standards] (double_t): Expect type.
18778 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
18779 type.
18780 [C99-based standards] (HUGE_VALL): Likewise.
18781 [C99-based standards] (INFINITY): Likewise.
18782 [C99-based standards] (NAN): Likewise.
18783 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
18784 [C99-based standards] (FP_NAN): Likewise.
18785 [C99-based standards] (FP_NORMAL): Likewise.
18786 [C99-based standards] (FP_SUBNORMAL): Likewise.
18787 [C99-based standards] (FP_ZERO): Likewise.
18788 [C99-based standards] (FP_FAST_FMA): Use
18789 optional-macro-int-constant. Specify type. Require == 1.
18790 [C99-based standards] (FP_FAST_FMAF): Likewise.
18791 [C99-based standards] (FP_FAST_FMAL): Likewise.
18792 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
18793 [C99-based standards] (FP_ILOGBNAN): Likewise.
18794 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
18795 Specify type.
18796 [C99-based standards] (MATH_ERREXCEPT): Likewise.
18797 [C99-based standards] (math_errhandling): Specify type.
18798 [ISO99 || ISO11] (signgam): Do not allow.
18799 [non-C99-based standards] (copysignf): Do not allow.
18800 [non-C99-based standards] (exp2f): Likewise.
18801 [non-C99-based standards] (log2f): Likewise.
18802 [non-C99-based standards] (modff): Allow.
18803 [non-C99-based standards] (erff): Do not allow.
18804 [non-C99-based standards] (erfcf): Likewise.
18805 [non-C99-based standards] (gammaf): Likewise.
18806 [non-C99-based standards] (hypotf): Likewise.
18807 [non-C99-based standards] (j0f): Likewise.
18808 [non-C99-based standards] (j1f): Likewise.
18809 [non-C99-based standards] (jnf): Likewise.
18810 [non-C99-based standards] (lgammaf): Likewise.
18811 [non-C99-based standards] (tgammaf): Likewise.
18812 [non-C99-based standards] (y0f): Likewise.
18813 [non-C99-based standards] (y1f): Likewise.
18814 [non-C99-based standards] (ynf): Likewise.
18815 [non-C99-based standards] (isnanf): Likewise.
18816 [non-C99-based standards] (acoshf): Likewise.
18817 [non-C99-based standards] (asinhf): Likewise.
18818 [non-C99-based standards] (atanhf): Likewise.
18819 [non-C99-based standards] (cbrtf): Likewise.
18820 [non-C99-based standards] (expm1f): Likewise.
18821 [non-C99-based standards] (ilogbf): Likewise.
18822 [non-C99-based standards] (log1pf): Likewise.
18823 [non-C99-based standards] (logbf): Likewise.
18824 [non-C99-based standards] (nextafterf): Likewise.
18825 [non-C99-based standards] (remainderf): Likewise.
18826 [non-C99-based standards] (rintf): Likewise.
18827 [non-C99-based standards] (scalbf): Likewise.
18828 [non-C99-based standards] (copysignl): Likewise.
18829 [non-C99-based standards] (exp2l): Likewise.
18830 [non-C99-based standards] (log2l): Likewise.
18831 [non-C99-based standards] (modfl): Allow.
18832 [non-C99-based standards] (erfl): Do not allow.
18833 [non-C99-based standards] (erfcl): Likewise.
18834 [non-C99-based standards] (gammal): Likewise.
18835 [non-C99-based standards] (hypotl): Likewise.
18836 [non-C99-based standards] (j0l): Likewise.
18837 [non-C99-based standards] (j1l): Likewise.
18838 [non-C99-based standards] (jnl): Likewise.
18839 [non-C99-based standards] (lgammal): Likewise.
18840 [non-C99-based standards] (tgammal): Likewise.
18841 [non-C99-based standards] (y0l): Likewise.
18842 [non-C99-based standards] (y1l): Likewise.
18843 [non-C99-based standards] (ynl): Likewise.
18844 [non-C99-based standards] (isnanl): Likewise.
18845 [non-C99-based standards] (acoshl): Likewise.
18846 [non-C99-based standards] (asinhl): Likewise.
18847 [non-C99-based standards] (atanhl): Likewise.
18848 [non-C99-based standards] (cbrtl): Likewise.
18849 [non-C99-based standards] (expm1l): Likewise.
18850 [non-C99-based standards] (ilogbl): Likewise.
18851 [non-C99-based standards] (log1pl): Likewise.
18852 [non-C99-based standards] (logbl): Likewise.
18853 [non-C99-based standards] (nextafterl): Likewise.
18854 [non-C99-based standards] (remainderl): Likewise.
18855 [non-C99-based standards] (rintl): Likewise.
18856 [non-C99-based standards] (scalbl): Likewise.
18857 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18858 [non-C99-based standards] (FP_*): Do not allow.
18859 [C99-based standards] (FP_*): Change to
18860 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18861 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18862 allow.
18863 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
18864 (SIG_ERR): Likewise.
18865 [X/Open-based standards] (SIG_HOLD): Likewise.
18866 (SIG_IGN): Likewise.
18867 (SIGABRT): Use macro-int-constant. Specify type. Require
18868 positive value.
18869 (SIGFPE): Likewise.
18870 (SIGILL): Likewise.
18871 (SIGINT): Likewise.
18872 (SIGSEGV): Likewise.
18873 (SIGTER): Likewise.
18874 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
18875 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
18876 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
18877 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
18878 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
18879 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
18880 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
18881 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
18882 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
18883 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
18884 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
18885 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
18886 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
18887 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
18888 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
18889 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
18890 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
18891 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
18892 [X/Open-based standards] (SIGTRAP): Likewise.
18893 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
18894 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
18895 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
18896 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
18897 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18898 allow.
18899
b9f1922d
IW
189002012-05-08 Ian Wienand <ianw@vmware.com>
18901
18902 [BZ #14080]
18903 * time/tzset.c (__tzset_parse_tz): Update default rules for
18904 daylight time changes in the Energy Policy Act of 2005.
18905
1db86e88
AJ
189062012-05-09 Andreas Jaeger <aj@suse.de>
18907
18908 [BZ #13983]
18909 * elf/ldconfig.c (parse_conf): Change string to make clear that
18910 ldconfig only issued a warning if ld.so.conf does not exist.
18911
dee4a4e3
DM
189122012-05-08 David S. Miller <davem@davemloft.net>
18913
ee0db190
DM
18914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
18915 movxtod instead of popping the value on the stack.
18916
dee4a4e3
DM
18917 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18918
6a43ec98
CD
189192012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
18920
18921 * config.h.in: Add HAVE_ARM_PCS_VFP.
18922
05c2c961
RMG
189232012-05-08 Roland Mc Grath <roland@hack.frob.com>
18924
bcfe3a54
ST
18925 [BZ #13979]
18926 * include/features.h: Warn if user requests __FORTIFY_SOURCE
18927 checking but the checks are disabled for any reason.
05c2c961 18928
4b30f61a
L
189292012-05-08 H.J. Lu <hongjiu.lu@intel.com>
18930
18931 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
18932 and ELF64_R_TYPE with ELFW(R_TYPE).
18933
eee2bc67
JM
189342012-05-08 Joseph Myers <joseph@codesourcery.com>
18935
7ea5391a
JM
18936 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
18937 (ulimit): Likewise.
18938
eee2bc67
JM
18939 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
18940 (settimeofday): Likewise.
18941
abb66a67
MF
189422012-05-08 Mike Frysinger <vapier@gentoo.org>
18943
18944 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
18945 a struct th_u2 inside the union, and move tu_block/tu_code into
18946 a new th_u3 union of tu_block/tu_code inside of that. Move
18947 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
18948 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
18949 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
18950 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
18951 (th_stuff): Change to th_u1.tu_stuff.
18952 (th_data): Define.
18953 (th_msg): Change to th_u1.th_u2.tu_data.
18954
7f18b530
DM
189552012-05-07 David S. Miller <davem@davemloft.net>
18956
05760585
DM
18957 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18958
7f18b530
DM
18959 [BZ #14074]
18960 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
18961 (SETUP_PIC_REG): Use it.
18962 (SETUP_PIC_REG_LEAF): Use it.
18963
495fd99f
JM
189642012-05-07 Joseph Myers <joseph@codesourcery.com>
18965
18966 [BZ #13885]
18967 [BZ #13923]
18968 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18969 USE_AS_EXPM1L.
18970 (EXPL_FINITE): Likewise.
18971 (FLDLOG): Likewise.
18972 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18973 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18974 e_expl.S.
18975 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18976 USE_AS_EXPM1L.
18977 (EXPL_FINITE): Likewise.
18978 (FLDLOG): Likewise.
18979 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18980 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18981 e_expl.S.
18982 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
18983 test of -max_value argument for long double.
18984 * sysdeps/i386/fpu/libm-test-ulps: Update.
18985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18986
6693d694
DM
189872012-05-06 David S. Miller <davem@davemloft.net>
18988
18989 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
18990 quad soft-float symbols whose references which are compiler
18991 generated.
18992 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
18993
6c23e11c
JM
189942012-05-06 Joseph Myers <joseph@codesourcery.com>
18995
d8b82cad
JM
18996 [BZ #13884]
18997 [BZ #13914]
18998 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18999 USE_AS_EXP10L.
19000 (EXPL_FINITE): Likewise.
19001 (FLDLOG): Likewise.
19002 (c0): Likewise.
19003 (c1): Likewise.
19004 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
19005 Adjust comments for base varying.
19006 (__expl_finite): Change alias to EXPL_FINITE.
19007 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
19008 e_expl.S.
19009 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
19010 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
19011 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
19012 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
19013 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19014 USE_AS_EXP10L.
19015 (EXPL_FINITE): Likewise.
19016 (FLDLOG): Likewise.
19017 (c0): Likewise.
19018 (c1): Likewise.
19019 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
19020 Adjust comments for base varying.
19021 (__expl_finite): Change alias to EXPL_FINITE.
19022 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
19023 tests for bugs.
19024 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19025
6c23e11c
JM
19026 [BZ #14064]
19027 * math/libm-test.inc (check_float_internal): Correct ulp
19028 calculation for subnormal expected results.
19029
29ba805c
AJ
190302012-05-06 Andreas Jaeger <aj@suse.de>
19031
19032 * Makeconfig (+math-flags): New, set to -frounding-math.
19033 (+cflags): Add +math-flags so that all of glibc gets compiled with
19034 it.
19035
19036 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
19037
7b17aeda
JM
190382012-05-05 Joseph Myers <joseph@codesourcery.com>
19039
5779f134
JM
19040 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
19041 Disable one test.
19042
41498f4d
JM
19043 [BZ #13787]
19044 [BZ #13922]
19045 [BZ #14036]
19046 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
19047 (__ieee754_expl): Allow for and saturate large arguments.
19048 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
19049 (u_threshold): Likewise.
19050 (__exp): Call __ieee754_exp before checking for overflow and
19051 underflow.
19052 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
19053 (u_threshold): Likewise.
19054 (__expf): Call __ieee754_expf before checking for overflow and
19055 underflow.
19056 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
19057 (u_threshold): Likewise.
19058 (__expl): Call __ieee754_expl before checking for overflow and
19059 underflow.
19060 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
19061 (__ieee754_expl): Allow for and saturate large arguments.
19062 * math/libm-test.inc (exp_test): Add another test. Do not allow
19063 missing overflow exception on overflow.
19064 (expm1_test): Do not allow missing overflow exception on overflow.
19065
6698b8bf
JM
19066 * sysdeps/i386/fpu/e_expl.c: Move to ...
19067 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
19068 rather than using inline asm.
19069 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
19070 * sysdeps/x86_64/fpu/e_expl.S: Copy from
19071 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
19072
7b17aeda
JM
19073 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
19074 (nice): Likewise.
19075 (poll): Likewise.
19076 (signal): Likewise.
19077 (time): Likewise.
19078 (times): Likewise.
19079
f7c85819
JM
190802012-05-04 Joseph Myers <joseph@codesourcery.com>
19081
19082 * sysdeps/unix/syscalls.list (adjtime): Add entry from
19083 sysdeps/unix/common/syscalls.list.
19084 (fchmod): Likewise.
19085 (fchown): Likewise.
19086 (ftruncate): Likewise.
19087 (getrusage): Likewise.
19088 (gettimeofday): Likewise.
19089 (setpgid): Likewise.
19090 (setregid): Likewise.
19091 (setreuid): Likewise.
19092 (sigaction): Likewise.
19093 (truncate): Likewise.
19094 (vhangup): Likewise.
19095 * sysdeps/unix/common/syscalls.list: Remove file.
19096 * sysdeps/unix/bsd/Implies: Don't include unix/common.
19097 * sysdeps/unix/sysv/linux/Implies: Likewise.
19098
336270d0
L
190992012-05-04 H.J. Lu <hongjiu.lu@intel.com>
19100
19101 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
19102 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
19103 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
19104 Moved to ...
19105 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
19106 Here.
19107 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
19108 to ...
19109 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
19110 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
19111 to ...
19112 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
19113 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
19114 to ...
19115 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
19116 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
19117 to ...
19118 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
19119 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
19120 to ...
19121 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
19122 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
19123 to ...
19124 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
19125 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
19126 to ...
19127 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
19128 Here.
19129 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
19130 to ...
19131 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
19132 Here.
19133 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
19134 to ...
19135 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
19136 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
19137 Moved to ...
19138 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
19139 Here.
19140 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
19141 to ...
19142 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
19143
d128e450
JM
191442012-05-04 Joseph Myers <joseph@codesourcery.com>
19145
fa8ee516
JM
19146 * sysdeps/unix/common/bits/dirent.h: Remove file.
19147 * sysdeps/unix/common/bits/fcntl.h: Likewise.
19148
d128e450
JM
19149 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
19150 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
19151 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
19152 * sysdeps/unix/bsd/isatty.c: Likewise.
19153 * sysdeps/unix/bsd/tcdrain.c: Likewise.
19154 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
19155 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
19156
ff8faaf0 191572012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 19158
62881be4 19159 [BZ #13563]
31dc8730
AZ
19160 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
19161 long double comparison inaccuracies.
19162 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
19163 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19164
6fef930c
AS
191652012-05-04 Andreas Schwab <schwab@linux-m68k.org>
19166
19167 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
19168 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
19169
8f203e6c
JM
191702012-05-04 Joseph Myers <joseph@codesourcery.com>
19171
19172 [BZ #14049]
19173 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
19174 nonzero digits before rounding a hex value.
19175 * stdlib/tst-strtod.c (tests): Add another test.
19176
5197d9c2
AK
191772012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19178
19179 * sysdeps/s390/fpu/libm-test-ulps: Update.
19180
f0c1dedf
AJ
191812012-05-03 Andreas Jaeger <aj@suse.de>
19182
19183 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
19184 does not get optimized out.
19185 (malloc_opt_barrier): New.
19186
a65ef2ae 191872012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 19188 Roland McGrath <roland@hack.frob.com>
a65ef2ae 19189
2b942cb7 19190 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 19191 intermediate file deletion.
2b942cb7 19192 (generated): Add .symlist files.
a65ef2ae 19193
54b71e02
JM
191942012-05-03 Joseph Myers <joseph@codesourcery.com>
19195
19196 [BZ #13775]
19197 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
19198 Redirect under this condition.
19199 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19200 [__USE_GNU] (__dprintf_chk): Not under this condition.
19201 [__USE_GNU] (__vdprintf_chk): Likewise.
19202 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
19203 under this condition.
19204 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19205 [__USE_XOPEN2K8] (dprintf): Define under this condition.
19206 [__USE_XOPEN2K8] (vdprintf): Likewise.
19207 [__USE_GNU] (__dprintf_chk): Not under this condition.
19208 [__USE_GNU] (__vdprintf_chk): Likewise.
19209 [__USE_GNU] (dprintf): Likewise.
19210 [__USE_GNU] (vdprintf): Likewise.
19211
d3dfcc41
RM
192122012-05-03 Roland McGrath <roland@hack.frob.com>
19213
19214 * elf/Makefile (common-generated): Set this instead of generated for
19215 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
19216 $(all-built-dso)-derived lists.
19217
7ac30cc5
AJ
192182012-05-03 Andreas Jaeger <aj@suse.de>
19219
0c51e550
AJ
19220 * sysdeps/i386/fpu/libm-test-ulps: Update.
19221
7ac30cc5
AJ
19222 * FAQ: Removed.
19223 * FAQ.in: Likewise.
19224 * scripts/gen-FAQ.pl: Likewise.
19225 * manual/install.texi (Installation): Point to online location of
19226 FAQ.
19227 * Makefile (files-for-dist): Remove FAQ.
19228 (FAQ): Remove.
19229
d4c2917f
AM
192302012-05-02 Allan McRae <allan@archlinux.org>
19231
19232 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
19233 (LDFLAGS-reldepmod5.so): Likewise.
19234 (LDFLAGS-reldep6mod1.so): Likewise.
19235 (LDFLAGS-reldep6mod4.so): Likewise.
19236 (LDFLAGS-reldep8mod3.so): Likewise.
19237 (LDFLAGS-unload4mod1.so): Likewise.
19238 (LDFLAGS-unload4mod2.so): Likewise.
19239 (LDFLAGS-tst-initorder): Likewise.
19240 (LDFLAGS-tst-initordera2.so): Likewise.
19241 (LDFLAGS-tst-initordera3.so): Likewise.
19242 (LDFLAGS-tst-initordera4.so): Likewise.
19243 (LDFLAGS-tst-initorderb2.so): Likewise.
19244 (LDFLAGS-noload): Likewise.
19245 (LDFLAGS-next): Likewise.
19246 (LDFLAGS-order2mod1.so): Likewise.
19247 (LDFLAGS-order2mod2.so): Likewise.
19248 (LDFLAGS-tst-initorder2): Likewise.
19249 (LDFLAGS-tst-initorder2a.so): Likewise.
19250 (LDFLAGS-tst-initorder2b.so): Likewise.
19251 (LDFLAGS-tst-initorder2c.so): Likewise.
19252 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
19253
d77f993f
DM
192542012-05-02 David S. Miller <davem@davemloft.net>
19255
19256 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19257
171a70b4
PP
192582012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
19259
19260 [BZ #14055]
19261 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
19262
0be196ad
AJ
192632012-05-02 Andreas Jaeger <aj@suse.de>
19264
19265 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
19266 since we manipulate rounding mode.
19267 (CPPFLAGS-test-idouble.c): Likewise.
19268 (CPPFLAGS-test-ifloat.c): Likewise.
19269 (CFLAGS-test-ldouble.c): Likewise.
19270 (CFLAGS-test-double.c): Likewise.
19271 (CFLAGS-test-float.c): Likewise.
19272 (CFLAGS-test-misc.c): Likewise.
19273 (CFLAGS-test-test-fenv.c): Likewise.
19274
4f9d04aa
AZ
192752012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19276
2b942cb7
RM
19277 [BZ #2550]
19278 [BZ #2570]
19279 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
19280 comparisons to determine direction to adjust input.
4f9d04aa 19281
82a79e7d
RM
192822012-05-01 Roland McGrath <roland@hack.frob.com>
19283
f5a01ca9
RM
19284 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
19285 output to the target.
19286
90fe4186
RM
19287 * scripts/localplt.awk: New file.
19288 * elf/Makefile ($(objpfx)check-localplt): Target removed.
19289 (check-localplt-CFLAGS): Variable removed.
19290 ($(all-built-dso:=.jmprel)): New static pattern rule.
19291 (generated): Add those targets.
19292 (localplt-built-dso): New variable.
19293 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
19294
19295 * elf/check-localplt.c: File removed.
19296
82397ed6
RM
19297 * scripts/check-execstack.awk: New file.
19298 * elf/Makefile ($(objpfx)check-execstack): Target removed.
19299 (check-execstack-CFLAGS): Variable removed.
19300 ($(objpfx)check-execstack.h): Target removed.
19301 ($(objpfx)execstack-default): New target.
19302 (generated): Add that instead of check-execstack.h.
19303 ($(all-built-dso:=.phdr)): New static pattern rule.
19304 (generated): Add those targets.
19305 * elf/check-execstack.c: File removed.
19306
82a79e7d
RM
19307 * scripts/check-textrel.awk: New file.
19308 * elf/Makefile ($(objpfx)check-textrel): Target removed.
19309 (check-textrel-CFLAGS): Variable removed.
19310 (all-built-dso): Use := to define.o
19311 ($(all-built-dso:=.dyn)): New static pattern rule.
19312 (generated): Add those targets.
19313 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
19314 * config.make.in (READELF): New substituted variable.
19315 * elf/check-textrel.c: File removed.
19316
62fde54f 193172012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 19318
615605c9
JM
19319 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19320 allow.
19321 * conform/data/ctype.h-data [C99-based standards] (isblank):
19322 Expect function.
19323 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
19324 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
19325 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19326 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
19327 Specify type. Require positive value.
19328 (EILSEQ): Likewise.
19329 (ERANGE): Likewise.
19330 [ISO || POSIX] (EILSEQ): Do not expect.
19331 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
19332 Specify type. Require positive value.
19333 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
19334 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
19335 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
19336 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
19337 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
19338 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
19339 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
19340 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
19341 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
19342 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
19343 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
19344 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
19345 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
19346 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
19347 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
19348 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
19349 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
19350 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
19351 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
19352 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
19353 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
19354 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
19355 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
19356 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
19357 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
19358 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
19359 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
19360 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
19361 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
19362 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
19363 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
19364 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
19365 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
19366 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
19367 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
19368 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
19369 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
19370 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
19371 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
19372 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
19373 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
19374 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
19375 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
19376 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
19377 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
19378 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
19379 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
19380 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
19381 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
19382 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
19383 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
19384 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
19385 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
19386 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
19387 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
19388 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
19389 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
19390 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
19391 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
19392 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
19393 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
19394 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
19395 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
19396 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
19397 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
19398 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
19399 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
19400 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
19401 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
19402 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
19403 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
19404 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
19405 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
19406 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
19407 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
19408 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
19409 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
19410 Require >= 2.
19411 (FLT_ROUNDS): Expect as macro, not constant.
19412 (FLT_MANT_DIG): Use macro-int-constant.
19413 (DBL_MANT_DIG): Likewise.
19414 (LDBL_MANT_DIG): Likewise.
19415 (FLT_DIG): Likewise.
19416 (DBL_DIG): Likewise.
19417 (LDBL_DIG): Likewise.
19418 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
19419 (DBL_MIN_EXP): Likewise.
19420 (LDBL_MIN_EXP): Likewise.
19421 (FLT_MAX_EXP): Use macro-int-constant.
19422 (DBL_MAX_EXP): Likewise.
19423 (LDBL_MAX_EXP): Likewise.
19424 (FLT_MAX_10_EXP): Likewise.
19425 (DBL_MAX_10_EXP): Likewise.
19426 (LDBL_MAX_10_EXP): Likewise.
19427 (FLT_MAX): Use macro-constant.
19428 (DBL_MAX): Likewise.
19429 (LDBL_MAX): Likewise.
19430 (FLT_EPSILON): Use macro-constant. Give upper bound.
19431 (DBL_EPSILON): Likewise.
19432 (LDBL_EPSILON): Likewise.
19433 (FLT_MIN): Likewise.
19434 (DBL_MIN): Likewise.
19435 (LDBL_MIN): Likewise.
19436 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
19437 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
19438 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
19439 [ISO11] (FLT_HAS_SUBNORM): Likewise.
19440 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
19441 [ISO11] (DBL_DECIMAL_DIG): Likewise.
19442 [ISO11] (FLT_DECIMAL_DIG): Likewise.
19443 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
19444 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
19445 [ISO11] (FLT_TRUE_MIN): Likewise.
19446 [ISO11] (LDBL_TRUE_MIN): Likewise.
19447 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19448 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
19449 (SCHAR_MIN): Use macro-int-constant. Specify type.
19450 (SCHAR_MAX): Likewise.
19451 (UCHAR_MAX): Likewise.
19452 (CHAR_MIN): Likewise.
19453 (CHAR_MAX): Likewise.
19454 (MB_LEN_MAX): Use macro-int-constant.
19455 (SHRT_MIN): Use macro-int-constant. Specify type.
19456 (SHRT_MAX): Likewise.
19457 (USHRT_MAX): Likewise.
19458 (INT_MAX): Likewise.
19459 (INT_MIN): Use macro-int-constant. Specify type. Make upper
19460 bound negative.
19461 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
19462 bound with "U".
19463 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
19464 bound with "L".
19465 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
19466 bound negative. Suffix upper bound with "L".
19467 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
19468 bound with "UL".
19469 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
19470 Specify type.
19471 [C99-based standards] (LLONG_MAX): Likewise.
19472 [C99-based standards] (ULLONG_MAX): Likewise.
19473 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
19474 == 0.
19475 [ISO11] (max_align_t): Require type.
19476 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19477
c9140a62
JM
19478 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
19479 from $CFLAGS, without defining away __attribute__ calls.
19480 (checknamespace): Use $CFLAGS_namespace.
19481
9af0bf29
JM
19482 * conform/conformtest.pl (@keywords): Only include C99 keywords
19483 for standards based on C99 or C11.
19484
343222a2
JM
19485 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
19486 Disable tests.
19487 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
19488 UNIX98]: Likewise.
19489
661f8cf0
JM
19490 * conform/conformtest.pl: Handle "macro-int-constant" and test for
19491 usability of symbols in #if.
19492
ee74b9cb
JM
19493 * conform/conformtest.pl: If macro or constant types start
19494 "promoted:", expect the symbol to be of the following type
19495 promoted by the integer promotions.
62fde54f 19496
aafc49b3
JM
19497 * conform/conformtest.pl: Parse all "constant" and "macro" lines
19498 in one place. Also handle "macro-constant".
19499
fefdf574
JM
19500 * conform/conformtest.pl: Only accept expected macro values with
19501 "==". Parse all "macro" lines in one place.
19502 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
19503
f2d922fe
JM
19504 * conform/conformtest.pl: Handle braced types on "constant" lines
19505 instead of handling "typed-constant".
19506 * conform/data/signal.h-data: Use "constant" instead of
19507 "typed-constant".
19508
d22956c9
JM
19509 * conform/conformtest.pl: Handle "optional-" at start of lines in
19510 one place rather than duplicating several cases. Handle each
19511 format of "macro" line with initial "optional-".
19512
028e2e38
JM
19513 * conform/conformtest.pl: Only accept expected constant or
19514 optional-constant values with "==". Parse all "constant" lines in
19515 one place. Parse all "optional-constant" lines in one place.
19516 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
19517 * conform/data/fmtmsg.h-data: Likewise.
19518 * conform/data/netinet/in.h-data: Likewise.
19519 * conform/data/tar.h-data: Likewise.
19520 * conform/data/limits.h-data: Use "==" form on "constant" and
19521 "optional-constant" lines.
19522
1b8f2850
JM
19523 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
19524 Use -std=c99 for XOPEN2K.
19525 (@knownproblems): Remove.
19526 (newtoken): Don't check %isknown.
19527
a05a144b
JM
19528 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
19529 Do not expect macro.
19530 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
19531 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
19532 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
19533 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
19534 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
19535 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
19536 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
19537 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
19538 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
19539 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
19540 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
19541 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
19542 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
19543 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
19544 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
19545 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
19546 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
19547 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
19548 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
19549 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
19550 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
19551 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
19552 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
19553 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
19554 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
19555 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
19556 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
19557 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
19558 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
19559 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
19560 [XPG3] (acosh): Likewise.
19561 [XPG3] (asinh): Likewise.
19562 [XPG3] (atanh): Likewise.
19563 [XPG3] (cbrt): Likewise.
19564 [XPG3] (expm1): Likewise.
19565 [XPG3] (ilogb): Likewise.
19566 [XPG3] (log1p): Likewise.
19567 [XPG3] (logb): Likewise.
19568 [XPG3] (nextafter): Likewise.
19569 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
19570 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
19571 [XPG3] (remainder): Likewise.
19572 [XPG3] (rint): Likewise.
19573 [XPG3 || XPG4 || UNIX98] (round): Likewise.
19574 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
19575 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
19576 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
19577 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
19578 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
19579 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
19580 [UNIX98 || XOPEN2K] (scalb): Expect.
19581 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
19582 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
19583 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
19584 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
19585 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
19586 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
19587 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
19588 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
19589 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
19590 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
19591 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
19592 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
19593 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
19594 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
19595 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
19596 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
19597 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
19598 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
19599 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
19600 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
19601 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
19602 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
19603 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
19604 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
19605 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
19606 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
19607 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
19608 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
19609 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
19610 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
19611 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
19612 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
19613 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
19614 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
19615 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
19616 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
19617 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
19618 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
19619 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
19620 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
19621 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
19622 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
19623 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
19624 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
19625 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
19626 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
19627 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
19628 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
19629 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
19630 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
19631 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
19632 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
19633 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
19634 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
19635 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
19636 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
19637 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
19638 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
19639 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
19640 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
19641 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
19642 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
19643 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
19644 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
19645 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
19646 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
19647 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
19648 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
19649 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
19650 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
19651 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
19652 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
19653 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
19654 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
19655 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
19656 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
19657 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
19658 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
19659 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
19660 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
19661 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
19662 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
19663 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
19664 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
19665 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
19666 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
19667 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
19668 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
19669 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
19670 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
19671 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
19672 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
19673 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
19674 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
19675 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
19676 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
19677 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
19678 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
19679 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
19680 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
19681 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
19682 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
19683 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
19684 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
19685 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
19686 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
19687 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
19688 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
19689 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
19690 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
19691 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
19692 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
19693 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
19694 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
19695 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
19696 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
19697 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
19698 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
19699 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
19700 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
19701 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
19702 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
19703 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
19704 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
19705 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
19706 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
19707 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
19708 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
19709 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
19710 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
19711 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
19712 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
19713 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
19714 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
19715 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
19716 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
19717 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
19718
73c5ebe3
JM
19719 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
19720 _XOPEN_SOURCE_EXTENDED for XPG4.
19721
39c33b6c
JM
19722 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
19723
62fde54f
JM
19724 * Makeconfig (localtime): Remove variable.
19725 (inst_localtime-file): Likewise.
19726
0741d64c
AS
197272012-05-01 Andreas Schwab <schwab@linux-m68k.org>
19728
19729 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
19730 Update.
19731 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19732 Update.
19733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
19734 Update.
19735 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19736 Update.
19737 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
19738 Update.
19739 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
19740 Update.
19741 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19742 Update.
19743 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
19744 Update.
19745 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19746 Update.
19747
7cb029ee
JM
197482012-05-01 Joseph Myers <joseph@codesourcery.com>
19749
19750 [BZ #2550]
19751 [BZ #2570]
19752 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
19753 comparisons to determine direction to adjust input.
19754 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
19755 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
19756 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
19757 Likewise.
19758 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
19759 Likewise.
19760 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19761 Likewise.
19762 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
19763 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
19764 Likewise.
19765 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
19766 Likewise.
19767 * math/libm-test.inc (nexttoward_test): Add more tests.
19768
412bd966
AS
197692012-05-01 Andreas Schwab <schwab@linux-m68k.org>
19770
19771 [BZ #14040]
19772 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
19773 in version GLIBC_2.1, not GLIBC_2.0.
19774 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
19775 Likewise.
19776
9568c0c2
JM
197772012-04-30 Joseph Myers <joseph@codesourcery.com>
19778
adfbc8ac
JM
19779 [BZ #13942]
19780 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
19781 (1 - x) * (1 + x).
19782 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19783 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
19784 * math/libm-test.inc (acos_test): Add more tests.
19785 (asin_test): Likewise.
19786 * sysdeps/i386/fpu/libm-test-ulps: Update.
19787 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19788
5ba3cc69
JM
19789 [BZ #14034]
19790 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
19791 of square root.
19792 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
19793 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19794 * math/libm-test.inc (acos_test_tonearest): New function.
19795 (acos_test_towardzero): Likewise.
19796 (acos_test_downward): Likewise.
19797 (acos_test_upward): Likewise.
19798 (asin_test_tonearest): Likewise.
19799 (asin_test_towardzero): Likewise.
19800 (asin_test_downward): Likewise.
19801 (asin_test_upward): Likewise.
19802 (main): Call the new functions.
19803 * sysdeps/i386/fpu/libm-test-ulps: Update.
19804 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19805
9568c0c2
JM
19806 [BZ #13884]
19807 [BZ #13924]
19808 * math/e_exp10.c: Include <float.h>.
19809 (__ieee754_exp10): Handle underflow here rather than multiplying
19810 large negative argument by M_LN10.
19811 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
19812 of __ieee754_expf.
19813 * math/e_exp10l.c: Include <float.h>.
19814 (__ieee754_exp10l): Handle underflow here rather than multiplying
19815 large negative argument by M_LN10l.
19816 * math/libm-test.inc (exp10_test): Add another test. Do not allow
19817 spurious overflow exception on underflow.
19818
5ac3ea17
MP
198192012-04-29 Marek Polacek <polacek@redhat.com>
19820
19821 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
19822 (__fortify_function): New macro.
19823 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
19824 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
19825 __extern_always_inline.
19826 * libio/bits/stdio2.h: Likewise.
19827 * libio/bits/stdio.h: Likewise.
19828 * string/string.h: Likewise.
19829 * string/bits/string3.h: Likewise.
19830 * include/stdio.h: Likewise.
19831 * stdlib/bits/stdlib.h: Likewise.
19832 * stdlib/stdlib.h: Likewise.
19833 * rt/bits/mqueue2.h: Likewise.
19834 * rt/mqueue.h: Likewise.
19835 * posix/bits/unistd.h: Likewise.
19836 * posix/unistd.h: Likewise.
19837 * io/bits/poll2.h: Likewise.
19838 * io/bits/fcntl2.h: Likewise.
19839 * io/fcntl.h: Likewise.
19840 * io/sys/poll.h: Likewise.
19841 * misc/bits/syslog.h: Likewise.
19842 * misc/bits/syslog-ldbl.h: Likewise.
19843 * misc/sys/syslog.h: Likewise.
19844 * socket/bits/socket2.h: Likewise.
19845 * socket/sys/socket.h: Likewise.
19846 * debug/tst-chk1.c: Likewise.
19847 * wcsmbs/bits/wchar2.h: Likewise.
19848 * wcsmbs/bits/wchar-ldbl.h: Likewise.
19849 * wcsmbs/wchar.h: Likewise.
19850
ecf0ebfb
AJ
198512012-04-29 Andreas Jaeger <aj@suse.de>
19852
19853 * Makerules (tests): Remove enable-check-abi protection.
19854 (check-abi-warn): Remove.
19855 (check-abi-%): Remove check-abi-warn usage.
19856
19857 * configure.in: Remove check-abi configure option.
19858 * configure: Regenerated.
19859 * config.make.in (enable-check-abi): Remove.
19860
6d5c57fa
AS
198612012-04-28 Andreas Schwab <schwab@linux-m68k.org>
19862
24c5d07e 19863 [BZ #14033]
ded5180a
AS
19864 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
19865 double functions to double *_finite functions.
19866
7e0d315d
AS
19867 [BZ #13941]
19868 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
19869 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
19870 LDBL_MIN_EXP.
19871 * stdio-common/Makefile (tests): Add tst-sprintf3.
19872 * stdio-common/tst-sprintf3.c: New file.
19873
6d5c57fa
AS
19874 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
19875 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
19876
0749ff8b
JM
198772012-04-28 Joseph Myers <joseph@codesourcery.com>
19878
19879 * conform/conformtest.pl: Remove duplicate typed-constant
19880 handling.
19881
8dbd5d7b
DM
198822012-04-28 David S. Miller <davem@davemloft.net>
19883
19884 * Makerules (%.abilist): Add vpath on sysdep_dirs.
19885 (check-abi-%): Remove AWK script prerequisite and explicit
19886 abilist directory.
19887 (check-abi): Rewrite to just diff the symlist with the abilist.
19888 (config-tls, config-abi-config): Delete, no longer used.
19889 (update-abi-%): Remove AWK script and explicit abilist directory.
19890 (update-abi): Rewrite to simply compare and conditionally copy the
19891 symlist and the sysdep abilist file. Remove update-abi-config
19892 checks.
19893 * abilist/ld.abilist: Remove.
19894 * abilist/libBrokenLocale.abilist: Remove.
19895 * abilist/libanl.abilist: Remove.
19896 * abilist/libcrypt.abilist: Remove.
19897 * abilist/libdl.abilist: Remove.
19898 * abilist/librt.abilist: Remove.
19899 * abilist/libthread_db.abilist: Remove.
19900 * abilist/libutil.abilist: Remove.
19901 * scripts/extract-abilist.awk: Remove.
19902 * scripts/merge-abilist.awk: Remove.
19903 * sysdeps/generic/libcidn.abilist: New file.
19904 * sysdeps/generic/libnss_compat.abilist: New file.
19905 * sysdeps/generic/libnss_db.abilist: New file.
19906 * sysdeps/generic/libnss_dns.abilist: New file.
19907 * sysdeps/generic/libnss_files.abilist: New file.
19908 * sysdeps/generic/libnss_hesiod.abilist: New file.
19909 * sysdeps/generic/libnss_nis.abilist: New file.
19910 * sysdeps/generic/libnss_nisplus.abilist: New file.
19911 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
19912 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
19913 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
19914 file.
19915 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
19916 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
19917 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
19918 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
19919 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
19920 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
19921 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
19922 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
19923 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
19924 file.
19925 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
19926 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
19927 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
19928 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
19929 file.
19930 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
19931 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
19932 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
19933 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
19934 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
19935 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
19936 file.
19937 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
19938 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
19939 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
19940 file.
19941 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
19942 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
19943 New file.
19944 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
19945 New file.
19946 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
19947 New file.
19948 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
19949 New file.
19950 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
19951 New file.
19952 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
19953 New file.
19954 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
19955 New file.
19956 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
19957 New file.
19958 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
19959 New file.
19960 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
19961 New file.
19962 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
19963 New file.
19964 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
19965 New file.
19966 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
19967 New file.
19968 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
19969 file.
19970 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
19971 New file.
19972 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
19973 New file.
19974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
19975 file.
19976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
19977 New file.
19978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
19979 New file.
19980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
19981 file.
19982 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
19983 New file.
19984 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19985 New file.
19986 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
19987 New file.
19988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
19989 New file.
19990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
19991 New file.
19992 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
19993 New file.
19994 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
19995 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
19996 file.
19997 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
19998 New file.
19999 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
20000 file.
20001 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
20002 file.
20003 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
20004 file.
20005 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
20006 file.
20007 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
20008 file.
20009 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20010 New file.
20011 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
20012 file.
20013 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
20014 file.
20015 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
20016 New file.
20017 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
20018 file.
20019 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
20020 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
20021 file.
20022 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
20023 New file.
20024 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
20025 file.
20026 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
20027 file.
20028 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
20029 file.
20030 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
20031 file.
20032 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
20033 file.
20034 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20035 New file.
20036 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
20037 file.
20038 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
20039 file.
20040 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
20041 New file.
20042 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
20043 file.
20044 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
20045 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
20046 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
20047 file.
20048 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
20049 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
20050 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
20051 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
20052 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
20053 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
20054 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
20055 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
20056 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
20057 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
20058 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
20059 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
20060 file.
20061 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
20062 New file.
20063 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
20064 file.
20065 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
20066 file.
20067 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
20068 file.
20069 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
20070 file.
20071 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
20072 file.
20073 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
20074 New file.
20075 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
20076 New file.
20077 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
20078 file.
20079 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
20080 New file.
20081 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
20082 file.
20083 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
20084 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
20085 file.
20086 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
20087 New file.
20088 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
20089 file.
20090 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
20091 file.
20092 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
20093 file.
20094 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
20095 file.
20096 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
20097 file.
20098 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
20099 New file.
20100 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
20101 New file.
20102 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
20103 file.
20104 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
20105 New file.
20106 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
20107 file.
20108
41d73a1b
JM
201092012-04-28 Joseph Myers <joseph@codesourcery.com>
20110
20111 * conform/conformtest.pl: Fix typo in handling typed-constant from
20112 allow-header.
20113
28aeeda4
JM
201142012-04-27 Joseph Myers <joseph@codesourcery.com>
20115
adae8f5e
JM
20116 * README: Cut down references to pre-2.6 Linux kernels and
20117 Linuxthreads. Update lists of configurations in libc and ports
20118 and sort alphabetically. Say "or newer" with Linux kernel version
20119 requirements.
20120
28aeeda4
JM
20121 * config.h.in [IS_IN_build]: Allow compiling without optimization.
20122
a462cb63
RA
201232012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20124
20125 [BZ #887]
20126 * math/libm-test.inc (logb_test_downward): New test to expose
20127 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
20128 rounding mode.
20129
6ad3493e
JM
201302012-04-27 Joseph Myers <joseph@codesourcery.com>
20131
20132 [BZ #14027]
20133 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
20134 to be done.
20135 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
20136 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
20137
2ce4f015
JM
201382012-04-26 Joseph Myers <joseph@codesourcery.com>
20139
5aeb141a
JM
20140 * sysdeps/unix/i386/brk.S: Remove file.
20141 * sysdeps/unix/i386/dl-brk.S: Likewise.
20142 * sysdeps/unix/i386/pipe.S: Likewise.
20143 * sysdeps/unix/i386/sigreturn.S: Likewise.
20144 * sysdeps/unix/i386/syscall.S: Likewise.
20145 * sysdeps/unix/i386/vfork.S: Likewise.
20146 * sysdeps/unix/i386/wait.S: Likewise.
20147
7143acae
JM
20148 * sysdeps/unix/common/tcsendbrk.c: Move to ...
20149 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
20150
2ce4f015
JM
20151 * configure.in (arm*-none*): Do not allow without
20152 --enable-hacker-mode.
20153 (netbsd*): Remove case setting base_os.
20154 (386bsd*): Likewise.
20155 (freebsd*): Likewise.
20156 (bsdi*): Likewise.
20157 (osf*): Likewise.
20158 (sunos*): Likewise.
20159 (ultrix*): Likewise.
20160 (newsos*): Likewise.
20161 (dynix*): Likewise.
20162 (*bsd*): Likewise.
20163 (sysv*): Likewise.
20164 (isc*): Likewise.
20165 (esix*): Likewise.
20166 (sco*): Likewise.
20167 (minix*): Likewise.
20168 (irix4*): Likewise.
20169 (irix6*): Likewise.
20170 (solaris[2-9]*): Likewise.
20171 (none): Likewise.
20172 * configure: Regenerated.
20173
0ac229c8
AZ
201742012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20175
20176 [BZ #11521]
20177 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
20178 overflow or cancellation in calculating denominator.
20179 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
20180 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
20181 down expression to avoid unexpected rounding in newer GCCs.
20182 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
20183
33f244f4
DM
201842012-04-26 David S. Miller <davem@davemloft.net>
20185
20186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
20187 long-double compat symbols.
20188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
20190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
20191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
20192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
20193 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
20194 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
20195 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
20196 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
20197 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
20198 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
20199 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
20200 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
20201
cfa1f3e8
DM
202022012-04-25 David S. Miller <davem@davemloft.net>
20203
20204 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
20205 HWCAP_* values only after the memory barriers have been defined.
20206 (atomic_full_barrier): Define.
20207 (atomic_read_barrier): Define.
20208 (atomic_write_barrier): Define.
20209
6e236b92
SP
202102012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20211
20212 * shlib-versions: Add libgcc_s version information.
20213 * sysdeps/generic/libgcc_s.h: Remove.
20214 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
20215 libgcc_s.h.
20216 * sysdeps/gnu/unwind-resume.c: Likewise.
20217 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
20218
aab39a09
DM
202192012-04-25 David S. Miller <davem@davemloft.net>
20220
20221 * sysdeps/unix/sparc/brk.S: Delete.
20222 * sysdeps/unix/sparc/dl-brk.S: Delete.
20223 * sysdeps/unix/sparc/pipe.S: Delete.
20224 * sysdeps/unix/sparc/sysdep.S: Delete.
20225 * sysdeps/unix/sparc/sysdep.h: Delete.
20226 * sysdeps/unix/sparc/vfork.S: Delete.
20227 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
20228 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
20229 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
20230 ret_ERRVAL, r0, r1, MOVE): Define.
20231 (JUMPTARGET): Remove.
20232 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
20233 sysdeps/unix/sparc/sysdep.h
20234 (ENTRY, END): Remove.
20235 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20236
a3cc4f48
JM
202372012-04-25 Joseph Myers <joseph@codesourcery.com>
20238
2ed8cda2
JM
20239 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
20240 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
20241 -DIS_IN_build.
20242
35d76d59
JM
20243 * timezone/README: Update upstream location and email address for
20244 tzcode and tzdata.
20245 * timezone/zdump.c: Update from tzcode 2012b.
20246 * timezone/zic.c: Likewise.
20247
a3cc4f48
JM
20248 * configure.in (libc_cv_as_needed): Remove test.
20249 * configure: Regenerated.
20250 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
20251 conditional definition.
20252 [$(have-as-needed) != yes] (no-as-needed): Likewise.
20253 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
20254 * config.make.in (have-as-needed): Remove variable.
20255
ceab42c3
SP
202562012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20257 Paul Pluzhnikov <ppluzhnikov@google.com>
20258
20259 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
20260 strings correctly.
20261
3ce2865f
CLT
202622012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
20263
20264 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
20265 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
20266 * sysdeps/sh/strlen.S: Likewise.
20267
f37e0d68
JM
202682012-04-24 Joseph Myers <joseph@codesourcery.com>
20269
ae186e9a
JM
20270 * sysdeps/unix/fork.S: Remove file.
20271 * sysdeps/unix/i386/fork.S: Likewise.
20272 * sysdeps/unix/sparc/fork.S: Likewise.
20273
b96914af
JM
20274 * sysdeps/unix/system.c: Remove file.
20275 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
20276
f37e0d68
JM
20277 * sysdeps/unix/getegid.S: Remove file.
20278 * sysdeps/unix/geteuid.S: Likewise.
20279
87ef29ca
RM
202802012-04-24 Roland McGrath <roland@hack.frob.com>
20281
83bcd236
RM
20282 * scripts/check-localplt.awk: New file.
20283 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
20284 of diff.
20285 * scripts/data/localplt-generic.data: Add a comment.
20286
87ef29ca
RM
20287 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
20288 NODE when __dir_mkfile failed.
20289 * sysdeps/mach/hurd/symlinkat.c: Likewise.
20290 Reported by Ludovic Courtès <ludo@gnu.org>.
20291
e5a6e567
AJ
202922012-04-24 Andreas Jaeger <aj@suse.de>
20293
20294 * Makerules (common-clean): Also remove gen-as-const-headers
20295 files.
20296
c1820385
JM
202972012-04-24 Joseph Myers <joseph@codesourcery.com>
20298
20299 * Makerules (native-compile): Do not change working directory for
20300 build. Use $(OUTPUT_OPTION) in command.
20301 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
20302
94e02fc4
AZ
203032012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20304
20305 [BZ #13886]
20306 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
20307 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
20308 * math/libm-test.inc (floor_test): Add more tests.
20309 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
20310
3a533ca3
JM
203112012-04-24 Joseph Myers <joseph@codesourcery.com>
20312
940ab4b3
JM
20313 * sysdeps/unix/getdents.c: Remove file.
20314 * sysdeps/unix/sysv/getdents.c: Likewise.
20315 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
20316
90e037bd
JM
20317 * sysdeps/unix/syscalls.list (madvise): Add syscall from
20318 sysdeps/unix/mman/syscalls.list.
20319 (mmap): Likewise.
20320 (mprotect): Likewise.
20321 (msync): Likewise.
20322 (munmap): Likewise.
20323 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
20324 * sysdeps/unix/mman/syscalls.list: Remove.
20325 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
20326
3a533ca3
JM
20327 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
20328 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
20329 * configure: Regenerated.
20330 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
20331 $(libgcc_s_suffix).
20332 * config.make.in (libgcc_s_suffix): Remove variable.
20333
1ad743de
JM
203342012-04-23 Joseph Myers <joseph@codesourcery.com>
20335
4ad451e2
JM
20336 * sysdeps/unix/sysv/gethostname.c: Move to ...
20337 * sysdeps/posix/gethostname.c: ... here.
20338
5e37ce39
JM
20339 * sysdeps/unix/execve.S: Remove file.
20340
1ad743de
JM
20341 * sysdeps/unix/_exit.S: Remove file.
20342
4e681b5b
AJ
203432012-04-23 Andreas Jaeger <aj@suse.de>
20344
20345 [BZ #13739]
20346 * manual/Makefile: Remove make dist support, there's no
20347 need for a stand-alone documentation tar ball.
20348 (TEXI2DVI): Define always, it's not in Makeconfig.
20349 (dist): Removed.
20350 (tar-it): Removed.
20351 (edition): Removed.
20352 (glibc-doc-$(edition).tar): Removed
20353 (%.Z): Removed.
20354 (%.gz): Removed.
20355 (%.uu): Removed.
20356 (ETAGS): Remove, it's in Makeconfig.
20357 (move-if-change): Remove, it's in Makeconfig.
20358
38686a03 203592012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
20360
20361 [BZ #13970]
20362 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
20363 (strtod, strtof, strtold, strtol, strtoul, strtoq)
20364 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
20365 (strtod_l, strtof_l, strtold_l): Remove __wur.
20366 It is not necessarily an error to ignore strtol's return value.
20367 One can reliably look at the stored endptr to decide whether
20368 the number had valid syntax.
20369
7c0616fa
AJ
203702012-04-21 Andreas Jaeger <aj@suse.de>
20371
803cb6b7 20372 [BZ #13739]
7c0616fa
AJ
20373 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
20374
b0fe253f
JM
203752012-04-21 Joseph Myers <joseph@codesourcery.com>
20376
20377 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
20378 * sysdeps/unix/sysv/Versions: Remove file.
20379
8280f22d
MT
203802012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
20381
20382 [BZ #13927]
20383 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20384
75ce411f 203852012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
20386
20387 [BZ #7064]
20388 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
20389 version from __vm86.
20390
097d59fa
JM
203912012-04-20 Joseph Myers <joseph@codesourcery.com>
20392
a90f3bcb
JM
20393 * sysdeps/unix/common/lxstat.c: Remove file.
20394 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
20395
edc7ea78
JM
20396 * sysdeps/unix/sysv/Makefile: Remove file.
20397
cb78c221
JM
20398 * sysdeps/unix/sysv/direct.h: Remove file.
20399
efa6a45f
JM
20400 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
20401 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
20402 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
20403 * sysdeps/unix/sysv/bits/signum.h: Likewise.
20404 * sysdeps/unix/sysv/bits/stat.h: Likewise.
20405 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
20406 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
20407
9c9f2d0c
JM
20408 * sysdeps/unix/sysv/setrlimit.c: Remove file.
20409
4541c83b
JM
20410 * sysdeps/unix/xmknod.c: Remove file.
20411 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
20412
f5d153a0
JM
20413 * sysdeps/unix/sysv/settimeofday.c: Remove file.
20414
aa746595
JM
20415 * sysdeps/unix/sysv/i386/time.S: Remove file.
20416
cce5905e
JM
20417 * sysdeps/unix/fxstat.c: Remove file.
20418 * sysdeps/unix/xstat.c: Likewise.
20419 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
20420
37fa3841
JM
20421 * sysdeps/unix/sysv/sigaction.c: Remove file.
20422
ff1962a3
JM
20423 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
20424 (sysdep_headers): Remove variable.
20425 [termio.h not in sysdep_headers] (generated): Likewise.
20426 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
20427 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
20428 * sysdeps/unix/sysv/tcdrain.c: Likewise.
20429 * sysdeps/unix/sysv/tcflow.c: Likewise.
20430 * sysdeps/unix/sysv/tcflush.c: Likewise.
20431 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
20432 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
20433 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
20434 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
20435 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
20436
e7740d31
JM
20437 * sysdeps/unix/siglist.c: Remove file.
20438
ee06f18b
JM
20439 * sysdeps/unix/getppid.S: Remove file.
20440
097d59fa
JM
20441 * sysdeps/unix/mkdir.c: Remove file.
20442 * sysdeps/unix/rmdir.c: Likewise.
20443
ff3d51ec
AS
204442012-04-19 Andreas Schwab <schwab@linux-m68k.org>
20445
20446 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
20447 ERR_MAX value.
20448 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
20449 errlist-compat value.
20450
50f81fd7
DM
204512012-04-18 David S. Miller <davem@davemloft.net>
20452
20453 * sysdeps/generic/memcopy.h (reg_char): Delete.
20454 * debug/strcat_chk.c: Use char, not reg_char.
20455 * debug/strcpy_chk.c: Likewise.
20456 * debug/strncat_chk.c: Likewise.
20457 * debug/strncpy_chk.c: Likewise.
20458 * string/memchr.c: Likewise.
20459 * string/memrchr.c: Likewise.
20460 * string/rawmemchr.c: Likewise.
20461 * string/strcat.c: Likewise.
20462 * string/strchr.c: Likewise.
20463 * string/strchrnul.c: Likewise.
20464 * string/strcmp.c: Likewise.
20465 * string/strcpy.c: Likewise.
20466 * string/strncat.c: Likewise.
20467 * string/strncmp.c: Likewise.
20468 * string/strncpy.c: Likewise.
20469
8ff41c46
WS
204702012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20471
20472 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
20473 __builtin_memcopy is called when src and dest ranges are known to not
20474 overlap.
20475
6b652f46
WS
204762012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20477
20478 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
20479 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
20480 fwd_align_merge macro call.
20481 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
20482 bwd_align_merge macro call.
20483 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20484
b282631e
WS
204852012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20486
20487 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
20488 bwd_align_merge macros.
20489 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
20490 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
20491 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20492
95aa737c
DM
204932012-04-18 David S. Miller <davem@davemloft.net>
20494
20495 * sysdeps/sparc/sparc64/memcopy.h: Delete.
20496
7a99a614
AJ
204972012-04-18 Andreas Jaeger <aj@suse.de>
20498
20499 [BZ# 6794]
20500 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
20501 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
20502 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20503
20504 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
20505 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
20506 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20507
20508 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
20509 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
20510 Adjust for changed ldbl-128 files.
20511
20512 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
20513 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
20514 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20515
e5270c23
DM
205162012-04-17 David S. Miller <davem@davemloft.net>
20517
20518 * sysdeps/sparc/sparc32/memcopy.h: Delete.
20519
fb5e92c9
AS
205202012-04-17 Andreas Schwab <schwab@linux-m68k.org>
20521
20522 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
20523 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
20524 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
20525 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
20526 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
20527 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
20528
76da7265
AZ
205292012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20530
20531 [BZ #6794]
20532 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
20533 * math/libm-test.inc: Add ilogb errno and exception tests.
20534 * math/w_ilogb.c: New file: ilogb wrapper.
20535 * math/w_ilogbf.c: New file: ilogbf wrapper.
20536 * math/w_ilogbl.c: New file: ilogbl wrapper.
20537 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
20538 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
20539 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
20540 exception being thrown with 0.0 as argument.
20541 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
20542 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
20543 exception being thrown with 0.0 as argument.
20544 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
20545 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20546 exception being thrown with 0.0 as argument.
20547 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
20548 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20549 exception being thrown with 0.0 as argument.
20550 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
20551 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 20552 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
20553 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
20554 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
20555 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
20556 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
20557 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
20558 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
20559
0396e69d
PB
205602012-04-17 Petr Baudis <pasky@ucw.cz>
20561
20562 * include/sys/uio.h: Change __vector to __iovec to avoid clash
20563 with altivec.
20564
750b5926
MP
205652012-04-16 Marek Polacek <polacek@redhat.com>
20566
20567 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
20568
751728a1
MP
205692012-04-16 Marek Polacek <polacek@redhat.com>
20570
20571 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
20572 operands of fdivp instruction.
20573
34a27407
L
205742012-04-13 H.J. Lu <hongjiu.lu@intel.com>
20575
20576 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
20577 * elf/tst-auditmod3b.c: Likewise.
20578 * elf/tst-auditmod4b.c: Likewise.
20579 * elf/tst-auditmod5b.c: Likewise.
20580 * elf/tst-auditmod6b.c: Likewise.
20581 * elf/tst-auditmod6c.c: Likewise.
20582 * elf/tst-auditmod7b.c: Likewise.
20583 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
20584 * sysdeps/x86_64/preconfigure.in: Likewise.
20585 * sysdeps/x86_64/preconfigure: Regenerated.
20586
7e73e17d
L
205872012-04-13 H.J. Lu <hongjiu.lu@intel.com>
20588
20589 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
20590 __ILP32__.
20591
c7a6ab72
AB
205922012-04-13 Antoine Balestrat <merkil33@gmail.com>
20593
20594 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
20595 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
20596
a9e8e0e0
CL
205972012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
20598
20599 [BZ #13973]
20600 * locale/iso-639.def: Fix gl language name. Spotted by
20601 Yaron Shahrabani.
20602
ec98af7d
RM
206032012-04-12 Roland McGrath <roland@hack.frob.com>
20604
20605 [BZ #2074]
20606 * libio/libio.h (__io_write_fn): Update comment.
20607
247c3ede
PB
206082012-04-12 Petr Baudis <pasky@ucw.cz>
20609
20610 [BZ #2074]
20611 * stdio.texi (Hook Functions): The user provided writer function
20612 is not allowed to return -1.
20613
55939d6d
DM
206142012-04-11 David S. Miller <davem@davemloft.net>
20615
20616 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20617
90020f5a
MF
206182012-04-11 Mike Frysinger <vapier@gentoo.org>
20619
20620 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
20621 Add a leading slash to rtkaio.
20622
288f9098
JM
206232012-04-11 Jim Meyering <meyering@redhat.com>
20624
90020f5a
MF
20625 [BZ #11959]
20626 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
20627 It is not necessarily an error to ignore fwrite's return
20628 value. One can reliably use ferror to test for errors after
20629 the fact.
288f9098 20630
4be2b570
L
206312012-04-10 H.J. Lu <hongjiu.lu@intel.com>
20632
20633 * bits/types.h (__snseconds_t): New type.
20634 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
20635
20636 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
20637 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20638 (__SNSECONDS_T_TYPE): Likewise.
20639 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20640 (__SNSECONDS_T_TYPE): Likewise.
20641 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20642 (__SNSECONDS_T_TYPE): Likewise.
20643
288f9098 206442012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
20645
20646 [BZ #2636]
20647 * manual/time.texi (Processor Time): Return type of times is
20648 elapsed real time since an arbitrary point in the past.
20649 (CPU Time): Move CLK_TCK from here...
20650 (Processor Time): ...to here. Correct description.
20651 * manual/conf.texi (Constants for Sysconf): Correct description of
20652 _SC_CLK_TCK.
20653
d7dd4413
DM
206542012-04-10 David S. Miller <davem@davemloft.net>
20655
20656 [BZ #13967]
20657 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
20658 where the is a gap between DT_REL(A) and DT_JMPREL.
20659
b46068fc
L
206602012-04-10 H.J. Lu <hongjiu.lu@intel.com>
20661
20662 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
20663 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20664 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20665
73d65cc3
SP
206662012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20667
20668 * elf/dl-support.c (_dl_inhibit_cache): New variable.
20669 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
20670 (dl_main): Handle --inhibit-cache.
20671 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
20672 _dl_inhibit_cache.
20673 * elf/dl-load.c (_dl_map_object): Use it.
20674 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
20675
bcc8d661
JM
206762012-04-09 Joseph Myers <joseph@codesourcery.com>
20677
8f9a2fae
JM
20678 [BZ #13872]
20679 * sysdeps/i386/fpu/e_powl.S (p78): New object.
20680 (__ieee754_powl): Saturate large exponents rather than testing for
20681 overflow of y*log2(x).
20682 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20683 * math/libm-test.inc (pow_test): Do not permit spurious overflow
20684 exceptions.
20685
bcc8d661
JM
20686 [BZ #11521]
20687 * math/s_ctan.c: Include <float.h>.
20688 (__ctan): Avoid internal overflow or cancellation in calculating
20689 denominator.
20690 * math/s_ctanf.c: Likewise.
20691 * math/s_ctanl.c: Likewise.
20692 * math/s_ctanh.c: Likewise.
20693 * math/s_ctanhf.c: Likewise.
20694 * math/s_ctanhl.c: Likewise.
20695 * math/libm-test.inc (ctan_test): Add more tests.
20696 (ctanh_test): Likewise.
20697 * sysdeps/i386/fpu/libm-test-ulps: Update.
20698 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20699
823fbbb4
AJ
207002012-04-09 Andreas Jaeger <aj@suse.de>
20701
03879793
AJ
20702 [BZ #6894]
20703 * manual/filesys.texi (Directory Entries): Mention that d_namlen
20704 is an optional BSD extension.
20705
823fbbb4
AJ
20706 [BZ #10254]
20707 * manual/stdio.texi (Opening Streams): Document additional fopen
20708 parameters.
20709
8de131cb
RM
207102012-04-09 Roland McGrath <roland@hack.frob.com>
20711
20712 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
20713 %eax without telling the compiler.
20714
c0ed9d7d
CD
207152012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
20716
20717 [BZ # 13963]
20718 * manual/install.texi: Use sourceware.org.
20719
c483f6b4
JM
207202012-04-09 Joseph Myers <joseph@codesourcery.com>
20721
d7dd9453
JM
20722 [BZ #13873]
20723 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
20724 (__ieee754_pow): Generate overflow and underflow using huge*huge
20725 and tiny*tiny rather than just returning constant infinity or zero
20726 for large exponents.
20727 * math/libm-test.inc (pow_test): Require overflow exceptions for
20728 applicable cases of large exponents.
20729
c483f6b4
JM
20730 [BZ #706]
20731 * sysdeps/i386/fpu/e_pow.S (p10): New object.
20732 (__ieee754_pow): Use iterative multiplication algorithm only for
20733 integer exponents with absolute value below 1024. Check for odd
20734 integer exponents when using algorithm for real exponents.
20735 * math/libm-test.inc (pow_test): Add more tests.
20736 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20737
d2de7579
JM
207382012-04-08 Joseph Myers <joseph@codesourcery.com>
20739
20740 [BZ #13705]
20741 * math/libm-test.inc (exp_test): Do not allow overflow exception
20742 on underflow test.
20743
f77f1232
AJ
207442012-04-08 Aurelien Jarno <aurelien@aurel32.net>
20745
20746 [BZ #13705]
20747 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
20748 instead of __kernel_standard_f.
20749
3884932b
MF
207502012-04-08 Mike Frysinger <vapier@gentoo.org>
20751
20752 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
20753 * sysdeps/x86_64/memset_chk.S: Likewise.
20754
54472e9c
AJ
207552012-04-08 Andreas Jaeger <aj@suse.de>
20756
6ab0fbfc
AJ
20757 [BZ #10153]
20758 * manual/startup.texi (Environment Access): Describe return value
20759 for putenv and setenv.
20760
61efba8c
AJ
20761 [BZ #6895]
20762 * manual/filesys.texi (Directory Entries): Add description for
20763 DT_LNK.
20764
95c3f29a
AJ
20765 [BZ #6890]
20766 * manual/filesys.texi (Directory Entries): Clarify that it's file
20767 system not operating system in the description of DT_UNKNOWN.
20768
54472e9c
AJ
20769 [BZ #6578]
20770 * manual/syslog.texi (closelog): Fix reference, it's openlog.
20771
624254b1
SC
207722012-04-08 Stephen Compall <s11@member.fsf.org>
20773
20774 [BZ #6649]
20775 * manual/llio.texi (Opening and Closing Files): Add cross
20776 reference to explain mode argument.
20777
1e4920e0
MF
207782012-04-07 Mike Frysinger <vapier@gentoo.org>
20779
20780 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
20781 * sysdeps/x86_64/memset_chk.S: Likewise.
20782
5ed848f3
DM
207832012-04-07 David S. Miller <davem@davemloft.net>
20784
20785 * elf/elf.h (R_SPARC_WDISP10): Define.
20786 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
20787 R_SPARC_SIZE32.
20788 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
20789 R_SPARC_SIZE64 and R_SPARC_H34.
20790
96154cd8
CD
207912012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
20792
20793 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
20794 conditions and remove no longer applicable assertion.
20795
9904dc47
L
207962012-04-06 H.J. Lu <hongjiu.lu@intel.com>
20797
20798 * bits/byteswap.h: Include <features.h>.
20799 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20800 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20801
f8887d0a
L
208022012-04-06 H.J. Lu <hongjiu.lu@intel.com>
20803
20804 * bits/byteswap.h (__bswap_16): Removed.
20805 Include <bits/byteswap-16.h> to get __bswap_16.
20806 * sysdeps/i386/bits/byteswap.h: Likewise.
20807 * sysdeps/s390/bits/byteswap.h: Likewise.
20808 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20809 * bits/byteswap-16.h: New file.
20810 * sysdeps/i386/bits/byteswap-16.h: Likewise.
20811 * sysdeps/s390/bits/byteswap-16.h: Likewise.
20812 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
20813 * string/Makefile (headers): Add bits/byteswap-16.h.
20814
62470f60
PP
208152012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20816
20817 [BZ #13895]
20818 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
20819 extra indirection.
20820 * nss/Makefile (tests-static, tests): Add tst-nss-static.
20821 * nss/tst-nss-static.c: New.
20822
4dad7bab
RM
208232012-04-06 Robert Millan <rmh@gnu.org>
20824
20825 [BZ #6486]
20826 * manual/llio.texi (File Position Primitive): lseek
20827 refers to WHENCE when it really means OFFSET.
20828
e9142a17
AJ
208292012-04-06 Andreas Jaeger <aj@suse.de>
20830
2c040eff
AJ
20831 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
20832 strncmp declarations.
20833
e9142a17
AJ
20834 * abilist/libc.abilist: Add __poll and __ppoll.
20835
ff9f1c5f
DM
208362012-04-05 David S. Miller <davem@davemloft.net>
20837
dcd2ae90
DM
20838 * scripts/check-local-headers.sh: Accept a host triplet in the
20839 path matched by the exclude regexp.
20840
993eb054
DM
20841 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
20842 definition.
20843 * sysdeps/powerpc/powerpc32/dl-machine.h
20844 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
20845 * sysdeps/s390/s390-32/dl-machine.h
20846 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20847 * sysdeps/sparc/sparc32/dl-machine.h
20848 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20849 * sysdeps/sparc/sparc64/dl-machine.h
20850 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20851
ff9f1c5f
DM
20852 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
20853 lazy binding.
48e2e132 20854 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
20855 undefined symbol errors.
20856
48e2e132 20857 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
20858 DT_NEEDED entries.
20859
e80d6f94
MM
208602012-04-05 Michael Matz <matz@suse.de>
20861
20862 [BZ #13592]
20863 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
20864
349fa79f
AJ
208652012-04-05 Andreas Jaeger <aj@suse.de>
20866
20867 [BZ #13908]
20868 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
20869 comment.
20870
f402708f
KK
208712012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20872
20873 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
20874 which ROUND is no valid rounding mode.
20875
2ecccfc9
KK
208762012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20877
20878 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
20879 read again.
20880 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
20881
8a53f50f
KK
208822012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20883
20884 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
20885 an exception using FPU order intentionally.
20886
208872012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20888
20889 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
20890 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
20891 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
20892 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
20893
d653abb7
SJ
208942012-04-05 Simon Josefsson <simon@josefsson.org>
20895
20896 [BZ #12340]
20897 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
20898 EINVAL when BUFLEN is too smal.
20899
c3b1bf7d
TS
209002012-04-05 Thomas Schwinge <thomas@codesourcery.com>
20901
20902 [BZ #13553]
20903 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
20904 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
20905
b1aa60f3
AJ
209062012-04-03 Andreas Jaeger <aj@suse.de>
20907
c3b1bf7d 20908 [BZ #13938]
67f60a26
AJ
20909 * manual/setjmp.texi (System V contexts): Fix sentence.
20910
b1aa60f3
AJ
20911 [BZ #13926]
20912 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
20913 New macro for this case.
20914 [!__GNUC__] (__bswap_64): New inline function for this case.
20915 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20916 * bits/byteswap.h: Likewise.
20917 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
20918 ull, guard with __GLIBC_HAVE_LONG_LONG.
20919
20920 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
20921 __GLIBC_HAVE_LONG_LONG.
20922
20923 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
20924 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
20925
39c59c35
TMQMF
209262012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20927
20928 [BZ #13691]
20929 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
20930 inptr and inend, rather than using last_ch.
20931
135ffda8
DM
209322012-04-02 David S. Miller <davem@davemloft.net>
20933
20934 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
20935 * stdio-common/printf-parse.h (read_int): Change return type to
20936 'int', return -1 on INT_MAX overflow.
20937 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
20938 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
20939 overflows INT_MAX. Check for overflow of in-format-string precision
20940 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
20941 SIZE_MAX not INT_MAX for integer overflow test.
20942 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
20943 skip the construct in the format string but do not record anything.
20944 * stdio-common/bug22.c: Adjust to test both width/prevision
20945 INT_MAX overflow as well as total length INT_MAX overflow. Check
20946 explicitly for proper errno values.
20947
228c019e
TS
209482012-04-02 Thomas Schwinge <thomas@codesourcery.com>
20949
302cadd3
TS
20950 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
20951 CHAR_MAX.
20952 * string/test-strcmp.c [! WIDE]: Likewise.
20953 * time/tst-mktime2.c: Likewise for INT_MAX.
20954 * string/test-string.h: #include <sys/param.h> for MIN.
20955
228c019e
TS
20956 * csu/init-first.c (__libc_init_first): Call __ctype_init.
20957 * sysdeps/i386/init-first.c (init): Likewise.
20958 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
20959 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
20960 * sysdeps/sh/init-first.c (init): Likewise.
20961
cfa633f5
UD
209622012-04-01 Ulrich Drepper <drepper@gmail.com>
20963
20964 * po/ru.po: Update from translation team.
d1635ef8 20965 * po/vi.po: Likewise.
cfa633f5 20966
6cd0a5ea
SP
209672012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20968
20969 * resolv/nss_dns/dns-host.c: Merge copyright years.
20970
4b43400f
LD
209712012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20972
20973 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
20974 Optimize memcpy with prefetch if
20975 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
20976 src, dst pointers have unequal 16 byte alignments.
20977
48c41d04
SP
209782012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20979
20980 [BZ #13928]
20981 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
20982 from a CNAME entry and return the minimum ttl for the query.
20983 (gaih_getanswer_slice): Likewise.
20984
b8dc394d
JL
209852012-03-30 Jeff Law <law@redhat.com>
20986
20987 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
20988 due to long keys.
20989 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
20990 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
20991
2f5a5ed0
JL
20992 * resolv/nss_dns/dns-host.c: Update copyright year.
20993
1d39e359
UD
209942012-03-30 Ulrich Drepper <drepper@gmail.com>
20995
c030f70c 20996 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 20997 requests to save a system call. Fix check that all bytes are sent.
c030f70c 20998
1d39e359
UD
20999 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
21000 comments for sendmmsg.
21001
210022012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
21003
21004 [BZ #13691]
21005 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
21006 with only 1 character between 0x0041 and 0x01b0.
21007 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
21008 * wcsmbs/tst-mbsnrtowcs.c: New file.
21009
20fde227
DM
210102012-03-29 David S. Miller <davem@davemloft.net>
21011
21012 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
21013 small copies by hand.
21014
984a4237
JL
210152012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21016
21017 [BZ #13761]
21018 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
21019 _nss_compat_initgroups_dyn): Fall back to malloc/free
21020 for large group memberships.
21021
18c9d62b
DM
210222012-03-28 David S. Miller <davem@davemloft.net>
21023
88d85d4f
DM
21024 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
21025 that branches into memcpy.
21026 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
21027 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
21028 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
21029 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
21030 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
21031 bits.
21032 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
21033 implementation too.
21034 * sysdeps/sparc/mempcpy.S: New file.
21035
e5aa83e1
DM
21036 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
21037 the IFUNC routine in the libc case.
21038 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
21039
88570753
DM
21040 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
21041 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
21042 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
21043 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
21044 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
21045 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
21046 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
21047 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
21048
249d7567
DM
21049 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
21050 loop to 256 bytes instead of 64 bytes and fix test signedness.
21051
18c9d62b
DM
21052 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
21053 * sysdeps/sparc/sparc32/Makefile: rather than here...
21054 * sysdeps/sparc/sparc64/Makefile: and here.
21055
05f3d1f6
UD
210562012-03-28 Ulrich Drepper <drepper@gmail.com>
21057
21058 * malloc/mallocbug.c: Avoid warnings about unused variables.
21059
86ae07a8
JL
210602012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21061
21062 [BZ #13760]
21063 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
21064 in the right place. Discard and retry query if response is
21065 larger than input buffer size.
21066
41bf21a1
JM
210672012-03-28 Joseph Myers <joseph@codesourcery.com>
21068
d6270972
JM
21069 [BZ #369]
21070 [BZ #2678]
21071 [BZ #3866]
21072 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
21073 x for large integer exponent.
21074 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21075 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
21076 sign of result as needed afterwards.
21077 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
21078 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
21079 result for underflowing pow the same as for overflow.
21080 (__kernel_standard_l): Handle powl overflow and underflow here
21081 rather than calling __kernel_standard.
21082 * math/libm-test.inc (pow_test): Add more tests.
21083
414fca03 21084 [BZ #3868]
41bf21a1
JM
21085 [BZ #13879]
21086 [BZ #13910]
21087 [BZ #13911]
21088 [BZ #13912]
21089 [BZ #13913]
21090 [BZ #13915]
21091 [BZ #13916]
21092 [BZ #13917]
21093 [BZ #13918]
21094 [BZ #13919]
21095 [BZ #13920]
21096 [BZ #13921]
21097 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
21098 * sysdeps/ieee754/k_standard.c: Include <float.h>.
21099 (__kernel_standard_l): New function.
21100 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
21101 __kernel_standard.
21102 * math/w_acosl.c (__acosl): Likewise.
21103 * math/w_asinl.c (__asinl): Likewise.
21104 * math/w_atan2l.c (__atan2l): Likewise.
21105 * math/w_atanhl.c (__atanhl): Likewise.
21106 * math/w_coshl.c (__coshl): Likewise.
21107 * math/w_exp10l.c (__exp10l): Likewise.
21108 * math/w_exp2l.c (__exp2l): Likewise.
21109 * math/w_fmodl.c (__fmodl): Likewise.
21110 * math/w_hypotl.c (__hypotl): Likewise.
21111 * math/w_j0l.c (__j0l, __y0l): Likewise.
21112 * math/w_j1l.c (__j1l, __y1l): Likewise.
21113 * math/w_jnl.c (__jnl, __ynl): Likewise.
21114 * math/w_lgammal.c (__lgammal): Likewise.
21115 * math/w_log10l.c (__log10l): Likewise.
21116 * math/w_log2l.c (__log2l): Likewise.
21117 * math/w_logl.c (__logl): Likewise.
21118 * math/w_powl.c (__powl): Likewise.
21119 * math/w_remainderl.c (__remainderl): Likewise.
21120 * math/w_scalbl.c (sysv_scalbl): Likewise.
21121 * math/w_sinhl.c (__sinhl): Likewise.
21122 * math/w_sqrtl.c (__sqrtl): Likewise.
21123 * math/w_tgammal.c (__tgammal): Likewise.
21124 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
21125 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
21126 * math/libm-test.inc (acos_test): Add more tests.
21127 (acosh_test): Likewise.
21128 (asin_test): Likewise.
21129 (atanh_test): Likewise.
21130 (exp_test): Likewise.
21131 (exp10_test): Likewise.
21132 (exp2_test): Likewise.
21133 (expm1_test): Likewise.
21134 (lgamma_test): Likewise.
21135 (log_test): Likewise.
21136 (log10_test): Likewise.
21137 (log1p_test): Likewise.
21138 (log2_test): Likewise.
21139 (pow_test): Do not allow some spurious overflow exceptions.
21140 (sqrt_test): Add more tests.
21141 (tgamma_test): Likewise.
21142 (y0_test): Likewise.
21143 (y1_test): Likewise.
21144 (yn_test): Likewise.
21145
dd62fda6
AB
211462012-03-27 Anton Blanchard <anton@samba.org>
21147
21148 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
21149 MAP_HUGETLB.
21150 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21151 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21152 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21153
1e3cdfda
AJ
211542012-03-27 David S. Miller <davem@davemloft.net>
21155
b855ab85
DM
21156 * conform/Makefile: Run run-conformtest.sh using $(BASH).
21157
1e3cdfda
AJ
21158 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
21159 have-as-vis3 check.
21160
211612012-03-27 Andreas Jaeger <aj@suse.de>
21162
21163 * sysdeps/x86_64/elf/configure.in: Moved to ...
21164 * sysdeps/x86_64/configure.in: ... here.
21165 * sysdeps/x86_64/elf/start.S: Moved to ...
21166 * sysdeps/x86_64/start.S: ... here.
21167 * sysdeps/x86_64/elf/configure: Delete.
21168
21169 * sysdeps/x86_64/configure.in: Merge contents from
21170 sysdeps/i386/configure.in (without i686 check).
21171
21172 * sysdeps/i386/elf/Versions: Merge into ...
21173 * sysdeps/i386/Versions: ... this.
21174 * sysdeps/i386/elf/Versions: Delete file.
21175 * sysdeps/i386/elf/start.S: Moved to ...
21176 * sysdeps/i386/start.S: ...here.
21177 * sysdeps/i386/elf/configure.in: Merge into...
21178 * sysdeps/i386/configure.in: ...here.
21179 * sysdeps/i386/elf/configure.in: Delete file.
21180 * sysdeps/i386/elf/configure: Delete file.
21181
21182 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
21183 * debug/backtracesyms.c: ... here.
21184 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
21185 * debug/backtracesymsfd.c: ... here.
21186 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
21187 * sysdeps/generic/ifunc-sel.h: ... here.
21188
21189 * sysdeps/unix/i386/start.c: Delete file.
21190 * sysdeps/unix/sparc/start.c: Delete file.
21191 * sysdeps/unix/start.c: Delete file.
21192
21193 * sysdeps/sh/elf/configure.in: Moved to ...
21194 * sysdeps/sh/configure.in: ... here.
21195 * sysdeps/sh/elf/start.S: Moved to ...
21196 * sysdeps/sh/start.S: ... here.
21197 * sysdeps/sh/elf/configure: Delete file.
21198
21199 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
21200 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
21201 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
21202 * sysdeps/powerpc/powerpc64/entry.h: ... here.
21203 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
21204 * sysdeps/powerpc/powerpc64/start.S: here.
21205 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
21206 * sysdeps/powerpc/powerpc64/Makefile: ... this.
21207 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
21208 * sysdeps/powerpc/powerpc64/configure.in: ... this.
21209 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
21210
21211 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
21212 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
21213 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
21214 * sysdeps/powerpc/powerpc32/start.S: ... here.
21215 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
21216 * sysdeps/powerpc/powerpc32/configure.in: ... this.
21217 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
21218
21219 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
21220 * sysdeps/powerpc/ifunc-sel.h: ... here.
21221 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
21222 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
21223
21224 * sysdeps/sparc/elf/configure.in: Moved to ...
21225 * sysdeps/sparc/configure.in: ... here.
21226 * sysdeps/sparc/elf/configure: Delete file.
21227 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
21228 * sysdeps/sparc/sparc32/start.S: ... here.
21229 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
21230 * sysdeps/sparc/sparc64/start.S: ... here.
21231 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
21232 * sysdeps/sparc/sparc32/Makefile: ... this.
21233 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
21234 * sysdeps/sparc/sparc64/Makefile: ... this.
21235
21236 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
21237 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
21238 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
21239 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
21240 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
21241 * sysdeps/s390/s390-32/setjmp.S: ... here.
21242 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
21243 * sysdeps/s390/s390-32/configure.in: ... here.
21244 * sysdeps/s390/s390-32/elf/configure: Delete file.
21245 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
21246 * sysdeps/s390/s390-32/start.S: ... here.
21247
21248 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
21249 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
21250 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
21251 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
21252 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
21253 * sysdeps/s390/s390-64/setjmp.S: ... here.
21254 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
21255 * sysdeps/s390/s390-64/configure.in: ... here
21256 * sysdeps/s390/s390-64/elf/configure: Delete file.
21257 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
21258 * sysdeps/s390/s390-64/start.S: ... here.
21259 * sysdeps/s390/s390-64/elf/configure: Delete.
21260
21261 * configure.in: Remove support for elf directories in sysdeps.
21262
21263 * configure: Regenerated.
21264 * sysdeps/i386/configure: Regenerated.
21265 * sysdeps/powerpc/powerpc32/configure: Regenerated.
21266 * sysdeps/powerpc/powerpc64/configure: Regenerated.
21267 * sysdeps/s390/s390-32/configure: Regenerated.
21268 * sysdeps/s390/s390-64/configure: Regenerated.
21269 * sysdeps/sh/configure: Regenerated.
21270 * sysdeps/sparc/configure: Regenerated.
21271 * sysdeps/x86_64/configure: Regenerated.
21272
a3f61311
AS
212732012-03-26 Andreas Schwab <schwab@linux-m68k.org>
21274
c876e002
AS
21275 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21276
a3f61311
AS
21277 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
21278 denormal result into account.
21279
ac4c54f0
RM
212802012-03-25 Roland McGrath <roland@hack.frob.com>
21281
21282 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
21283 Reported by Allan McRae <allan@archlinux.org>.
21284
6a9b9c02
JL
212852012-03-23 Jeff Law <law@redhat.com>
21286
21287 * nss/getnssent.c (__nss_getent): Fix typo.
21288
4c42a0c1
DM
212892012-03-23 David S. Miller <davem@davemloft.net>
21290
21291 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21292
1532c7ac
L
212932012-03-23 H.J. Lu <hongjiu.lu@intel.com>
21294
21295 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
21296 to pad to uint64_t for each field.
21297 (dl_tls_index): Replace unsigned long with uint64_t.
21298
3ff42526
PP
212992012-03-23 Daniel Jacobowitz <dmj@google.com>
21300 Paul Pluzhnikov <ppluzhnikov@google.com>
21301
21302 [BZ #6528]
21303 * grp/Makefile (otherlibs): Don't set it.
21304 * inet/Makefile (otherlibs): Likewise.
21305 * login/Makefile (otherlibs): Likewise.
21306 * nscd/Makefile (otherlibs): Likewise.
21307 * posix/Makefile (otherlibs): Likewise.
21308 * pwd/Makefile (otherlibs): Likewise.
21309 * rt/Makefile (otherlibs): Likewise.
21310 * sunrpc/Makefile (otherlibs): Likewise.
21311 * nss/Makefile (otherlibs): Likewise.
21312 Add libnss_files to routines and static-only-routines.
21313 ($(objpfx)getent): Remove rule.
21314 * resolv/Makefile: Add libnss_dns and libresolv to routines and
21315 static-only-routines.
21316
7c69cd14
JM
213172012-03-22 Joseph Myers <joseph@codesourcery.com>
21318
21319 [BZ #13892]
21320 * math/s_cexp.c: Include <float.h>.
21321 (__cexp): Handle exp result overflowing not necessarily
21322 overflowing both real and imaginary parts of result.
21323 * math/s_cexpf.c: Likewise.
21324 * math/s_cexpl.c: Likewise.
21325 * math/libm-test.inc (cexp_test): Add more tests.
21326 * sysdeps/i386/fpu/libm-test-ulps: Update.
21327 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21328
81b035fe
L
213292012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21330
21331 * include/link.h (ELFW): New macro.
21332 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
21333 Replace ELF64_R_TYPE with ELFW(R_TYPE).
21334
1da7940c
L
213352012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21336
21337 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
21338 with uint64_t.
21339
b749dbb9
L
213402012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21341
21342 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
21343 declaration.
21344 (struct La_x32_retval): Likewise.
21345
2ff87f3f
L
213462012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21347
21348 * sysdeps/x86_64/preconfigure.in: New file.
21349 * sysdeps/x86_64/preconfigure: New generated file.
21350
c0df8e69
JM
213512012-03-22 Joseph Myers <joseph@codesourcery.com>
21352
48e44791
JM
21353 [BZ #13824]
21354 * math/e_exp2l.c: Include <float.h>.
21355 (__ieee754_exp2l): Handle overflow and underflow cases
21356 separately. Only pass fractional part of argument to
21357 __ieee754_expl.
21358 * math/libm-test.inc (exp2_test): Add more tests.
21359
c0df8e69
JM
21360 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
21361 negating x to take absolute value.
21362 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
21363 Likewise.
21364 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
21365 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
21366 Likewise.
21367 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
21368 computing low part if x was negated.
21369 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
21370
c8e43ba7
L
213712012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21372
21373 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
21374 la_x32_gnu_pltexit.
21375 (pltexit): Cast int_retval to ptrdiff_t.
21376 * elf/tst-auditmod3b.c: Likewise.
21377 * elf/tst-auditmod4b.c: Likewise.
21378 * elf/tst-auditmod5b.c: Likewise.
21379 * elf/tst-auditmod6b.c: Likewise.
21380 * elf/tst-auditmod6c.c: Likewise.
21381 * elf/tst-auditmod7b.c: Likewise.
21382
21383 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
21384 and x32_gnu_pltexit.
21385
21386 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
21387 __ELF_NATIVE_CLASS.
21388 (La_x32_regs): New macro.
21389 (La_x32_retval): Likewise.
21390 (la_x32_gnu_pltenter): New function prototype.
21391 (la_x32_gnu_pltexit): Likewise.
21392
7998fa78
AS
213932012-03-21 Andreas Schwab <schwab@linux-m68k.org>
21394
dcb33988
AS
21395 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
21396 exponent.
21397
233fc563
AS
21398 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21399
7998fa78
AS
21400 * configure.in (libc_cv_cc_nofma): Check for option to disable
21401 generation of FMA instructions.
21402 * configure: Regenerate.
21403 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
21404 * sysdeps/ieee754/dbl-64/Makefile: New file.
21405 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21406 Remove brandred-fma4.
21407 (CFLAGS-brandred-fma4.c): Remove.
21408 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
21409 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
21410 define.
21411 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
21412 define.
21413
8e95c99a
L
214142012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21415
21416 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
21417 LLONG_MAX != LONG_MAX.
21418 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21419 (_fitoa_word): Likewise.
21420 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
21421 LLONG_MAX != LONG_MAX.
21422 * stdio-common/_itowa.h: Include <_itoa.h>.
21423 (_itowa_word): Use _ITOA_WORD_TYPE on value.
21424 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
21425 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
21426 only if not defined.
21427 (_ITOA_WORD_TYPE): Likewise.
21428 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21429 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
21430
6f4db457
DM
214312012-03-21 David S. Miller <davem@davemloft.net>
21432
21433 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21434
7785fe5a
L
214352012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21436
21437 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
21438 of x86_64 when setting libc_cv_slibdir, libdir and
21439 libc_cv_localedir.
21440 * sysdeps/unix/sysv/linux/configure: Regenerated.
21441
4535cd55
JM
214422012-03-21 Joseph Myers <joseph@codesourcery.com>
21443
21444 * manual/lang.texi (Old Varargs): Remove section.
21445 (How Variadic): Update menu.
21446 (va_start): Do not mention varargs.h.
21447
17228132
TS
214482012-03-21 Thomas Schwinge <thomas@codesourcery.com>
21449 Joseph Myers <joseph@codesourcery.com>
21450
21451 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
21452 link test.
21453 * configure: Regenerated.
21454
8149f976
TS
214552012-03-21 Thomas Schwinge <thomas@codesourcery.com>
21456
05f3d1f6
UD
21457 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
21458 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
21459 conformtest.pl
8149f976 21460
1a4ac776
JM
214612012-03-21 Joseph Myers <joseph@codesourcery.com>
21462
be22ce65
JM
21463 * NOTES: Remove.
21464 * Makefile (files-for-dist): Remove NOTES.
21465 (NOTES): Remove rule.
21466 * README: Don't refer to NOTES.
21467 * manual/creature.texi: Don't include macros.texi.
21468 * manual/intro.texi (creature.texi): Remove comment referring to
21469 NOTES.
21470
40b601fb
JM
21471 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
21472 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
21473 * configure: Regenerated.
21474 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
21475 LIBC_TRY_CC_OPTION.
21476 (libc_cv_as_i686): Likewise.
21477 (libc_cv_cc_avx): Likewise.
21478 (libc_cv_cc_sse2avx): Likewise.
21479 (libc_cv_cc_fma4): Likewise.
21480 (libc_cv_cc_novzeroupper): Likewise.
21481 * sysdeps/i386/configure: Regenerated.
21482
1a4ac776
JM
21483 [BZ #13883]
21484 * sysdeps/i386/fpu/s_cexp.S: Remove.
21485 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
21486 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
21487 * math/libm-test.inc (cexp_test): Add more tests.
21488 * sysdeps/i386/fpu/libm-test-ulps: Update.
21489 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21490
a458e7fe
AM
214912012-03-21 Allan McRae <allan@archlinux.org>
21492
21493 * timezone/Makefile: Do not install iso3166.tab and zone.tab
21494
0cb7efc5
JM
214952012-03-21 Joseph Myers <joseph@codesourcery.com>
21496
21497 [BZ #13871]
21498 * math/w_exp2.c: Do not include <float.h>.
21499 (o_threshold, u_threshold): Remove.
21500 (__exp2): Calculate result before checking finiteness and calling
21501 __kernel_standard.
21502 * math/w_exp2f.c: Likewise.
21503 * math/w_exp2l.c: Likewise.
21504 * math/libm-test.inc (exp2_test): Require overflow exception for
21505 1e6 input.
2460d3aa
JM
21506
21507 [BZ #3866]
21508 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
21509 range of signed 64-bit integers before using fistpll. Remove
21510 checks for whether integers fit in mantissa bits.
21511 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
21512 the range of signed 32-bit integers before using fistpl. Remove
21513 checks for whether integers fit in mantissa bits.
21514 * sysdeps/i386/fpu/e_powl.S (p64): New object.
21515 (__ieee754_powl): Test for y outside the range of signed 64-bit
21516 integers before using fistpll. Reduce 64-bit values to 63-bit
21517 ones as needed.
21518 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
21519 divide-by-zero is raised for zero to large negative powers.
21520 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
21521 (__ieee754_powl): Test for y outside the range of signed 64-bit
21522 integers before using fistpll. Reduce 64-bit values to 63-bit
21523 ones as needed.
21524 * math/libm-test.inc (pow_test): Add more tests.
21525
eb96ffb0
L
215262012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21527
21528 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
21529 <stdio-common/_itoa.h>.
21530 * debug/segfault.c: Likewise.
21531 * elf/dl-cache.c: Likewise.
21532 * elf/dl-minimal.c: Likewise.
21533 * elf/dl-misc.c: Likewise.
21534 * elf/dl-sysdep.c: Likewise.
21535 * elf/dl-version.c: Likewise.
21536 * elf/rtld.c: Likewise.
21537 * hurd/hurdsock.c: Likewise.
21538 * hurd/lookup-retry.c: Likewise.
21539 * malloc/malloc.c: Likewise.
21540 * malloc/mtrace.c: Likewise.
21541 * nscd/nscd_getgr_r.c: Likewise.
21542 * nscd/nscd_getpw_r.c: Likewise.
21543 * nscd/nscd_getserv_r.c: Likewise.
21544 * posix/getopt_init.c: Likewise.
21545 * posix/wordexp.c: Likewise.
21546 * stdio-common/_itoa.c: Likewise.
21547 * stdio-common/printf_fphex.c: Likewise.
21548 * stdio-common/vfprintf.c: Likewise.
21549 * string/_strerror.c: Likewise.
21550 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
21551 * sysdeps/i386/i686/hp-timing.h: Likewise.
21552 * sysdeps/mach/_strerror.c: Likewise.
21553 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
21554 * sysdeps/mach/hurd/sethostid.c: Likewise.
21555 * sysdeps/mach/hurd/xmknodat.c: Likewise.
21556 * sysdeps/mach/xpg-strerror.c: Likewise.
21557 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21558 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21559 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
21560 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
21561 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21562 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
21563 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
21564 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
21565 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
21566 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
21567 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
21568 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
21569 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
21570 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
21571 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
21572 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
21573 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
21574 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
21575 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
21576 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
21577 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
21578
21579 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
21580
21581 * stdio-common/_itoa.h: Moved to ...
21582 * sysdeps/generic/_itoa.h: Here.
21583
21584 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
21585
21586 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
21587 instead of "_itoa.h" and "_itowa.h".
21588 * stdio-common/vfprintf.: Likewise.
21589
d1af992d
L
215902012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21591
21592 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
21593 <bits/wordsize.h>.
21594 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
21595 (__signbit): Likwise.
21596 (llrintf): Likwise.
21597 (llrint): Likwise.
21598
114883e0
L
215992012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21600
21601 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
21602 __WORDSIZE != 64.
21603
c135cc1b
JM
216042012-03-20 Joseph Myers <joseph@codesourcery.com>
21605
21606 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
21607 OVERFLOW_EXCEPTION_OK.
21608 * math/libm-test.inc ("Philosophy"): Update comment about
21609 exception testing.
21610 (OVERFLOW_EXCEPTION): Define.
21611 (OVERFLOW_EXCEPTION_OK): Likewise.
21612 (INVALID_EXCEPTION_OK): Renumber.
21613 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21614 (IGNORE_ZERO_INF_SIGN): Likewise.
21615 (test_exceptions): Handle FE_OVERFLOW.
21616 (exp10_test): Expect overflow exceptions.
21617 (exp2_test): Likewise.
21618 (expm1_test): Likewise.
21619 (nextafter_test): Likewise.
21620 (pow_test): Likewise.
21621 (scalbn_test): Likewise.
21622 (scalbln_test): Likewise.
21623
95443d88
L
216242012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21625
21626 * sysdeps/x86_64/bits/atomic.h
21627 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
21628 64bit integer.
21629 (atomic_exchange_acq): Likewise.
21630 (__arch_exchange_and_add_body): Likewise.
21631 (__arch_add_body): Likewise.
21632 (atomic_add_negative): Likewise.
21633 (atomic_add_zero): Likewise.
21634
490df6c4
L
216352012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21636
c2722551 21637 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
21638 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
21639
5e52b189
L
216402012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21641
21642 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
21643 Check __x86_64__ instead of __WORDSIZE.
21644
a9879d4c
L
216452012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21646
21647 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
21648
5df98260
DM
216492012-03-19 David S. Miller <davem@davemloft.net>
21650
e1497744
DM
21651 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21652
5df98260
DM
21653 * sysdeps/sparc/fpu/fenv_private.h: New file.
21654 * sysdeps/sparc/fpu/math_private.h: Use it.
21655 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
21656 Remove.
21657 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
21658 (libc_feholdexcept_setroundl): Remove.
21659 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
21660 Remove.
21661 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
21662 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
21663
b4c35121
L
216642012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21665
21666 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
21667 int64_t instead of long int.
21668 (INSERT_WORDS64): Likwise.
21669
56965fd7
L
216702012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21671
21672 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
21673 _Unwind_GetCFA return to _Unwind_Ptr first.
21674
83d1aec8
JM
216752012-03-19 Joseph Myers <joseph@codesourcery.com>
21676
1897ad44
JM
21677 [BZ #13629]
21678 * math/s_clog.c: Include <float.h>.
21679 (__clog): Scale large or subnormal inputs.
21680 * math/s_clogf.c: Likewise.
21681 * math/s_clogl.c: Likewise.
21682 * math/s_clog10.c: Include <float.h>.
21683 (M_LOG10_2): Define.
21684 (__clog10): Scale large or subnormal inputs.
21685 * math/s_clog10f.c: Likewise.
21686 * math/s_clog10l.c: Likewise.
21687 * math/libm-test.inc (clog_test): Add more tests.
21688 (clog10_test): Likewise.
21689 * sysdeps/i386/fpu/libm-test-ulps: Update.
21690 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21691
7726d6a9
JM
21692 [BZ #11451]
21693 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
21694 x and y.
21695 * math/libm-test.inc (atan2_test): Add another test.
21696
83d1aec8
JM
21697 * Makerules (common-objdir-compile): Remove.
21698 * sysdeps/unix/Makefile (config-generated): Do not add
21699 $(unix-generated) to variable.
21700 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
21701 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
21702 Remove rule.
21703 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
21704 Likewise.
21705 [generic bits/local_lim.h] (before-compile): Do not append to
21706 variable.
21707 [generic bits/local_lim.h] (common-generated): Likewise.
21708 [generic sys/param.h] (before-compile): Do not append to variable.
21709 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
21710 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
21711 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
21712 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
21713 include.
21714 [generic sys/param.h] (sys/param.h-includes): Remove variable.
21715 [generic sys/param.h] (sys/param.h-includes): Remove rule.
21716 [generic sys/param.h] ($(addprefix
21717 $(common-objpfx),$(sys/param.h-includes))): Likewise.
21718 [generic sys/param.h] (common-generated): Do not append to
21719 variable.
21720 [generic sys/param.h] (sysdep_headers): Likewise.
21721 [generic bits/errno.h] (before-compile): Do not append to
21722 variable.
21723 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
21724 rule.
21725 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
21726 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
21727 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
21728 [generic bits/errno.h] (common-generated): Do not append to
21729 variable.
21730 [generic bits/ioctls.h] (before-compile): Do not append to
21731 variable.
21732 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
21733 rule.
21734 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
21735 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
21736 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
21737 rule.
21738 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
21739 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
21740 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
21741 [generic bits/ioctls.h] (common-generated): Do not append to
21742 variable.
21743 [generic sys/syscall.h] (syscall.h): Remove variable.
21744 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
21745 rule.
21746 [generic sys/syscall.h] (before-compile): Do not append to
21747 variable.
21748 [generic sys/syscall.h] (common-generated): Likewise.
21749 * sysdeps/unix/errnos-tmpl.c: Remove file.
21750 * sysdeps/unix/errnos.awk: Likewise.
21751 * sysdeps/unix/ioctls-tmpl.c: Likewise.
21752 * sysdeps/unix/ioctls.awk: Likewise.
21753 * sysdeps/unix/mk-local_lim.c: Likewise.
21754 * sysdeps/unix/snarf-ioctls: Likewise.
21755
4851a949
RH
217562012-03-19 Richard Henderson <rth@twiddle.net>
21757
bd37f2ee
RH
21758 * sysdeps/i386/fpu/fenv_private.h: New file.
21759 * sysdeps/i386/fpu/math_private.h: Use it.
21760 (math_opt_barrier, math_force_eval): Remove.
21761 (libc_feholdexcept_setround_53bit): Remove.
21762 (libc_feupdateenv_53bit): Remove.
21763 * sysdeps/x86_64/fpu/math_private.h: Likewise.
21764 (math_opt_barrier, math_force_eval): Remove.
21765 (libc_feholdexcept): Remove.
21766 (libc_feholdexcept_setround): Remove.
21767 (libc_fetestexcept, libc_fesetenv): Remove.
21768 (libc_feupdateenv_test): Remove.
21769 (libc_feupdateenv, libc_feholdsetround): Remove.
21770 (libc_feresetround): Remove.
21771
d0adc922
RH
21772 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
21773 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21774
0fe0f1f8
RH
21775 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
21776 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
21777 (libc_feupdateenv_testl): New.
21778 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
21779 (libc_feupdateenv_testf): New.
21780 (libc_feupdateenv): Use libc_feupdateenv_test.
21781 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
21782 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
21783
eb92c487
RH
21784 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
21785 (libc_feholdsetroundf, libc_feholdsetroundl): New.
21786 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
21787 (libc_feresetround_noex): New.
21788 (libc_feresetround_noexf): New.
21789 (libc_feresetround_noexl): New.
21790 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
21791 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
21792 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
21793 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
21794 SET_RESTORE_ROUND.
21795 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21796 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
21797 (__cos): Likewise.
21798 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
21799 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
21800 SET_RESTORE_ROUND_NOEX.
21801 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
21802 SET_RESTORE_ROUND_NOEXF.
21803 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
21804 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
21805 (libc_feholdsetroundf): New.
21806 (libc_feresetround, libc_feresetroundf): New.
21807
7d2e8012
RH
21808 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
21809 (libc_feholdexcept_setround_53bit): Convert from macro to function.
21810 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
21811
b4dabbb4
RH
21812 * sysdeps/generic/math_private.h: Include <fenv.h>.
21813 (default_libc_feholdexcept): New.
21814 (default_libc_feholdexcept_setround): New.
21815 (default_libc_fesetenv, default_libc_feupdateenv): New.
21816 (libc_feholdexcept): Only define if undefined.
21817 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
21818 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
21819 (libc_feholdexcept_setroundl): Likewise.
21820 (libc_feholdexcept_setround_53bit): Likewise.
21821 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
21822 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
21823 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
21824 (libc_feupdateenv_53bit): Likewise.
21825 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
21826 (libc_feholdexcept): Convert from macro to inline function.
21827 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
21828 (libc_fesetenv, libc_feupdateenv): Likewise.
21829
4851a949
RH
21830 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
21831 not previously defined.
21832 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
21833 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
21834 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
21835 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
21836 * sysdeps/ieee754/flt-32/math_private.h: New file.
21837 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
21838 math_private.h below SET_FLOAT_WORD.
21839 (__isnan, __isinf_ns, __finite): Remove.
21840 (__isnanf, __isinf_nsf, __finitef): Remove.
21841
e79d442e
AS
218422012-03-18 Andreas Schwab <schwab@linux-m68k.org>
21843
21844 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21845
90b80344
DM
218462012-03-17 David S. Miller <davem@davemloft.net>
21847
21848 [BZ #6471]
21849 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
21850 for 2.16.
21851
edc21804
DM
218522012-03-16 David S. Miller <davem@davemloft.net>
21853
77e927af
DM
21854 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
21855 warnings.
21856
374976dd
DM
21857 [BZ #6471]
21858 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
21859 properly.
21860 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
21861 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
21862 sysdep_routines when subdir is sysvipc.
21863 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
21864 __getshmlba helper.
21865
edc21804
DM
21866 * sysdeps/sparc/fpu/libm-test/ulps: Update.
21867
473c3ef3
L
218682012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21869
21870 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
21871 [__LP64__].
21872
eb0f39b6
L
218732012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21874
21875 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
21876 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
21877 (__lround): Renamed to ...
21878 (__llround): This. Replace long int with long long int.
21879 Define lround functions as aliases of llround functions.
21880 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
21881
6b6cd74b
L
218822012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21883
21884 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
21885 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
21886 adresses to uintptr_t. Replace "long int" and "unsigned long
21887 int" with "greg_t" on va_arg.
21888
f1a77b01
L
218892012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21890
21891 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
21892 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
21893
21894 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
21895 Move e_machine check before EI_CLASS check. Handle x32
21896 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
21897 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
21898 SKIP_EM_IA_64 and include
21899 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
21900
21901 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
21902 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
21903 (add_system_dir): New macro.
21904
21905 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
21906 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
21907
11b90b9f
JM
219082012-03-16 Joseph Myers <joseph@codesourcery.com>
21909
c36e1d23
JM
21910 [BZ #2551]
21911 [BZ #2552]
21912 [BZ #2553]
21913 [BZ #2554]
21914 [BZ #2562]
21915 [BZ #2563]
21916 [BZ #2565]
21917 [BZ #2566]
21918 [BZ #2576]
21919 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
21920 (y0): Likewise.
21921 * math/w_j0f.c (j0f): Likewise.
21922 (y0f): Likewise.
21923 * math/w_j0l.c (__j0l): Likewise.
21924 (__y0l): Likewise.
21925 * math/w_j1.c (j1): Likewise.
21926 (y1): Likewise.
21927 * math/w_j1f.c (j1f): Likewise.
21928 (y1f): Likewise.
21929 * math/w_j1l.c (__j1l): Likewise.
21930 (__y1l): Likewise.
21931 * math/w_jn.c (jn): Likewise.
21932 (yn): Likewise.
21933 * math/w_jnf.c (jnf): Likewise.
21934 (ynf): Likewise.
21935 * math/w_jnl.c (__jnl): Likewise.
21936 (__ynl): Likewise.
21937 * math/libm-test.inc (j0_test): Add more tests.
21938 (j1_test): Likewise.
21939 (jn_test): Likewise. Add trailing semicolon to existing test.
21940 (y0_test): Likewise.
21941 (y1_test): Likewise.
21942 * sysdeps/i386/fpu/libm-test-ulps: Update.
21943 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21944
11b90b9f
JM
21945 [BZ #13851]
21946 [BZ #13854]
21947 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
21948 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
21949 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
21950 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
21951 (__tanl): Set errno for infinite argument.
21952 * sysdeps/i386/fpu/mptan.c: Remove.
21953 * sysdeps/i386/fpu/s_tan.S: Likewise.
21954 * sysdeps/i386/fpu/s_tanl.S: Likewise.
21955 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
21956 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
21957 * math/libm-test.inc (tan_test): Add more tests and enable more
21958 tests for double and long double.
21959 * sysdeps/i386/fpu/libm-test-ulps: Update.
21960 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21961
6a1bd2a1
JK
219622012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
21963
21964 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
21965 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
21966
10a803e0
RM
219672012-03-16 Roland McGrath <roland@hack.frob.com>
21968
21969 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
21970 * configure.in: Use it for both main tree and add-ons.
21971 * configure: Regenerated.
21972
f196c7f7
L
219732012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21974
21975 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
21976
8848d99d
JM
219772012-03-16 Joseph Myers <joseph@codesourcery.com>
21978
96cbe7f4
JM
21979 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
21980 in comment.
21981
8848d99d
JM
21982 [BZ #13851]
21983 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
21984 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
21985 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
21986 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
21987 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
21988 infinite argument.
21989 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
21990 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
21991 != 0 for prec == 2.
21992 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
21993 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
21994 * sysdeps/i386/fpu/s_cosl.S: Likewise.
21995 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
21996 * sysdeps/i386/fpu/s_sinl.S: Likewise.
21997 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
21998 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
21999 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
22000 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
22001 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
22002 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
22003 * math/libm-test.inc (cos_test): Add more tests and enable more
22004 tests for long double.
22005 (sin_test): Likewise.
22006 (sincos_test): Likewise.
22007 * sysdeps/i386/fpu/libm-test-ulps: Update.
22008 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22009
dd7f4703
DM
220102012-03-16 David S. Miller <davem@davemloft.net>
22011
22012 * sysdeps/sparc/fpu/math_private.h: New file.
22013
006f1daa
DM
220142012-03-15 David S. Miller <davem@davemloft.net>
22015
c0c83bc8
DM
22016 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
22017 file.
e6a62e18 22018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
22019 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
22020 file.
e6a62e18
DM
22021 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
22022 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
22023 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
22024 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
22025 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
22026 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
22027 sysdep routines.
22028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22029
88cb87d9
DM
22030 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
22031 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
22032
006f1daa 22033 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
22034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
22035 sparc-ifunc.h
006f1daa 22036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
22037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
22038 Likewise.
22039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
22040 Likewise.
006f1daa
DM
22041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
22042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
22043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
22044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
22045 Likewise.
006f1daa
DM
22046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
22047 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
22048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
22049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
22050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
22051 Likewise.
22052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
22053 Likewise.
006f1daa
DM
22054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
22055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
22056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
22057 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
22058 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22059 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22060 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
22061 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
22062 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22063 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22064 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
22065 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
22066 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
22067 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
22068 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
22069 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
22070 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
22071 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
22072 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
22073 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
22074 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
22075 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
22076 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
22077 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
22078
11e0098e
AS
220792012-03-15 Andreas Schwab <schwab@linux-m68k.org>
22080
22081 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
22082 scaling.
22083 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22084
e85b09d0
AJ
220852012-03-15 Andreas Jaeger <aj@suse.de>
22086
22087 [BZ #13852]
22088 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
22089 ieee754/flt-32 implementation for sin, cos and sincos.
22090 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
22091 * sysdeps/i386/fpu/s_cosf.S: Likewise.
22092 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
22093 * sysdeps/i386/fpu/s_sinf.S: Likewise.
22094 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
22095 ieee754/flt-32 implementation for tan.
22096
22097 * math/libm-test.inc (cos_test): Enable some large input tests for
22098 float as well
22099 (sin_test): Likewise.
22100 (sincos_test): Likewise.
22101 (tan_test): Add tests for large input.
22102
22103 * sysdeps/i386/fpu/libm-test-ulps: Update.
22104
81c64153
AJ
221052012-03-15 Andreas Jaeger <aj@suse.de>
22106
22107 [BZ #13658]
22108 * math/libm-test.inc (cos_test): Add more test cases.
22109 (sin_test): Likewise.
22110 (sincos_test): Likewise.
22111
7bbfa5c6
AJ
221122012-03-15 Andreas Jaeger <aj@suse.de>
22113
22114 [BZ #13837]
22115 * math/libm-test.inc (cos_test): Add a test case for large input
22116 value.
22117 (sin_test): Likewise.
22118 (sincos_test): Likewise.
22119
221202012-03-15 Andreas Jaeger <aj@suse.de>,
22121 Joseph Myers <joseph@codesourcery.com>
22122
22123 [BZ #13658]
0671f479 22124 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
22125 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
22126 * sysdeps/i386/fpu/branred.c: Likewise.
22127 * sysdeps/i386/fpu/dosincos.c: Likewise.
22128 * sysdeps/i386/fpu/mpa.c: Likewise.
22129 * sysdeps/i386/fpu/s_cos.S: Likewise.
22130 * sysdeps/i386/fpu/s_sin.S: Likewise.
22131 * sysdeps/i386/fpu/s_sincos.S: Likewise.
22132 * sysdeps/i386/fpu/sincos32.c: Likewise.
22133
22134 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
22135 Define.
22136 (libc_feupdateenv_53bit): Define.
22137 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
22138 Define.
22139 (libc_feupdateenv_53bit): Define.
22140
22141 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
22142 53 bit (without extend i386 double precision).
22143
22144 * math/libm-test.inc (sincos_test): Add tests for large input.
22145 (sin): Likewise.
22146 (cos): Likewise.
22147
22148 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
22149
9cad04ea
AS
221502012-03-15 Andreas Schwab <schwab@linux-m68k.org>
22151
22152 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22153
f7062b9a
DM
221542012-03-15 David S. Miller <davem@davemloft.net>
22155
22156 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
22157 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
22158 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
22159 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
22160 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
22161 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
22162 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
22163 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
22164 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
22165 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
22166 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
22167 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
22168 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
22169 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
22170 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
22171 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
22172 file.
f7062b9a 22173 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
22174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
22175 file.
f7062b9a 22176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
22177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
22178 file.
f7062b9a 22179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
22180 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
22181 file.
f7062b9a
DM
22182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
22183 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
22184 fmin/fmax sysdep routines.
22185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22186
7bd951ff
DM
221872012-03-14 David S. Miller <davem@davemloft.net>
22188
559398ab
DM
22189 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
22190 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
22191 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
22192 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
22193 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
22194 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
22195 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
22196 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
22197 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
22198 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
22199 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
22200 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
22201 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
22202 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
22203 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
22204 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
22205 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
22206 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
22207 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
22208 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
22209 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
22210 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
22211 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
22212 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
22213 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
22214 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
22215 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
22216 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
22217 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
22218 routines.
22219 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
22220 file.
559398ab 22221 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
22222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
22223 file.
559398ab 22224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
22225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
22226 file.
559398ab 22227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
22228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
22229 file.
559398ab 22230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
22231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
22232 file.
559398ab 22233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
22234 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
22235 file.
22236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
22237 file.
22238 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
22239 file.
22240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
22241 file.
22242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
22243 New file.
22244 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
22245 file.
22246 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
22247 file.
559398ab 22248 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
22249 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
22250 file.
559398ab 22251 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
22252 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
22253 file.
559398ab 22254 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
22255 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
22256 file.
559398ab 22257 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
22258 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
22259 VIS3 routines.
559398ab
DM
22260
22261 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
22262 New file.
22263
5a1c1e32
DM
22264 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22265
eae47a36
DM
22266 * sysdeps/sparc/configure.in: New file.
22267 * sysdeps/sparc/configure: Generate.
22268 * configure.in (libc_cv_sparc_as_vis3): Substitute.
22269 * configure: Regenerate.
22270 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
22271 * config.make.in (have-as-vis3): New.
22272 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
22273 available use -Av9d instead of -Av9a.
22274 * sysdeps/sparc/sparc64/Makefile: Likewise.
22275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
22276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
22277 New file.
22278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
22279 file.
22280 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
22281 New file.
22282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
22283 file.
eae47a36
DM
22284 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
22285 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
22286 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
22287 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
22288 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
22289
c0c83bc8
DM
22290 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
22291 fzeros/fnegs to load 0x80000000 into a float register instead of
22292 using the stack.
7bd951ff
DM
22293 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
22294
bd951ccb
JM
222952012-03-14 Joseph Myers <joseph@codesourcery.com>
22296
22297 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22298 bits/syscall.h.
22299 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
22300 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
22301 ($(inst_includedir)/bits/syscall.h): Remove rule.
22302 ($(objpfx)bits/syscall.d): Include instead of
22303 $(objpfx)syscall-list.d.
22304 (generated): Change syscall-list.h and syscall-list.d to
22305 bits/syscall.h and bits/syscall.d.
22306
bb4e6db2
RM
223072012-03-14 Roland McGrath <roland@hack.frob.com>
22308
22309 [BZ #13846]
22310 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
22311
aa4a2ae1
JM
223122012-03-14 Joseph Myers <joseph@codesourcery.com>
22313
e456826d
JM
22314 [BZ #13841]
22315 * math/s_csqrt.c: Include <float.h>.
22316 (__csqrt): Scale large or subnormal inputs.
22317 * math/s_csqrtf.c: Likewise.
22318 * math/s_csqrtl.c: Likewise.
22319 * math/libm-test.inc (csqrt_test): Add more tests.
22320 * sysdeps/i386/fpu/libm-test-ulps: Update.
22321 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22322
aa4a2ae1
JM
22323 [BZ #13840]
22324 * math/libm-test.inc (hypot_test): Add more tests.
22325
7c10fd35
DM
223262012-03-13 David S. Miller <davem@davemloft.net>
22327
22328 [BZ #13840]
22329 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
22330 double-precision for the calculation instead of scaling.
22331
f453b98b
JM
223322012-03-13 Joseph Myers <joseph@codesourcery.com>
22333
22334 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
22335 manipulate bits before adding and subtracting TWO52[sx].
22336 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
22337 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
22338 Likewise.
22339 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
22340
09a3453f
DM
223412012-03-13 David S. Miller <davem@davemloft.net>
22342
8e59da90
DM
22343 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
22344 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
22345 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
22346 rtld-global-offsets.h
22347 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22348
2a8ab7f2
DM
22349 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
22350 large parameters.
22351
10f62770
DM
22352 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
22353
5f0bdb18
DM
22354 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
22355 'err' in the ifdef scope in which it is actually used.
22356
09a3453f
DM
22357 * nss/nss_db/db-init.c: Include string.h
22358
b4b2eb5e
DM
223592012-03-12 David S. Miller <davem@davemloft.net>
22360
98bb2f1c
DM
22361 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
22362 masking out of the most significant byte of random value used.
22363 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22364 Fix coding style in previous change.
22365
b4b2eb5e
DM
22366 * sysdeps/unix/sysv/linux/kernel-features.h
22367 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
22368 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
22369 expression.
22370 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
22371 later.
22372
6e226b09
DM
223732012-03-11 David S. Miller <davem@davemloft.net>
22374
a1bcbd40
DM
22375 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
22376 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
22377 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
22378 for 'resultvar' otherwise things get truncated on 64-bit.
22379
cb9d6174
DM
22380 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22381 Fix masking out of the most significant byte of random value used.
22382
6e226b09
DM
22383 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22384
058c132d
AS
223852012-03-10 Andreas Schwab <schwab@linux-m68k.org>
22386
22387 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22388
2d2cd515
DM
223892012-03-09 David S. Miller <davem@davemloft.net>
22390
22391 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
22392 variables with appropriate CPP guards.
22393 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
22394 frame pointer, not the stack pointer. Correct layout comments. Fix test
22395 on resulting framesize and the management of the outregs buffer for pltexit.
22396 Preserve floating point return values across _dl_call_pltexit call.
22397 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
22398 framesize and the management of the outregs buffer for pltexit.
22399 Preserve floating point return values across _dl_call_pltexit
22400 call.
22401 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
22402 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
22403 (print_exit): Fix format string for return register value.
22404
9a07f9d0
JM
224052012-03-10 Joseph Myers <joseph@codesourcery.com>
22406
22407 * sunrpc/Makefile (others): Add rpcgen.
22408 ($(objpfx)rpcgen): Remove special build rule and dependency on
22409 libc.
22410 * sunrpc/rpcgen.c: New file.
22411
547b5e30
PE
224122012-03-09 Paul Eggert <eggert@cs.ucla.edu>
22413
c524201a
PE
22414 [BZ #13673]
22415 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
22416 * stdio-common/bug-vfprintf-nargs.c: Likewise.
22417 * sysdeps/i386/crti.S: Likewise.
22418 * sysdeps/i386/crtn.S: Likewise.
22419 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
22420 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
22421 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
22422 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
22423 * sysdeps/sh/crti.S: Likewise.
22424 * sysdeps/sh/crtn.S: Likewise.
22425 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
22426
7b6235f2
PE
22427 [BZ #13673]
22428 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
22429 with URL.
22430 * locale/programs/locfile-kw.gperf: Likewise.
22431 * locale/programs/charmap-kw.h: Regenerated.
22432 * locale/programs/locfile-kw.h: Likewise.
22433
547b5e30
PE
22434 [BZ #13673]
22435 * intl/plural.y: Replace FSF snail mail address with URL.
22436 * intl/plural.c: Regenerated.
22437
5f0a5dae
RH
224382012-03-09 Richard Henderson <rth@twiddle.net>
22439
22440 * include/math_private.h: Remove file.
22441 * math/math_private.h: Move file ...
22442 * sysdeps/generic/math_private.h: ... here.
22443
b8c03620
RH
22444 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
22445 * sysdeps/powerpc/fpu/math_private.h: Likewise.
22446 * sysdeps/x86_64/fpu/math_private.h: Likewise.
22447
4e234f5d 22448 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
22449 and <math_private.h>.
22450 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
22451 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
22452 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
22453 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
22454 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
22455 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
22456 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22457 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22458 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22459 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22460 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22461 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22462 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22463 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22464 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22465 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22466 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22467 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22468 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22469 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22470 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22471 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22472 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22473 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22474 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
22475 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22476 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22477 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22478 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22479 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22480 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22481 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22482 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
22483 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22484 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22485 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22486 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22487 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22488 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22489 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22490 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
22491 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22492 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
22493 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22494 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
22495 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22496 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
22497 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
22498 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22499 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22500 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
22501 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
22502 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
22503 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22504 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
22505 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22506 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22507 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22508 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
22509 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
22510 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22511 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
22512 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22513 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22514 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
22515 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22516 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22517 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22518 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
22519 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
22520 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
22521 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22522 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
22523 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22524 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
22525 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
22526 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
22527 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22528 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
22529 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
22530 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
22531 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
22532 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
22533 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22534 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22535 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
22536 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
22537 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
22538 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22539 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22540 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22541 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22542 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22543 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22544 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22545 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22546 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22547 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22548 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22549 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22550 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22551 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22552 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22553 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22554 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
22555 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22556 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22557 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22558 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
22559 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22560 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
22561 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
22562 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22563 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
22564 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
22565 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22566 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
22567 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
22568 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
22569 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22570 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
22571 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
22572 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22573 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
22574 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
22575 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
22576 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22577 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
22578 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
22579 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
22580 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
22581 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22582 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
22583 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
22584 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
22585 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
22586 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22587 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
22588 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
22589 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22590 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22591 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
22592 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
22593 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
22594 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
22595 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
22596 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
22597 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
22598 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
22599 * sysdeps/ieee754/k_standard.c: Likewise.
22600 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22601 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22602 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22603 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22604 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22605 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22606 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22607 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22608 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22609 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22610 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22611 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22612 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22613 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22614 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22615 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22616 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
22617 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22618 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22619 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
22620 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
22621 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
22622 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
22623 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
22624 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
22625 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
22626 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
22627 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
22628 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
22629 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
22630 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
22631 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
22632 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
22633 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
22634 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
22635 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
22636 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
22637 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
22638 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
22639 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
22640 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
22641 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
22642 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
22643 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
22644 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
22645 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
22646 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
22647 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
22648 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
22649 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
22650 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
22651 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
22652 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
22653 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
22654 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22655 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
22656 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
22657 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
22658 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
22659 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
22660 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
22661 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
22662 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
22663 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22664 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22665 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22666 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22667 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22668 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22669 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22670 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22671 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22672 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22673 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22674 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22675 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22676 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
22677 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22678 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22679 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
22680 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
22681 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
22682 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
22683 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
22684 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
22685 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
22686 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
22687 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
22688 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22689 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
22690 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
22691 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
22692 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
22693 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
22694 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
22695 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
22696 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
22697 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
22698 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
22699 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
22700 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
22701 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
22702 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
22703 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
22704 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
22705 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
22706 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22707 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
22708 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
22709 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
22710 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
22711 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
22712 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22713 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22714 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22715 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22716 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22717 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22718 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22719 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22720 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22721 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22722 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22723 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22724 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22725 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
22726 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22727 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
22728 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
22729 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
22730 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22731 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22732 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22733 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
22734 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
22735 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
22736 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
22737 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
22738 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22739 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
22740 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
22741 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22742 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
22743 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
22744 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
22745 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22746 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22747 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
22748 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
22749 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
22750 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22751 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22752 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
22753 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22754 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
22755 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
22756 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
22757 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
22758 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
22759 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
22760 * sysdeps/ieee754/s_lib_version.c: Likewise.
22761 * sysdeps/ieee754/s_matherr.c: Likewise.
22762 * sysdeps/ieee754/s_signgam.c: Likewise.
22763 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22764 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22765 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
22766 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
22767 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
22768 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22769 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
22770 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
22771 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
22772 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
22773 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
22774 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
22775 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
22776 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
22777 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
22778 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
22779 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22780 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
22781 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22782 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22783 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 22784
1991fa03
JM
227852012-03-09 Joseph Myers <joseph@codesourcery.com>
22786
22787 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
22788 * sunrpc/rpc_main.c: Likewise.
22789 * sunrpc/rpc_svcout.c: Likewise.
22790
60d6f5a6
DM
227912012-03-09 David S. Miller <davem@davemloft.net>
22792
22793 * include/math_private.h: New file.
22794
4962050e
JM
227952012-03-09 Joseph Myers <joseph@codesourcery.com>
22796
02a6f887
JM
22797 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
22798 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
22799 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
22800 from <bits/socket_type.h>.
22801 (enum __socket_type): Don't define here.
22802 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
22803 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22804 bits/socket_type.h.
22805
c6e013c1
JM
22806 [BZ #13566]
22807 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
22808 checking __USE_GNU.
22809
4962050e
JM
22810 * Makerules ($(inst_includedir)/%.h): New rule.
22811 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
22812 (install-others): Remove variable setting.
22813 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
22814
38842f45
RH
228152012-03-08 Richard Henderson <rth@twiddle.net>
22816
67bb6da6
RH
22817 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
22818 from macro to inline function; merge with the
22819 !__LIBC_INTERNAL_MATH_INLINES version.
22820 (__ieee754_sqrtf): Likewise.
22821
15194b4b
RH
22822 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
22823 to inline function.
22824 (__rintf, __floor, __floorf): Likewise.
22825
64e21ede
RH
22826 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
22827 macro to inline function.
22828 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
22829
38842f45
RH
22830 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
22831 not <math/math_private.h>.
22832
c64bf5fe
DM
228332012-03-08 David S. Miller <davem@davemloft.net>
22834
22835 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
22836 copyright year.
22837 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
22838
82d86f28
TS
228392012-03-08 Thomas Schwinge <thomas@codesourcery.com>
22840
22841 * resolv/gai_misc.c (handle_requests): Fix struct timespec
22842 normalization.
22843 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
22844 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
22845
aea5d727
UD
228462012-03-08 Ulrich Drepper <drepper@gmail.com>
22847
22848 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
22849 be defined individually, they must be defined as a block. Define
22850 S for printing a string instead of hidint the different by using a
22851 macro for adding the 'l'.
22852 * stdio-common/tst-fphex-wide.c: Adjust.
22853
70bca0a3
MP
228542012-03-07 Marek Polacek <polacek@redhat.com>
22855
22856 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
22857
65b81130
MP
228582012-03-08 Marek Polacek <polacek@redhat.com>
22859
22860 [BZ #13806]
22861 * stdio-common/Makefile (tests): Add tst-fphex-wide.
22862 * stdio-common/tst-fphex.c: Define a few macros to make the
22863 test reusable. Use them.
22864 * stdio-common/tst-fphex-wide.c: New file.
22865
07037eeb
JM
228662012-03-08 Joseph Myers <joseph@codesourcery.com>
22867
a7a93d50
JM
22868 [BZ #6911]
22869 * manual/macros.texi (gnusystems): New macro.
22870 (nongnusystems): Likewise.
22871 (gnulinuxhurdsystems): Likewise.
22872 (gnuhurdsystems): Likewise..
22873 (gnulinuxsystems): Likewise.
22874 * manual/charset.texi: Use new macros or @theglibc{} to refer to
22875 variants of the GNU system, not "GNU system".
22876 * manual/conf.texi: Likewise.
22877 * manual/errno.texi: Likewise. Update example of errno macro
22878 expansion.
22879 * manual/filesys.texi: Likewise.
22880 (getumask): Document as specific to GNU/Hurd.
22881 * manual/install.texi: Likewise. Reword some references to
22882 GNU/Linux.
22883 * manual/intro.texi: Likewise.
22884 * manual/io.texi: Likewise.
22885 (File Name Portability): Detail which constraints are inapplicable
22886 to all GNU systems and which are only inapplicable to GNU/Hurd.
22887 * manual/job.texi: Likewise.
22888 * manual/llio.texi: Likewise.
22889 (O_NOCTTY): Document as present on GNU/Linux.
22890 * manual/maint.texi: Likewise.
22891 * manual/memory.texi: Likewise.
22892 * manual/pattern.texi: Likewise.
22893 * manual/pipe.texi: Likewise.
22894 * manual/process.texi: Likewise.
22895 * manual/resource.texi: Likewise.
22896 (RUSAGE_CHILDREN): Remove statement about specifying a particular
22897 child on GNU/Hurd.
22898 * manual/setjmp.texi: Likewise.
22899 * manual/signal.texi: Likewise.
22900 * manual/startup.texi: Likewise.
22901 * manual/stdio.texi: Likewise.
22902 * manual/terminal.texi: Likewise.
22903 (ONLCR): Document as POSIX.
22904 (OXTABS): Document availability on GNU/Linux as XTABS.
22905 (ONOEOT): Document availability separately from other bits.
22906 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
22907 * manual/time.texi: Likewise.
22908 * manual/users.texi: Likewise.
22909 * INSTALL: Regenerated.
22910 * sysdeps/gnu/errlist.c: Regenerated.
22911
07037eeb
JM
22912 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
22913 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
22914 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
22915 puts.
22916 * configure: Regenerated.
22917
d1d3431a
JM
229182012-03-07 Joseph Myers <joseph@codesourcery.com>
22919
af6a1e37
JM
22920 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
22921 default includes instead of AC_HEADER_CHECK.
22922 * sysdeps/i386/configure: Regenerated.
22923
d1d3431a
JM
22924 [BZ #10716]
22925 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
22926 * math/s_cacoshf.c (__cacoshf): Likewise.
22927 * math/s_cacoshl.c (__cacoshl): Likewise.
22928 * math/s_casinh.c (__casinh): Set signs of result from argument.
22929 * math/s_casinhf.c (__casinhf): Likewise.
22930 * math/s_casinhl.c (__casinhl): Likewise.
22931 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
22932 (casinh_test): Add more tests.
22933 * sysdeps/i386/fpu/libm-test-ulps: Update.
22934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22935
482ff4da
UD
229362012-03-07 Ulrich Drepper <drepper@gmail.com>
22937
872fda05
UD
22938 * po/zh_TW.po: Update from translation team.
22939
a4300c7a
UD
22940 * login/Makefile (distribute): Remove variable.
22941 * catgets/Makefile: Likewise.
22942 * mach/Makefile: Likewise.
22943 * malloc/Makefile: Likewise.
22944 * misc/Makefile: Likewise.
22945 * iconv/Makefile: Likewise.
22946 * nscd/Makefile: Likewise.
22947 * hurd/Makefile: Likewise.
22948 * manual/Makefile: Likewise.
22949 * locale/Makefile: Likewise.
22950 * intl/Makefile: Likewise.
22951 * conform/Makefile: Likewise.
22952 * nss/Makefile: Likewise.
22953 * time/Makefile: Likewise.
22954 * soft-fp/Makefile: Likewise.
22955 * dirent/Makefile: Likewise.
22956 * gmon/Makefile: Likewise.
22957 * po/Makefile: Likewise.
22958 * rt/Makefile: Likewise.
22959 * socket/Makefile: Likewise.
22960 * math/Makefile: Likewise.
22961 * signal/Makefile: Likewise.
22962 * debug/Makefile: Likewise.
22963 * elf/Makefile: Likewise.
22964 * timezone/Makefile: Likewise.
22965 * stdlib/Makefile: Likewise.
22966 * iconvdata/Makefile: Likewise.
22967 * sunrpc/Makefile: Likewise.
22968 * io/Makefile: Likewise.
22969 * argp/Makefile: Likewise.
22970 * inet/Makefile: Likewise.
22971 * hesiod/Makefile: Likewise.
22972 * grp/Makefile: Likewise.
22973 * csu/Makefile: Likewise.
22974 * wctype/Makefile: Likewise.
22975 * crypt/Makefile: Likewise.
22976 * libio/Makefile: Likewise.
22977 * string/Makefile: Likewise.
22978 * nis/Makefile: Likewise.
22979 * resolv/Makefile: Likewise.
22980 * stdio-common/Makefile: Likewise.
22981 * wcsmbs/Makefile: Likewise.
22982 * dlfcn/Makefile: Likewise.
22983 * posix/Makefile: Likewise.
22984
3b7c4e74 22985 [BZ #6959]
482ff4da
UD
22986 * timezone/Makefile: Don't install timezone files, just the programs
22987 and scripts.
22988
f72ed77d
UD
229892012-03-06 Ulrich Drepper <drepper@gmail.com>
22990
a000466f
UD
22991 * nss/databases.def: Add missing gshadow entry.
22992
f72ed77d
UD
22993 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
22994
a53b7a4e
MP
229952012-03-06 Marek Polacek <polacek@redhat.com>
22996
22997 [BZ #13726]
22998 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
22999 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
23000 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
23001 * stdio-common/tst-long-dbl-fphex.c: New file.
23002
e9258400
DM
230032012-03-06 David S. Miller <davem@davemloft.net>
23004
23005 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23006 (set_obp_int): New function.
23007 (get_obp_int): New function.
23008 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
23009 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
23010 Avoid unused variable warnings on 'val' and use builtin_expect.
23011 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
23012 __builtin_expect.
e9258400
DM
23013 (INLINE_CLONE_SYSCALL): Likewise.
23014
3bd2c723
DM
230152012-03-05 David S. Miller <davem@davemloft.net>
23016
23017 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23018
bbb78d03
AS
230192012-03-05 Andreas Schwab <schwab@linux-m68k.org>
23020
884c5db4
AS
23021 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23022
bbb78d03
AS
23023 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
23024 only for |x| >= 40.
23025 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23026
1c9f702a 230272012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
23028
23029 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
23030 Replace gettimeofday with __vdso_gettimeofday.
23031
7be16f82
RM
23032 * sysdeps/unix/sysv/linux/x86_64/init-first.c
23033 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
23034 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
23035
23036 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
23037 time with __vdso_time.
23038
ed58a00f
JM
230392012-03-05 Joseph Myers <joseph@codesourcery.com>
23040
23041 * manual/lang.texi (size_t): Note types to which size_t may be
23042 equivalent with the GNU C Library, but do not describe when
23043 differences between them are significant.
23044
30ee4ced
AJ
230452012-03-05 Andreas Jaeger <aj@suse.de>
23046
23047 * sysdeps/i386/fpu/libm-test-ulps: Update.
23048
b7cd39e8
JM
230492012-03-05 Joseph Myers <joseph@codesourcery.com>
23050
23051 [BZ #3976]
23052 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
23053 (__ieee754_pow): Save and restore rounding mode and use
23054 round-to-nearest for main computations.
23055 * math/libm-test.inc (pow_test_tonearest): New function.
23056 (pow_test_towardzero): Likewise.
23057 (pow_test_downward): Likewise.
23058 (pow_test_upward): Likewise.
23059 (main): Call the new functions.
23060 * sysdeps/i386/fpu/libm-test-ulps: Update.
23061 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
23062
23063 [BZ #3976]
23064 * math/libm-test.inc (cosh_test_tonearest): New function.
23065 (cosh_test_towardzero): Likewise.
23066 (cosh_test_downward): Likewise.
23067 (cosh_test_upward): Likewise.
23068 (sinh_test_tonearest): Likewise.
23069 (sinh_test_towardzero): Likewise.
23070 (sinh_test_downward): Likewise.
23071 (sinh_test_upward): Likewise.
23072 (main): Call the new functions.
23073 * sysdeps/i386/fpu/libm-test-ulps: Update.
23074 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23075
6c6a98c9
TV
230762012-03-05 Tom de Vries <tom@codesourcery.com>
23077
23078 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
23079 default stack guard is set in last bytes.
23080 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
23081
21bb2d2e 230822012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 23083
21bb2d2e 23084 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 23085
21bb2d2e
AJ
23086 [BZ #13656]
23087 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
23088 possibly allocate from heap instead of stack.
23089 * stdio-common/bug-vfprintf-nargs.c: New file.
23090 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 23091
c6922934
AS
230922012-03-03 Andreas Schwab <schwab@linux-m68k.org>
23093
23094 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23095
bc957d53
MP
230962012-03-03 Marek Polacek <polacek@redhat.com>
23097
23098 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
23099 * math/math_private.h: Likewise.
23100 * stdlib/tst-strtod.c: Likewise.
23101 * sysdeps/i386/i486/bits/atomic.h: Likewise.
23102 * sysdeps/x86_64/bits/atomic.h: Likewise.
23103
6358490d
DM
231042012-03-02 David S. Miller <davem@davemloft.net>
23105
23106 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
23107 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
23108 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
23109 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
23110 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
23111 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
23112 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
23113 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
23114
01ae168d
RM
231152012-03-02 Roland McGrath <roland@hack.frob.com>
23116
d9a17c07
RM
23117 [BZ #13792]
23118 * manual/examples/README: New file, says the example source files
23119 can be used under GPL>=2.
23120 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
23121 line containing just "*/".
23122 * manual/examples/add.c: Add copyright header (GPL>=2).
23123 * manual/examples/argp-ex1.c: Likewise.
23124 * manual/examples/argp-ex2.c: Likewise.
23125 * manual/examples/argp-ex3.c: Likewise.
23126 * manual/examples/argp-ex4.c: Likewise.
23127 * manual/examples/atexit.c: Likewise.
23128 * manual/examples/db.c: Likewise.
23129 * manual/examples/dir.c: Likewise.
23130 * manual/examples/dir2.c: Likewise.
23131 * manual/examples/execinfo.c: Likewise.
23132 * manual/examples/filecli.c: Likewise.
23133 * manual/examples/filesrv.c: Likewise.
23134 * manual/examples/fmtmsgexpl.c: Likewise.
23135 * manual/examples/genpass.c: Likewise.
23136 * manual/examples/inetcli.c: Likewise.
23137 * manual/examples/inetsrv.c: Likewise.
23138 * manual/examples/isockad.c: Likewise.
23139 * manual/examples/longopt.c: Likewise.
23140 * manual/examples/memopen.c: Likewise.
23141 * manual/examples/memstrm.c: Likewise.
23142 * manual/examples/mkfsock.c: Likewise.
23143 * manual/examples/mkisock.c: Likewise.
23144 * manual/examples/mygetpass.c: Likewise.
23145 * manual/examples/pipe.c: Likewise.
23146 * manual/examples/popen.c: Likewise.
23147 * manual/examples/rprintf.c: Likewise.
23148 * manual/examples/search.c: Likewise.
23149 * manual/examples/select.c: Likewise.
23150 * manual/examples/setjmp.c: Likewise.
23151 * manual/examples/sigh1.c: Likewise.
23152 * manual/examples/sigusr.c: Likewise.
23153 * manual/examples/stpcpy.c: Likewise.
23154 * manual/examples/strdupa.c: Likewise.
23155 * manual/examples/strftim.c: Likewise.
23156 * manual/examples/strncat.c: Likewise.
23157 * manual/examples/subopt.c: Likewise.
23158 * manual/examples/swapcontext.c: Likewise.
23159 * manual/examples/termios.c: Likewise.
23160 * manual/examples/testopt.c: Likewise.
23161 * manual/examples/testpass.c: Likewise.
23162 * manual/examples/timeval_subtract.c: Likewise.
23163
01ae168d
RM
23164 [BZ #13792]
23165 * manual/time.texi (Elapsed Time): Move timeval_subtract example
23166 function to ...
23167 * manual/timeval_subtract.c.texi: ... here, new file.
23168
49efa33d
DM
231692012-03-02 David S. Miller <davem@davemloft.net>
23170
23171 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
23172
28afd92d
JM
231732012-03-02 Joseph Myers <joseph@codesourcery.com>
23174
804360ed
JM
23175 [BZ #3976]
23176 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
23177 (__sin): Save and restore rounding mode and use round-to-nearest
23178 for all computations.
23179 (__cos): Save and restore rounding mode and use round-to-nearest
23180 for all computations.
23181 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
23182 <fenv.h>.
23183 (tan): Save and restore rounding mode and use round-to-nearest for
23184 all computations.
23185 * math/libm-test.inc (cos_test_tonearest): New function.
23186 (cos_test_towardzero): Likewise.
23187 (cos_test_downward): Likewise.
23188 (cos_test_upward): Likewise.
23189 (sin_test_tonearest): Likewise.
23190 (sin_test_towardzero): Likewise.
23191 (sin_test_downward): Likewise.
23192 (sin_test_upward): Likewise.
23193 (tan_test_tonearest): Likewise.
23194 (tan_test_towardzero): Likewise.
23195 (tan_test_downward): Likewise.
23196 (tan_test_upward): Likewise.
23197 (main): Call the new functions.
23198 * sysdeps/i386/fpu/libm-test-ulps: Update.
23199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23200
a6d06d7b
JM
23201 [BZ #10135]
23202 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
23203 small n, then large n, before computing and testing k+n.
23204 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
23205 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
23206 Likewise.
23207 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
23208 Likewise.
23209 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
23210 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
23211 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
23212 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
23213 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
23214 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
23215 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
23216 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
23217 * math/libm-test.inc (scalbn_test): Add more tests.
23218 (scalbln_test): Likewise.
23219
07e12bb3
JM
23220 * manual/filesys.texi (mode_t): Describe constraints on size and
23221 signedness, not exact equivalence to a particular type.
23222 (ino_t): Likewise.
23223 (ino64_t): Likewise.
23224 (dev_t): Likewise.
23225 (nlink_t): Likewise.
23226 (blkcnt_t): Likewise.
23227 (blkcnt64_t): Likewise.
23228 * manual/llio.texi (off_t): Likewise.
23229
28afd92d
JM
23230 [BZ #3976]
23231 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
23232 (__ieee754_exp): Save and restore rounding mode and use
23233 round-to-nearest for all computations.
23234 * math/libm-test.inc (exp_test_tonearest): New function.
23235 (exp_test_towardzero): Likewise.
23236 (exp_test_downward): Likewise.
23237 (exp_test_upward): Likewise.
23238 (main): Call the new functions.
23239 * sysdeps/i386/fpu/libm-test-ulps: Update.
23240 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23241
b1eeb65d
CD
232422012-03-01 Chris Demetriou <cgd@google.com>
23243
23244 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
23245 have predictable order.
23246
53362a4b
DM
232472012-03-01 David S. Miller <davem@davemloft.net>
23248
3c969083
DM
23249 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
23250
759707de
DM
23251 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
23252 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
23253 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
23254 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
23255
dfdb8ff2
DM
23256 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
23257 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
23258 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
23259 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
23260 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
23261 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
23262 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
23263 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
23264 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
23265
ead89f96
DM
23266 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23267
7f66bd07
DM
23268 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
23269 * sysdeps/sparc/fpu/libm-test-ulps: to here.
23270 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
23271
53362a4b
DM
23272 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
23273 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23274 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23275 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
23276 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
23277 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
23278 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
23279 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23280 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23281 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
23282 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
23283 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23284 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23285 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23286 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23287 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23288 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
23289 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
23290 * sysdeps/sparc/elf/configure: Regenerated.
23291
7b1902cb
JM
232922012-03-01 Joseph Myers <joseph@codesourcery.com>
23293
bec039bc
JM
23294 * configure.in (AS, LD): Require binutils 2.20 or later.
23295 * configure: Regenerated.
23296 * manual/install.texi (Tools for Compilation): Give binutils 2.20
23297 as required minimum version.
23298 * INSTALL: Regenerated.
23299
7b1902cb
JM
23300 [BZ #2541]
23301 [BZ #4108]
23302 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
23303 before squaring exponent.
23304 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
23305 bottom long double and 27 bits of top long double before squaring
23306 exponent.
23307 * math/libm-test.inc (erfc_test): Add more tests.
23308 * sysdeps/i386/fpu/libm-test-ulps: Update.
23309 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23310 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23311
f775c276
KT
233122012-03-01 Kai Tietz <ktietz@redhat.com>
23313
23314 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
23315 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
23316 containing bit-fields.
23317 * soft-fp/extended.h (_FP_UNION_E): Likewise.
23318 * soft-fp/single.h (_FP_UNION_S): Likewise.
23319 * soft-fp/double.h (_FP_UNION_D): Likewise.
23320
5b8a4d4a
JM
233212012-02-29 Joseph Myers <joseph@codesourcery.com>
23322
0bab47b6
JM
23323 [BZ #13786]
23324 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
23325 not include ../strcmp.S.
23326 [USE_AS_STRNCASECMP_L]: Likewise.
23327 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
23328 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
23329 * sysdeps/i386/i686/multiarch/strncase_l-c.c
23330 (__strncasecmp_l_ia32): Define as alias to
23331 __strncasecmp_l_nonascii.
23332
0fcad3e2
JM
23333 [BZ #5794]
23334 * math/libm-test.inc (expm1_test): Add test for bug 5794.
23335 * sysdeps/i386/fpu/libm-test-ulps: Update.
23336 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23337
5b8a4d4a
JM
23338 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
23339 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23340
8fdceb2e
JL
233412012-02-29 Jeff Law <law@redhat.com>
23342
23343 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
23344 out of bounds read.
23345
1f393a11
MP
233462012-02-29 Marek Polacek <polacek@redhat.com>
23347
23348 [BZ #13706]
23349 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
23350 * elf/Makefile: Add rules to run tst-unused-dep.out.
23351
8847f037
DM
233522012-02-28 David S. Miller <davem@davemloft.net>
23353
23354 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
23355 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
23356 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
23357 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
23358 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
23359 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
23360
169d7f11
JM
233612012-02-29 Joseph Myers <joseph@codesourcery.com>
23362
23363 * math/libm-test.inc (llround_test): Move one test from
23364 lround_test. Use TEST_f_L in moved test.
23365 (lround_test): Move misplaced test to llround_test. Add testcase
23366 from bug 2561.
23367
39adf059
UD
233682012-02-28 Ulrich Drepper <drepper@gmail.com>
23369
23370 * sysdeps/x86_64/fpu/e_expf.S: New file.
23371 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
23372
71b5d1c5
SB
233732012-02-28 Stanislav Brabec <sbrabec@suse.cz>
23374
23375 [BZ #13637]
23376 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
23377 of remain_len that may cause incomplete multi-byte character and
23378 false match.
23379 * posix/bug-regex33.c: New file.
23380 * posix/Makefile (tests): Add bug-regex33.
23381
1f77f049
JM
233822012-02-28 Joseph Myers <joseph@codesourcery.com>
23383
23384 * manual/macros.texi: New file.
23385 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
23386 * manual/libc.texinfo: Include macros.texi.
23387 * manual/creatute.texi: Likewise.
23388 * manual/install.texi: Likewise.
23389 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
23390 @glibcadj{} in references to the GNU C Library.
23391 * manual/charset.texi: Likewise.
23392 * manual/conf.texi: Likewise.
23393 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
23394 when not using those macros.
23395 * manual/creature.texi: Likewise.
23396 * manual/crypt.texi: Likewise.
23397 * manual/errno.texi: Likewise.
23398 * manual/filesys.texi: Likewise.
23399 * manual/header.texi: Likewise.
23400 * manual/install.texi: Likewise.
23401 * manual/intro.texi: Likewise.
23402 * manual/io.texi: Likewise.
23403 * manual/job.texi: Likewise.
23404 * manual/lang.texi: Likewise.
23405 * manual/libc.texiinfo: Likewise.
23406 * manual/llio.texi: Likewise.
23407 * manual/locale.texi: Likewise.
23408 * manual/maint.texi: Likewise.
23409 * manual/math.texi: Likewise.
23410 * manual/memory.texi: Likewise.
23411 * manual/message.texi: Likewise.
23412 * manual/nss.texi: Likewise.
23413 * manual/pattern.texi: Likewise.
23414 * manual/process.texi: Likewise.
23415 * manual/resource.texi: Likewise.
23416 * manual/search.texi: Likewise.
23417 * manual/setjmp.texi: Likewise.
23418 * manual/signal.texi: Likewise.
23419 * manual/socket.texi: Likewise.
23420 * manual/startup.texi: Likewise.
23421 * manual/stdio.texi: Likewise.
23422 * manual/string.texi: Likewise.
23423 * manual/sysinfo.texi: Likewise.
23424 * manual/syslog.texi: Likewise.
23425 * manual/terminal.texi: Likewise.
23426 * manual/time.texi: Likewise.
23427 * manual/users.texi: Likewise.
23428 * INSTALL: Regenerated.
23429 * NOTES: Regenerated.
d40c5d54 23430 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 23431
450bf206
AS
234322012-02-28 Andreas Schwab <schwab@linux-m68k.org>
23433
23434 * include/dirent.h: Include <dirstream.h> before
23435 <dirent/dirent.h>.
23436
741a235b
DM
234372012-02-28 David S. Miller <davem@davemloft.net>
23438
23439 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
23440 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
23441 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
23442 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
23443
d6b5aa58
DM
234442012-02-27 David S. Miller <davem@davemloft.net>
23445
1aff59a3
DM
23446 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
23447 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
23448 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
23449 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
23450
d6b5aa58
DM
23451 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
23452 frame pointer instead of stack pointer relative arg slot.
23453 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23454 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23455 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23456
433f48bf
CD
234572012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
23458
23459 [BZ #3992]
23460 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
23461
d674b76d
DM
234622012-02-27 David S. Miller <davem@davemloft.net>
23463
23464 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
23465 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23466 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
23467 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
23468 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23469 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23470 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
23471 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
23472
0e7727f7
JM
234732012-02-27 Joseph Myers <joseph@codesourcery.com>
23474
23475 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
23476 later. Allow versions 5-9.
43be4ca2 23477 * configure: Regenerated.
0e7727f7
JM
23478 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
23479 required minimum version and 4.6 as recommended version. Do not
23480 mention bugs in GCC 2.7 and 2.8.
43be4ca2 23481 * INSTALL: Regenerated.
0e7727f7 23482
a78bc654
DM
234832012-02-27 David S. Miller <davem@davemloft.net>
23484
428d5830
DM
23485 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
23486 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
23487 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
23488 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
23489 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
23490 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
23491 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
23492 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
23493
a78bc654
DM
23494 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
23495 manipulate bits before adding and subtracting TWO112[sx].
23496 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23497
4579f81c
RM
234982012-02-27 Roland McGrath <roland@hack.frob.com>
23499
36c8acb4
RM
23500 [BZ #13775]
23501 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
23502 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
23503 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
23504 being in POSIX, because they are in 1003.1-2008.
23505
84ad622b
RM
23506 * rt/tst-aio.c: Include <fcntl.h>.
23507 * rt/tst-aio7.c: Likewise.
23508 * rt/tst-aio64.c: Likewise.
23509
4579f81c
RM
23510 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
23511
abd923db
JM
235122012-02-27 Joseph Myers <joseph@codesourcery.com>
23513
23514 * manual/install.texi (--with-headers): Describe headers as
23515 interface headers, not private headers.
23516 (Specific advice for GNU/Linux systems): Describe use of headers
23517 from "make headers_install", not private headers from older
23518 kernels.
43be4ca2 23519 * INSTALL: Regenerated.
abd923db
JM
23520 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
23521 Change to 2.6.19.
23522 * sysdeps/unix/sysv/linux/configure: Regenerated.
23523
6664049b
JM
23524 * manual/llio.texi (fclean): Remove documentation.
23525
bb8b6697
JM
23526 * manual/Makefile (libc-texi-generated): New variable. Include
23527 version.texi.
23528 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
23529 $(libc-texi-generated), not duplicated list of files.
23530 (version.texi, stamp-version): New rules.
23531 (realclean): Remove $(libc-texi-generated), not individual files
23532 from that list. Do not remove dir-add.texinfo.
23533 * manual/libc.texinfo: Comment out uses of edition numbers and
23534 references to printed manual. Remove last-updated dates.
23535 (EDITION): Comment out.
23536 (ISBN): Likewise.
23537 (VERSION, UPDATED): Remove.
23538 (version.texi): Include.
23539
12e5c3b9
AS
235402012-02-27 Andreas Schwab <schwab@linux-m68k.org>
23541
23542 * sysdeps/posix/spawni.c: Include <signal.h>.
23543 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
23544 * sysdeps/pthread/aio_fsync.c: Likewise.
23545
4efeffc1 235462012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 23547
ba63ba08
UD
23548 * conform/Makefile (tests): Run only when not cross-compiling and
23549 when fast-check is not defined.
23550
d94a4670
UD
23551 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
23552 * conform/data/limits.h-data: Fixes for POSIX2008.
23553 * conform/run-conformtest.sh: Run all tests.
23554 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
23555 headers.
23556 * include/bits/dlfcn.h: Likewise.
23557 * include/langinfo.h: Likewise.
23558 * include/monetary.h: Likewise.
23559 * include/sys/poll.h: Likewise.
23560
23561 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
23562 for __USE_GNU.
23563 * posix/spawn.h: Define __need_sigset_t.
23564 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
23565 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
23566 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
23567 to get sigevent_t only.
23568 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
23569 only for __USE_GNU.
23570 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23571 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
23572 process_vm_writev only for __USE_GNU.
23573 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
23574
23575 * conform/Makefile: For now ignore errors from run-conformtest.
23576 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
23577 POSIX to avoid namespace pollution. Don't prepend headers.
23578 * conform/data/aio.h-data: Fixes for POSIX testing.
23579 * conform/data/fcntl.h-data: Likewise.
23580 * conform/data/glob.h-data: Likewise.
23581 * conform/data/grp.h-data: Likewise.
23582 * conform/data/pthread.h-data: Likewise.
23583 * conform/data/pwd.h-data: Likewise.
23584 * conform/data/signal.h-data: Likewise.
23585 * conform/data/spawn.h-data: Likewise.
23586 * conform/data/stdio.h-data: Likewise.
23587 * conform/data/stdlib.h-data: Likewise.
23588 * conform/data/stropts.h-data: Likewise.
23589 * conform/data/sys/mman.h-data: Likewise.
23590 * conform/data/sys/stat.h-data: Likewise.
23591 * conform/data/sys/types.h-data: Likewise.
23592 * conform/data/sys/wait.h-data: Likewise.
23593 * conform/data/time.h-data: Likewise.
23594 * conform/data/unistd.h-data: Likewise.
23595 * conform/data/utime.h-data: Likewise.
23596
23597 * io/sys/stat.h: fchmod was always in POSIX.
23598 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
23599 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
23600 * rt/aio.h: Define __need_timespec before including <time.h>.
23601 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
23602 struct. Add forward declaration of pthread_attr_t and use it in
23603 sigevent.
23604 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
23605 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23606 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
23607 always remove CLK_TCK definition.
23608
c20105c3
AS
236092012-02-26 Andreas Schwab <schwab@linux-m68k.org>
23610
23611 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
23612
7a270350
UD
236132012-02-25 Ulrich Drepper <drepper@gmail.com>
23614
31341567
UD
23615 * conform/run-conformtest.sh: New file.
23616 * conform/Makefile: Run run-conformtest for tests.
23617 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
23618 support.
23619
23620 * conform/data/uchar.h-data: New file.
23621 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
23622 * conform/data/arpa/inet.h-data: Likewise.
23623 * conform/data/assert.h-data: Likewise.
23624 * conform/data/complex.h-data: Likewise.
23625 * conform/data/cpio.h-data: Likewise.
23626 * conform/data/ctype.h-data: Likewise.
23627 * conform/data/dirent.h-data: Likewise.
23628 * conform/data/dlfcn.h-data: Likewise.
23629 * conform/data/errno.h-data: Likewise.
23630 * conform/data/fcntl.h-data: Likewise.
23631 * conform/data/float.h-data: Likewise.
23632 * conform/data/fmtmsg.h-data: Likewise.
23633 * conform/data/fnmatch.h-data: Likewise.
23634 * conform/data/ftw.h-data: Likewise.
23635 * conform/data/glob.h-data: Likewise.
23636 * conform/data/grp.h-data: Likewise.
23637 * conform/data/iconv.h-data: Likewise.
23638 * conform/data/inttypes.h-data: Likewise.
23639 * conform/data/langinfo.h-data: Likewise.
23640 * conform/data/libgen.h-data: Likewise.
23641 * conform/data/limits.h-data: Likewise.
23642 * conform/data/locale.h-data: Likewise.
23643 * conform/data/math.h-data: Likewise.
23644 * conform/data/monetary.h-data: Likewise.
23645 * conform/data/mqueue.h-data: Likewise.
23646 * conform/data/ndbm.h-data: Likewise.
23647 * conform/data/net/if.h-data: Likewise.
23648 * conform/data/netdb.h-data: Likewise.
23649 * conform/data/netinet/in.h-data: Likewise.
23650 * conform/data/nl_types.h-data: Likewise.
23651 * conform/data/poll.h-data: Likewise.
23652 * conform/data/pthread.h-data: Likewise.
23653 * conform/data/pwd.h-data: Likewise.
23654 * conform/data/regex.h-data: Likewise.
23655 * conform/data/sched.h-data: Likewise.
23656 * conform/data/search.h-data: Likewise.
23657 * conform/data/semaphore.h-data: Likewise.
23658 * conform/data/setjmp.h-data: Likewise.
23659 * conform/data/signal.h-data: Likewise.
23660 * conform/data/spawn.h-data: Likewise.
23661 * conform/data/stdarg.h-data: Likewise.
23662 * conform/data/stdio.h-data: Likewise.
23663 * conform/data/stdlib.h-data: Likewise.
23664 * conform/data/string.h-data: Likewise.
23665 * conform/data/strings.h-data: Likewise.
23666 * conform/data/stropts.h-data: Likewise.
23667 * conform/data/sys/ipc.h-data: Likewise.
23668 * conform/data/sys/mman.h-data: Likewise.
23669 * conform/data/sys/msg.h-data: Likewise.
23670 * conform/data/sys/resource.h-data: Likewise.
23671 * conform/data/sys/select.h-data: Likewise.
23672 * conform/data/sys/sem.h-data: Likewise.
23673 * conform/data/sys/shm.h-data: Likewise.
23674 * conform/data/sys/socket.h-data: Likewise.
23675 * conform/data/sys/stat.h-data: Likewise.
23676 * conform/data/sys/statvfs.h-data: Likewise.
23677 * conform/data/sys/time.h-data: Likewise.
23678 * conform/data/sys/timeb.h-data: Likewise.
23679 * conform/data/sys/times.h-data: Likewise.
23680 * conform/data/sys/types.h-data: Likewise.
23681 * conform/data/sys/uio.h-data: Likewise.
23682 * conform/data/sys/un.h-data: Likewise.
23683 * conform/data/sys/utsname.h-data: Likewise.
23684 * conform/data/sys/wait.h-data: Likewise.
23685 * conform/data/syslog.h-data: Likewise.
23686 * conform/data/tar.h-data: Likewise.
23687 * conform/data/termios.h-data: Likewise.
23688 * conform/data/utime.h-data: Likewise.
23689 * conform/data/utmpx.h-data: Likewise.
23690 * conform/data/varargs.h-data: Likewise.
23691 * conform/data/wchar.h-data: Likewise.
23692 * conform/data/wctype.h-data: Likewise.
23693 * conform/data/wordexp.h-data: Likewise.
23694
23695 * include/stropts.h: New file.
23696 * include/uchar.h: New file.
23697 * include/aio.h: Changes to allow conformtest.pl to use the headers.
23698 * include/assert.h: Likewise.
23699 * include/ctype.h: Likewise.
23700 * include/dirent.h: Likewise.
23701 * include/dlfcn.h: Likewise.
23702 * include/fcntl.h: Likewise.
23703 * include/fnmatch.h: Likewise.
23704 * include/glob.h: Likewise.
23705 * include/grp.h: Likewise.
23706 * include/libio.h: Likewise.
23707 * include/locale.h: Likewise.
23708 * include/math.h: Likewise.
23709 * include/net/if.h: Likewise.
23710 * include/netdb.h: Likewise.
23711 * include/netinet/in.h: Likewise.
23712 * include/pthread.h: Likewise.
23713 * include/pwd.h: Likewise.
23714 * include/regex.h: Likewise.
23715 * include/sched.h: Likewise.
23716 * include/search.h: Likewise.
23717 * include/setjmp.h: Likewise.
23718 * include/signal.h: Likewise.
23719 * include/stdio.h: Likewise.
23720 * include/stdlib.h: Likewise.
23721 * include/string.h: Likewise.
23722 * include/sys/cdefs.h: Likewise.
23723 * include/sys/mman.h: Likewise.
23724 * include/sys/msg.h: Likewise.
23725 * include/sys/resource.h: Likewise.
23726 * include/sys/select.h: Likewise.
23727 * include/sys/socket.h: Likewise.
23728 * include/sys/stat.h: Likewise.
23729 * include/sys/statvfs.h: Likewise.
23730 * include/sys/time.h: Likewise.
23731 * include/sys/times.h: Likewise.
23732 * include/sys/uio.h: Likewise.
23733 * include/sys/utsname.h: Likewise.
23734 * include/sys/wait.h: Likewise.
23735 * include/termios.h: Likewise.
23736 * include/time.h: Likewise.
23737 * include/ulimit.h: Likewise.
23738 * include/unistd.h: Likewise.
23739 * include/utime.h: Likewise.
23740 * include/wchar.h: Likewise.
23741 * include/wctype.h: Likewise.
23742 * include/wordexp.h: Likewise.
23743
23744 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
23745
7a270350
UD
23746 * time/time.h: TIME_UTC must be a macro.
23747 Make timespec_get available for ISO C11 only as well.
23748
7724defc
UD
237492012-02-24 Ulrich Drepper <drepper@gmail.com>
23750
23751 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
23752 Reported by Peng Haitao <penght@cn.fujitsu.com>.
23753
6b1d1d46
JM
237542012-02-24 Joseph Myers <joseph@codesourcery.com>
23755
23756 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 23757
0f8bbd69
JM
237582012-02-24 Joseph Myers <joseph@codesourcery.com>
23759
23760 * manual/texinfo.tex: Update to version 2012-01-19.16.
23761
66ab80bc
JM
237622012-02-24 Joseph Myers <joseph@codesourcery.com>
23763
23764 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
23765
74981cc5
RM
237662012-02-24 Roland McGrath <roland@hack.frob.com>
23767
ee968201
RM
23768 [BZ #13738]
23769 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
23770 * manual/fdl-1.3.texi: New file.
23771 * manual/fdl-1.1.texi: File removed.
23772
74981cc5
RM
23773 [BZ #13738]
23774 * manual/libc.texinfo (FDL_VERSION): New @set.
23775 Use it for mention of FDL in cover text.
23776 (Documentation License): Use it in @include file name.
23777
7bb764bc
JM
237782012-02-22 Joseph Myers <joseph@codesourcery.com>
23779 Roland McGrath <roland@hack.frob.com>
23780
23781 [BZ #5461]
23782 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
23783 not LONG_LONG_MAX and LONG_LONG_MIN.
23784 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
23785 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
23786 name.
23787 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
23788
6cbeae47
JM
237892012-02-22 Joseph Myers <joseph@codesourcery.com>
23790
23791 [BZ #2547]
23792 [BZ #11365]
23793 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
23794 manipulate bits before adding and subtracting TWO23[sx].
23795 * math/libm-test.inc (nearbyint_test): Add more tests.
23796
fe45ce09
JM
237972012-02-22 Joseph Myers <joseph@codesourcery.com>
23798
23799 [BZ #2548]
23800 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
23801 bits before adding and subtracting TWO23[sx].
23802 * math/libm-test.inc (rint_test): Add more tests.
23803 (rint_test_tonearest): Likewise.
23804 (rint_test_towardzero): Likewise.
23805 (rint_test_downward): Likewise.
23806 (rint_test_upward: Likewise.
23807
ff3b3d82
JM
238082012-02-22 Joseph Myers <joseph@codesourcery.com>
23809
23810 [BZ #10110]
23811 * include/stdc-predef.h: New file. Extracted from features.h.
23812 * include/features.h: Include stdc-predef.h.
23813 * Makefile (headers): Add stdc-predef.h.
23814 * CONFORMANCE (Compiler limitations): Update.
23815
ef0aab35
JM
238162012-02-22 Joseph Myers <joseph@codesourcery.com>
23817
23818 * manual/libc.texinfo (VERSION, UPDATED): Revert.
23819
58639409
DM
238202012-02-21 David S. Miller <davem@davemloft.net>
23821
23822 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
23823 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23824
c0e70b25
DM
238252012-02-20 David S. Miller <davem@davemloft.net>
23826
23827 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
23828 using a normal save/restore sequence, rather than allocating a
23829 dummy stack frame just to store a frame pointer and restore.
23830 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23831
fb06851d
JM
238322012-02-21 Joseph Myers <joseph@codesourcery.com>
23833
23834 * manual/install.texi: Fix stray word in line-wrapped comment.
23835
7a8b71c3
DM
238362012-02-20 David S. Miller <davem@davemloft.net>
23837
d510c123
DM
23838 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
23839 both binutils and gcc support GOTDATA.
23840
0722d7c2
DM
23841 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
23842 "rd %pc" in the PIC register setup sequences.
23843
3d2b3019
DM
23844 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
23845 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
23846 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23847 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
23848 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23849 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23850 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23851 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23852 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
23853 (SYSCALL_ERROR_HANDLER): Likewise.
23854 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23855 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23856 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
23857 (SYSCALL_ERROR_HANDLER): Likewise.
23858
c80098a9
DM
23859 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
23860 (HAVE_GCC_GOTDATA): New.
23861 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
23862 relocation support in both binutils and gcc.
23863 * sysdeps/sparc/elf/configure: Regenerate.
23864
3a2545a0
DM
23865 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
23866 * sysdeps/sparc/sparc32/elf/configure: Delete.
23867 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
23868 * sysdeps/sparc/sparc64/elf/configure: Delete.
23869 * sysdeps/sparc/elf/configure.in: New file.
23870 * sysdeps/sparc/elf/configure: Generate.
23871
7a8b71c3
DM
23872 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
23873 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
23874 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23875 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
23876 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
23877
f1e86fca
JM
238782012-02-21 Joseph Myers <joseph@codesourcery.com>
23879
23880 * manual/install.texi: Do not mention specific glibc version
23881 numbers.
23882 * manual/libc.texinfo (VERSION, UPDATED): Update.
23883 (@copying): Use @copyright{} and range of years.
23884
0e7dfaef
JM
238852012-02-21 Joseph Myers <joseph@codesourcery.com>
23886
23887 [BZ #13695]
23888 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
23889 [crti.S not in sysdirs] (generated): Do not append.
23890 [crti.S not in sysdirs] (omit-deps): Likewise.
23891 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
23892 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
23893 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
23894 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
23895 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
23896 Likewise.
23897 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
23898 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
23899 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
23900 * csu/defs.awk: Remove file.
23901 * sysdeps/generic/initfini.c: Likewise.
23902 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
23903 variable.
23904 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
23905 Likewise.
23906
599af3ca
JM
239072012-02-20 Joseph Myers <joseph@codesourcery.com>
23908
23909 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
23910 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
23911 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
23912 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
23913 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
23914 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
23915 <bits/epoll.h>.
23916 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
23917 (__EPOLL_PACKED): Define to empty if not defined by
23918 <bits/epoll.h>.
23919 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
23920 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23921 bits/epoll.h.
23922
0e499750
JM
239232012-02-20 Joseph Myers <joseph@codesourcery.com>
23924
23925 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
23926 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
23927 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
23928 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
23929 <bits/timerfd.h>.
23930 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
23931 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23932 bits/timerfd.h.
23933
5ad91f6e
JM
239342012-02-20 Joseph Myers <joseph@codesourcery.com>
23935
23936 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
23937 in C locale.
23938 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23939 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
23940 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
23941 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23942
06b99b02
AJ
239432012-02-20 Aurelien Jarno <aurelien@aurel32.net>
23944
23945 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23946 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23947
7638c0fd
AS
239482012-02-19 Andreas Schwab <schwab@linux-m68k.org>
23949
23950 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
23951 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
23952 defined.
23953 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
23954 Likewise.
23955 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
23956 entry for 2.16.
23957
92221550
AJ
239582012-02-19 Aurelien Jarno <aurelien@aurel32.net>
23959
23960 * math/w_acos.c: Use non-signaling floating-point comparisons.
23961 * math/w_acosf.c: Likewise.
23962 * math/w_acosh.c: Likewise.
23963 * math/w_acoshf.c: Likewise.
23964 * math/w_acoshl.c: Likewise.
23965 * math/w_acosl.c: Likewise.
23966 * math/w_asin.c: Likewise.
23967 * math/w_asinf.c: Likewise.
23968 * math/w_asinl.c: Likewise.
23969 * math/w_atanh.c: Likewise.
23970 * math/w_atanhf.c: Likewise.
23971 * math/w_atanhl.c: Likewise.
23972 * math/w_exp2.c: Likewise.
23973 * math/w_exp2f.c: Likewise.
23974 * math/w_exp2l.c: Likewise.
23975 * math/w_j0.c: Likewise.
23976 * math/w_j0f.c: Likewise.
23977 * math/w_j0l.c: Likewise.
23978 * math/w_j1.c: Likewise.
23979 * math/w_j1f.c: Likewise.
23980 * math/w_j1l.c: Likewise.
23981 * math/w_jn.c: Likewise.
23982 * math/w_jnf.c: Likewise.
23983 * math/w_log.c: Likewise.
23984 * math/w_log10.c: Likewise.
23985 * math/w_log10f.c: Likewise.
23986 * math/w_log10l.c: Likewise.
23987 * math/w_log2.c: Likewise.
23988 * math/w_log2f.c: Likewise.
23989 * math/w_log2l.c: Likewise.
23990 * math/w_logf.c: Likewise.
23991 * math/w_logl.c: Likewise.
23992 * math/w_sqrt.c: Likewise.
23993 * math/w_sqrtf.c: Likewise.
23994 * math/w_sqrtl.c: Likewise.
23995 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23996 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
23997 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23998 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23999 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
24000
ebaf36eb
JM
240012012-02-19 Joseph Myers <joseph@codesourcery.com>
24002
24003 [BZ #9739]
24004 * manual/string.texi (strnlen): Use correct parameter name in
24005 equivalent expression.
24006
71c254a6
JM
240072012-02-19 Joseph Myers <joseph@codesourcery.com>
24008
24009 [BZ #11174]
24010 * manual/users.texi (seteuid): Consistently use neweuid for
24011 argument name.
24012
16d2c631
JM
240132012-02-19 Joseph Myers <joseph@codesourcery.com>
24014
24015 [BZ #13704]
24016 * manual/nss.texi (Services in the NSS configuration): Correct
24017 list of services in example configuration file.
24018
cd837b09
NB
240192012-02-19 Nick Bowler <nbowler@draconx.ca>
24020
24021 [BZ #11322]
24022 * manual/arith.texi: Remove statements about negative zero
24023 behaving identically to zero.
24024
02c4bbad
JM
240252012-02-18 Joseph Myers <joseph@codesourcery.com>
24026
24027 [BZ #5993]
24028 * manual/install.texi: Do not document upgrading from libc5.
24029
366842e7
JM
240302012-02-18 Joseph Myers <joseph@codesourcery.com>
24031
24032 [BZ #4596]
24033 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
24034
dd54084d
DM
240352012-02-18 David S. Miller <davem@davemloft.net>
24036
24037 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
24038 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
24039 %o7 across the call.
24040 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
24041 instead.
24042 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
24043 SETUP_PIC_REG_LEAF.
24044 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24045 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
24046 * sysdeps/sparc/crtn.S: Likewise.
24047
2bcc53a3
UD
240482012-02-17 Ulrich Drepper <drepper@gmail.com>
24049
24050 * aout/Makefile: Remove.
24051
09c093b5
RK
240522012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
24053
24054 [BZ #13058]
24055 * manual/examples/argp-ex1.c (main): Format definition in GNU
24056 style.
24057 * manual/examples/argp-ex2.c (main): Likewise.
24058 * manual/examples/argp-ex3.c (main): Likewise.
24059 * manual/examples/argp-ex4.c (main): Likewise.
24060 * manual/examples/longopt.c (main): Use new-style prototype
24061 definition.
24062 * manual/examples/strncat.c (main): Specify return type and use
24063 (void) for arguments.
24064 * manual/examples/subopt.c (main): Use char **argv argument.
24065
2ee633a2
JM
240662012-02-17 Joseph Myers <joseph@codesourcery.com>
24067
24068 [BZ #5077]
24069 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
24070 rounding modes.
24071
0520adde
FB
240722012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
24073
24074 [BZ #6907]
24075 * manual/string.texi (strchr): Change when strchrnul is
24076 recommended.
24077
3f4081cd
DGM
240782012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
24079
24080 [BZ #174]
24081 * manual/locale.texi (setlocale): Document LOCPATH.
24082
d1b10e78
JM
240832012-02-17 Joseph Myers <joseph@codesourcery.com>
24084
24085 [BZ #10210]
24086 * manual/process.texi (execle): Move @dots{} before last argument.
24087
79c6869c
PB
240882012-02-17 Paul Bolle <pebolle@tiscali.nl>
24089
24090 [BZ #12047]
24091 * manual/charset.texi (Generic Charset Conversion): Fix typo
24092 (LC_TYPE -> LC_CTYPE).
24093
cc6e48bc
NB
240942012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
24095
24096 [BZ #5805]
24097 * manual/arith.texi (scalbn): Use @var{} on parameter names.
24098 (scalbnf): Likewise.
24099 (scalbnl): Likewise.
24100 (scalbln): Likewise.
24101 (scalblnf): Likewise.
24102 (scalblnl): Likewise.
24103 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
24104 (vwarnx): Likewise.
24105 (verr): Likewise.
24106 (verrx): Likewise.
24107 * manual/filesys.texi (telldir): Use braces around return type.
24108 * manual/llio.texi (mmap): Add space after comma.
24109 (mmap64): Likewise.
24110 * manual/math.texi (jn): Use @var{} on parameter names.
24111 (jnf): Likewise.
24112 (jnl): Likewise.
24113 (yn): Likewise.
24114 (ynf): Likewise.
24115 (ynl): Likewise.
24116 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
24117 line.
24118 * manual/resource.texi (ulimit): Use @dots{} instead of literal
24119 "...".
24120 (sched_get_priority_min): Remove semicolon on @deftypefun line.
24121 (sched_get_priority_max): Likewise.
24122 * manual/signal.texi (sigvec): Add space after comma.
24123 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
24124 names.
24125 (if_indextoname): Likewise.
24126 (if_freenameindex): Likewise.
24127 (sendto): Use ',' instead of '.' in prototype.
24128 * manual/startup.texi (syscall): Use @dots{} instead of literal
24129 "...".
24130 * manual/stdio.texi (__fpending): Separate initial words of
24131 paragraph from @deftypefun line.
24132 * manual/syslog.texi (syslog): Use @dots{} instead of literal
24133 "...".
24134 (vsyslog): Use @var{} on parameter names.
24135 * manual/terminal.texi (stty): Use @var{} on parameter names.
24136 * manual/users.texi (getutmp): Use @var{} on parameter names.
24137 (getutmpx): Likewise.
24138
5b23062f
JM
241392012-02-17 Joseph Myers <joseph@codesourcery.com>
24140
24141 [BZ #6884]
24142 * manual/stdio.texi (fopen): Fix typos in description of
24143 ",ccs=STRING".
24144
8dee4833
AJ
241452012-02-17 Aurelien Jarno <aurelien@aurel32.net>
24146
24147 [BZ #4026]
24148 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
24149 get clock_id definition.
24150
9078ce93
TS
241512012-02-17 Thomas Schwinge <thomas@schwinge.name>
24152
24153 [BZ #4822]
24154 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
24155 (madvise): Cast every argument to void on its own.
24156
3835c55f
JM
241572012-02-17 Joseph Myers <joseph@codesourcery.com>
24158
24159 [BZ #9902]
24160 * manual/startup.texi (Exit Status): Fix typo.
24161
35c47e37
JM
241622012-02-17 Joseph Myers <joseph@codesourcery.com>
24163
24164 [BZ #10140]
24165 * manual/examples/argp-ex1.c: Include <stdlib.h>.
24166 * manual/examples/argp-ex2.c: Likewise.
24167 * manual/examples/argp-ex3.c: Likewise.
24168
e3b69ca7
RH
241692012-02-16 Richard Henderson <rth@redhat.com>
24170
24171 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
24172 * sysdeps/s390/s390-32/initfini.c: Remove.
24173 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
24174 * sysdeps/s390/s390-64/initfini.c: Remove.
24175
df83af67
KK
241762012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24177
24178 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
24179 compiler output for sysdeps/generic/initfini.c.
24180 * sysdeps/sh/elf/initfini.c: Remove file.
24181
f63f3380
DM
241822012-02-16 David S. Miller <davem@davemloft.net>
24183
fb59b3a4
DM
24184 [BZ #11494]
24185 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
24186
f63f3380
DM
24187 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
24188 * sysdeps/sparc/crti.S: New file.
24189 * sysdeps/sparc/crtn.S: New file.
24190 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
24191 * sysdeps/sparc/sparc64/Makefile: Likewise.
24192
df6a4a4a
MF
241932012-02-15 Mike Frysinger <vapier@gentoo.org>
24194
6dd8f3dc 24195 [BZ #3335]
df6a4a4a
MF
24196 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
24197
1cac7236
RM
241982012-02-15 Roland McGrath <roland@hack.frob.com>
24199
d2c736f8
RM
24200 [BZ #4822]
24201 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
24202
1cac7236
RM
24203 * mach/devstream.c (cookie_io_functions_t): Macro removed.
24204 (write, read, close): Likewise.
24205 Patch by Aurelien Jarno <aurelien@aurel32.net>.
24206
8e475601
JM
242072012-02-15 Joseph Myers <joseph@codesourcery.com>
24208
24209 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
24210 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
24211 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
24212 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
24213 <bits/signalfd.h>.
24214 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
24215 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24216 bits/signalfd.h.
24217
ed656b40
MP
242182012-02-14 Marek Polacek <polacek@redhat.com>
24219
24220 * sysdeps/x86_64/crti.S: New file.
24221 * sysdeps/x86_64/crtn.S: New file.
24222 * sysdeps/x86_64/elf/initfini.c: Remove file.
24223
2a979d3a
JM
242242012-02-13 Joseph Myers <joseph@codesourcery.com>
24225
24226 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
24227 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
24228 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
24229 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
24230 <bits/inotify.h>.
24231 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
24232 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24233 bits/inotify.h.
24234
2a418ac3
JM
242352012-02-13 Joseph Myers <joseph@codesourcery.com>
24236
24237 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
24238 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
24239 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
24240 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
24241 <bits/eventfd.h>.
24242 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
24243 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24244 bits/eventfd.h.
24245
fb779be7
TS
242462012-02-10 Thomas Schwinge <thomas@codesourcery.com>
24247
e19e83c5
RM
24248 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
24249 __feraiseexcept instead of feraiseexcept.
7c35ffed 24250
fb779be7
TS
24251 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
24252 nanosleep invocations.
24253 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
24254 strings, and add error checking for a nanosleep invocations.
24255
59ba27a6
PE
242562012-02-09 Paul Eggert <eggert@cs.ucla.edu>
24257
24258 Replace FSF snail mail address with URLs, as per GNU coding standards.
24259 Most of the snail mail addresses were wrong anyway, and omitting
24260 them makes the source code easier to maintain. Almost all of the
24261 changes are to license notices and to locale LC_IDENTIFICATION
24262 addresses, except for this one:
24263 * manual/libc.texinfo: In "Published by", give the FSF's URL,
24264 not its snail mail address.
24265
57b957eb
RH
242662012-02-09 Richard Henderson <rth@twiddle.net>
24267
af850b1c
RH
24268 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
24269 of kernel-features.h.
24270
57b957eb
RH
24271 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
24272
6b73181a
MP
242732012-02-08 Marek Polacek <polacek@redhat.com>
24274
24275 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
24276 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
24277 * sysdeps/gnu/_G_config.h: Likewise.
24278 * sysdeps/generic/_G_config.h: Likewise.
24279
26ecc33a
AS
242802012-02-08 Andreas Schwab <schwab@linux-m68k.org>
24281
6c6dbc63
AS
24282 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
24283 tests.
24284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24285
e216c012
AS
24286 * sysdeps/powerpc/powerpc32/crti.S: New file.
24287 * sysdeps/powerpc/powerpc32/crtn.S: New file.
24288 * sysdeps/powerpc/powerpc64/crti.S: New file.
24289 * sysdeps/powerpc/powerpc64/crtn.S: New file.
24290
26ecc33a
AS
24291 * Makeconfig (have-initfini): Don't set.
24292 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
24293 * configure.in (nopic_initfini): Don't substitute.
24294 * config.h.in (HAVE_INITFINI): Don't #undef.
24295 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
24296 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
24297
3add8e13
JM
242982012-02-08 Joseph Myers <joseph@codesourcery.com>
24299
24300 Support crti.S and crtn.S provided directly by architectures.
24301 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
24302 [crti.S in sysdirs] (omit-deps): Likewise.
24303 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
24304 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
24305 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
24306 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
24307 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
24308 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
24309 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
24310 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
24311 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
24312 compiler output for sysdeps/generic/initfini.c.
24313 * sysdeps/i386/elf/Makefile: Remove file.
24314 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
24315
a22f12b4
MP
243162012-02-07 Marek Polacek <polacek@redhat.com>
24317
24318 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
24319 * sysdeps/gnu/_G_config.h: Likewise.
24320 * sysdeps/mach/hurd/_G_config.h: Likewise.
24321
148cf100
MP
243222012-02-07 Marek Polacek <polacek@redhat.com>
24323
24324 * math/Makefile (tests): Add tst-CMPLX2.
24325 * math/tst-CMPLX2.c: New file.
24326
cfdc0dd7
AS
243272012-02-07 Andreas Schwab <schwab@linux-m68k.org>
24328
84ba42c4
AS
24329 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24330
cfdc0dd7
AS
24331 * math/libm-test.inc (jn_test): Add missing L suffix.
24332
622c86f4
MP
243332012-02-06 Marek Polacek <polacek@redhat.com>
24334
24335 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
24336 * sysdeps/i386/fpu/e_powf.S: Likewise.
24337 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24338 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
24339 * sysdeps/i386/fpu/e_acosh.S: Likewise.
24340 * sysdeps/i386/fpu/e_pow.S: Likewise.
24341 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
24342 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24343 * sysdeps/i386/fpu/s_expm1.S: Likewise.
24344 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
24345 * sysdeps/i386/fpu/e_log2.S: Likewise.
24346 * sysdeps/i386/fpu/e_log2l.S: Likewise.
24347 * sysdeps/i386/fpu/e_scalb.S: Likewise.
24348 * sysdeps/i386/fpu/e_powl.S: Likewise.
24349 * sysdeps/i386/fpu/s_log1p.S: Likewise.
24350 * sysdeps/i386/fpu/e_log10f.S: Likewise.
24351 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
24352 * sysdeps/i386/fpu/e_logl.S: Likewise.
24353 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
24354 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
24355 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
24356 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
24357 * sysdeps/i386/fpu/e_log2f.S: Likewise.
24358 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24359 * sysdeps/i386/fpu/e_log.S: Likewise.
24360 * sysdeps/i386/fpu/s_cexp.S: Likewise.
24361 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24362 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
24363 * sysdeps/i386/fpu/e_logf.S: Likewise.
24364 * sysdeps/i386/fpu/e_log10l.S: Likewise.
24365 * sysdeps/i386/fpu/e_atanh.S: Likewise.
24366 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
24367 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
24368 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
24369 * sysdeps/i386/fpu/e_log10.S: Likewise.
24370 * sysdeps/i386/fpu/s_frexp.S: Likewise.
24371 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24372 * sysdeps/i386/fpu/s_asinh.S: Likewise.
24373 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
24374 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24375 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
24376 * sysdeps/i386/asm-syntax.h: Likewise.
24377 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24378 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24379 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24380 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
24381 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
24382 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24383 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
24384 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
24385 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24386 * sysdeps/powerpc/sysdep.h: Likewise.
24387 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
24388 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
24389
d4a54ac6
JM
243902012-02-06 Joseph Myers <joseph@codesourcery.com>
24391
24392 [BZ #411]
24393 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
24394
314054ea
JM
243952012-02-06 Joseph Myers <joseph@codesourcery.com>
24396
24397 * sysdeps/i386/sysdep.h: Include <features.h>.
24398 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
24399 version.
24400
d8e0ca50
JM
244012012-02-05 Joseph Myers <joseph@codesourcery.com>
24402
24403 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
24404 Define.
24405 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
24406 LOAD_PIC_REG_STR.
24407
b1da7dd9
JM
244082012-02-03 Joseph Myers <joseph@codesourcery.com>
24409
24410 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
24411 (SETUP_PIC_REG): Use GET_PC_THUNK.
24412 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
24413 macro.
24414
9a1d9254
JM
244152012-02-03 Joseph Myers <joseph@codesourcery.com>
24416
24417 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
24418 for non-PIC compilation.
24419 (SETUP_PIC_REG): Add .p2align directive.
24420 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
24421 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
24422 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24423 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24424 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24425 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24426 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
24427 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24428 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24429 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24430 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24431 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24432 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24433 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24434 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24435 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24436 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24437 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24438 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24439 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24440 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24441 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24442 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24443 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24444 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24445 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24446 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24447 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24448 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24449 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24450 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24451 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24452 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24453 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24454 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24455 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24456 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24457 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24458 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24459 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24460 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24461
65dc3b75
JM
244622012-02-03 Joseph Myers <joseph@codesourcery.com>
24463
24464 * math/tst-CMPLX.c: Include <stdio.h>.
24465
d55bf177
JM
244662012-01-31 Joseph Myers <joseph@codesourcery.com>
24467
24468 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
24469 float.
24470 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24471 * sysdeps/sparc/bits/mathdef.h: Likewise.
24472
69db4f8f
MP
244732012-01-31 Marek Polacek <polacek@redhat.com>
24474
24475 * libio/libio.h: Don't define _PARAMS.
24476 * locale/programs/config.h: Don't define PARAMS.
24477 * stdlib/strtol_l.c: Likewise.
24478 (__strtol_l): Remove PARAMS from the prototype.
24479
41b81892
UD
244802012-01-31 Ulrich Drepper <drepper@gmail.com>
24481
3b49edc0
UD
24482 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
24483 names. Just use the correct names. Remove unnecessary wrapper
24484 functions.
24485 * malloc/arena.c: Likewise.
24486 * malloc/hooks.c: Likewise.
24487
41b81892
UD
24488 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
24489 ARENA_TEST says not to. Simplify test for creation of a new arena.
24490 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
24491
27a25b6e
UD
244922012-01-30 Ulrich Drepper <drepper@gmail.com>
24493
24494 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
24495 into tail calls.
24496 (update_get_addr): New function.
24497 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
24498 GET_ADDR_MODULE parameter.
24499
c8a89e7d
JM
245002012-01-30 Joseph Myers <joseph@codesourcery.com>
24501
24502 * crypt/cert.c: Remove __STDC__ conditionals.
24503 * crypt/crypt-entry.c: Likewise.
24504 * crypt/crypt_util.c: Likewise.
24505 * libio/filedoalloc.c: Likewise.
24506 * libio/fileops.c: Likewise.
24507 * libio/genops.c: Likewise.
24508 * libio/iofclose.c: Likewise.
24509 * libio/iofdopen.c: Likewise.
24510 * libio/iofopen.c: Likewise.
24511 * libio/iofopen64.c: Likewise.
24512 * libio/iogetdelim.c: Likewise.
24513 * libio/iopopen.c: Likewise.
24514 * libio/obprintf.c: Likewise.
24515 * libio/oldfileops.c: Likewise.
24516 * libio/oldiofclose.c: Likewise.
24517 * libio/oldiofdopen.c: Likewise.
24518 * libio/oldiofopen.c: Likewise.
24519 * libio/oldiopopen.c: Likewise.
24520 * libio/wfiledoalloc.c: Likewise.
24521 * libio/wgenops.c: Likewise.
24522 * locale/programs/xmalloc.c: Likewise.
24523 * misc/syslog.c: Likewise.
24524 * stdio-common/xbug.c: Likewise.
24525 * string/memchr.c: Likewise.
24526 * string/memcmp.c: Likewise.
24527 * string/memrchr.c: Likewise.
24528 * string/rawmemchr.c: Likewise.
24529 * sysdeps/posix/getcwd.c: Likewise.
24530 * time/strftime_l.c: Likewise.
24531
3b100462
JM
245322012-01-30 Joseph Myers <joseph@codesourcery.com>
24533
24534 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
24535 * config.make.in (config-cflags-sse2avx): Define.
24536 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
24537 Fix typo.
24538
607998af
CM
245392012-01-29 Chris Metcalf <cmetcalf@tilera.com>
24540
24541 * scripts/config.guess: Update from upstream config git repository.
24542 * scripts/config.sub: Likewise.
24543
3601428f
CM
245442012-01-28 Chris Metcalf <cmetcalf@tilera.com>
24545
3ac8b282
CM
24546 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
24547 (EM_NUM): Update.
24548 (R_TILEPRO_*, R_TILEGX_*): New macros.
24549
e034841e
CM
24550 * scripts/firstversions.awk: Fix bug in version range handling.
24551
540d7568
CM
24552 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
24553
3601428f
CM
24554 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
24555
463de862
CM
24556 * include/sys/epoll.h: New file.
24557 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
24558 libc_hidden_def.
24559
73139a76
UD
245602012-01-28 Ulrich Drepper <drepper@gmail.com>
24561
96bc5b45
UD
24562 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
24563 Avoid unnecessary __WORDSIZE == 64 test.
24564 (fmaxf): Use VEX format if possible.
24565 (fmax): Likewise.
24566 (fminf): Likewise.
24567 (fmin): Likewise.
24568
56f6f6a2
UD
24569 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
24570 * math/math_private.h: Remove libc_fegetround* and
24571 libc_fesetround*.
24572 * sysdeps/i386/configure.in: Check for -msse2avx.
24573 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
24574 also if SSE2AVX is defined.
24575 Remove libc_fegetround* and libc_fesetround*.
24576 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
24577 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
24578 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
24579 of HAS_YMM_USABLE.
24580 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24581 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24582 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24583 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24584 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24585
73139a76
UD
24586 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
24587
d73f93a4
AZ
245882012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24589
24590 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
24591 size is not set.
24592 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
24593
6ee65ed6
UD
245942012-01-27 Ulrich Drepper <drepper@gmail.com>
24595
24596 [BZ #13618]
24597 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
24598 relocation.
24599 * Makeconfig (libm): Define.
24600 * elf/Makefile: Add rules to build and run tst-relsort1.
24601 * elf/tst-relsort1.c: New file.
24602 * elf/tst-relsort1mod1.c: New file.
24603 * elf/tst-relsort1mod2.c: New file.
24604
8db21882
JM
246052012-01-27 Joseph Myers <joseph@codesourcery.com>
24606
24607 * math/s_ldexp.c: Remove __STDC__ conditionals.
24608 * math/s_ldexpf.c: Likewise.
24609 * math/s_ldexpl.c: Likewise.
24610 * math/s_nextafter.c: Likewise.
24611 * math/s_nexttowardf.c: Likewise.
24612 * math/s_significand.c: Likewise.
24613 * math/s_significandf.c: Likewise.
24614 * math/s_significandl.c: Likewise.
24615 * math/w_jnl.c: Likewise.
24616 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
24617 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
24618 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
24619 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
24620 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
24621 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24622 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
24623 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24624 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24625 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24626 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24627 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24628 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24629 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
24630 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24631 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24632 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24633 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24634 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24635 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24636 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24637 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24638 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24639 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24640 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24641 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24642 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24643 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24644 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
24645 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24646 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24647 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
24648 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24649 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
24650 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
24651 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24652 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
24653 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24654 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
24655 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
24656 * sysdeps/ieee754/k_standard.c: Likewise.
24657 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24658 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24659 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
24660 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
24661 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
24662 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
24663 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24664 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
24665 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
24666 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
24667 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
24668 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
24669 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
24670 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
24671 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
24672 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
24673 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
24674 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24675 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24676 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
24677 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24678 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24679 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
24680 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
24681 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24682 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24683 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24684 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24685 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24686 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
24687 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
24688 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
24689 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24690 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
24691 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
24692 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
24693 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
24694 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24695 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
24696 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
24697 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
24698 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
24699 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
24700 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
24701 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24702 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
24703 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
24704 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24705 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
24706 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
24707 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
24708 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24709 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24710 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
24711 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
24712 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
24713 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
24714 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24715 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24716 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24717 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24718 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
24719 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
24720 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24721 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24722 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24723 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24724 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
24725 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
24726 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24727 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24728 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24729 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24730 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
24731 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
24732 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24733 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
24734 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
24735 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
24736 * sysdeps/ieee754/s_matherr.c: Likewise.
24737 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24738 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24739 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24740 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24741
965a54a4
JM
247422012-01-26 Joseph Myers <joseph@codesourcery.com>
24743
24744 * crypt/md5.h: Remove __STDC__ conditionals.
24745 * libio/libioP.h: Likewise.
24746 * locale/programs/config.h: Likewise.
24747 * sysdeps/generic/sysdep.h: Likewise.
24748 * sysdeps/i386/asm-syntax.h: Likewise.
24749 * sysdeps/s390/asm-syntax.h: Likewise.
24750 * sysdeps/unix/sysdep.h: Likewise.
24751 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
24752 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24753
7071ad79
JM
247542012-01-26 Joseph Myers <joseph@codesourcery.com>
24755
24756 * libio/libio.h: Remove __STDC__ conditionals.
24757 * malloc/obstack.h: Likewise.
24758 * math/complex.h: Likewise.
24759 * math/math.h: Likewise.
24760 * sysdeps/generic/_G_config.h: Likewise.
24761 * sysdeps/gnu/_G_config.h: Likewise.
24762 * sysdeps/mach/hurd/_G_config.h: Likewise.
24763 * sysdeps/powerpc/bits/mathdef.h: Likewise.
24764 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24765 * sysdeps/sparc/bits/mathdef.h: Likewise.
24766
afc5ed09
UD
247672012-01-26 Ulrich Drepper <drepper@gmail.com>
24768
24769 [BZ #13583]
24770 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 24771 Clean up HAS_* macros.
afc5ed09 24772 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
24773 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
24774 possible.
24775 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
24776 HAS_AVX.
24777 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24778 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24779 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24780 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24781 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 24782
bdb6de1d
JM
247832012-01-25 Joseph Myers <joseph@codesourcery.com>
24784
24785 * elf/tst-unique3.cc (gets): Remove declaration.
24786 * elf/tst-unique3lib.cc (gets): Likewise.
24787 * elf/tst-unique3lib2.cc (gets): Likewise.
24788 * elf/tst-unique4.cc (gets): Likewise.
24789
b15549e6
UD
247902012-01-24 Ulrich Drepper <drepper@gmail.com>
24791
24792 * include/stdio.h: Add C++ protection. Add gets declarations and
24793 definitions.
24794 * debug/tst-chk1.c: Don't declare gets here.
24795 * stdio-common/tst-gets.c: Likewise.
24796
a037381f
JM
247972012-01-24 Joseph Myers <joseph@codesourcery.com>
24798
24799 * posix/glob: Remove directory.
24800
f1d4aa75
JM
248012012-01-24 Joseph Myers <joseph@codesourcery.com>
24802
24803 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
24804
81c0c964
PT
248052012-01-22 Pino Toscano <toscano.pino@tiscali.it>
24806
24807 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
24808 of the non-standard EPFNOSUPPORT.
24809
0ea698ae
ST
248102011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
24811
24812 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
24813 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
24814 ANYWHERE set to 1 only on KERN_NO_SPACE error.
24815
d220b117
UD
248162012-01-21 Ulrich Drepper <drepper@gmail.com>
24817
24818 * wcsmbs/uchar.h: Test __STDC_VERSION__.
24819
3e1aa84e
UD
248202012-01-20 Ulrich Drepper <drepper@gmail.com>
24821
24822 * nscd/aicache.c (addhstaiX): Do not cache negative results of
24823 transient errors.
24824 * nscd/grpcache.c (cache_addgr): Likewise.
24825 * nscd/hstcache.c (cache_addhst): Likewise.
24826 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24827 * nscd/pwdcache.c (cache_addpw): Likewise.
24828 * nscd/servicescache.c (cache_addserv): Likewise.
24829
400aa020
UD
248302012-01-16 Ulrich Drepper <drepper@gmail.com>
24831
d77e7869
UD
24832 * malloc/malloc.c: Various cleanups.
24833 * malloc/hooks.c: Likewise.
24834
400aa020
UD
24835 * stdlib/Makefile (tests): Add bug-fmtmsg1.
24836 * stdlib/bug-fmtmsg1.c: New file.
24837
24838 * stdlib/fmtmsg.c (init): Add missing unlock.
24839 Patch by Peng Haitao <penght@cn.fujitsu.com>.
24840
e0a309cf
MP
248412012-01-12 Marek Polacek <polacek@redhat.com>
24842
24843 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
24844 and _GNU_SOURCE.
24845
929d11c7
WS
248462012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
24847
24848 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
24849 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
24850 macro to ensure uniqueness of label name.
24851 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
24852 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
24853
41d0e869
UD
248542012-01-11 Ulrich Drepper <drepper@gmail.com>
24855
0cc5ed3b
UD
24856 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
24857
41d0e869
UD
24858 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
24859 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
24860 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24861 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
24862
a47a831a
UD
248632012-01-10 Ulrich Drepper <drepper@gmail.com>
24864
daa891c0
UD
24865 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
24866
24867 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
24868 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
24869 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
24870
e58ef0f2
UD
24871 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
24872
a47a831a 24873 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
24874 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
24875 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 24876 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
24877
24878 * math/bits/math-finite.h: Add ldexp support.
24879
a0bfc9c7
MP
248802012-01-10 Marek Polacek <polacek@redhat.com>
24881
24882 * locale/programs/localedef.h (show_archive_content): Add noreturn
24883 attribute.
24884
d6e97a1d
UD
248852012-01-09 Ulrich Drepper <drepper@gmail.com>
24886
24887 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
24888
d5835c26
UD
248892012-01-08 Ulrich Drepper <drepper@gmail.com>
24890
e5f484c6
UD
24891 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
24892
d5835c26
UD
24893 * io/Makefile (headers): Add bits/poll2.h.
24894
d1f741e9
WS
248952011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
24896
24897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
24898 typo #include statement.
24899
ec09c1c4
UD
249002012-01-08 Ulrich Drepper <drepper@gmail.com>
24901
24902 * include/sys/cdefs.h: Define __attribute_alloc_size.
24903 * catgets/gencat.c: Add alloc_size attribute and apply consistently
24904 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
24905 * elf/pldd.c: Likewise.
24906 * iconv/iconv_charmap.c: Likewise.
24907 * iconv/iconvconfig.c: Likewise.
24908 * iconv/strtab.c: Likewise.
24909 * locale/programs/locale.c: Likewise.
24910 * locale/programs/localedef.h: Likewise.
24911 * locale/programs/simple-hash.c: Likewise.
24912 * nscd/nscd.h: Likewise.
24913 * nss/makedb.c: Likewise.
24914 * sysdeps/generic/ldconfig.h: Likewise.
24915 * locale/programs/localedef.c: Remove xmalloc prototype.
24916 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
24917
20b38e03
PP
249182012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
24919
24920 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
24921 appropriate.
24922
a0da5fe1
UD
249232012-01-08 Ulrich Drepper <drepper@gmail.com>
24924
1d5a644a 24925 * math/Makefile (tests): Add tst-CMPLX.
669704fd 24926 * math/tst-CMPLX.c: New file.
1d5a644a 24927
8784a6db
UD
24928 * math/complex.h (CMPLXL): Fix typo.
24929
d9a216c0
UD
24930 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
24931 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
24932 GLIBC_2.16.
24933 * debug/tst-chk1.c: Add poll and ppoll tests.
24934 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
24935 * include/sys/poll.h: Add hidden proto for ppoll.
24936 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
24937 * sysdeps/mach/hurd/ppoll.c: Likewise.
24938 * io/ppoll.c: Likewise.
24939 * debug/poll_chk.c: New file.
24940 * debug/ppoll_chk.c: New file.
24941 * include/bits/poll2.h: New file.
24942 * io/bits/poll2.h: New file.
24943
ac097f5c
UD
24944 [BZ #1350]
24945 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
24946
2119dcfa
UD
24947 * configure.in: static is always set to yes. Remove.
24948 * config.make.in: Don't set build-static.
24949 * Makeconfig: Remove use of build-static.
24950 * dlfcn/Makefile: Likewise.
24951 * elf/Makefile: Likewise.
24952 * math/Makefile: Likewise.
24953 * misc/Makefile: Likewise.
24954 * nptl/Makefile: Likewise.
24955 * sysdeps/mach/hurd/Makefile: Likewise.
24956
121766a9
UD
24957 * configure.in: PWD_P is not used anymore.
24958 * config.make.in: Remove PWD_P entry.
24959
51a1d39c 24960 * configure.in: Remove last remnants of RANLIB.
8720d066 24961 No need to check for signed size_t anymore.
215f4bdc
UD
24962 Don't set libc_commonpagesize and libc_relro_required here for Alpha
24963 and IA-64.
3857022a 24964 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
24965 * aclocal.m4: Likewise.
24966
d3ed7225
UD
24967 * wcsmbs/mbrtoc16.c: Implement using towc function.
24968 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
24969 * wcsmbs/wcsmbsload.c: Likewise.
24970 * iconv/gconv_simple.c: Likewise.
24971 * iconv/gconv_int.h: Likewise.
24972 * iconv/gconv_builtin.h: Likewise.
24973 * iconv/iconv_prog.c: Remove CHAR16 handling.
24974
24975 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
24976
24977 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
24978
a0da5fe1
UD
24979 * configure.in: Remove --with-elf and --enable-bounded options.
24980 Dont set base_machine for ia64. More non-ELF conditions removed.
24981 Remove testing and setting of leading underscore information.
24982 * config.make.in (build-bounded): Set to no.
24983 * config.h.in: Remove NO_UNDERSCORES entry.
24984 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
24985 them.
24986 * csu/start.c: Remove !NO_UNDERSCORE code.
24987 * locale/localeinfo.h: Likewise.
24988 * sysdeps/generic/machine-gmon.h: Likewise.
24989 * sysdeps/generic/sysdep.h: Likewise.
24990 * sysdeps/i386/sysdep.h: Likewise.
24991 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
24992 * sysdeps/mach/sysdep.h: Likewise.
24993 * sysdeps/s390/s390-32/sysdep.h: Likewise.
24994 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24995 * sysdeps/sh/sysdep.h: Likewise.
24996 * sysdeps/sparc/sparc32/alloca.S: Likewise.
24997 * sysdeps/unix/i386/sysdep.S: Likewise.
24998 * sysdeps/unix/sparc/start.c: Likewise.
24999 * sysdeps/unix/sparc/sysdep.S: Likewise.
25000 * sysdeps/unix/sparc/sysdep.h: Likewise.
25001 * sysdeps/unix/start.c: Likewise.
25002 * sysdeps/unix/x86_64/sysdep.S: Likewise.
25003 * sysdeps/x86_64/sysdep.h: Likewise.
25004
df78418a
UD
250052012-01-07 Ulrich Drepper <drepper@gmail.com>
25006
a784e502
UD
25007 [BZ #13553]
25008 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
25009 for non-gcc.
25010 * argp/argp-fmtstream.h: Use const instead __const.
25011 * argp/argp.h: Likewise.
25012 * assert/assert.h: Likewise.
25013 * bits/fenv.h: Likewise.
25014 * bits/sched.h: Likewise.
25015 * bits/sigset.h: Likewise.
25016 * bits/sigthread.h: Likewise.
25017 * catgets/nl_types.h: Likewise.
25018 * conform/data/pthread.h-data: Likewise.
25019 * crypt/crypt-private.h: Likewise.
25020 * crypt/crypt.h: Likewise.
25021 * crypt/crypt_util.c: Likewise.
25022 * ctype/ctype.h: Likewise.
25023 * debug/execinfo.h: Likewise.
25024 * debug/mbsnrtowcs_chk.c: Likewise.
25025 * debug/mbsrtowcs_chk.c: Likewise.
25026 * debug/wcsnrtombs_chk.c: Likewise.
25027 * debug/wcsrtombs_chk.c: Likewise.
25028 * debug/wcstombs_chk.c: Likewise.
25029 * dirent/dirent.h: Likewise.
25030 * dlfcn/dlfcn.h: Likewise.
25031 * elf/neededtest4.c: Likewise.
25032 * grp/grp.h: Likewise.
25033 * gshadow/gshadow.h: Likewise.
25034 * iconv/gconv.h: Likewise.
25035 * iconv/gconv_int.h: Likewise.
25036 * iconv/gconv_simple.c: Likewise.
25037 * iconv/iconv.h: Likewise.
25038 * iconv/loop.c: Likewise.
25039 * iconv/skeleton.c: Likewise.
25040 * include/aio.h: Likewise.
25041 * include/aliases.h: Likewise.
25042 * include/argz.h: Likewise.
25043 * include/arpa/inet.h: Likewise.
25044 * include/assert.h: Likewise.
25045 * include/dirent.h: Likewise.
25046 * include/dlfcn.h: Likewise.
25047 * include/execinfo.h: Likewise.
25048 * include/fcntl.h: Likewise.
25049 * include/fenv.h: Likewise.
25050 * include/glob.h: Likewise.
25051 * include/grp.h: Likewise.
25052 * include/libintl.h: Likewise.
25053 * include/mntent.h: Likewise.
25054 * include/netdb.h: Likewise.
25055 * include/pwd.h: Likewise.
25056 * include/rpc/netdb.h: Likewise.
25057 * include/sched.h: Likewise.
25058 * include/search.h: Likewise.
25059 * include/shadow.h: Likewise.
25060 * include/signal.h: Likewise.
25061 * include/stdio.h: Likewise.
25062 * include/stdlib.h: Likewise.
25063 * include/string.h: Likewise.
25064 * include/sys/socket.h: Likewise.
25065 * include/sys/stat.h: Likewise.
25066 * include/sys/statfs.h: Likewise.
25067 * include/sys/statvfs.h: Likewise.
25068 * include/sys/syslog.h: Likewise.
25069 * include/sys/time.h: Likewise.
25070 * include/sys/uio.h: Likewise.
25071 * include/time.h: Likewise.
25072 * include/unistd.h: Likewise.
25073 * include/utmp.h: Likewise.
25074 * include/wchar.h: Likewise.
25075 * include/wctype.h: Likewise.
25076 * inet/aliases.h: Likewise.
25077 * inet/arpa/inet.h: Likewise.
25078 * inet/netinet/ether.h: Likewise.
25079 * inet/netinet/in.h: Likewise.
25080 * intl/libintl.h: Likewise.
25081 * io/bits/fcntl2.h: Likewise.
25082 * io/fcntl.h: Likewise.
25083 * io/ftw.h: Likewise.
25084 * io/sys/poll.h: Likewise.
25085 * io/sys/stat.h: Likewise.
25086 * io/sys/statfs.h: Likewise.
25087 * io/sys/statvfs.h: Likewise.
25088 * io/utime.h: Likewise.
25089 * libio/bits/stdio.h: Likewise.
25090 * libio/bits/stdio2.h: Likewise.
25091 * libio/libio.h: Likewise.
25092 * libio/libioP.h: Likewise.
25093 * libio/stdio.h: Likewise.
25094 * locale/lc-ctype.c: Likewise.
25095 * locale/locale.h: Likewise.
25096 * login/utmp.h: Likewise.
25097 * malloc/arena.c: Likewise.
25098 * malloc/malloc.c: Likewise.
25099 * malloc/malloc.h: Likewise.
25100 * malloc/mcheck.c: Likewise.
25101 * malloc/mtrace.c: Likewise.
25102 * math/bits/mathcalls.h: Likewise.
25103 * math/fenv.h: Likewise.
25104 * math/math_private.h: Likewise.
25105 * misc/bits/error.h: Likewise.
25106 * misc/bits/syslog.h: Likewise.
25107 * misc/err.h: Likewise.
25108 * misc/error.h: Likewise.
25109 * misc/fstab.h: Likewise.
25110 * misc/mntent.h: Likewise.
25111 * misc/regexp.h: Likewise.
25112 * misc/search.h: Likewise.
25113 * misc/sgtty.h: Likewise.
25114 * misc/sys/mman.h: Likewise.
25115 * misc/sys/syslog.h: Likewise.
25116 * misc/sys/uio.h: Likewise.
25117 * misc/sys/xattr.h: Likewise.
25118 * misc/ttyent.h: Likewise.
25119 * nis/rpcsvc/ypclnt.h: Likewise.
25120 * nss/nss.h: Likewise.
25121 * posix/bits/unistd.h: Likewise.
25122 * posix/fnmatch.h: Likewise.
25123 * posix/glob.h: Likewise.
25124 * posix/sched.h: Likewise.
25125 * posix/spawn.h: Likewise.
25126 * posix/sys/wait.h: Likewise.
25127 * posix/unistd.h: Likewise.
25128 * posix/wordexp.h: Likewise.
25129 * pwd/pwd.h: Likewise.
25130 * resolv/netdb.h: Likewise.
25131 * resource/sys/resource.h: Likewise.
25132 * rt/aio.h: Likewise.
25133 * rt/bits/mqueue2.h: Likewise.
25134 * rt/mqueue.h: Likewise.
25135 * shadow/shadow.h: Likewise.
25136 * signal/signal.h: Likewise.
25137 * socket/send.c: Likewise.
25138 * socket/sendto.c: Likewise.
25139 * socket/sys/socket.h: Likewise.
25140 * stdio-common/printf.h: Likewise.
25141 * stdlib/bits/stdlib.h: Likewise.
25142 * stdlib/fmtmsg.h: Likewise.
25143 * stdlib/monetary.h: Likewise.
25144 * stdlib/stdlib.h: Likewise.
25145 * stdlib/ucontext.h: Likewise.
25146 * streams/stropts.h: Likewise.
25147 * string/argz.h: Likewise.
25148 * string/bits/string2.h: Likewise.
25149 * string/string.h: Likewise.
25150 * string/strings.h: Likewise.
25151 * sunrpc/rpc/auth.h: Likewise.
25152 * sunrpc/rpc/auth_des.h: Likewise.
25153 * sunrpc/rpc/clnt.h: Likewise.
25154 * sunrpc/rpc/netdb.h: Likewise.
25155 * sunrpc/rpc/pmap_clnt.h: Likewise.
25156 * sunrpc/rpc/xdr.h: Likewise.
25157 * sysdeps/generic/inttypes.h: Likewise.
25158 * sysdeps/generic/net/if.h: Likewise.
25159 * sysdeps/generic/sys/swap.h: Likewise.
25160 * sysdeps/gnu/net/if.h: Likewise.
25161 * sysdeps/gnu/utmpx.h: Likewise.
25162 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
25163 * sysdeps/i386/i486/bits/string.h: Likewise.
25164 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
25165 * sysdeps/s390/bits/string.h: Likewise.
25166 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
25167 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
25168 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
25169 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
25170 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
25171 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
25172 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
25173 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
25174 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
25175 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
25176 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
25177 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
25178 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
25179 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
25180 * sysdeps/unix/sysv/linux/readv.c: Likewise.
25181 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
25182 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
25183 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25184 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
25185 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
25186 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25187 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
25188 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
25189 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
25190 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
25191 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
25192 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
25193 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25194 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
25195 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
25196 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
25197 * sysvipc/sys/ipc.h: Likewise.
25198 * sysvipc/sys/msg.h: Likewise.
25199 * sysvipc/sys/sem.h: Likewise.
25200 * sysvipc/sys/shm.h: Likewise.
25201 * termios/termios.h: Likewise.
25202 * time/sys/time.h: Likewise.
25203 * time/time.h: Likewise.
25204 * wcsmbs/bits/wchar2.h: Likewise.
25205 * wcsmbs/uchar.h: Likewise.
25206 * wcsmbs/wchar.h: Likewise.
25207 * wctype/wctype.h: Likewise.
25208
0269750c
UD
25209 [BZ #13551]
25210 * Makeconfig: Remove all but ELF support including AIX support.
25211 * Makerules: Likewise.
25212 * config.h.in: Likewise.
25213 * config.make.in: Likewise.
25214 * configure: Likewise.
25215 * configure.in: Likewise.
25216 * csu/Makefile: Likewise.
25217 * csu/version.c: Likewise.
25218 * debug/Makefile: Likewise.
25219 * dlfcn/Makefile: Likewise.
25220 * elf/Makefile: Likewise.
25221 * extra-lib.mk: Likewise.
25222 * iconv/Makefile: Likewise.
25223 * include/libc-symbols.h: Likewise.
25224 * include/shlib-compat.h: Likewise.
25225 * resolv/Makefile: Likewise.
25226 * resolv/res_libc.c: Likewise.
25227 * rt/Makefile: Likewise.
25228 * sysdeps/i386/asm-syntax.h: Likewise.
25229 * sysdeps/i386/sysdep.h: Likewise.
25230 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25231 * sysdeps/mach/sysdep.h: Likewise.
25232 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
25233 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
25234 * sysdeps/s390/asm-syntax.h: Likewise.
25235 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25236 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25237 * sysdeps/sh/sysdep.h: Likewise.
25238 * sysdeps/unix/sparc/sysdep.h: Likewise.
25239 * sysdeps/wordsize-32/divdi3.c: Likewise.
25240 * sysdeps/x86_64/sysdep.h: Likewise.
25241
00bbd29b
UD
25242 * argp/Versions: Remove _argp_unlock_xxx.
25243
25244 [BZ #13559]
25245 * abilist/ld.abilist: Update. Adjust for removal of tls option.
25246 * abilist/libBrokenLocale.abilist: Likewise.
25247 * abilist/libanl.abilist: Likewise.
25248 * abilist/libc.abilist: Likewise.
25249 * abilist/libcrypt.abilist: Likewise.
25250 * abilist/libdl.abilist: Likewise.
25251 * abilist/libm.abilist: Likewise.
25252 * abilist/libnsl.abilist: Likewise.
25253 * abilist/libpthread.abilist: Likewise.
25254 * abilist/libresolv.abilist: Likewise.
25255 * abilist/librt.abilist: Likewise.
25256 * abilist/libthread_db.abilist: Likewise.
25257 * abilist/libutil.abilist: Likewise.
25258 * abilist/libnss_db.abilist: New file.
25259
25260 * scripts/abilist.awk: Add support for indirect functions.
25261
a2693a0e
UD
25262 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
25263
3f05895f
UD
25264 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
25265
ecb6fb48
UD
25266 * shlib-versions: Remove entries for ports architectures.
25267
664f8cb9
UD
25268 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
25269 files in ports.
25270 * elf/stackguard-macros.h: Remove support for IA-64.
25271 * elf/tst-auditmod1.c: Likewise.
25272 * sysdeps/generic/ldsodefs.h: Likewise.
25273
7ae81d88
UD
25274 * sysdeps/unix/sysv/linux/configure.in: Ports should define
25275 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
25276 configure files.
25277
bdeba135
UD
25278 [BZ #13552]
25279 * configure.in: Remove --enable-omitfp support.
25280 * FAQ.in: Adjust.
25281 * config.make.in: Likewise.
25282 * Makeconfig: Likewise.
25283 * manual/install.texi: Likewise.
25284
d75a0a62
UD
25285 In case anyone cares, the IA-64 architecture could move to ports.
25286 * sysdeps/ia64/*: Removed.
25287 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 25288 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 25289
dcc9756b
UD
25290 [BZ #13555]
25291 * configure.in: Remove entries for unsupported architectures.
25292
d3761ebc 25293 [BZ #13533]
9954432e
UD
25294 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
25295 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
25296 routines.
25297 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
25298 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
25299 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
25300 fall back to using wcrtomb.
25301 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
25302 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
25303 renaming.
25304 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
25305 * wcsmbs/tst-c16c32-1.c: New file.
25306
25307 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
25308 local variable.
25309
c3a87236
UD
25310 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
25311
28926a1b
UD
25312 * elf/tst-unique3.cc: Add explicit declaration of gets.
25313 * elf/tst-unique3lib.cc: Likewise.
25314 * elf/tst-unique3lib2.cc: Likewise.
25315 * elf/tst-unique4.cc: Likewise.
25316
df78418a
UD
25317 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
25318
8ecd6b2a
JM
253192012-01-06 Joseph Myers <joseph@codesourcery.com>
25320
25321 [BZ #13566]
25322 * assert/assert.h (static_assert): Don't define for C++.
25323 * libio/stdio.h (gets): Do declare for C++ <= C++11.
25324 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
25325
9f115170
UD
253262012-01-03 Ulrich Drepper <drepper@gmail.com>
25327
5e0d0300
UD
25328 * iconv/loop.c (single loop): Fix assertion in storing of
25329 remaining bytes.
25330
9f115170
UD
25331 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
25332
81fb02b0
UD
253332012-01-01 Ulrich Drepper <drepper@gmail.com>
25334
25335 * posix/getconf.c: Update copyright year.
25336 * nss/getent.c: Likewise.
a316c1f6 25337 * nss/makedb.c: Likewise.
81fb02b0
UD
25338 * iconv/iconvconfig.c: Likewise.
25339 * iconv/iconv_prog.c: Likewise.
25340 * elf/ldconfig.c: Likewise.
a316c1f6
UD
25341 * elf/pldd.c: Likewise.
25342 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
25343 * catgets/gencat.c: Likewise.
25344 * csu/version.c: Likewise.
25345 * elf/ldd.bash.in: Likewise.
25346 * elf/sprof.c (print_version): Likewise.
25347 * locale/programs/locale.c: Likewise.
25348 * locale/programs/localedef.c: Likewise.
a316c1f6 25349 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
25350 * nscd/nscd.c (print_version): Likewise.
25351 * debug/xtrace.sh: Likewise.
25352 * malloc/memusage.sh: Likewise.
25353 * malloc/mtrace.pl: Likewise.
25354 * debug/catchsegv.sh: Likewise.
25355
2ba92745
JJ
253562011-12-30 Jakub Jelinek <jakub@redhat.com>
25357
25358 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
25359 pure attribute.
25360
dadebdae
UD
253612011-12-24 Ulrich Drepper <drepper@gmail.com>
25362
d3761ebc 25363 [BZ #13533]
db6af3eb
UD
25364 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
25365 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
25366 transformations.
25367 * iconv/gconv_int.h: Likewise.
25368 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
25369 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
25370 from libc for GLIBC_2.16.
25371 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
25372 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
25373 * wcsmbs/uchar.h: Really define mbstate_t.
25374 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
25375 * wcsmbs/c16rtomb.c: New file.
25376 * wcsmbs/mbrtoc16.c: New file.
25377 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
25378 for C/POSIX locale.
25379 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
25380 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
25381
dadebdae
UD
25382 * wcsmbs/wchar.h: Add missing __restrict.
25383
67371b56
UD
253842011-12-23 Ulrich Drepper <drepper@gmail.com>
25385
74033a25
UD
25386 [BZ #13532]
25387 * time/Makefile (routines): Add timespec_get.
25388 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
25389 * time/time.h: Define TIME_UTC and declare timespec_get. Define
25390 timespec for ISO C11.
25391 * time/timespec_get.c: New file.
25392 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
25393 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
25394
380d7e87
UD
25395 [BZ #13531]
25396 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
25397 * stdlib/stdlib.h: Declare aligned_alloc.
25398 * Versions.def: Add GLIBC_2.16 for libc.
25399 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
25400
4e9e7a35
UD
25401 [BZ 13527]
25402 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
25403 ISO C11.
25404
380d7e87 25405 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
25406 code.
25407
03a71829
UD
25408 [BZ #13528]
25409 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
25410
839e283e
UD
25411 [BZ #13529]
25412 * assert/assert.h (static_assert): Define.
25413
ce5294e2 25414 * version.h: Update for 2.16 development version.
90fa7312 25415
8d44e150 25416 [BZ #13526]
d7809905
UD
25417 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
25418 _ISOC11_SOURCE.
25419
c0da14cd
UD
25420 * version.h (RELEASE): Bump for 2.15 release.
25421 * include/features.h (__GLIBC_MINOR__): Bump to 15.
25422
530a3249
MP
25423 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
25424 Patch by Marek Polacek <mpolacek@redhat.com>.
25425
67371b56
UD
25426 * bits/byteswap.h: Protect long long constants with __extension__.
25427 * sysdeps/i386/bits/byteswap.h: Likewise.
25428 * sysdeps/ia64/bits/byteswap.h: Likewise.
25429 * sysdeps/s390/bits/byteswap.h: Likewise.
25430 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25431
15db4de1
LD
254322011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25433
25434 [BZ #13540]
bbe315ea
LD
25435 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
25436 destination buffer.
15db4de1
LD
25437 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
25438
2b2596b1
MP
254392011-12-23 Marek Polacek <polacek@redhat.com>
25440
25441 * elf/dl-addr.c (determine_info): Add inline keyword.
25442 * elf/tst-auditmod4b.c (check_avx): Likewise.
25443 * elf/tst-auditmod6b.c (check_avx): Likewise.
25444 * elf/tst-auditmod6c.c (check_avx): Likewise.
25445 * elf/tst-auditmod7b.c (check_avx): Likewise.
25446
70c6c246
UD
254472011-12-23 Ulrich Drepper <drepper@gmail.com>
25448
25449 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
25450 !__SSE_MATH__.
25451
c044cf14
LD
254522011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25453
15db4de1 25454 [BZ #13540]
c044cf14
LD
25455 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
25456 processing for last bytes.
25457
6b13d9d9
BH
254582011-08-06 Bruno Haible <bruno@clisp.org>
25459
d455f537
BH
25460 [BZ #13061]
25461 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
25462 U+0385, not to U+1FEE.
25463
6b13d9d9
BH
25464 [BZ #13062]
25465 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
25466 entry for U+00A5 U+0301.
25467
db910efd
UD
254682011-12-22 Ulrich Drepper <drepper@gmail.com>
25469
27deeafc
UD
25470 [BZ #13166]
25471 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
25472 buffer for the output is too small.
25473
aed9d171
UD
25474 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
25475 optimization.
25476
db910efd
UD
25477 [BZ #13185]
25478 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
25479 SSE flags if possible.
25480
2bd779ae
LD
254812011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25482
e7f9dac3 25483 [BZ #13540]
2bd779ae
LD
25484 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
25485 processing for last bytes.
25486
154bfc16
JM
254872011-12-22 Joseph Myers <joseph@codesourcery.com>
25488
25489 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
25490 (syscall-list-default-options, syscall-list-default-condition)
25491 (syscall-list-includes): Define.
25492 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
25493 list of ABIs and options and #if conditions for each ABI. Do not
25494 handle common syscalls between ABIs specially.
25495 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
25496 Remove.
25497 (syscall-list-variants, syscall-list-32bit-options)
25498 (syscall-list-32bit-condition, syscall-list-64bit-options)
25499 (syscall-list-64bit-condition): Define.
25500 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
25501 (syscall-list-variants, syscall-list-32bit-options)
25502 (syscall-list-32bit-condition, syscall-list-64bit-options)
25503 (syscall-list-64bit-condition): Define.
25504 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
25505 Remove.
25506 (syscall-list-variants, syscall-list-32bit-options)
25507 (syscall-list-32bit-condition, syscall-list-64bit-options)
25508 (syscall-list-64bit-condition): Define.
25509 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
25510 Remove.
25511 (syscall-list-variants, syscall-list-32bit-options)
25512 (syscall-list-32bit-condition, syscall-list-64bit-options)
25513 (syscall-list-64bit-condition): Define.
25514
21eaf3a5
UD
255152011-12-22 Ulrich Drepper <drepper@gmail.com>
25516
16c6f992
UD
25517 * locale/iso-639.def: Add brx entry.
25518
41043168
UD
25519 [BZ #13328]
25520 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
25521 Proposed by Mariusz_Cukr <marcukr@op.pl>.
25522
21eaf3a5
UD
25523 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
25524 __feraiseexcept_renamed.
25525
e3a851a2
UD
255262011-12-21 Ulrich Drepper <drepper@gmail.com>
25527
4920765e
UD
25528 [BZ #13538]
25529 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
25530 EPOLLET with unsigned values.
25531 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25532 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25533
e3a851a2
UD
25534 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
25535 to large cancellation.
25536 * math/s_cacoshf.c: Likewise.
25537 * math/s_cacoshl.c: Likewise.
25538
b27e24b8
RK
255392011-11-18 Richard B. Kreckel <kreckel@ginac.de>
25540
25541 [BZ #13305]
aebefeee 25542 [BZ #12786]
b27e24b8
RK
25543 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
25544 * math/s_cacoshf.c: Likewise.
25545 * math/s_cacoshl.c: Likewise.
25546
ee190f67
UD
255472011-12-21 Ulrich Drepper <drepper@gmail.com>
25548
25549 [BZ #13439]
25550 * iconv/gconv.h: Define __GCONV_SWAP.
25551 * iconvdata/unicode.c: The swap bit must be stored in __flags.
25552 * iconvdata/utf-16.c: Likewise.
25553 * iconvdata/utf-32.c: Likewise.
25554
707f25df
AS
255552011-12-21 Andreas Schwab <schwab@linux-m68k.org>
25556
25557 [BZ #13524]
25558 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
25559 numerator after shifting it by one limb.
25560
d2daaa1e
RÁE
255612011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
25562
25563 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
25564 under [__USE_EXTERN_INLINES].
25565
a4647e72
UD
255662011-12-17 Ulrich Drepper <drepper@gmail.com>
25567
25568 [BZ #13446]
25569 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
25570
f0b264f1
AZ
255712011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25572
25573 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
25574 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
25575 optimized code.
25576 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
25577 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
25578 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
25579 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
25580 for strncasecmp/strncasecmp_l compilation.
25581 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
25582 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
25583
8ef4f244
MP
255842011-12-08 Marek Polacek <mpolacek@redhat.com>
25585
25586 [BZ #13484]
25587 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
25588 of __asm__.
25589
97ac2654
UD
255902011-12-17 Ulrich Drepper <drepper@gmail.com>
25591
25592 [BZ #13506]
25593 * time/tzfile.c (__tzfile_read): Check values from file header.
25594
91d2a845
WS
255952011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
25596
25597 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
25598 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
25599 * powerpc/powerpc32/dl-start.S: Likewise.
25600 * powerpc/powerpc32/elf/start.S: Likewise.
25601 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
25602 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
25603 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
25604 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
25605 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
25606 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
25607 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
25608 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
25609 * powerpc/powerpc32/fpu/s_round.S: Likewise.
25610 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
25611 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
25612 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
25613 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
25614 * powerpc/powerpc32/memset.S: Likewise.
25615 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
25616 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25617 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25618 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25619 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25620 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
25621 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
25622 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
25623 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
25624 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
25625 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
25626 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25627 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25628
a1267ba1
AZ
256292011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25630
25631 * math/libm-test.inc: Added more nearbyint tests.
25632 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
25633 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
25634 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
25635 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
25636
ad8ac1bd
RL
256372011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
25638
25639 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
25640 FD_CLOEXEC.
25641
1d3e4b61
UD
256422011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25643
25644 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
25645 Add wcscpy-ssse3 wcscpy-c.
25646 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
25647 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
25648 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
25649 * sysdeps/x86_64/wcschr.S: New file.
25650 * sysdeps/x86_64/wcsrchr.S: New file.
25651 * string/test-strcmp.c: Remove checking of wcscmp function for
25652 wrong alignments.
25653 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
25654 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
25655 wcsrchr-sse2 wcsrchr-c.
25656 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
25657 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
25658 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
25659 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
25660 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
25661 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
25662 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
25663 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
25664 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
25665 * wcsmbc/wcschr.c (WCSCHR): New macro.
25666
5b330a2d
UD
256672011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25668
25669 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
25670 * wcsmbs/test-wcsrchr.c: New file.
25671 * string/test-strrchr.c: Add wcsrchr support.
25672 (WIDE): New macro.
25673 * wcsmbs/test-wcscpy.c: New file.
25674 * string/test-strcpy.c: Add wcscpy support.
25675 (WIDE): New macro.
26428b7c 25676
f039c043
UD
256772011-12-10 Ulrich Drepper <drepper@gmail.com>
25678
25679 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
25680 the inner loop.
25681
850fb039
AS
256822011-12-06 Andreas Schwab <schwab@linux-m68k.org>
25683
25684 [BZ #13472]
25685 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
25686
4efbd5cb
UD
256872011-12-04 Ulrich Drepper <drepper@gmail.com>
25688
52ff5dd0 25689 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 25690 Minor optimizations.
52ff5dd0 25691
4efbd5cb
UD
25692 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
25693 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
25694 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
25695
8a426e12
UD
256962011-12-03 Ulrich Drepper <drepper@gmail.com>
25697
aff2453d
UD
25698 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
25699 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
25700 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
25701 for gcc to avoid warnings.
25702 * inet/Makefile (tests): Add tst-checks.
25703 * inet/tst-checks.c: New file.
25704
25705 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
25706 warning.
25707
25708 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
25709 __wmemcmp_sse2.
25710
25711 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
25712 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
25713
8a426e12
UD
25714 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
25715
9bea3473
UD
257162011-12-02 Ulrich Drepper <drepper@gmail.com>
25717
3a965496
UD
25718 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
25719 problem.
25720
9bea3473
UD
25721 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
25722
f101631b
UD
257232011-11-29 Joseph Myers <joseph@codesourcery.com>
25724
25725 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
25726 conditional on GCC version.
25727 (__arch_compare_and_exchange_val_8_acq)
25728 (__arch_compare_and_exchange_val_16_acq)
25729 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
25730 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
25731 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
25732
a98275aa
UD
257332011-12-02 Joseph Myers <joseph@codesourcery.com>
25734
25735 * sysdeps/sh/backtrace.c: New file.
25736
d4cc29a2
AS
257372011-12-02 Andreas Schwab <schwab@redhat.com>
25738
25739 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
25740 parenthesis.
25741
6257af2d
AS
257422011-12-01 Andreas Schwab <schwab@redhat.com>
25743
25744 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
25745 falling back to utime.
25746
b5f44c1a
AS
257472011-11-30 Andreas Schwab <schwab@redhat.com>
25748
25749 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
25750 expectations for float.
25751
f3a6cc0a
AS
257522011-11-29 Andreas Schwab <schwab@redhat.com>
25753
25754 * locale/weight.h (findidx): Add parameter len.
25755 * locale/weightwc.h (findidx): Likewise.
25756 * posix/fnmatch_loop.c (FCT): Adjust caller.
25757 * posix/regcomp.c (build_equiv_class): Likewise.
25758 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
25759 * posix/regexec.c (check_node_accept_bytes): Likewise.
25760 * string/strcoll_l.c (STRCOLL): Likewise.
25761 * string/strxfrm_l.c (STRXFRM): Likewise.
25762
9d65ea3a
UD
257632011-11-17 Ulrich Drepper <drepper@gmail.com>
25764
25765 * Makefile.in: Remove CVSOPT handling.
25766 * configure.in: Remove use of AC_REVISION.
25767 * iconvdata/Makefile (distribute): No need to filter out CVS.
25768 * scripts/list-sources.sh: Remove CVS, subversion and monotone
25769 handling.
25770
5583a086
AS
257712011-11-16 Andreas Schwab <schwab@redhat.com>
25772
25773 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
25774 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
25775 [USE_AS_STRNCASECMP_L]: Likewise.
25776 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
25777 NO_TLS_DIRECT_SEG_REFS.
25778 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
25779 Fix argument offsets for non-PIC.
25780 [USE_AS_STRNCASECMP_L]: Likewise.
25781 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
25782 NO_TLS_DIRECT_SEG_REFS.
25783
d62a8200
UD
257842011-11-15 Ulrich Drepper <drepper@gmail.com>
25785
9d65ea3a 25786 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
25787 O_CLOEXEC.
25788 * locale/loadlocale.c (_nl_load_locale): Likewise.
25789
09f93bd3
AS
257902011-11-15 Andreas Schwab <schwab@redhat.com>
25791
446514f9
AS
25792 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
25793 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
25794 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
25795 (SYSCALL_GETTIME): Set errno on error.
25796
09f93bd3
AS
25797 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
25798 count references to noai6ai_cached.
25799
312be3f9
UD
258002011-11-15 Ulrich Drepper <drepper@gmail.com>
25801
25802 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
25803
25804 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
25805 FD_CLOEXEC for /proc/self/maps.
25806
25807 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
25808 FD_CLOEXEC for /proc/meminfo.
25809
25810 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
25811 gai.conf.
25812
25813 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
25814 FD_CLOEXEC for given file.
25815
25816 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
25817
25818 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
25819 FD_CLOEXEC for /etc/hosts.
25820 (_gethtent): Likewise.
25821
25822 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
25823
25824 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
25825 cancellation and set FD_CLOEXEC for /etc/netgroup.
25826
25827 * nss/nss_files/files-key.c (search): Don't allow cancellation when
25828 reading /etc/publickey.
25829
25830 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
25831 allow cancellation when reading /etc/group.
25832
25833 * nss/nss_files/files-alias.c (internal_setent): Don't allow
25834 cancellation.
25835 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
25836
25837 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
25838 when using data file.
25839
25840 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
25841
25842 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
25843 (write_nis_obj): Use "c" and "e" in fopen.
25844
25845 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
25846
25847 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
25848
25849 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
25850
25851 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
25852
25853 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
25854 locale.alias.
25855
25856 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
25857
25858 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
25859
25860 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
25861
25862 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
25863 file parsing and set FD_CLOEXEC.
25864
82af0fa8
UD
258652011-11-14 Ulrich Drepper <drepper@gmail.com>
25866
25867 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
25868
a5fb313c
AS
258692011-11-14 Andreas Schwab <schwab@redhat.com>
25870
25871 * malloc/arena.c (arena_get2): Don't call reused_arena when
25872 _int_new_arena failed.
25873
6abf3465
UD
258742011-11-14 Ulrich Drepper <drepper@gmail.com>
25875
25876 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
25877 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
25878 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
25879 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25880 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25881 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
25882 to compile strcasecmp and strncasecmp.
25883 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
25884 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
25885
25886 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
25887
76e3966e
UD
258882011-11-13 Ulrich Drepper <drepper@gmail.com>
25889
25890 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
25891 locale-defines.sym to gen-as-const-headers.
25892 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
25893 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
25894 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
25895 to compile strcasecmp and strncasecmp.
25896 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
25897 strcasecmp_l and strncasecmp_l.
25898 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
25899 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
25900 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
25901 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
25902 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
25903 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
25904 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
25905 * sysdeps/i386/i686/multiarch/strncase.S: New file.
25906 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
25907 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
25908 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
25909
ab26144e
UD
259102011-11-12 Ulrich Drepper <drepper@gmail.com>
25911
7edb22ef
UD
25912 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
25913 result of SYSDEP_GETTIME_CPU to retval.
25914 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
25915 parameter list to macro. Remove trailing semicolon. Adjust users.
25916
9694fc44
UD
25917 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
25918 variable.
25919
8ad89ef8
UD
25920 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
25921 mantissa words.
25922 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
25923
0c822ef9
UD
25924 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
25925 from unused variable.
25926
874e0564
UD
25927 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
25928 DWARF definitions.
25929 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
25930 for assembling.
25931
3a2edc79
UD
25932 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
25933 over namespaces.
25934
f3c2577f
UD
25935 * sunrpc/rpc_prot.c (rejected): Fix case value.
25936
294ce126
UD
25937 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
25938 unsigned long long int to avoid warnings in shift.
25939
5e2b63c6
UD
25940 * posix/regex_internal.c (re_string_reconstruct): Actually use result
25941 of use of trans.
25942 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
25943 variable tmp.
25944
e7f4b08e
UD
25945 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
25946 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
25947 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
25948
ab26144e
UD
25949 * nis/nis_table.c (nis_list): Use variable of correct type for
25950 result of __follow_path call.
25951
8a6d5255
AZ
259522011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25953
25954 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
25955 of math functions ceil, trunc, floor, round, and sqrt, when
25956 avaliable on the platform.
25957 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
25958 name clash.
25959 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25960 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
25961 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
25962
aaddc98c
MP
259632011-10-30 Marek Polacek <mpolacek@redhat.com>
25964
25965 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
25966 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
25967
95b7042b
RM
259682011-11-11 Roland McGrath <roland@hack.frob.com>
25969
25970 * include/unistd.h: Fix __readlink return type.
25971 Reported by Chris Metcalf <cmetcalf@tilera.com>.
25972
57769839
UD
259732011-11-11 Ulrich Drepper <drepper@gmail.com>
25974
25975 * stdlib/ucontext.h: Undo last change for makecontext.
25976
edc5984d
AS
259772011-11-11 Andreas Schwab <schwab@redhat.com>
25978
98591e58
AS
25979 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
25980
edc5984d
AS
25981 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
25982 * setjmp/setjmp.h: Mark functions as non-leaf.
25983 * setjmp/bits/setjmp2.h: Likewise.
25984 * stdlib/ucontext.h: Likewise.
25985
77cdc054
AS
259862011-11-10 Andreas Schwab <schwab@redhat.com>
25987
25988 * malloc/arena.c (_int_new_arena): Don't increment narenas.
25989 (reused_arena): Don't check arena limit.
25990 (arena_get2): Atomically check arena limit.
25991
fe72eebd
UD
259922011-11-08 Ulrich Drepper <drepper@gmail.com>
25993
5f078c32
UD
25994 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
25995 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
25996
fe72eebd
UD
25997 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
25998 instructions.
25999
ae1bc2fa
AS
260002011-11-07 Andreas Schwab <schwab@redhat.com>
26001
7583a88d
AS
26002 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
26003 handler when locking.
26004
ae1bc2fa
AS
26005 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
26006 Fix size of allocated buffer.
26007
10fb0bfa
AS
260082011-11-04 Andreas Schwab <schwab@redhat.com>
26009
998832a4
AS
26010 [BZ #10103]
26011 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
26012 declarations for long double functions.
26013 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
26014
10fb0bfa
AS
26015 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
26016
3d7ba52b
AS
260172011-11-03 Andreas Schwab <schwab@redhat.com>
26018
a9ae54a1
AS
26019 * nscd/nscd.c (main): Don't start AVC thread until credentials are
26020 installed.
26021
3d7ba52b
AS
26022 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
26023 is disabled.
26024
bc8db248
ST
260252011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
26026
26027 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
26028
45b96dd6
AS
260292011-11-01 Andreas Schwab <schwab@linux-m68k.org>
26030
647776f6
AS
26031 * include/alloca.h (stackinfo_alloca_round): Define.
26032 (extend_alloca): Use it.
26033 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
26034 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
26035 here.
26036
d91a8b93
AS
26037 * scripts/check-local-headers.sh: Ignore libaudit.h.
26038
45b96dd6
AS
26039 * nscd/Makefile (extra-objs): Make recursively expanded.
26040
432d41ce
UD
260412011-11-01 Ulrich Drepper <drepper@gmail.com>
26042
34372fc6
UD
26043 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
26044 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
26045
fadb59f8
UD
26046 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
26047 * posix/tst-rfc3484-2.c: Likewise.
26048 * posix/tst-rfc3484-3.c: Likewise.
26049
78239589
UD
26050 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
26051 process_vm_writev.
26052 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
26053 process_vm_writev.
26054 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
26055 process_vm_writev from libc using GLIBC_2.15 version.
26056
432d41ce
UD
26057 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
26058
02f9c6cf
PP
260592011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
26060
26061 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
26062 stack usage.
26063
3a2c0242
UD
260642011-10-31 Ulrich Drepper <drepper@gmail.com>
26065
f4ec4833
UD
26066 [BZ #13367]
26067 * nss/getent.c (initgroups_keys): Show error message in case no group
26068 names are given.
26069
3a2c0242
UD
26070 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
26071 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
26072 __bump_nl_timestamp.
26073 * nscd/connections (nscd_init): When host database is served open
26074 netlink socket and request notification about configuration changes.
26075 (main_loop_poll): Track netlink file descriptor and bump timestamp
26076 in case data becomes available.
26077 (main_loop_epoll): Likewise.
26078 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
26079 (database_pers_head): Add extra_data fileds.
26080 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
26081 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
26082 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
26083 Adjust caller.
26084 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
26085 in6ai data, call __free_in6ai.
26086 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
26087 Add -DHAVE_NETLINK.
26088 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
26089 interface information. Reuse previous data if netlink timestamp
26090 is not changed.
26091 (__bump_nl_timestamp): New function.
26092 (__free_in6ai): New function.
26093
636064eb
UD
260942011-10-30 Ulrich Drepper <drepper@gmail.com>
26095
26096 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
26097 close_not_cancel_no_status here.
26098 (__check_pf): Reorganize code a bit to not call close twice if OOM.
26099
9beb2334
UD
261002011-10-29 Ulrich Drepper <drepper@gmail.com>
26101
6ef76f3b
UD
26102 [BZ #13276]
26103 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
26104 return value.
26105
0ffc4f3e 26106 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
26107 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
26108 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
26109
cb95113e
UD
261102011-07-03 Andreas Jaeger <aj@suse.de>
26111
26112 [BZ #10709]
26113 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
26114 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
26115 * math/libm-test.inc (sin_test): Add test case.
26116
a1b560ff
UD
261172011-10-29 Ulrich Drepper <drepper@gmail.com>
26118
c9aaface
UD
26119 [BZ #13337]
26120 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
26121 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26122
d272e7f1
UD
26123 * elf/chroot_canon.c (chroot_canon): Cleanups.
26124
1bc33071
UD
26125 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
26126
1760874d
TJ
26127 [BZ #13335]
26128 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
26129 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26130
51d91b18
UD
26131 * string/test-strchr.c: Make usable for strchrnul testing.
26132 * string/test-strchrnul.c: New file.
26133 * string/Makefile (strop-tests): Add strchrnul.
26134
a1b560ff 26135 * po/it.po: Update from translation team.
b611fb81 26136 * po/es.po: Likewise.
a1b560ff 26137
a5b81e1f
UD
261382011-10-28 Ulrich Drepper <drepper@gmail.com>
26139
fd52bc6d
UD
26140 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
26141 the three constants needed as parameters. Drop the others.
26142 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
26143 __m128i_strloadu_tolower.
52e4b9eb
UD
26144 Create and initialize variable zero and use it in all the places
26145 where _mm_setzero_si128 was used.
fd52bc6d 26146
a5b81e1f
UD
26147 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
26148 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
26149 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
26150 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
26151 anymore.
26152 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
26153 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
26154 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
26155 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
26156 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
26157 __mpranred, __mptan.
26158 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
26159 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
26160 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
26161 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
26162 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
26163 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
26164 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
26165 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
26166 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
26167
b4343346
AS
261682011-10-28 Andreas Schwab <schwab@redhat.com>
26169
0c92d8a8
AS
26170 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
26171 redefine if SHARED.
26172 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
26173
b4343346
AS
26174 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
26175 wide char related routines to wcsmbs subdir.
26176
3871f58f
AS
261772011-10-27 Andreas Schwab <schwab@redhat.com>
26178
26179 [BZ #13344]
26180 * misc/sys/cdefs.h (__THROWNL): Define.
26181 * posix/unistd.h: Use __THREADNL instead of __THREAD
26182 for memory synchronization functions.
26183
94d44d9f
RM
261842011-10-26 Roland McGrath <roland@hack.frob.com>
26185
21b64b15 26186 [BZ #13349]
94d44d9f
RM
26187 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
26188 doesn't exist.
26189 * manual/stdio.texi (Obstack Streams): Node removed.
26190
f6ce9294
AS
261912011-10-26 Andreas Schwab <schwab@redhat.com>
26192
80479147
AS
26193 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
26194 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26195 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26196
f6ce9294
AS
26197 * math/math_private.h (math_force_eval): Allow non-addressable
26198 arguments.
26199 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
26200
618280a1
UD
262012011-10-25 Ulrich Drepper <drepper@gmail.com>
26202
e0016b11
UD
26203 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
26204 file is not needed.
26205
26206 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
26207 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
26208 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26209 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26210 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26211 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26212 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26213 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
26214 Add AVX variants.
26215 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
26216 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
26217 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
26218 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
26219 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
26220 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
26221 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
26222 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
26223 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
26224 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
26225 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
26226 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
26227 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
26228 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
26229 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
26230 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
26231 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
26232 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
26233 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
26234
26235 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
26236 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
26237
618280a1
UD
26238 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
26239 place. Use VEX encoding when compiling for AVX.
26240
37822576
AS
262412011-10-25 Andreas Schwab <schwab@redhat.com>
26242
1f1e1947
AS
26243 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
26244 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
26245
37822576
AS
26246 * string/test-strchr.c (do_test): Don't generate NUL bytes.
26247
31ea014d
UD
262482011-10-25 Ulrich Drepper <drepper@gmail.com>
26249
d7826aa1 26250 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 26251 useless if() expression.
d7826aa1
UD
26252 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26253 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26254 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26255 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26256 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26257 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26258 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26259 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26260 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26261 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26262 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26263 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26264 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
26265 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26266 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
26267 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26268 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26269 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26270 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
26271
31ea014d
UD
26272 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
26273
16437fec
AS
262742011-10-25 Andreas Schwab <schwab@redhat.com>
26275
26276 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
26277 condition.
26278 * elf/dl-fini.c (_dl_sort_fini): Likewise.
26279
31d3cc00
UD
262802011-10-25 Ulrich Drepper <drepper@gmail.com>
26281
26282 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
26283 .text section. Avoid duplicate constants.
26284 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26285 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26286 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26287 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26288 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26289 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26290 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26291 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26292 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26293 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
26294 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26295 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26296 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26297 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26298 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26299 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26300 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26301 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26302 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26303 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26304 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26305 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26306 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26307 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
26308 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
26309 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
26310 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
26311 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
26312 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
26313 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
26314 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
26315 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
26316 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26317 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
26318 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
26319 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
26320 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
26321 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
26322 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
26323 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
26324 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
26325 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
26326 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
26327 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
26328 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
26329
58985aa9
UD
263302011-10-24 Ulrich Drepper <drepper@gmail.com>
26331
202c9deb
UD
26332 * sysdeps/x86_64/dla.h: Move to ...
26333 * sysdeps/x86_64/fpu/dla.h: ...here.
26334 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
26335 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 26336
af968f62
UD
26337 * config.make.in: Add have-mfma4 entry.
26338 * configure.in: Substitute libc_cv_cc_fma4.
26339 * math/Makefile (dbl-only-routines): Add sincostab.
26340 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
26341 Use __sincostab not sincos.
26342 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
26343 name is a macro.
26344 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26345 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26346 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26347 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
26348 using __copysign.
26349 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
26350 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
26351 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
26352 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
26353 and __inv.
26354 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
26355 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
26356 __copysign.
26357 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
26358 define aliases when function name is a macro.
26359 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
26360 sysdeps/ieee754/dbl-64/sincos.tbl.
26361 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
26362 fma4-enabled routines.
26363 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
26364 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
26365 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
26366 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
26367 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
26368 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
26369 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
26370 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
26371 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
26372 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
26373 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
26374 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
26375 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
26376 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
26377 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
26378 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
26379 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
26380 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
26381 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
26382 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
26383 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
26384 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
26385 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
26386 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
26387 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
26388 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
26389 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
26390 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
26391 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
26392 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
26393
58985aa9
UD
26394 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
26395 rename.
26396 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26397 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26398 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26399 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26400 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26401 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26402 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26403 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26404
a201fbcf
AS
264052011-10-24 Andreas Schwab <schwab@redhat.com>
26406
26407 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
26408
fc2ee42a
LD
264092011-10-23 Ulrich Drepper <drepper@gmail.com>
26410
bb3129bd
UD
26411 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
26412
0275fff8
UD
26413 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
26414 prediction.
26415 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
26416
2fa2ae85
UD
26417 * string/strnlen.c: Don't define STRNLEN, reverse logic.
26418 Remove unused variable magic_bits.
26419 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
26420
fc2ee42a
LD
26421 * string/strnlen.c: Define and use STRNLEN macro.
26422 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
26423 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
26424 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
26425 * wcsmbs/wcslen.c: Define and use WCSLEN.
26426 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
26427 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
26428 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
26429 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
26430 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
26431 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
26432 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
26433
ce7dd29f
LD
264342011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26435
26436 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26437 strnlen-sse2-no-bsf.
26438 Rename strlen-no-bsf to strlen-sse2-no-bsf.
26439 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
26440 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
26441 Add strnlen support.
26442 (USE_AS_STRNLEN): New macro.
26443 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
26444 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
26445 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
26446 * sysdeps/x86_64/wcslen.S: New file.
26447
979c70a3
MZ
264482011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
26449
26450 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26451 XMM-moves are used for copying on small sizes.
26452
2d09f82f
LD
264532011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26454
26455 * wcsmbs/Makefile (strop-tests): Add wcschr.
26456 * wcsmbs/test-wcschr.c: New file.
26457 * string/test-strchr.c: Update.
26458 Add wcschr support.
26459 (WIDE): New macro.
26460
619fccca
LD
264612011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26462
2d09f82f 26463 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
26464 * wcsmbs/test-wcslen.c: New file.
26465 * string/test-strlen.c: Update.
26466 Add wcslen support.
26467 (WIDE): New macro.
26468
09f699ea
UD
264692011-10-23 Ulrich Drepper <drepper@gmail.com>
26470
26471 * po/it.po: Update from translation team.
26472
95584d3b
LD
264732011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26474
26475 * sysdeps/x86_64/wcscmp.S: Update.
26476 Fix wrong comparison semantics.
26477 wcscmp shall use signed comparison not unsigned.
26478 Don't use substraction to avoid overflow bug.
26479 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
26480 * wcsmbc/wcscmp.c: Likewise.
26481 * string/test-strcmp.c: Likewise.
26482 Add new tests to check cases with negative values.
26483
c8b3296b
UD
264842011-10-23 Ulrich Drepper <drepper@gmail.com>
26485
26486 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
26487 * sysdeps/x86_64/dla.h: ...here. New file.
26488 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
26489 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26490 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26491 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26492 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26493 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26494 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26495 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26496 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26497
246ad57a
AS
264982011-10-23 Andreas Schwab <schwab@linux-m68k.org>
26499
26500 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
26501 __ynl_finite aliases.
26502
a1a87169
UD
265032011-10-22 Ulrich Drepper <drepper@gmail.com>
26504
0d355eb7
UD
26505 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26506
a1a87169
UD
26507 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
26508 define DLA_FMA.
26509 [DLA_FMA] (EMULV): Use DLA_FMA.
26510 [DLA_FMA] (MUL12): Use EMULV.
26511 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
26512 that are not needed.
26513 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26514 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26515 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26516 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26517 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26518 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26519 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26520
ee2aafe0
AS
265212011-10-22 Andreas Schwab <schwab@linux-m68k.org>
26522
26523 * math/s_nan.c: Undef __nan.
26524 * math/s_nanf.c: Undef __nanf.
26525 * math/s_nanl.c: Undef __nanl.
26526 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
26527 "math_private.h".
26528
bc62c2fb
UD
265292011-10-22 Ulrich Drepper <drepper@gmail.com>
26530
77425c63
UD
26531 * math/s_catan.c: Add branch predictions.
26532 * math/s_catanf.c: Likewise.
26533 * math/s_catanh.c: Likewise.
26534 * math/s_catanhf.c: Likewise.
26535 * math/s_catanhl.c: Likewise.
26536 * math/s_catanl.c: Likewise.
26537 * math/s_cexp.c: Likewise.
26538 * math/s_cexpf.c: Likewise.
26539 * math/s_cexpl.c: Likewise.
26540 * math/s_clog.c: Likewise.
26541 * math/s_clog10.c: Likewise.
26542 * math/s_clog10f.c: Likewise.
26543 * math/s_clog10l.c: Likewise.
26544 * math/s_clogf.c: Likewise.
26545 * math/s_clogl.c: Likewise.
26546 * math/s_csqrt.c: Likewise.
26547 * math/s_csqrtf.c: Likewise.
26548 * math/s_csqrtl.c: Likewise.
26549 * math/s_ctanf.c: Likewise.
26550 * math/s_ctanh.c: Likewise.
26551 * math/s_ctanhf.c: Likewise.
26552 * math/s_ctanhl.c: Likewise.
26553 * math/s_ctanl.c: Likewise.
26554
bc62c2fb
UD
26555 * math/math_private.h: Define __nan, __nanf, __nanl.
26556 * math/s_cacosh.c: Include <math_private.h>.
26557 * math/s_cacoshl.c: Likewise.
26558 * math/s_casinh.c: Likewise.
26559 * math/s_casinhf.c: Likewise.
26560 * math/s_casinhl.c: Likewise.
26561 * math/s_ccos.c: Rely entire on ccosh.
26562 * math/s_ccosf.c: Rely entire on ccoshf.
26563 * math/s_ccosl.c: Rely entirely on ccoshl.
26564 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
26565 Remove tests for FE_INVALID.
26566 * math/s_ccoshf.c: Likewise.
26567 * math/s_ccoshl.c: Likewise.
26568 * math/s_csin.c: Likewise.
26569 * math/s_csinf.c: Likewise.
26570 * math/s_csinh.c Likewise.
26571 * math/s_csinhf.c: Likewise.
26572 * math/s_csinhl.c: Likewise.
26573 * math/s_csinl.c: Likewise.
26574 * math/s_ctan.c: Likewise.
26575 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
26576 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
26577 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
26578
8ec250a4
UD
265792011-10-21 Ulrich Drepper <drepper@gmail.com>
26580
c196fed8
UD
26581 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
26582 compilation problems.
26583
8ec250a4
UD
26584 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
26585 __builtin_expect.
26586
8d4f46c6
UD
265872011-10-20 Ulrich Drepper <drepper@gmail.com>
26588
ed72b654
UD
26589 * sysdeps/i386/configure.in: Test for -mfma4 option.
26590 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
26591 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
26592 COMMON_CPUID_INDEX_80000001.
26593 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
26594 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
26595 use it if FMA3 is not supported.
26596 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
26597
8d4f46c6
UD
26598 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
26599 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26600
d45c60c2
AS
266012011-10-20 Andreas Schwab <schwab@redhat.com>
26602
26603 [BZ #12892]
26604 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
26605 it would create a cycle with a link time dependency.
26606
d9a4d2ab
UD
266072011-10-19 Ulrich Drepper <drepper@gmail.com>
26608
855d1560
UD
26609 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
26610 instruction.
26611 * string/Makefile (strop-tests): Add rawmemchr.
26612 * string/test-rawmemchr.c: New file.
26613
d9a4d2ab
UD
26614 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
26615 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
26616 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
26617 when compiling str{,n}casecmp and when AVX is available. Hook up
26618 new optimized code in initializers.
26619
8f3b1ffe
AS
266202011-10-19 Andreas Schwab <schwab@redhat.com>
26621
26622 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
26623 __feraiseexcept instead of feraiseexcept.
26624
d38f1dba
UD
266252011-10-18 Ulrich Drepper <drepper@gmail.com>
26626
d9a8d0ab
UD
26627 * math/math_private.h: Define defaults for libc_fetestexcept and
26628 libc_feupdateenv.
26629 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
26630 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
26631 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26632 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26633 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
26634 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26635 libc_fetestexcept and libc_feupdateenv.
26636
4855e3dd
UD
26637 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
26638 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
26639 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
26640 * sysdeps/x86_64/fpu/math_private.h: Define special version of
26641 libc_feholdexcept_setround.
26642
581d30e3
UD
26643 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
26644 Add s_nearbyint-c and s_nearbyintf-c.
26645 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
26646 nearbyintf inlines.
26647 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
26648 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
26649 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
26650 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
26651
d38f1dba
UD
26652 * math/math_private.h: Define defaults for libc_fegetround,
26653 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
26654 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
26655 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
26656 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
26657 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
26658 standard functions.
26659 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26660 Remove comments and hacks for old compiler versions.
26661 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26662 libc_fegetround, libc_fesetround, libc_feholdexcept, and
26663 libc_feholdexceptl.
26664
caa6c9d8
AS
266652011-10-18 Andreas Schwab <schwab@redhat.com>
26666
26667 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
26668 (__feraiseexcept_renamed): Add __NTH.
26669 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
26670 namespace violations.
26671
97c066e6
UD
266722011-10-17 Ulrich Drepper <drepper@gmail.com>
26673
99ce7b04
UD
26674 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
26675
1004d182
UD
26676 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
26677
228a984d
UD
26678 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
26679 recently added interfaces.
26680 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
26681
c8553a6a
UD
26682 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
26683 about macro parameter expansion.
26684
ed22dcf6
UD
26685 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
26686 __NO_MATH_INLINES is defined. Cleanups.
26687
26688 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
26689 and __floorf is target has SSE4.1.
26690 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
26691 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
26692 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
26693 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
26694
b171c137
UD
26695 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
26696 name.
26697 (floorf): Likewise.
26698
97c066e6
UD
26699 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
26700
629f62ef
AS
267012011-10-17 Andreas Schwab <schwab@redhat.com>
26702
49a43d80
AS
26703 * misc/sys/cdefs.h: Fix last change.
26704
629f62ef
AS
26705 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
26706 database lookup.
26707
e453f6cd
UD
267082011-10-16 Ulrich Drepper <drepper@gmail.com>
26709
aa78043a
UD
26710 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
26711
ad0f5cad
UD
26712 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
26713 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26714 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26715 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26716 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26717 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
26718 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26719 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26720 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
26721 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
26722 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
26723 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
26724 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
26725 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
26726 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
26727 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
26728 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
26729 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
26730 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
26731 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
26732 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
26733 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
26734
26735 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
26736 ceil, ceilf, floor, floorf.
26737
26738 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
26739 Perform IRELATIVE relocations last.
26740
e453f6cd
UD
26741 * elf/do-rel.h: Add another parameter nrelative, replacing the
26742 local variable with the same name. Change name of the function
26743 to end in Rel or Rela (uppercase).
26744 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
26745 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
26746 elf_dynamic_do_##reloc function.
26747
fd5bdc09
UD
267482011-10-15 Ulrich Drepper <drepper@gmail.com>
26749
79b195b5
UD
26750 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
26751 is sufficient, at least on modern CPUs.
26752
d4a28569
UD
26753 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
26754
b61099b5
UD
26755 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
26756 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
26757
bcf01e6d
UD
26758 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
26759 __expl_finite.
26760 * math/bits/math-finite.h: Add entries for exp.
26761 * math/e_expl.c: Add __*_finite alias.
26762 * sysdeps/i386/fpu/e_exp.S: Likewise.
26763 * sysdeps/i386/fpu/e_expf.S: Likewise.
26764 * sysdeps/i386/fpu/e_expl.c: Likewise.
26765 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26766 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26767 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26768 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26769 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
26770 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26771 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26772
ba1a0d59
UD
26773 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
26774 is sufficient, at least on modern CPUs.
26775
fd5bdc09
UD
26776 * ctype/ctype-info.c (__ctype_init): Define.
26777 * include/ctype.h (__ctype_init): Declare.
26778 (__ctype_b_loc): The variable is always initialized.
26779 (__ctype_toupper_loc): Likewise.
26780 (__ctype_tolower_loc): Likewise.
26781 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
26782 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
26783
7872cfb0
AS
267842011-10-15 Andreas Schwab <schwab@linux-m68k.org>
26785
b468825a
AS
26786 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
26787
7872cfb0
AS
26788 * configure.in: Also look in $cxxmachine/include for C++ system
26789 headers.
26790
be13f7bf
LD
267912011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26792
26793 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
26794 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
26795 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
26796 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
26797 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
26798 (USE_AS_WMEMCMP): New macro.
26799 Fixing indents.
26800 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
26801 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
26802 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
26803 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
26804 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26805 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
26806 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
26807 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
26808 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
26809 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
26810 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
26811 (USE_AS_WMEMCMP): New macro.
26812 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
26813 * sysdeps/string/test-memcmp.c: Update.
26814 Fix simple_wmemcmp.
26815 Add new tests.
26816 * wcsmbs/wmemcmp.c: Update.
26817 (WMEMCMP): New macro.
26818 Fix overflow bug.
26819
556a2007
AJ
268202011-10-12 Andreas Jaeger <aj@suse.de>
26821
26822 [BZ #13268]
26823 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
26824
538faaa7
UD
268252011-10-15 Ulrich Drepper <drepper@gmail.com>
26826
ab6737ff
UD
26827 * libio/iofwide.c (do_length): Avoid warning.
26828
538faaa7
UD
26829 * ctype/ctype.h (__isctype_f): Add missing __THROW.
26830
396a21b1
UD
268312011-10-14 Ulrich Drepper <drepper@gmail.com>
26832
cdf2901f
UD
26833 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
26834
38ad40ce
UD
26835 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
26836 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
26837 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
26838 * sysdeps/i386/i686/fpu/e_log.S: New file.
26839 * sysdeps/i386/i686/fpu/e_logf.S: New file.
26840 * sysdeps/i386/i686/fpu/e_logl.S: New file.
26841
396a21b1
UD
26842 * ctype/ctype.h: Add support for inlined isXXX functions when
26843 compiling C++ code.
26844
6b1f68c9
AS
268452011-10-14 Andreas Schwab <schwab@redhat.com>
26846
349290c0
AS
26847 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26848
6b1f68c9
AS
26849 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
26850
f2282d42
RM
268512011-10-13 Roland McGrath <roland@hack.frob.com>
26852
26853 [BZ #13291]
26854 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
26855
5298ffa8
AS
268562011-10-13 Andreas Schwab <schwab@redhat.com>
26857
714fad23
AS
26858 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
26859 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
26860 feraiseexcept.
26861
81dcc7fb
AS
26862 * sysdeps/x86_64/memrchr.S: Check for zero size.
26863
5298ffa8
AS
26864 * string/stratcliff.c: Add memrchr tests.
26865
951fbcec
LD
268662011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26867
26868 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26869 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
26870 rawmemchr-sse2 rawmemchr-sse2-bsf.
26871 * sysdeps/i386/i686/multiarch/memchr.S: New file.
26872 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
26873 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
26874 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
26875 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
26876 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
26877 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
26878 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
26879 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
26880 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
26881 * string/memrchr.c (MEMRCHR): New macro.
26882
0ac5ae23
UD
268832011-10-12 Ulrich Drepper <drepper@gmail.com>
26884
26885 Add integration with gcc's -ffinite-math-only and optimize wrapper
26886 functions in libm.
26887 * Versions.def: Define GLIBC_2.15 version for libm.
26888 * math/Makefile (headers): Add bits/math-finite.h.
26889 * math/bits/math-finite.h: New file.
26890 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
26891 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
26892 * math/e_acoshl.c: Add __*_finite alias.
26893 * math/e_acosl.c: Likewise.
26894 * math/e_asinl.c: Likewise.
26895 * math/e_atan2l.c: Likewise.
26896 * math/e_atanhl.c: Likewise.
26897 * math/e_coshl.c: Likewise.
26898 * math/e_exp10.c: Likewise.
26899 * math/e_exp10f.c: Likewise.
26900 * math/e_exp10l.c: Likewise.
26901 * math/e_exp2l.c: Likewise.
26902 * math/e_fmodl.c: Likewise.
26903 * math/e_gammal_r.c: Likewise.
26904 * math/e_hypotl.c: Likewise.
26905 * math/e_j0l.c: Likewise.
26906 * math/e_j1l.c: Likewise.
26907 * math/e_jnl.c: Likewise.
26908 * math/e_lgammal_r.c: Likewise.
26909 * math/e_log10l.c: Likewise.
26910 * math/e_log2l.c: Likewise.
26911 * math/e_logl.c: Likewise.
26912 * math/e_powl.c: Likewise.
26913 * math/e_sinhl.c: Likewise.
26914 * math/e_sqrtl.c: Likewise.
26915 * math/e_scalb.c: Completely rewritten and optimized.
26916 * math/e_scalbf.c: Likewise.
26917 * math/e_scalbl.c: Likewise.
26918 * math/w_acos.c: Likewise.
26919 * math/w_acosf.c: Likewise.
26920 * math/w_acosl.c: Likewise.
26921 * math/w_acosh.c: Likewise.
26922 * math/w_acoshf.c: Likewise.
26923 * math/w_acoshl.c: Likewise.
26924 * math/w_asin.c: Likewise.
26925 * math/w_asinf.c: Likewise.
26926 * math/w_asinl.c: Likewise.
26927 * math/w_atan2.c: Likewise.
26928 * math/w_atan2f.c: Likewise.
26929 * math/w_atan2l.c: Likewise.
26930 * math/w_atanh.c: Likewise.
26931 * math/w_atanhf.c: Likewise.
26932 * math/w_atanhl.c: Likewise.
26933 * math/w_exp10.c: Likewise.
26934 * math/w_exp10f.c: Likewise.
26935 * math/w_exp10l.c: Likewise.
26936 * math/w_fmod.c: Likewise.
26937 * math/w_fmodf.c: Likewise.
26938 * math/w_fmodl.c: Likewise.
26939 * math/w_j0.c: Likewise.
26940 * math/w_j0f.c: Likewise.
26941 * math/w_j0l.c: Likewise.
26942 * math/w_j1.c: Likewise.
26943 * math/w_j1f.c: Likewise.
26944 * math/w_j1l.c: Likewise.
26945 * math/w_jn.c: Likewise.
26946 * math/w_jnf.c: Likewise.
26947 * math/w_log.c: Likewise.
26948 * math/w_logf.c: Likewise.
26949 * math/w_logl.c: Likewise.
26950 * math/w_log10.c: Likewise.
26951 * math/w_log10f.c: Likewise.
26952 * math/w_log10l.c: Likewise.
26953 * math/w_log2.c: Likewise.
26954 * math/w_log2f.c: Likewise.
26955 * math/w_log2l.c: Likewise.
26956 * math/w_pow.c: Likewise.
26957 * math/w_powf.c: Likewise.
26958 * math/w_powl.c: Likewise.
26959 * math/w_remainder.c: Likewise.
26960 * math/w_remainderf.c: Likewise.
26961 * math/w_remainderl.c: Likewise.
26962 * math/w_scalb.c: Likewise.
26963 * math/w_scalbf.c: Likewise.
26964 * math/w_scalbl.c: Likewise.
26965 * math/w_sqrt.c: Likewise.
26966 * math/w_sqrtf.c: Likewise.
26967 * math/w_sqrtl.c: Likewise.
26968 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
26969 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
26970 used.
26971 * math/math_private.h: Declare __kernel_standard_f.
26972 * math/w_cosh.c: Remove cruft and optimize a bit.
26973 * math/w_coshf.c: Likewise.
26974 * math/w_coshl.c: Likewise.
26975 * math/w_exp2.c: Likewise.
26976 * math/w_exp2f.c: Likewise.
26977 * math/w_exp2l.c: Likewise.
26978 * math/w_hypot.c: Likewise.
26979 * math/w_hypotf.c: Likewise.
26980 * math/w_hypotl.c: Likewise.
26981 * math/w_lgamma.c: Likewise.
26982 * math/w_lgamma_r.c: Likewise.
26983 * math/w_lgammaf.c: Likewise.
26984 * math/w_lgammaf_r.c: Likewise.
26985 * math/w_lgammal.c: Likewise.
26986 * math/w_lgammal_r.c: Likewise.
26987 * math/w_sinh.c: Likewise.
26988 * math/w_sinhf.c: Likewise.
26989 * math/w_sinhl.c: Likewise.
26990 * math/w_tgamma.c: Likewise.
26991 * math/w_tgammaf.c: Likewise.
26992 * math/w_tgammal.c: Likewise.
26993 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26994 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26995 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
26996 Minor optimizations. Pretty printing. Remove cruft.
26997 * sysdeps/i386/fpu/e_acosf.S: Likewise.
26998 * sysdeps/i386/fpu/e_acosh.S: Likewise.
26999 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27000 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27001 * sysdeps/i386/fpu/e_acosl.c: Likewise.
27002 * sysdeps/i386/fpu/e_asin.S: Likewise.
27003 * sysdeps/i386/fpu/e_asinf.S: Likewise.
27004 * sysdeps/i386/fpu/e_atan2.S: Likewise.
27005 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
27006 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
27007 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27008 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27009 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27010 * sysdeps/i386/fpu/e_exp10.S: Likewise.
27011 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
27012 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
27013 * sysdeps/i386/fpu/e_exp2.S: Likewise.
27014 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
27015 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
27016 * sysdeps/i386/fpu/e_fmod.S: Likewise.
27017 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
27018 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
27019 * sysdeps/i386/fpu/e_hypot.S: Likewise.
27020 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
27021 * sysdeps/i386/fpu/e_log.S: Likewise.
27022 * sysdeps/i386/fpu/e_log10.S: Likewise.
27023 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27024 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27025 * sysdeps/i386/fpu/e_log2.S: Likewise.
27026 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27027 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27028 * sysdeps/i386/fpu/e_logf.S: Likewise.
27029 * sysdeps/i386/fpu/e_logl.S: Likewise.
27030 * sysdeps/i386/fpu/e_pow.S: Likewise.
27031 * sysdeps/i386/fpu/e_powf.S: Likewise.
27032 * sysdeps/i386/fpu/e_powl.S: Likewise.
27033 * sysdeps/i386/fpu/e_remainder.S: Likewise.
27034 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
27035 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
27036 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27037 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27038 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27039 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
27040 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
27041 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
27042 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27043 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27044 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27045 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27046 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27047 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27048 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
27049 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27050 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27051 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27052 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27053 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
27054 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27055 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27056 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27057 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27058 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27059 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27060 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27061 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27062 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27063 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
27064 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27065 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27066 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
27067 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
27068 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27069 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
27070 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
27071 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
27072 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27073 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
27074 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27075 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
27076 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
27077 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
27078 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
27079 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
27080 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
27081 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
27082 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
27083 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
27084 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
27085 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
27086 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27087 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
27088 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
27089 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
27090 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
27091 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
27092 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
27093 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
27094 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
27095 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27096 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
27097 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
27098 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
27099 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
27100 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
27101 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
27102 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
27103 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
27104 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27105 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27106 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
27107 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
27108 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
27109 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
27110 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
27111 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
27112 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
27113 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
27114 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
27115 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
27116 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
27117 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27118 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
27119 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
27120 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27121 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
27122 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27123 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
27124 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
27125 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27126 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27127 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
27128 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27129 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
27130 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27131 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
27132 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27133 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27134 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27135 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
27136 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27137 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
27138 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
27139 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
27140 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
27141 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
27142 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
27143 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
27144 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
27145 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
27146 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27147 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27148 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27149 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27150 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
27151 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27152 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
27153 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
27154 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
27155 (__isnanf): Likewise.
27156 (__isinf_ns): Likewise.
27157 (__isinf_nsf): Likewise.
27158 (__finite): Likewise.
27159 (__finitef): Likewise.
27160 (__ieee754_sqrt): Define as macro.
27161 (__ieee754_sqrtf): Define as macro.
27162 (__ieee754_sqrtl): Define as macro.
27163 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
27164 inlined copy.
27165 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
27166 __FINITE_MATH_ONLY__ consistent.
27167 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
27168
12cc2fcd
AS
271692011-10-10 Andreas Schwab <schwab@linux-m68k.org>
27170
a843a204
AS
27171 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
27172 of rawmemchr.
27173
12cc2fcd
AS
27174 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
27175
c853acd5
UD
271762011-10-09 Ulrich Drepper <drepper@gmail.com>
27177
27178 * po/ja.po: Update from translation team.
27179
c658d255
RM
271802011-10-08 Roland McGrath <roland@hack.frob.com>
27181
110946e4
RM
27182 * locale/programs/locarchive.c (prepare_address_space): New function.
27183 (create_archive, enlarge_archive, open_archive): Use it.
27184
50604220
RM
27185 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
27186 inside [SHARED], where it is used.
27187
c658d255
RM
27188 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
27189
27190 * nss/getent.c (netgroup_keys): Remove unused variable.
27191 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
27192
6a621eb7
UD
271932011-10-08 Ulrich Drepper <drepper@gmail.com>
27194
7edb55ce
UD
27195 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
27196 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
27197 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
27198 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
27199 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
27200 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
27201 * math/Makefile (libm-calls): Add s_isinf_ns.
27202 * math/divtc3.c: Use __isinf_nsl instead of isinf.
27203 * math/multc3.c: Likewise.
27204 * math/s_casin.c: Likewise.
27205 * math/s_casinf.c: Likewise.
27206 * math/s_casinl.c: Likewise.
27207 * math/s_ccos.c: Likewise.
27208 * math/s_ccosf.c: Likewise.
27209 * math/s_ccosl.c: Likewise.
27210 * math/s_ctan.c: Likewise.
27211 * math/s_ctanf.c: Likewise.
27212 * math/s_ctanh.c: Likewise.
27213 * math/s_ctanhf.c: Likewise.
27214 * math/s_ctanhl.c: Likewise.
27215 * math/s_ctanl.c: Likewise.
27216 * math/w_fmod.c: Likewise.
27217 * math/w_fmodf.c: Likewise.
27218 * math/w_fmodl.c: Likewise.
27219 * math/w_remainder.c: Likewise.
27220 * math/w_remainderf.c: Likewise.
27221 * math/w_remainderl.c: Likewise.
27222 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
27223 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
27224 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
27225 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
27226 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
27227 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
27228 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
27229 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
27230
187da0ae
UD
27231 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
27232 of the number.
27233 * stdio-common/printf_fphex.c: Likewise.
27234 * stdio-common/printf_size.c: Likewise.
27235
9277c064
UD
27236 * math/e_exp10.c: Include math_private.h using <...> not "...".
27237 * math/e_exp10f.c: Likewise.
27238 * math/e_exp10l.c: Likewise.
27239 * math/e_exp2l.c: Likewise.
27240 * math/e_j0l.c: Likewise.
27241 * math/e_j1l.c: Likewise.
27242 * math/e_jnl.c: Likewise.
27243 * math/e_lgammal_r.c: Likewise.
27244 * math/e_rem_pio2l.c: Likewise.
27245 * math/e_scalb.c: Likewise.
27246 * math/e_scalbf.c: Likewise.
27247 * math/e_scalbl.c: Likewise.
27248 * math/k_cosl.c: Likewise.
27249 * math/k_sinl.c: Likewise.
27250 * math/k_tanl.c: Likewise.
27251 * math/s_cacoshf.c: Likewise.
27252 * math/s_catan.c: Likewise.
27253 * math/s_catanf.c: Likewise.
27254 * math/s_catanh.c: Likewise.
27255 * math/s_catanhf.c: Likewise.
27256 * math/s_catanhl.c: Likewise.
27257 * math/s_catanl.c: Likewise.
27258 * math/s_ccosh.c: Likewise.
27259 * math/s_ccoshf.c: Likewise.
27260 * math/s_ccoshl.c: Likewise.
27261 * math/s_cexp.c: Likewise.
27262 * math/s_cexpf.c: Likewise.
27263 * math/s_cexpl.c: Likewise.
27264 * math/s_clog.c: Likewise.
27265 * math/s_clog10.c: Likewise.
27266 * math/s_clog10f.c: Likewise.
27267 * math/s_clog10l.c: Likewise.
27268 * math/s_clogf.c: Likewise.
27269 * math/s_clogl.c: Likewise.
27270 * math/s_csin.c: Likewise.
27271 * math/s_csinf.c: Likewise.
27272 * math/s_csinh.c: Likewise.
27273 * math/s_csinhf.c: Likewise.
27274 * math/s_csinhl.c: Likewise.
27275 * math/s_csinl.c: Likewise.
27276 * math/s_csqrt.c: Likewise.
27277 * math/s_csqrtf.c: Likewise.
27278 * math/s_csqrtl.c: Likewise.
27279 * math/s_ctan.c: Likewise.
27280 * math/s_ctanf.c: Likewise.
27281 * math/s_ctanh.c: Likewise.
27282 * math/s_ctanhf.c: Likewise.
27283 * math/s_ctanhl.c: Likewise.
27284 * math/s_ctanl.c: Likewise.
27285 * math/s_ldexp.c: Likewise.
27286 * math/s_ldexpf.c: Likewise.
27287 * math/s_ldexpl.c: Likewise.
27288 * math/s_significand.c: Likewise.
27289 * math/s_significandf.c: Likewise.
27290 * math/s_significandl.c: Likewise.
27291 * math/w_acos.c: Likewise.
27292 * math/w_acosf.c: Likewise.
27293 * math/w_acosh.c: Likewise.
27294 * math/w_acoshf.c: Likewise.
27295 * math/w_acoshl.c: Likewise.
27296 * math/w_acosl.c: Likewise.
27297 * math/w_asin.c: Likewise.
27298 * math/w_asinf.c: Likewise.
27299 * math/w_asinl.c: Likewise.
27300 * math/w_atan2.c: Likewise.
27301 * math/w_atan2f.c: Likewise.
27302 * math/w_atan2l.c: Likewise.
27303 * math/w_atanh.c: Likewise.
27304 * math/w_atanhf.c: Likewise.
27305 * math/w_atanhl.c: Likewise.
27306 * math/w_cosh.c: Likewise.
27307 * math/w_coshf.c: Likewise.
27308 * math/w_coshl.c: Likewise.
27309 * math/w_dremf.c: Likewise.
27310 * math/w_exp10.c: Likewise.
27311 * math/w_exp10f.c: Likewise.
27312 * math/w_exp10l.c: Likewise.
27313 * math/w_exp2.c: Likewise.
27314 * math/w_exp2f.c: Likewise.
27315 * math/w_fmod.c: Likewise.
27316 * math/w_fmodf.c: Likewise.
27317 * math/w_fmodl.c: Likewise.
27318 * math/w_hypot.c: Likewise.
27319 * math/w_hypotf.c: Likewise.
27320 * math/w_hypotl.c: Likewise.
27321 * math/w_j0.c: Likewise.
27322 * math/w_j0f.c: Likewise.
27323 * math/w_j0l.c: Likewise.
27324 * math/w_j1.c: Likewise.
27325 * math/w_j1f.c: Likewise.
27326 * math/w_j1l.c: Likewise.
27327 * math/w_jn.c: Likewise.
27328 * math/w_jnf.c: Likewise.
27329 * math/w_jnl.c: Likewise.
27330 * math/w_lgamma.c: Likewise.
27331 * math/w_lgamma_r.c: Likewise.
27332 * math/w_lgammaf.c: Likewise.
27333 * math/w_lgammaf_r.c: Likewise.
27334 * math/w_lgammal.c: Likewise.
27335 * math/w_lgammal_r.c: Likewise.
27336 * math/w_log.c: Likewise.
27337 * math/w_log10.c: Likewise.
27338 * math/w_log10f.c: Likewise.
27339 * math/w_log10l.c: Likewise.
27340 * math/w_log2.c: Likewise.
27341 * math/w_log2f.c: Likewise.
27342 * math/w_log2l.c: Likewise.
27343 * math/w_logf.c: Likewise.
27344 * math/w_logl.c: Likewise.
27345 * math/w_pow.c: Likewise.
27346 * math/w_powf.c: Likewise.
27347 * math/w_powl.c: Likewise.
27348 * math/w_remainder.c: Likewise.
27349 * math/w_remainderf.c: Likewise.
27350 * math/w_remainderl.c: Likewise.
27351 * math/w_scalb.c: Likewise.
27352 * math/w_scalbf.c: Likewise.
27353 * math/w_scalbl.c: Likewise.
27354 * math/w_sinh.c: Likewise.
27355 * math/w_sinhf.c: Likewise.
27356 * math/w_sinhl.c: Likewise.
27357 * math/w_sqrt.c: Likewise.
27358 * math/w_sqrtf.c: Likewise.
27359 * math/w_sqrtl.c: Likewise.
27360 * math/w_tgamma.c: Likewise.
27361 * math/w_tgammaf.c: Likewise.
27362 * math/w_tgammal.c: Likewise.
27363
6a621eb7
UD
27364 * po/ja.po: Update from translation team.
27365
bf582445
AJ
273662011-09-29 Andreas Jaeger <aj@suse.de>
27367
f9efbf3a
AJ
27368 [BZ #13179]
27369 * sunrpc/netname.c (netname2host): Fix logic.
27370
bf582445
AJ
27371 [BZ #6779]
27372 [BZ #6783]
27373 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
27374 correctly.
27375 * math/w_remainder.c (__remainder): Likewise.
27376 * math/w_remainderf.c (__remainderf): Likewise.
27377 * math/libm-test.inc (remainder_test): Add test cases.
27378
48693bea
AK
273792011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27380
27381 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
27382 sdiv_qrnnd.
27383
42622229
LD
273842011-10-07 Ulrich Drepper <drepper@gmail.com>
27385
27386 * string/test-memcmp.c: Avoid unncessary #defines.
27387 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27388
093ecf92
LD
273892011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27390
27391 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
27392 Use new sse2 version for core i3 - i7 as it's faster
27393 than sse42 version.
27394 (bit_Prefer_PMINUB_for_stringop): New.
27395 * sysdeps/x86_64/rawmemchr.S: Update.
27396 Replace with faster SSE2 version.
27397 * sysdeps/x86_64/memrchr.S: New file.
27398 * sysdeps/x86_64/memchr.S: Update.
27399 Replace with faster SSE2 version.
27400
fde56e5c
MP
274012011-09-12 Marek Polacek <mpolacek@redhat.com>
27402
27403 * elf/dl-load.c (lose): Add cast to avoid warning.
27404
21fd49a9
UD
274052011-10-07 Ulrich Drepper <drepper@gmail.com>
27406
5a06e643
UD
27407 * po/ca.po: Update from translation team.
27408
684ae515
UD
27409 * inet/getnetgrent_r.c: Hook up nscd.
27410 * nscd/Makefile (routines): Add nscd_netgroup.
27411 (nscd-modules): Add netgroupcache.
27412 (CFLAGS-netgroupcache.c): Define.
27413 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
27414 (cache_search): Add const to second parameter.
27415 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
27416 INNETGR.
27417 (dbs): Add netgrdb entry.
27418 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
27419 (verify_persistent_db): Handle netgrdb.
27420 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
27421 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
27422 GETFDNETGR.
27423 (netgroup_response_header): Define.
27424 (innetgroup_response_header): Define.
27425 (datahead): Add netgroup_response_header and innetgroup_response_header
27426 elements.
27427 * nscd/nscd.conf: Add entries for netgroup cache.
27428 * nscd/nscd.h (dbtype): Add netgrdb.
27429 (_PATH_NSCD_NETGROUP_DB): Define.
27430 (netgroup_iov_disabled): Declare.
27431 (xmalloc, xcalloc, xrealloc): Move declarations here.
27432 (cache_search): Adjust prototype.
27433 Add netgroup-related prototypes.
27434 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
27435 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
27436 (__nscd_innetgr): Declare.
27437 * nscd/selinux.c (perms): Use access_vector_t as element type and
27438 add netgroup-related initializers.
27439 * nscd/netgroupcache.c: New file.
27440 * nscd/nscd_netgroup.c: New file.
27441 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
27442 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
27443 For four parameters use innetgr.
27444 * nss/nss_files/files-init.c: Add definition and callback for netgr.
27445 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
27446 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
27447 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
27448
21fd49a9
UD
27449 * nscd/connections.c (register_traced_file): Don't register file
27450 for disabled databases.
27451
054c0457
UD
274522011-10-06 Ulrich Drepper <drepper@gmail.com>
27453
32b63198
UD
27454 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
27455
054c0457
UD
27456 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
27457 from tree and freeing node.
27458
64031225
JO
274592011-09-25 Jiri Olsa <jolsa@redhat.com>
27460
27461 * nss/nsswitch.c (__nss_database_lookup): Handle
27462 nss_parse_service_list out of memory case.
27463
0490345c
JO
274642011-09-15 Jiri Olsa <jolsa@redhat.com>
27465
27466 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
27467 out of memory case.
27468
3a62d00d
AS
274692011-10-04 Andreas Schwab <schwab@redhat.com>
27470
27471 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
27472 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
27473 pass it down.
27474 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
27475 elf_machine_rela, elf_machine_lazy_rel.
27476 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
27477 (ELF_DYNAMIC_DO_REL): Likewise.
27478 (ELF_DYNAMIC_DO_RELA): Likewise.
27479 (ELF_DYNAMIC_RELOCATE): Likewise.
27480 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
27481 to ELF_DYNAMIC_DO_REL.
27482 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
27483 (dl_main): In trace mode always set __RTLD_NOIFUNC.
27484 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
27485 elf_machine_rela.
27486 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
27487 skip_ifunc, don't call ifunc function if non-zero.
27488 (elf_machine_rela): Likewise.
27489 (elf_machine_lazy_rel): Likewise.
27490 (elf_machine_lazy_rela): Likewise.
27491 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
27492 (elf_machine_lazy_rel): Likewise.
27493 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
27494 Likewise.
27495 (elf_machine_lazy_rel): Likewise.
27496 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27497 Likewise.
27498 (elf_machine_lazy_rel): Likewise.
27499 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
27500 (elf_machine_lazy_rel): Likewise.
27501 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
27502 (elf_machine_lazy_rel): Likewise.
27503 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27504 (elf_machine_lazy_rel): Likewise.
27505 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
27506 (elf_machine_lazy_rel): Likewise.
27507 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
27508 (elf_machine_lazy_rel): Likewise.
27509 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
27510 (elf_machine_lazy_rel): Likewise.
27511
68577918
UD
275122011-09-28 Ulrich Drepper <drepper@gmail.com>
27513
27514 * nss/nss_files/files-init.c (_nss_files_init): Use static
27515 initialization for all the *_traced_file variables.
27516
68822d74
AS
275172011-09-28 Andreas Schwab <schwab@redhat.com>
27518
27519 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27520
2056100b
RM
275212011-09-27 Roland McGrath <roland@hack.frob.com>
27522
27523 [BZ #13226]
27524 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
27525
32c76b63
AS
275262011-09-27 Andreas Schwab <schwab@redhat.com>
27527
27528 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27529 Reread the line before reparsing it.
27530
bf972c9d
AS
275312011-09-26 Andreas Schwab <schwab@redhat.com>
27532
27533 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
27534
e057a1b5
JM
275352011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
27536 Maxim Kuvyrkov <maxim@codesourcery.com>
27537 Joseph Myers <joseph@codesourcery.com>
27538
27539 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
27540 if needed for __stack_chk_guard.
27541
bc7e1c36
RM
275422011-09-19 Roland McGrath <roland@hack.frob.com>
27543
ecb1482f
RM
27544 * sysdeps/posix/spawni.c (script_execute): Always define it.
27545 It will be optimized away if unused.
27546 (maybe_script_execute): New function.
27547 (__spawni): Call it.
27548
bc7e1c36
RM
27549 * Makerules: Don't include tls.make.
27550 (config-tls): Always set to thread.
27551 * tls.make.c: File removed.
27552
1c3b002b
MF
275532011-09-19 Mike Frysinger <vapier@gentoo.org>
27554
27555 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
27556 * config.make.in (CPPFLAGS-config): New substituted variable.
27557
2840865d
UD
275582011-09-15 Ulrich Drepper <drepper@gmail.com>
27559
88738eb6
UD
27560 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
27561
cbf645a6 27562 [BZ #13192]
2840865d
UD
27563 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
27564 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
27565
b402e91a
RM
275662011-09-15 Roland McGrath <roland@hack.frob.com>
27567
27568 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
27569 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
27570 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27571 (CALL_FAIL): Likewise.
27572 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
27573 (CALL_FAIL): Macro removed.
27574 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
27575
4c1a1f71
UD
275762011-09-15 Ulrich Drepper <drepper@gmail.com>
27577
27578 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
27579 for __FINITE_MATH_ONLY__ == 1.
27580
edc121be
AS
275812011-09-15 Andreas Schwab <schwab@redhat.com>
27582
27583 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
27584 __ieee754_sqrt instead of sqrt.
27585 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
27586 __ieee754_sqrtf instead of sqrtf.
27587 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
27588 __floorf instead of floorf.
27589 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
27590 __floorf, __truncf instead of floorf, truncf.
27591
cd205654
UD
275922011-09-14 Ulrich Drepper <drepper@gmail.com>
27593
ee4d0315
UD
27594 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
27595
cd205654
UD
27596 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
27597 __extern_always_inline.
27598 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
27599 32-bit.
27600
48b67d71
AS
276012011-09-14 Andreas Schwab <schwab@redhat.com>
27602
27603 * elf/rtld.c (dl_main): Also relocate in dependency order when
27604 doing symbol dependency testing.
27605
1ae12c75
AS
276062011-09-13 Andreas Schwab <schwab@linux-m68k.org>
27607
27608 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27609 Always define `refsym'.
27610
995a80df
AS
276112011-09-13 Andreas Schwab <schwab@redhat.com>
27612
e529793b
AS
27613 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
27614 (__FD_ELT): Renamed from __FDELT.
27615 * misc/bits/select2.h (__FD_ELT): Likewise.
27616 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
27617 __FD_MASK instead of __FDELT, __FDMASK.
27618 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27619 Likewise.
27620 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27621 Likewise.
27622
52d4fef8
AS
27623 * elf/Makefile (gen-ldd): Fix pattern.
27624
995a80df
AS
27625 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
27626 (init_tls): Likewise.
27627
8682f8b0
UD
276282011-09-12 Ulrich Drepper <drepper@gmail.com>
27629
27630 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
27631
de82006d
AS
276322011-09-12 Andreas Schwab <schwab@redhat.com>
27633
a7c8e6a1
AS
27634 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
27635 `struct cmsghdr *' instead of `void *'.
27636 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
27637 Likewise.
27638
0f31fe77
AS
276392011-09-11 Andreas Schwab <schwab@linux-m68k.org>
27640
27641 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
27642 if non-absolute.
27643 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
27644 ldd_rewrite_script.
0f31fe77 27645
32b4c839
UD
276462011-09-11 Ulrich Drepper <drepper@gmail.com>
27647
83cd1420
UD
27648 * configure.in: Remove --with-tls option.
27649 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
27650 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
27651 out in case it is missing.
27652 * sysdeps/ia64/elf/configure.in: Likewise.
27653 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
27654 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
27655 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
27656 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
27657 * sysdeps/sh/elf/configure.in: Likewise.
27658 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
27659 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
27660 * sysdeps/x86_64/elf/configure.in: Likewise.
27661 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
27662 * sysdeps/mach/hurd/tls.h: Likewise.
27663
633f745d
UD
27664 [BZ #13067]
27665 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
27666
f318beb8
UD
27667 [BZ #13090]
27668 * configure.in: Fix use of AC_INIT.
27669
32b4c839
UD
27670 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
27671
3ce1f295
UD
276722011-09-10 Ulrich Drepper <drepper@gmail.com>
27673
bb016596
UD
27674 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
27675 __set_errno.
8e58439c
UD
27676 * malloc/hooks.c: Likewise.
27677
aebae053 27678 [BZ #11929]
02d46fc4
UD
27679 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
27680 variables statically.
27681 (narenas): Initialize.
27682 (list_lock): Initialize.
bb016596
UD
27683 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
27684 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
27685 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
27686 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
27687 Add initializers to main_arena and mp_.
27688 (malloc_state): Remove pagesize member. Change all users to use
27689 GLRO(dl_pagesize).
27690
27691 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
27692 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
27693 is always initialized.
27694
22a89187
UD
27695 * malloc/malloc.c: Removed unused configurations and dead code.
27696 * malloc/arena.c: Likewise.
27697 * malloc/hooks.c: Likewise.
02d46fc4 27698 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 27699
d063d164
UD
27700 * include/tls.h: Removed. USE___THREAD must always be defined.
27701 * bits/libc-tsd.h: Don't handle !USE___THREAD.
27702 * elf/dl-libc.c: Likewise.
27703 * elf/dl-tsd.c: Likewise.
27704 * include/errno.h: Likewise.
27705 * include/netdb.h: Likewise.
27706 * include/resolv.h: Likewise.
27707 * inet/herrno-loc.c: Likewise.
27708 * inet/herrno.c: Likewise.
27709 * malloc/arena.c: Likewise.
27710 * malloc/hooks.c: Likewise.
27711 * malloc/malloc.c: Likewise.
27712 * resolv/res-state.c: Likewise.
27713 * resolv/res_libc.c: Likewise.
27714 * sysdeps/i386/dl-machine.h: Likewise.
27715 * sysdeps/ia64/dl-machine.h: Likewise.
27716 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
27717 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
27718 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
27719 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
27720 * sysdeps/sh/dl-machine.h: Likewise.
27721 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
27722 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
27723 * sysdeps/unix/i386/sysdep.S: Likewise.
27724 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27725 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
27726 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
27727 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27728 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
27729 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27730 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27731 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27732 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27733 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27734 * sysdeps/unix/x86_64/sysdep.S: Likewise.
27735 * sysdeps/x86_64/dl-machine.h: Likewise.
27736 * tls.make.c: Likewise.
27737
3ce1f295
UD
27738 * configure.in: Remove --with-__thread option. Make tests for
27739 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
27740 tls_model attribute fail if no support is available. Remove
27741 USE_IN_LIBIO.
27742 * Makeconfig: Adjust for dropped configure option. All features are
27743 now mandatory.
27744 * Makerules: Likewise.
27745 * Versions.def: Likewise.
27746 * argp/argp-fmtstream.c: Likewise.
27747 * argp/argp-fmtstream.h: Likewise.
27748 * argp/argp-help.c: Likewise.
27749 * assert/assert.c: Likewise.
27750 * config.h.in: Likewise.
27751 * config.make.in: Likewise.
27752 * configure: Likewise.
27753 * configure.in: Likewise.
27754 * csu/Versions: Likewise.
27755 * csu/init.c: Likewise.
27756 * elf/tst-audit2.c: Likewise.
27757 * elf/tst-tls10.c: Likewise.
27758 * elf/tst-tls10.h: Likewise.
27759 * elf/tst-tls11.c: Likewise.
27760 * elf/tst-tls12.c: Likewise.
27761 * elf/tst-tls14.c: Likewise.
27762 * elf/tst-tlsmod11.c: Likewise.
27763 * elf/tst-tlsmod12.c: Likewise.
27764 * elf/tst-tlsmod13.c: Likewise.
27765 * elf/tst-tlsmod13a.c: Likewise.
27766 * elf/tst-tlsmod14a.c: Likewise.
27767 * elf/tst-tlsmod15b.c: Likewise.
27768 * elf/tst-tlsmod16a.c: Likewise.
27769 * elf/tst-tlsmod16b.c: Likewise.
27770 * elf/tst-tlsmod7.c: Likewise.
27771 * elf/tst-tlsmod8.c: Likewise.
27772 * elf/tst-tlsmod9.c: Likewise.
27773 * gmon/gmon.c: Likewise.
27774 * grp/fgetgrent_r.c: Likewise.
27775 * grp/putgrent.c: Likewise.
27776 * hurd/fopenport.c: Likewise.
27777 * include/libc-symbols.h: Likewise.
27778 * include/tls.h: Likewise.
27779 * intl/gettextP.h: Likewise.
27780 * intl/loadinfo.h: Likewise.
27781 * locale/global-locale.c: Likewise.
27782 * locale/localeinfo.h: Likewise.
27783 * mach/devstream.c: Likewise.
27784 * malloc/arena.c: Likewise.
27785 * malloc/set-freeres.c: Likewise.
27786 * misc/err.c: Likewise.
27787 * misc/getttyent.c: Likewise.
27788 * misc/mntent_r.c: Likewise.
27789 * posix/getopt.c: Likewise.
27790 * posix/wordexp.c: Likewise.
27791 * pwd/fgetpwent_r.c: Likewise.
27792 * resolv/Versions: Likewise.
27793 * resolv/res_hconf.c: Likewise.
27794 * shadow/fgetspent_r.c: Likewise.
27795 * shadow/putspent.c: Likewise.
27796 * stdio-common/printf_fphex.c: Likewise.
27797 * stdio-common/tmpfile.c: Likewise.
27798 * stdlib/abort.c: Likewise.
27799 * stdlib/fmtmsg.c: Likewise.
27800 * sunrpc/auth_unix.c: Likewise.
27801 * sunrpc/clnt_perr.c: Likewise.
27802 * sunrpc/clnt_tcp.c: Likewise.
27803 * sunrpc/clnt_udp.c: Likewise.
27804 * sunrpc/clnt_unix.c: Likewise.
27805 * sunrpc/openchild.c: Likewise.
27806 * sunrpc/svc_simple.c: Likewise.
27807 * sunrpc/svc_tcp.c: Likewise.
27808 * sunrpc/svc_udp.c: Likewise.
27809 * sunrpc/svc_unix.c: Likewise.
27810 * sunrpc/xdr.c: Likewise.
27811 * sunrpc/xdr_array.c: Likewise.
27812 * sunrpc/xdr_rec.c: Likewise.
27813 * sunrpc/xdr_ref.c: Likewise.
27814 * sunrpc/xdr_stdio.c: Likewise.
27815
1248c1c4
PB
278162011-09-09 Ulrich Drepper <drepper@gmail.com>
27817
27818 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27819
278202011-07-03 Andreas Jaeger <aj@suse.de>
27821
27822 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
27823 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
27824 regenerate with gen-libm-tests.pl.
27825
278262010-05-12 Petr Baudis <pasky@suse.cz>
27827
27828 [BZ #11589]
27829 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
27830 around j0() zero points by switching to j1().
27831 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27832 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27833 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27834 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27835
f22e1074
UD
278362011-09-09 Ulrich Drepper <drepper@gmail.com>
27837
f19009c1
UD
27838 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
27839 instead of 0.
27840 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 27841 instead of 0.
f19009c1
UD
27842 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27843 Patch in part by Pavel Roskin <proski@gnu.org>.
27844
3f8cc204
UD
27845 [BZ #13138]
27846 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
27847 realloc.
27848 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
27849 Free memory block if necessary.
27850
f22e1074
UD
27851 [BZ #12847]
27852 * libio/genops.c (INTDEF): For string streams the _lock pointer can
27853 be NULL. Don't lock in this case.
27854
0a2349f9
RM
278552011-09-09 Roland McGrath <roland@hack.frob.com>
27856
27857 * elf/elf.h (ELFOSABI_GNU): New macro.
27858 (ELFOSABI_LINUX): Define to that.
27859
f3cdd467
DZ
278602011-07-29 Denis Zaitceff <zaitceff@gmail.com>
27861
27862 * string/strncat.c (strncat): Undef the symbol in case it has been
27863 defined in bits/string.h.
27864
74718d13
UD
278652011-09-09 Ulrich Drepper <drepper@gmail.com>
27866
633e9e0f
UD
27867 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
27868
0a2349f9 27869 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
27870 link map.
27871
f9924780
AJ
278722011-08-17 Andreas Jaeger <aj@suse.de>
27873
27874 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
27875
7f5517aa
PP
278762011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
27877 Ian Lance Taylor <iant@google.com>
27878
27879 * math/libm-test.inc (lround_test): New testcase.
27880 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
27881
762011fe
UD
278822011-09-08 Ulrich Drepper <drepper@gmail.com>
27883
92963737
UD
27884 * Makefile: Remove support for automatic cvs check-ins.
27885 * Makerules: Likewise.
27886 * config.make.in: Likewise.
27887 * configure.in: Likewise.
27888 * intl/Makefile: Likewise.
27889 * locale/Makefile: Likewise.
27890 * po/Makefile: Likewise.
27891 * posix/Makefile: Likewise.
27892 * sysdeps/gnu/Makefile: Likewise.
27893 * sysdeps/mach/hurd/Makefile: Likewise.
27894 * sysdeps/sparc/sparc32/Makefile: Likewise.
27895
b0727fd8
JS
27896 [BZ #13118]
27897 * posix/Makefile (bug-regex32-ENV): Define.
27898 Patch by John Stanley <jpsinthemix@verizon.net>.
27899
a0f33f99
UD
27900 * misc/Makefile (headers): Add bits/select2.h.
27901 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
27902 * misc/bits/select2.h: New file.
27903 * include/bits/select2.h: New file.
27904 * debug/Makefile (routines): Add fdelt_chk.
27905 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
27906 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
27907 FD_ISSET.
27908 * debug/fdelt_chk.c: New file.
27909
762011fe
UD
27910 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
27911 * wcsmbs/test-wmemcmp.c: Likewise.
27912 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 27913 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
27914
279152011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27916
27917 * string/Makefile (strop-tests): Add memcmp.
27918 * string/test-wmemcmp.c: New file.
27919 * string/test-memcmp.c: Add wmemcmp support.
27920
7f513ec8
RM
279212011-09-08 Roland McGrath <roland@hack.frob.com>
27922
0442afb4
RM
27923 [BZ #13153]
27924 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
27925 2011-07-19 change.
27926
7f513ec8
RM
27927 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
27928 garbage value in a __mach_port_mod_refs call in the cases of the
27929 task-self and thread-self ports.
27930
a12b2239
ST
279312011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
27932
27933 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
27934
610f9ab4
AS
279352011-09-08 Andreas Schwab <schwab@redhat.com>
27936
7f513ec8 27937 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 27938
48882a1a
LD
279392011-09-07 Ulrich Drepper <drepper@gmail.com>
27940
b49865be
UD
27941 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
27942
fdc86bc9
UD
27943 * elf/dl-libc.c (dlerror_run): Pass back error code from
27944 dl_catch_error.
27945
c966526a
UD
27946 [BZ #13123]
27947 * elf/dl-load.c (lose): Free l_origin if it is valid.
27948
48882a1a
LD
27949 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
27950 names.
27951 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
27952 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27953 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
27954 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27955 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
27956 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
27957
77a2a8b4
AZ
279582011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27959
27960 * sysdeps/powerpc/fpu/e_hypot.c: New file.
27961 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
27962 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
27963 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
27964 * sysdeps/powerpc/fpu/k_cosf.c: New file.
27965 * sysdeps/powerpc/fpu/k_sinf.c: New file.
27966 * sysdeps/powerpc/fpu/s_cosf.c: New file.
27967 * sysdeps/powerpc/fpu/s_sinf.c: New file.
27968 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
27969 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
27970
24f579d8
AM
279712011-08-15 Alan Modra <amodra@gmail.com>
27972
27973 [BZ #13092]
27974 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
27975 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
27976 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
27977 ppc_mcount to static-only-routines.
27978 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
27979 __mcount_internal.
27980 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
27981 __mcount_internal with usual JUMPTARGET. Remove useless nop.
27982
3d4837df
UD
279832011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
27984
27985 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
27986 for finite and infinity parameters.
27987
22700377
WS
279882011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
27989
27990 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
27991 and add nop instructions for throughput optimization.
27992 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27993
5025581e
WS
279942011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
27995
27996 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
27997 aligned copy for power7 with vector-scalar instructions.
27998 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
27999
08a300c9
L
280002011-07-24 H.J. Lu <hongjiu.lu@intel.com>
28001
28002 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
28003 AVX check.
28004
59178ef9
AS
280052011-09-07 Andreas Schwab <schwab@redhat.com>
28006
28007 [BZ #13144]
28008 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
28009 last change.
28010
e38ba7ab
UD
280112011-09-07 Ulrich Drepper <drepper@gmail.com>
28012
28013 * sysdeps/unix/sysv/linux/x86_64/init-first.c
28014 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
28015 syscall wrapper around clock_gettime in __vdso_clock_gettime.
28016 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
28017 clock_gettime.
28018
d53a73ac
UD
280192011-09-06 Ulrich Drepper <drepper@gmail.com>
28020
fc8bffcc
UD
28021 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
28022 Forgot to demangle the pointer.
28023
ceaa0c5d
UD
28024 * sysdeps/i386/sysdep.h: Define atom_text_section.
28025 * sysdeps/x86_64/sysdep.h: Likewise.
28026 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
28027 section with atom_text_section.
28028 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28029 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28030 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
28031 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28032 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
28033
a77d3c17
UD
28034 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
28035 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
28036 already be defined. Change to take two parameters and don't assign
28037 result to variable. Adjust all users.
28038 Define INTERNAL_GETTIME if not already defined.
28039 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
28040 call.
28041 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
28042 HAVE_CLOCK_GETTIME_VSYSCALL.
28043 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
28044
d53a73ac
UD
28045 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
28046 gettimeofday vsyscall, just use time.
28047
a8f84144
AS
280482011-09-06 Andreas Schwab <schwab@redhat.com>
28049
28050 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
28051 <errno.h>.
28052
ef606249
UD
280532011-09-06 Ulrich Drepper <drepper@gmail.com>
28054
28055 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
28056 syscall on x86-64.
28057 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
28058 syscall.
28059 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
28060 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
28061 syscall if possible.
28062
6585cb60
UD
280632011-09-05 Ulrich Drepper <drepper@gmail.com>
28064
28065 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
28066 e_ident. Don't pass to find_mapsXX.
28067 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
28068
a5f524e4
LD
280692011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28070
28071 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28072 strchr-sse2-no-bsf strrchr-sse2-no-bsf
28073 * sysdeps/x86_64/multiarch/strchr.S: Update.
28074 Check bit_slow_BSF bit.
28075 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28076 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
28077 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
28078
554881ef
UD
280792011-09-05 Ulrich Drepper <drepper@gmail.com>
28080
d96de963
UD
28081 [BZ #13134]
28082 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
28083 before glibc 2.15.
28084 (tryshell): Define.
28085 (__spawni): Change last parameter to be flag. Test
28086 SPAWN_XFLAGS_USE_PATH flag to use path or not.
28087 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
28088 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
28089 * posix/spawni.c: Likewise.
28090 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
28091 * posix/spawnp.c: Likewise. Change normal version to use
28092 SPAWN_XFLAGS_USE_PATH.
28093 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
28094 SPAWN_XFLAGS_TRY_SHELL.
28095
d48e5868
UD
28096 [BZ #13150]
28097 * posix/glob.h: Remove gcc 1.x support.
28098
554881ef
UD
28099 [BZ #13068]
28100 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
28101
693fb948
LD
281022011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28103
28104 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28105 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
28106 strrchr-sse2-bsf
28107 * sysdeps/i386/i686/multiarch/strchr.S: New file.
28108 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
28109 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
28110 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
28111 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
28112 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
28113
1b48c537
UD
281142011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28115
49d42c37
UD
28116 * sysdeps/x86_64/wcscmp.S: New file.
28117
1b48c537
UD
28118 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
28119 wcscmp-c wcscmp-sse2
28120 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
28121 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
28122 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
28123 * wcsmbs/wcscmp.c: Allow renaming.
28124
15c95c5d
DM
281252011-09-05 David S. Miller <davem@davemloft.net>
28126
28127 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
28128 stack slot, rather than the struct return pointer slot.
28129 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
28130 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
28131 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
28132 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
28133
2f0ad8f3
UD
281342011-09-05 Ulrich Drepper <drepper@gmail.com>
28135
d88ae418
UD
28136 * po/ja.po: Update from translation team.
28137
2f0ad8f3
UD
28138 [BZ #13144]
28139 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
28140 kernel in 64-bit binaries.
28141
5f4318d1
DM
281422011-09-01 David S. Miller <davem@davemloft.net>
28143
28144 * elf/elf.h (HWCAP_SPARC_*): Move to..
28145 * sysdeps/sparc/sysdep.h: this new file and add new values.
28146 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
28147 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
28148 _DL_HWCAP_COUNT to 24.
28149 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28150 entries.
28151 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
28152 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
28153 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
28154 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
28155 instead of magic constants.
28156 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28157
3ba57516
DM
281582011-08-31 David S. Miller <davem@davemloft.net>
28159
28160 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
28161 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
28162 Reimplement to do errno handling inline.
28163 (SYSCALL_ERROR_HANDLER): New macro.
28164 (__SYSCALL_STRING): Do not do errno handling in asm.
28165 (__CLONE_SYSCALL_STRING): Delete.
28166 (__INTERNAL_SYSCALL_STRING): Delete.
28167 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
28168 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
28169 (PSEUDO): Reimplement to do errno handling inline.
28170 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
28171 (SYSCALL_ERROR_HANDLER): New macro.
28172 (__SYSCALL_STRING): Do not do errno handling in asm.
28173 (__CLONE_SYSCALL_STRING): Delete.
28174 (__INTERNAL_SYSCALL_STRING): Delete.
28175 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
28176 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
28177 i386.
28178 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
28179 (inline_syscall*): Add 'err' argument.
28180 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
28181 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
28182 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
28183 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
28184
28185 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
28186 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
28187
2bc17433
AS
281882011-08-30 Andreas Schwab <schwab@redhat.com>
28189
28190 * elf/rtld.c (dl_main): Relocate objects in dependency order.
28191
fbeb5f4d
JO
281922011-08-29 Jiri Olsa <jolsa@redhat.com>
28193
28194 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
28195 directive.
28196
ad69cc26
DM
281972011-08-24 David S. Miller <davem@davemloft.net>
28198
28199 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
28200
39dd69df
AS
282012011-08-24 Andreas Schwab <schwab@redhat.com>
28202
28203 * elf/Makefile: Add rules to build and run unload8 test.
28204 * elf/unload8.c: New file.
28205 * elf/unload8mod1.c: New file.
28206 * elf/unload8mod1x.c: New file.
28207 * elf/unload8mod2.c: New file.
28208 * elf/unload8mod3.c: New file.
28209
28210 * elf/dl-close.c (_dl_close_worker): Reset private search list if
28211 it wasn't used.
28212
2c0b250a
DM
282132011-08-23 David S. Miller <davem@davemloft.net>
28214
28215 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
28216 subtract stack bias.
28217 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
28218 %sp not %fp in calculations.
28219 (_JMPBUF_UNWINDS_ADJ): Likewise.
28220
22044b48
DM
28221 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
28222 (aio_suspend): Call it to force an exception region around the
28223 AIO_MISC_WAIT() invocation.
28224
2cae4995
AS
282252011-08-23 Andreas Schwab <schwab@redhat.com>
28226
28227 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
28228 backslash.
28229
873a772e
AJ
282302011-07-04 Aurelien Jarno <aurelien@aurel32.net>
28231
28232 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
28233 protection macro.
28234 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
28235 and <dl-machine.h>.
28236 (Elf64_FuncDesc): Remove.
28237
25ad0df1
DM
282382011-08-22 David S. Miller <davem@davemloft.net>
28239
28240 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
28241 sigaltstack check, add missing cfi directives.
28242 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
28243 missing cfi directives, and sigaltstack handling.
28244
e888bcbe
AS
282452011-08-16 Andreas Schwab <schwab@redhat.com>
28246
28247 [BZ #11724]
28248 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
28249 object is seen twice.
28250 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28251
28252 * elf/Makefile (distribute): Add tst-initorder2.c.
28253 (tests): Add tst-initorder2.
28254 (modules-names): Add tst-initorder2a tst-initorder2b
28255 tst-initorder2c tst-initorder2d. Add rules to build them.
28256 ($(objpfx)tst-initorder2.out): New rule.
28257 * elf/tst-initorder2.c: New file.
28258 * elf/tst-initorder2.exp: New file.
28259
87162f46
AS
282602011-08-22 Andreas Schwab <schwab@redhat.com>
28261
70538b7f
AS
28262 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
28263
f55ffe58
AS
28264 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
28265 dependencies back to end of function.
28266
87162f46
AS
28267 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28268 $(elfobjdir)/ld.so.
28269
91b392a4
UD
282702011-08-21 Ulrich Drepper <drepper@gmail.com>
28271
28272 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
28273 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
28274 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
28275 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
28276 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
28277 of __vdso_gettimeofday.
28278 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
28279 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
28280 attribute_hidden.
28281 (_libc_vdso_platform_setup): Remove initialization of
28282 __vdso_gettimeofday and __vdso_time.
28283
5c43483f
UD
282842011-08-20 Ulrich Drepper <drepper@gmail.com>
28285
775a77e7
UD
28286 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
28287 and fgetc_unlocked.
28288 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
28289 getc_unlocked.
89f447ed 28290
49c74ba9
UD
28291 * elf/dl-open.c (add_to_global): Report additions to the global scope
28292 for LD_DEBUG=scopes.
28293 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 28294 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 28295
5c43483f
UD
28296 [BZ #13114]
28297 * stdio-common/Makefile (tests): Add bug24.
28298 * stdio-common/bug24.c: New file.
28299
a101b025
AJ
283002011-08-19 Andreas Jaeger <aj@suse.de>
28301
28302 [BZ #13114]
28303 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
28304 non-existant file when using close-on-exec mode.
28305
c88f1766
UD
283062011-08-20 Ulrich Drepper <drepper@gmail.com>
28307
0276a718
UD
28308 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
28309 the very first instruction.
28310
c88f1766
UD
28311 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
28312 the CFI state in the end.
28313 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
28314 inclusion of dl-trampoline.h.
28315 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
28316
51ccffa0
AS
283172011-08-19 Andreas Schwab <schwab@redhat.com>
28318
94d7165f
AS
28319 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
28320 expectations for long double.
28321
51ccffa0
AS
28322 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
28323 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
28324
fd708658 283252011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
28326
28327 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
28328 artificual limit depends upon the system page size.
28329
44f0a71e
UD
283302011-08-17 Ulrich Drepper <drepper@gmail.com>
28331
28332 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
28333 * resolv/Makefile: Define CFLAGS-libresolv.
28334
8de79a24
AS
283352011-08-17 Andreas Schwab <schwab@redhat.com>
28336
28337 * nss/makedb.c (compute_tables): Make variables used in nested
28338 function static.
28339
27724598
UD
283402011-08-17 Ulrich Drepper <drepper@gmail.com>
28341
c5305d88
UD
28342 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
28343 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
28344 if buffer was too small.
28345
27724598
UD
28346 * elf/pldd.c (main): Attach to all threads in the process.
28347 Rewrite /proc handling to use *at functions.
28348
076fe015
UD
283492011-08-16 Ulrich Drepper <drepper@gmail.com>
28350
174baab3
UD
28351 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
28352 specifies first scope to show.
28353 (dl_open_worker): Update callers. Move printing scope of new
28354 object to before the relocation.
44f0a71e 28355 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
28356 * sysdeps/generic/ldsodefs.h: Update declaration.
28357
076fe015
UD
28358 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
28359 string for the scope number.
28360
a60df2c3
UD
283612011-08-14 Ulrich Drepper <drepper@gmail.com>
28362
28363 * nscd/servicescache.c (cache_addserv): Make sure written is always
28364 initialized.
28365
5e4287d1
RM
283662011-08-14 Roland McGrath <roland@hack.frob.com>
28367
85ae0589
RM
28368 * sysdeps/i386/i486/bits/atomic.h
28369 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
28370 statement expression, so as to suppress "set but not used" warning.
28371 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
28372
69f63097
RM
28373 * string/strncat.c (STRNCAT): Use prototype definition.
28374
675456ef
RM
28375 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
28376 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
28377 -Iprograms here.
28378 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
28379 (localedef-modules): Add localedef.
28380 (locale-modules): Add locale.
28381
5e4287d1
RM
28382 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
28383 * elf/rtld.c (dl_main): Invert order of assignment in last change,
28384 to avoid a warning.
28385
9c96ff23
DM
283862011-08-14 David S. Miller <davem@davemloft.net>
28387
28388 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
28389 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
28390
f9ddf089
UD
283912011-08-13 Ulrich Drepper <drepper@gmail.com>
28392
44f0a71e 28393 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
28394 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
28395 * elf/rtld.c (dl_main): Set l_name of vDSO.
28396 Call _dl_show_scope when DL_DEBUG_SCOPES.
28397 (process_dl_debug): Recognize scopes flag and also set it for all.
28398 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
28399 Declare _dl_show_scope.
28400
1dc27704
UD
28401 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
28402 (do_dlopen): Pass caller_dlopen to dl_open.
28403 (__libc_dlopen_mode): Initialize caller_dlopen.
28404
f9ddf089
UD
28405 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
28406 of libc. Make tolower call locale-independent. Optimize a bit by
28407 using isdigit instead of isalnum.
28408 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
28409
9ac533d3
UD
284102011-08-12 Ulrich Drepper <drepper@gmail.com>
28411
28412 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
28413 was a dependency or dynamically loaded.
28414
89edf2e9
UD
284152011-08-11 Ulrich Drepper <drepper@gmail.com>
28416
8e999d29
UD
28417 * intl/l10nflist.c: Allow architecture-specific pop function.
28418 * sysdeps/x86_64/l10nflist.c: New file.
28419
89edf2e9
UD
28420 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
28421 classification.
28422
14d96785
AS
284232011-08-10 Andreas Schwab <schwab@redhat.com>
28424
28425 * include/dirent.h: Add libc_hidden_proto for scandirat and
28426 scandirat64. Don't declare __scandirat64.
28427 * dirent/scandirat.c: Add libc_hidden_def.
28428 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
28429 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
28430
6761ac04
DM
284312011-08-10 David S. Miller <davem@davemloft.net>
28432
28433 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
28434 enum.
28435 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28436 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28437 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28438
c55fbd1e
UD
284392011-08-09 Ulrich Drepper <drepper@gmail.com>
28440
28441 * Versions.def [libc]: Add GLIBC_2.15.
28442 * dirent/Makefile (routines): Add scandirat and scandirat64.
28443 * dirent/Versions [libc]: Export scandirat and scandirat64 for
28444 GLIBC_2.15.
28445 * dirent/dirent.h: Declare scandirat and scandirat64.
28446 * dirent/scandirat.c: New file.
28447 * dirent/scandirat64.c: New file.
28448 * sysdeps/wordsize-64/scandirat.c: New file.
28449 * sysdeps/wordsize-64/scandirat64.c: New file.
28450 * dirent/opendir.c: Define opendirat.
28451 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
28452 using scandirat.
28453 * dirent/scandir64.c: Adjust for scandir.c change.
28454 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
28455 __scandirat64, and __scandir_cancel_handler.
28456 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
28457 additional parameter and use openat instead of open (outside of ld.so).
28458 Add new __opendir as wrapper around __opendirat.
28459 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
28460 here without requiring old scandirat implementation.
28461
879165f2
UD
284622011-08-08 Ulrich Drepper <drepper@gmail.com>
28463
28464 * dirent/scandir.c (cancel_handler): Renamed to
28465 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
28466 defined. Adjust users.
28467 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
28468 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
28469
cb7e923b
UD
284702011-08-04 Ulrich Drepper <drepper@gmail.com>
28471
16292edd
UD
28472 * string/test-string.h (IMPL): Use __STRING to expand name and then
28473 stringify it.
28474
cb7e923b
UD
28475 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
28476 of cleanups.
28477
cff82933
LD
284782011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28479
28480 * string/Makefile: Update.
28481 (strop-tests): Append strncat.
28482 * string/test-wcscmp.c: New file.
28483 New comprehensive test for wcscmp.
28484 * string/test-strcmp.c: Update.
28485 (WIDE): New define.
28486
9be9bfcc
AS
284872011-07-22 Andreas Schwab <schwab@redhat.com>
28488
28489 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
28490 line.
28491
2e96f1c7
AS
284922011-07-26 Andreas Schwab <schwab@redhat.com>
28493
28494 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
28495 encoding to ACE if AI_IDN.
28496
85188888
JJ
284972011-08-01 Jakub Jelinek <jakub@redhat.com>
28498
28499 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
28500 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
28501
5fa16e9b
LD
285022011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28503
28504 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
28505 Fix overflow bug in strncat.
28506 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
28507
28508 * string/test-strncat.c: Update.
28509 Add new tests for checking overflow bugs.
28510
285112011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28512
28513 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28514 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
28515 * sysdeps/i386/i686/multiarch/strcat.S: New file.
28516 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
28517 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
28518 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
28519 * sysdeps/i386/i686/multiarch/strncat.S: New file.
28520 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
28521 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
28522
28523 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
28524 (USE_AS_STRCAT): Define.
28525 Add strcat and strncat support.
28526 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28527
8c1a459f
AS
285282011-07-25 Andreas Schwab <schwab@redhat.com>
28529
28530 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
28531 __n bigger than INT_MAX+1.
28532 (__strncmp_g): Likewise.
28533
bba33c28
UD
285342011-07-23 Ulrich Drepper <drepper@gmail.com>
28535
798be72d
UD
28536 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
28537 * libio/stido.h: Likewise.
28538
8accd4dc
UD
28539 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
28540 (AF_NFC): Define.
28541 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
28542 (AF_NFC): Define.
28543
cbff0d96
UD
28544 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
28545 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28546 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28547 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
28548 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28549
9191c04a
UD
28550 [BZ #13021]
28551 * scripts/test-installation.pl: Don't expect libnss_test1 to be
28552 installed.
28553
bba33c28
UD
28554 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
28555 typo.
28556 (_dl_x86_64_save_sse): Likewise.
28557
90f139dd
UD
285582011-07-22 Ulrich Drepper <drepper@gmail.com>
28559
1aae088a
UD
28560 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
28561 OSXSAVE.
28562 (_dl_x86_64_save_sse): Likewise.
28563
8e2045f5
UD
28564 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
28565
90f139dd
UD
28566 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
28567
1d002f25
AS
285682011-07-21 Andreas Schwab <schwab@redhat.com>
28569
28570 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
28571 change.
28572 (_dl_x86_64_save_sse): Use correct AVX check.
28573
21137f89
UD
285742011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28575
28576 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
28577 bug in strncpy/strncat.
28578 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
28579
a65c0b7a
UD
285802011-07-21 Ulrich Drepper <drepper@gmail.com>
28581
28582 * string/tester.c (test_strcat): Add tests for different alignments
28583 of source and destination.
28584 (test_strncat): Likewise.
28585
6986b98a
UD
285862011-07-20 Ulrich Drepper <drepper@gmail.com>
28587
90bb2039
UD
28588 [BZ #12852]
28589 * posix/glob.c (glob): Check passed in values before using them in
28590 expressions to avoid some overflows.
28591 (glob_in_dir): Likewise.
28592
5644ef54
UD
28593 [BZ #13007]
28594 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
28595 check for AVX enablement so that we don't crash with old kernels and
28596 new hardware.
28597 * elf/tst-audit4.c: Add same checks here.
28598 * elf/tst-audit6.c: Likewise.
28599
28600 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 28601
bfc9dc9b
AS
286022011-07-09 Andreas Schwab <schwab@linux-m68k.org>
28603
28604 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
28605
702e64bb
UD
286062011-07-20 Ulrich Drepper <drepper@gmail.com>
28607
28608 * po/cs.po: Update from translation team.
28609 * po/bg.po: Likewise.
28610
295e904f
MP
286112011-07-12 Marek Polacek <mpolacek@redhat.com>
28612
28613 * misc/sys/cdefs.h: Add support for const attribute.
28614 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
28615 to gnu_dev_{major,minor,makedev} functions.
28616
3ff94596
MP
286172011-07-20 Marek Polacek <mpolacek@redhat.com>
28618
28619 * intl/dcigettext.c (get_output_charset): Add missing bracket.
28620
28b59fca
AS
286212011-07-20 Andreas Schwab <schwab@redhat.com>
28622
28623 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
28624 strlen results.
28625
19df733e
AK
286262011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28627
28628 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
28629 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
28630 register in order to avoid conflicts with the soft frame pointer
28631 being held in r11 when necessary.
28632 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
28633 (INTERNAL_VSYSCALL_NCS): Likewise.
28634
c8835729
MP
286352011-07-14 Marek Polacek <mpolacek@redhat.com>
28636
28637 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
28638 * elf/dl-fini.c (_dl_fini): Adjust caller.
28639 * elf/dl-close.c (_dl_close_worker): Likewise.
28640 * sysdeps/generic/ldsodefs.h: Adjust declaration.
28641
b902330c
MP
286422011-07-15 Marek Polacek <mpolacek@redhat.com>
28643
8991e135
MP
28644 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
28645 "aux_cache->nlibs < 0".
28646
b902330c
MP
28647 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
28648 in the reload-count case.
28649
99710781
LD
286502011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28651
28652 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28653 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
28654 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
28655 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
28656 * sysdeps/x86_64/multiarch/strcat.S: New file.
28657 * sysdeps/x86_64/multiarch/strncat.S: New file.
28658 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
28659 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
28660 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
28661 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
28662 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
28663 (USE_AS_STRCAT): Define.
28664 Add strcat and strncat support.
28665 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28666 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
28667 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
28668 * string/strncat.c: Update.
28669 (USE_AS_STRNCAT): Define.
28670 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28671 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
28672 and i7.
28673 * sysdeps/x86_64/multiarch/init-arch.h
28674 (bit_Prefer_PMINUB_for_stringop): New.
28675 (index_Prefer_PMINUB_for_stringop): Likewise.
28676 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
28677 bit_Prefer_PMINUB_for_stringop.
28678
7dc6bd90
UD
286792011-07-19 Ulrich Drepper <drepper@gmail.com>
28680
28681 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
28682 buffer64.
28683 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
28684 of casting of buffer.
28685 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
28686 buffer32 and buffer64.
28687 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
28688 writes instead of casting of buffer.
28689 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
28690 buffer32.
28691 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
28692 casting of buffer.
28693
e0e72284
AS
286942011-07-19 Andreas Schwab <schwab@redhat.com>
28695
28696 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
28697
feb1eb0b
UD
286982011-07-19 Ulrich Drepper <drepper@gmail.com>
28699
28700 * nscd/nscd.c (termination_handler): Don't do anything for a database
28701 if it has not yet been initialized.
28702
298711ff
UD
287032011-07-18 Ulrich Drepper <drepper@gmail.com>
28704
28705 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28706
287072011-07-15 Marek Polacek <mpolacek@redhat.com>
28708
28709 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28710
f9d68389
UD
287112011-07-18 Ulrich Drepper <drepper@gmail.com>
28712
28713 * po/nl.po: Update from translation team.
28714 * po/sv.po: Likewise.
28715
db290cf5
RM
287162011-07-16 Roland McGrath <roland@hack.frob.com>
28717
28718 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
28719 now disallowed by GCC.
5c550700 28720
fd5e21c7
RM
28721 * configure.in (use-default-link): Default to yes if a test -shared
28722 link meets our qualifications.
28723 * configure: Regenerated.
28724
5c550700
RM
28725 * config.make.in (output-format): New variable.
28726 * configure.in: Check for ld --print-output-format support.
28727 * configure: Regenerated.
28728 * Makerules ($(common-objpfx)format.lds)
28729 [$(output-format) != unknown]: Just use $(output-format),
28730 instead of the linker-script munging.
28731
9fa2c032
RM
287322011-07-14 Roland McGrath <roland@hack.frob.com>
28733
a6928d51
RM
28734 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
28735 of $(common-objpfx)shlib.lds.
28736 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
28737
661607b3
RM
28738 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
28739 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
28740
9fa2c032
RM
28741 * configure.in (-z relro check): Adjust test code to add a large
28742 writable data section after it.
28743 * configure: Regenerated.
28744
defe9061
RM
287452011-07-11 Roland McGrath <roland@hack.frob.com>
28746
28747 * configure.in (-z relro check): Fix test code to make the variable
28748 truly const.
28749 * configure: Regenerated.
28750
319b9ad4
UD
287512011-07-11 Ulrich Drepper <drepper@gmail.com>
28752
28753 * nscd/nscd.h (struct traced_file): Define.
28754 (struct database_dyn): Remove inotify_descr, reset_res, and filename
28755 elements. Add traced_files.
28756 (inotify_fd): Declare.
28757 (register_traced_file): Declare.
28758 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
28759 (inotify_fd): Export.
28760 (resolv_conf_descr): Remove.
28761 (nscd_init): Move inotify descriptor creation to main.
28762 Don't register files for notification here.
28763 (register_traced_file): New function.
28764 (invalidate_cache): Don't use reset_res to determine whether to call
28765 res_init, go through the list of registered files.
28766 (main_loop_poll): The inotify descriptors are now stored in the
28767 structures for the traced files.
28768 (main_loop_epoll): Likewise
28769 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
28770 to __nss_disable_nscd.
28771 * nscd/cache.c (prune_cache): There is no single inotify descriptor
28772 for a database anymore. Check the records for all the registered
28773 files instead.
28774 * nss/Makefile (libnss_files-routines): Add files-init.
28775 (libnss_db-routines): Add db-init.
28776 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
28777 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
28778 * nss/nss_db/db-init.c: New file.
28779 * nss/nss_files/files-init.c: New file.
28780 * nss/nsswitch.c (nss_load_library): New function. Broken out of
28781 __nss_lookup_function.
28782 (__nss_lookup_function): Call nss_load_library.
28783 (nss_load_all_libraries): New function.
28784 (__nss_disable_nscd): Take parameter with callback function for files
28785 to register. Set is_nscd. Load all the DSOs for the NSS modules
28786 used for the cached services.
28787 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
28788 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
28789 options for features to all the files in nscd.
28790
28791 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
28792
23bee3e8
RM
287932011-07-10 Roland McGrath <roland@hack.frob.com>
28794
28795 * csu/elf-init.c (__libc_csu_init): Comment typo.
28796
46a5b7f0
UD
287972011-07-09 Ulrich Drepper <drepper@gmail.com>
28798
28799 * po/pl.po: Update from translation team.
28800 * po/ja.po: Likewise.
28801 * po/ru.po: Likewise.
28802 * po/ko.po: Likewise.
28803 * po/fr.po: Likewise.
28804
d30cf5bb
RM
288052011-07-09 Roland McGrath <roland@hack.frob.com>
28806
113ddea4
RM
28807 * configure.in (.ctors/.dtors header and trailer check):
28808 Use an empirical test on a built program.
28809 * configure: Regenerated.
28810
574920b4
RM
28811 * configure.in (-z relro check): Use an empirical test on a built DSO.
28812 Detect, but do not require, on ia64.
28813 * configure: Regenerated.
28814
d30cf5bb
RM
28815 * configure.in (READELF): Find it with AC_CHECK_TOOL.
28816 Update tests that use readelf to use $READELF instead.
28817 * configure: Regenerated.
28818
8538fdb3
UD
288192011-07-08 Ulrich Drepper <drepper@gmail.com>
28820
28821 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
28822 if the result is not used.
28823
04d08991
AJ
288242011-07-05 Andreas Jaeger <aj@suse.de>
28825
28826 [BZ#9696]
28827 * stdlib/tst-strtod.c: Add testcase.
28828
de283087
AD
288292011-07-07 Ulrich Drepper <drepper@gmail.com>
28830
4e5f31c8 28831 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 28832 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
28833 The latter has a higher limit. Take additional parameter to pass to
28834 the new function.
28835 (__pathconf): Pass file to __statfs_link_max.
28836 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
28837 __statfs_link_max.
28838 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
28839 __statfs_link_max.
28840
de283087
AD
28841 [BZ #12868]
28842 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
28843 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28844 Handle Lustre.
28845 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
28846 (__statfs_filesize_max): Likewise.
28847 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
28848
c75fa153
AJ
288492011-07-05 Andreas Jaeger <aj@suse.de>
28850
28851 * resolv/res_comp.c (dn_skipname): Remove unused variable.
28852
1a544854
UD
288532011-07-06 Marek Polacek <mpolacek@redhat.com>
28854
28855 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
28856 `status' variable.
28857 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
28858 Likewise.
28859
6f0eec67
UD
288602011-07-04 H.J. Lu <hongjiu.lu@intel.com>
28861
28862 * Makefile (strop-tests): Add strncat.
28863 * string/test-strncat.c: New file.
28864
aae30307
UD
288652011-06-30 Marek Polacek <mpolacek@redhat.com>
28866
28867 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
28868
c0cfb5eb
UD
288692011-06-21 Andreas Jaeger <aj@suse.de>
28870
28871 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
28872 Copy rule from iconvdata/Makefile.
28873
01636b21
UD
288742011-07-06 Ulrich Drepper <drepper@gmail.com>
28875
28876 [BZ #12922]
28877 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
28878 but no long options are defined, just return 'W'.
28879
9895c8bc
UD
288802011-06-22 Marek Polacek <mpolacek@redhat.com>
28881
28882 [BZ #9696]
28883 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
28884
5d4cf042
UD
288852011-07-06 Ulrich Drepper <drepper@gmail.com>
28886
28887 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
28888 netgroups to read.
960e5535 28889 (innetgr): Likewise.
5d4cf042 28890
751eb97e
RM
288912011-07-05 Roland McGrath <roland@hack.frob.com>
28892
28893 * config.make.in (install_root): Default to $(DESTDIR).
28894
f15f1e45
UD
288952011-07-05 Ulrich Drepper <drepper@gmail.com>
28896
28897 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
28898
4e34ac6a
RM
288992011-07-02 Roland McGrath <roland@hack.frob.com>
28900
5e9b6af4
RM
28901 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
28902
84f9ea0f
RM
28903 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
28904 containing directory rather than embedding absolute directory names.
28905
ea5ee9f7
RM
28906 * scripts/check-local-headers.sh: Rewritten using awk.
28907 Match by word, not by line. Print error messages for matches.
28908 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
28909
1b74661a
RM
28910 * Makerules [shlib-lds-flags empty]:
28911 ($(common-objpfx)libc_pic.opts): New target.
28912 ($(common-objpfx)libc_pic.os.clean): New target.
28913 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
28914
28915 * config.make.in (OBJCOPY): New variable.
28916 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
28917 * configure: Regenerated.
28918
f781ef40
RM
28919 * config.make.in (use-default-link): New variable.
28920 * configure.in (use_default_link): Grok --with-default-link to set it.
28921 * configure: Regenerated.
28922 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
28923 (shlib-lds, shlib-lds-flags): Define to empty.
28924
2d4fa81e
RM
28925 * Makerules (shlib-lds): New variable.
28926 (shlib-lds-flags): New variable.
28927 (build-shlib, build-moduile, build-module-asneeded): Use it.
28928 ($(common-objpfx)libc.so): Use $(shlib-lds).
28929 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
28930 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
28931
31fffa6b
RM
28932 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
28933 DT_FLAGS/DT_FLAGS_1 with zero flags.
28934
4e34ac6a
RM
28935 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
28936 linker script munging.
28937
fcfc776b
UD
289382011-07-02 Ulrich Drepper <drepper@gmail.com>
28939
28940 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
28941 as 128-bit value.
28942 * crypt/sha512.c (sha512_process_block): Perform total addition using
28943 128-bit if possible.
28944 (__sha512_finish_ctx): Likewise.
28945 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
28946 as 64-bit value.
28947 * crypt/sha256.c (SWAP64): Define.
28948 (sha256_process_block): Perform total addition using 64-bit if
28949 possible.
28950 (__sha256_finish_ctx): Likewise.
28951
99231d9a
UD
289522011-07-01 Ulrich Drepper <drepper@gmail.com>
28953
28954 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
28955 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28956 * nscd/hstcache.c (cache_addhst): Likewise.
28957 * nscd/grpcache.c (cache_addgr): Likewise.
28958 * nscd/aicache.c (addhstaiX): Likewise
28959 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
28960
445b4a53
TK
289612011-07-01 Thorsten Kukuk <kukuk@suse.de>
28962
28963 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
28964 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28965 * nscd/hstcache.c (cache_addhst): Likewise.
28966 * nscd/grpcache.c (cache_addgr): Likewise.
28967 * nscd/aicache.c (addhstaiX): Likewise
28968
6d4d8e8e
AS
289692011-07-01 Andreas Schwab <schwab@redhat.com>
28970
28971 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
28972 domain only when needed.
28973
89f654c5
AS
289742011-06-30 Andreas Schwab <schwab@redhat.com>
28975
28976 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
28977 is always restored.
28978
cf3b23ff
UD
289792011-06-29 Ulrich Drepper <drepper@gmail.com>
28980
28981 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
28982 are re-adding the entry.
28983 * nscd/servicescache.c (cache_addserv): Likewise.
28984
751626f9
AJ
289852011-06-30 Aurelien Jarno <aurelien@aurel32.net>
28986
28987 * sysdeps/generic/dl-irel.h: fix protection against multiple
28988 inclusions.
28989 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
28990
9113ea1f
UD
289912011-06-28 Ulrich Drepper <drepper@gmail.com>
28992
5c0b8d90
UD
28993 [BZ #12935]
28994 * malloc/memusage.sh: Fix quoting in message.
28995 * debug/xtrace.sh: Likewise.
28996
9113ea1f
UD
28997 * configure.in: Remove support for --experimental-malloc option, make
28998 it the default.
28999 * config.make.in: Likewise.
29000 * malloc/Makefile: Likewise.
29001
a4172181
AS
290022011-06-27 Andreas Schwab <schwab@redhat.com>
29003
29004 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
29005 two-byte characters.
29006
78a7eee7
RM
290072011-06-27 Roland McGrath <roland@hack.frob.com>
29008
62bede13
RM
29009 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
29010 AC_CACHE_CHECK invocation.
29011 * configure: Regenerated.
29012
78a7eee7
RM
29013 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
29014
5ce33a62
UD
290152011-06-27 Ulrich Drepper <drepper@gmail.com>
29016
034807a9
UD
29017 [BZ #12350]
29018 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
29019 bit from old_res_options.
29020
4902da17
UD
29021 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
29022
5ce33a62
UD
29023 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
29024 value type for setfct.
29025
c2344f56
L
290262011-06-23 H.J. Lu <hongjiu.lu@intel.com>
29027
29028 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29029 __gettimeofday instead of gettimeofday.
29030
68468076
UD
290312011-06-26 Ulrich Drepper <drepper@gmail.com>
29032
29033 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
29034
acb0d739
L
290352011-06-24 H.J. Lu <hongjiu.lu@intel.com>
29036
29037 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
29038
29039 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
29040 info.
29041
8912479f
L
290422011-06-22 H.J. Lu <hongjiu.lu@intel.com>
29043
29044 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29045 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29046 strcpy-sse2-unaligned strncpy-sse2-unaligned
29047 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
29048 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
29049 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
29050 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
29051 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
29052 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
29053 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
29054 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
29055 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
29056 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
29057 (STRCPY): Support SSE2 and SSSE3 versions.
29058
d5495a11
UD
290592011-06-24 Ulrich Drepper <drepper@gmail.com>
29060
29061 [BZ #12874]
29062 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
29063 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
29064 kernels which artificially limit size of requests.
29065
0b1cbaae
L
290662011-06-22 H.J. Lu <hongjiu.lu@intel.com>
29067
29068 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29069 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29070 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
29071 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
29072 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
29073 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
29074 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
29075 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
29076 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
29077 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
29078 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
29079 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
29080 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
29081 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
29082 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
29083 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29084 Enable unaligned load optimization for Intel Core i3, i5 and i7
29085 processors.
29086 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
29087 Define.
29088 (index_Fast_Unaligned_Load): Define.
29089 (HAS_FAST_UNALIGNED_LOAD): Define.
29090
07f494a0
MP
290912011-06-23 Marek Polacek <mpolacek@redhat.com>
29092
29093 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
29094
fa3fc0fe
UD
290952011-06-22 Ulrich Drepper <drepper@gmail.com>
29096
29097 [BZ #12907]
29098 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
29099 until it is clear that the information is realy needed.
29100 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
29101
e12df166
AS
291022011-06-22 Andreas Schwab <schwab@redhat.com>
29103
29104 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
29105
852eb34d
UD
291062011-06-22 Ulrich Drepper <drepper@gmail.com>
29107
84e2a551
UD
29108 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29109 /sys/devices/system/cpu/online if it is usable.
29110
852eb34d
UD
29111 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
29112 reading the information from the /proc filesystem to once a second.
29113
6e502e19
UD
291142011-06-21 Andreas Jaeger <aj@suse.de>
29115
29116 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
29117 NULL after inclusion of kernel headers.
29118
75d39ff2
UD
291192011-06-21 Ulrich Drepper <drepper@gmail.com>
29120
51f9aa6a
UD
29121 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
29122 calls to internal_setent.
29123
c0244a9d
UD
29124 [BZ #12885]
29125 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
29126 addresses using gethostbyname4_r ignore IPv4 addresses.
29127
c5e3c2ae
UD
29128 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
29129 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
29130
75d39ff2
UD
29131 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
29132
42675c6f
DM
291332011-06-20 David S. Miller <davem@davemloft.net>
29134
29135 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
29136 inclusions.
29137 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
29138
29139 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
29140 (elf_irel): Use it.
29141 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
29142 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
29143 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
29144 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
29145 * sysdeps/x86_64/dl-irel.h: Likewise.
29146
29147 * elf/dl-runtime.c: Use elf_ifunc_invoke.
29148 * elf/dl-sym.c: Likewise.
29149
57912a71
UD
291502011-06-15 Ulrich Drepper <drepper@gmail.com>
29151
29152 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
29153 need to dereference resplen2.
29154
ee22793d
AS
291552011-06-14 Andreas Schwab <schwab@redhat.com>
29156
29157 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
29158
a9e836b0
UD
291592011-06-15 Ulrich Drepper <drepper@gmail.com>
29160
77fb9117
UD
29161 * Makeconfig: Define vardbdir and inst_vardbdir.
29162 * nss/Makefile: Add rules to install db-Makefile.
29163
40c1b22c
UD
29164 * nss/nss_db/db-XXX.c: Cleanup.
29165
9f2da732
UD
29166 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
29167 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
29168 GLIBC_PRIVATE.
29169 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
29170 * nss/makedb.c: Implement -g option to specify that value strings
29171 are generated and should not be added to table iterated over for
29172 get*ent calls.
29173 * nss/nss_db/db-initgroups.c: New file.
29174
82e9a1f7
UD
29175 * nss/getent.c: Add support for initgroups lookups through getgrouplist
29176 interface.
29177
c41af17e
UD
29178 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
29179 (internal_getgrouplist): Adjust to name change.
29180 Update use_initgroups_entry if this is not the first call.
29181 * nss/databases.def: Add initgroups entry.
29182
a9e836b0
UD
29183 * nss/makedb.c (compute_tables): Check result of multiple hash table
29184 sizes to minimize maximum chain length.
29185
2666d441
UD
291862011-06-14 Ulrich Drepper <drepper@gmail.com>
29187
29188 * Versions.def: Add entry for libnss_db.
29189 * shlib-versions: Likewise.
29190 * nss/Makefile: Add rules to build libnss_db.
29191 * nss/Versions: Add libnss_db information. Organize libnss_files
29192 entries better.
29193 * nss/db-Makefile: Add gshadow support. Change rules for the new
29194 makedb progra. Some minor improvements to generate smaller files.
29195 * nss/nss_db/nss_db.h: Move NSS database header data structures to
29196 here from...
29197 * nss/makedb.c: ...here.
29198 Improve database format to be smaller and require less memory at
29199 runtime.
29200 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
29201 db anymore.
29202 * nss/nss_db/db-netgrp.c: Likewise.
29203 * nss/nss_db/db-open.c: Likewise.
29204 * nss/nss_files/flies-XXX.x: Adjust comments.
29205 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
29206 * nss/nss_files/files-grp.c: Likewise.
29207 * nss/nss_files/files-hosts.c: Likewise.
29208 * nss/nss_files/files-network.c: Likewise.
29209 * nss/nss_files/files-proto.c: Likewise.
29210 * nss/nss_files/files-pwd.c: Likewise.
29211 * nss/nss_files/files-rpc.c: Likewise.
29212 * nss/nss_files/files-service.c: Likewise.
29213 * nss/nss_files/files-sgrp.c: Likewise.
29214 * nss/nss_files/files-spwd.c: Likewise.
29215 * nss/nss_db/db-alias.c: Removed.
29216 * nss/nss_db/dummy-db.h: Removed.
29217
9ee76b5a
UD
292182011-06-02 Ulrich Drepper <drepper@gmail.com>
29219
29220 * nss/makedb.c: Rewritten to not use database library.
29221 * nss/Makefile: Update to build new makedb program.
29222
c71ca1f8
AJ
292232011-06-14 Andreas Jaeger <aj@suse.de>
29224
29225 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
29226 memset declaration.
29227
3154bfb8
UD
292282011-06-10 Andreas Schwab <schwab@redhat.com>
29229
29230 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
29231 tmpbuf.
29232
b350afab
RM
292332011-06-10 Roland McGrath <roland@hack.frob.com>
29234
decd4e50
RM
29235 * Makerules (shlib.lds): Fail if the linker script comes out empty.
29236 * elf/Makefile ($(objpfx)ld.so): Likewise.
29237
5615eaf2
RM
29238 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
29239 Don't list ld.so twice in dependencies.
29240
29241 * posix/bug-regex31.c: Include <stdlib.h>.
29242
29243 * nscd/hstcache.c (cache_addhst): Remove unused variable.
29244
29245 * nis/nss_compat/compat-spwd.c
29246 (getspent_next_nss_netgr): Remove unused variable.
29247 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
29248
29249 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
29250 nonmembers" output to use the right array.
29251
29252 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
29253
29254 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
29255
29256 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
29257 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
29258 * catgets/gencat.c (read_input_file): Likewise.
29259 * locale/programs/locarchive.c (enlarge_archive): Likewise.
29260
29261 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
29262 variable definition inside #if's controlling its use.
29263
29264 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
29265
29266 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
29267
29268 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
29269
29270 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
29271 unreachable code.
29272
29273 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
29274
b68e08db
RM
29275 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
29276 * configure: Regenerated.
29277
b350afab
RM
29278 * Makerules: Revert last change.
29279 * elf/Makefile: Likewise.
29280
28368601
RM
292812011-06-09 Roland McGrath <roland@hack.frob.com>
29282
29283 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
29284 * elf/Makefile ($(objpfx)librtld.os): Likewise.
29285 (reloc-link): Likewise.
29286
11988f8f
UD
292872011-06-09 Ulrich Drepper <drepper@gmail.com>
29288
29289 * elf/Makefile: Add rules to build pldd.
29290 * elf/pldd.c: New file.
29291 * elf/pldd-xx.c: New file.
29292
e80fab37
UD
292932011-06-07 Ulrich Drepper <drepper@gmail.com>
29294
29295 * version.h: Update for 2.15 development version.
29296
9b849836
DM
292972011-06-07 David S. Miller <davem@davemloft.net>
29298
29299 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
29300 ifuncs.
29301 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
29302 elf_machine_lazy_rel): Likewise.
29303 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
29304 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
29305 elf_machine_lazy_rel): Likewise.
29306 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
29307 dl_hwcap via passed in argument.
29308 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
29309 Likewise.
29310
5a31b283
AK
293112011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29312
29313 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
29314
069e52f8
RM
293152011-06-06 Roland McGrath <roland@hack.frob.com>
29316
29317 [BZ #12849]
29318 * manual/fdl-1.1.texi: New file, verbatim from:
29319 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
29320 * manual/lgpl-2.1.texi: New file, verbatim from:
29321 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
29322 * manual/Makefile (licenses): New variable, list those new file names.
29323 (texis): Use it.
29324 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
29325
29326 * manual/fdl.texi: File removed.
29327 * manual/lesser.texi: File removed.
29328 * manual/libc.texinfo (Copying, Documentation License):
29329 Use new @include file names, put @appendix directive before @include.
29330
f16846a5
JJ
293312011-06-04 Jakub Jelinek <jakub@redhat.com>
29332
29333 [BZ #12841]
29334 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
29335 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
29336 (mq_open): Add __NTH.
29337
3d29045b
L
293382011-06-02 H.J. Lu <hongjiu.lu@intel.com>
29339
29340 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29341 Assume Intel Core i3/i5/i7 processor if AVX is available.
29342
8c297311
UD
293432011-05-31 Ulrich Drepper <drepper@gmail.com>
29344
29345 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
29346 typo.
29347
c8fc0c91
UD
293482011-05-31 Andreas Schwab <schwab@redhat.com>
29349
29350 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
29351 memory. Use alloca_account. Fix memory leak when retrying.
29352
5b27a807
UD
293532011-05-31 Ulrich Drepper <drepper@gmail.com>
29354
356f8bc6
UD
29355 * version.h (RELEASE): Bump for 2.14 release.
29356 * include/features.h (__GLIBC_MINOR__): Bump to 14.
29357
5b27a807
UD
29358 * config.make.in (RANLIB): Remove entry.
29359
01f16ab0
UD
293602011-05-30 Ulrich Drepper <drepper@gmail.com>
29361
41fce8bd
UD
29362 * po/Makefile (po-sed-cmd): Add ksh to extensions.
29363 (libc.pot): Work around missing support for .ksh extension in xgettext.
29364
4769ae77
UD
29365 [BZ #12684]
29366 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
29367 if both request failed.
29368 (send_dg): In case of server errors clear resplen or *resplen2.
29369
6b1e7d19
UD
29370 [BZ #12454]
29371 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
29372 when there are multiple maps.
29373 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
29374 (_dl_fini): Remove test here.
29375
01f16ab0
UD
29376 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
29377
b1ebd700
UD
293782011-05-29 Ulrich Drepper <drepper@gmail.com>
29379
7ae22829
UD
29380 [BZ #12350]
29381 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
29382 bit from old_res_options.
29383 (gaih_inet): Likewise.
29384
553149f6 29385 [BZ #11099]
18a84741 29386 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
29387 as signed.
29388
652ffab1
UD
29389 * resolv/res_init.c (res_setoptions): Make the code more compact.
29390
16985fd0
UD
29391 [BZ #11558]
29392 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
29393 set RES_USEVC.
29394
0464f746
UD
29395 [BZ #11634]
29396 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
29397
7d17596c
UD
29398 * malloc/malloc.h: Mark malloc hook variables as deprecated.
29399
cf6bbbd7
UD
29400 [BZ #11781]
29401 * malloc/malloc.h: Declare malloc hook variables as volatile.
29402
13f1ab36
UD
29403 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
29404 in last patch.
29405
b1ebd700
UD
29406 [BZ #11799]
29407 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 29408 raise in the comment.
80e2212d
UD
29409 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29410 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29411 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 29412
ce67228d
UD
294132011-05-28 Ulrich Drepper <drepper@gmail.com>
29414
8887a920
UD
29415 [BZ #12811]
29416 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
29417 grow the buffers more if it already has to be sufficient.
29418 (build_wcs_upper_buffer): Likewise.
29419 * posix/regexec.c (check_matching): Likewise.
29420 (clean_state_log_if_needed): Likewise.
29421 (extend_buffers): Don't enlarge buffers beyond size of the input
29422 buffer.
29423 Patches mostly by Emil Wojak <emil@wojak.eu>.
29424 * posix/bug-regex32.c: New file.
29425 * posix/Makefile (tests): Add bug-regex32.
29426
4f031072
UD
29427 * locale/findlocale.c (_nl_find_locale): Return right away if
29428 _nl_explode_name failed.
29429 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
29430
d0478f0c
UD
29431 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
29432
de81b246
UD
29433 * debug/xtrace.sh: Unify messages.
29434 * malloc/memusage.sh: Likewise.
29435
c738465a
UD
29436 [BZ #12813]
29437 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
29438 time symbol from vDSO. Substitute with vsyscall if not available.
29439 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
29440 __vdso_time.
29441
f1f929d7
UD
29442 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
29443 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
29444 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
29445 Add sendmmsg and internal_sendmmsg.
29446 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
29447 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
29448 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
29449
ce67228d
UD
29450 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
29451 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
29452 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
29453
e57420c6
UD
294542011-05-27 Ulrich Drepper <drepper@gmail.com>
29455
a8509ca5
UD
29456 [BZ #12813]
29457 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
29458 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
29459 available.
29460 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
29461 __vdso_getcpu.
29462
e57420c6
UD
29463 [BZ #12814]
29464 * iconvdata/Makefile (tests): Add bug-iconv9.
29465 * iconvdata/bug-iconv9.c: New file.
29466
4d07db15
AS
294672011-05-27 Andreas Schwab <schwab@redhat.com>
29468
29469 [BZ #12814]
29470 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
29471
ea486f69
JJ
294722011-05-25 Jakub Jelinek <jakub@redhat.com>
29473
29474 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29475 (struct user_regs_struct): Change intcs field back to cs.
29476
6f038433
UD
294772011-05-25 Ulrich Drepper <drepper@gmail.com>
29478
29479 * po/ja.po: Update from translation team.
29480
67f86a25
UD
294812011-05-23 Ulrich Drepper <drepper@gmail.com>
29482
29483 [BZ #12795]
29484 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
29485 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
29486
def7fbd6
AS
294872011-05-20 Andreas Schwab <schwab@redhat.com>
29488
29489 * stdlib/longlong.h: Update from GCC.
29490
f50ef8f1
AS
294912011-05-23 Andreas Schwab <schwab@redhat.com>
29492
29493 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
29494 parameter name.
29495 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
29496 Add parameter name.
29497 (__sysconf): Pass it down.
29498
de7ce8f1
UD
294992011-05-22 Ulrich Drepper <drepper@gmail.com>
29500
f2962a71
UD
29501 [BZ #12671]
29502 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
29503 some situations.
29504 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
29505 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
29506 add in in __libc_use_alloca calls. Adjust callers.
29507 (glob): Use malloc in some situations.
29508
de7ce8f1
UD
29509 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
29510 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
29511 pltexit.
29512
aec84f53
UD
295132011-05-21 Ulrich Drepper <drepper@gmail.com>
29514
05bb4a68
UD
29515 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
29516 and CLOCK_BOOTTIME_ALARM.
29517
7ea72f99
UD
29518 [BZ #12782]
29519 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
29520 is returned.
29521
7e4afad5
UD
29522 * string/_strerror.c (__strerror_r): Print negative errors as signed
29523 numbers.
29524
8e211fec
UD
29525 [BZ #12777]
29526 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
29527 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
29528 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
29529
f7d82dc9
UD
29530 * configure.in: Fix typo in redirection and correct removal of test
29531 files in two cases.
29532
cc9e536d
UD
29533 [BZ #12788]
29534 * locale/setlocale.c (new_composite_name): Fix test to check for
29535 identical name of all categories.
29536
aec84f53
UD
29537 [BZ #12792]
29538 * libio/filedoalloc.c (local_isatty): New function.
29539 (_IO_file_doallocate): Use local_isatty.
29540 * stdio-common/perror.c (perror): In case a new stream is used
29541 forward the stream error.
29542 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
29543 error flag.
29544
78e64fdc
RT
295452011-05-20 Ulrich Drepper <drepper@gmail.com>
29546
34a9094f
UD
29547 [BZ #11869]
29548 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
29549 alloca.
29550 * include/alloca.h (extend_alloca_account): Define.
29551
78e64fdc
RT
29552 [BZ #11857]
29553 * posix/regex.h: Fix comments with documentation of user-accessible
29554 fields after compilation and describe correct free'ing of pattern
29555 after re_compile_pattern.
29556 Patch by Reuben Thomas <rrt@sc3d.org>.
29557
457bddfc
RA
295582011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
29559
29560 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
29561 and -mno-altivec to prevent the compiler from using Altivec and/or
29562 VSX instructions when the corresponding registers are not available.
29563
a4527b51
AS
295642011-05-19 Andreas Schwab <schwab@redhat.com>
29565
29566 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
29567
ed690b2f
UD
295682011-05-19 Ulrich Drepper <drepper@gmail.com>
29569
29570 * libio/freopen.c (freopen): Use __dup2, not dup2.
29571 * libio/freopen64.c (freopen64): Likewise.
29572
8db73634
L
295732011-05-17 H.J. Lu <hongjiu.lu@intel.com>
29574
29575 [BZ #12775]
29576 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
29577 * math/Makefile (tests): Add test-powl.
29578 (CFLAGS-test-powl.c): Define.
29579 * math/test-powl.c: New file.
29580
0a197a9d
L
295812011-05-16 H.J. Lu <hongjiu.lu@intel.com>
29582
29583 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
29584
ee30c380
UD
295852011-05-17 Ulrich Drepper <drepper@gmail.com>
29586
29587 [BZ #11837]
29588 * iconvdata/gb18030.c: Update to GB18020-2005.
29589
6ce75379
UD
295902011-05-16 Ulrich Drepper <drepper@gmail.com>
29591
a4b89fd8
AR
29592 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
29593 RE_SYNTAX_POSIX_AWK): Update to match recent development.
29594 Patch by Aharon Robbins <arnold@skeeve.com>.
29595
ea389b12
UD
29596 [BZ #11892]
29597 * stdlib/putenv.c (putenv): Don't always create copy of the variable
29598 on the stack.
29599
68a3f91f
UD
29600 [BZ #11895]
29601 * misc/pselect.c (__pselect): Handle timeout value errors hidden
29602 through underflows.
29603
15cc7dd1
UD
29604 [BZ #12766]
29605 * misc/error.c (error_at_line): Ensure file_name and old_file_name
29606 point to strings before performing equality test for error_one_per_line
29607 mode.
29608
f3799213
UD
29609 [BZ #11697]
29610 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
29611
d79a9c94
UD
29612 [BZ #11820]
29613 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29614 (struct user_fpregs_struct): Avoid __uint*_t types.
29615
56e5eb46
UD
29616 [BZ #6420]
29617 * malloc/mtrace.c (tr_where): Add additional parameter to point to
29618 symbol info. Use it instead of calling _dl_addr locally.
29619 (lock_and_info): New function.
29620 (tr_freehook): Call lock_and_info and pass symbol info as additional
29621 parameter to tr_where.
29622 (tr_mallochook): Likewise.
29623 (tr_reallochook): Likewise.
29624 (tr_memalignhook): Likewise.
29625
6ce75379
UD
29626 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
29627 used and couldn't be at all thread-safe.
29628
f8a3b5bf
UD
296292011-05-15 Ulrich Drepper <drepper@gmail.com>
29630
94b7cc37
UD
29631 * libio/freopen.c (freopen): Don't close old file descriptor
29632 before the new one is opened. Instead dup the new file descriptor
29633 to the old one after the new stream is created.
29634 * libio/freopen64.c (freopen64): Likewise.
29635 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
29636 * libio/fileops.c (_IO_new_file_close_it): Handle new
29637 _IO_FLAGS2_NOCLOSE flag.
29638 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
29639 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
29640 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
29641 _IO_FLAGS2_NOCLOSE flag.
29642 * include/unistd.h: Add hidden_proto for dup3.
29643 Define __have_dup3.
29644 * io/dup3.c: Define hidden symbol.
29645 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
29646
bd25564e
UD
29647 [BZ #7101]
29648 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
29649 when an incomplete long option is used.
29650 * posix/tst-getopt_long1.c: New file.
29651 * posix/Makefile (tests): Add tst-getopt_long1.
29652
c84cfef4
UD
29653 [BZ #10138]
29654 * scripts/config.guess: Update from autoconf-2.68.
29655 * scripts/config.sub: Likewise.
29656
3b85df27
UD
29657 [BZ #10157]
29658 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
29659 tests into ...
29660 (has_cpuclock): ...this. New function.
29661 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
29662 macro here based on has_cpuclock code.
29663
15a856b1
UD
29664 [BZ #10149]
29665 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29666 First byte (not low byte) is now always NUL.
29667 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
29668
05f399e6
UD
29669 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29670 Use non-cancelable interfaces.
29671
10a52685 29672 [BZ #9809]
94ecc67d
UD
29673 * locale/iso-639.def: Add entry for Sorani.
29674
f8a3b5bf
UD
29675 [BZ #11901]
29676 * include/stdlib.h: Move include protection to the right place.
29677 Define abort_msg_s. Declare __abort_msg with it.
29678 * stdlib/abort.c (__abort_msg): Adjust type.
29679 * assert/assert.c (__assert_fail_base): New function. Majority
29680 of code from __assert_fail. Allocate memory for __abort_msg with
29681 mmap.
29682 (__assert_fail): Now call __assert_fail_base.
29683 * assert/assert-perr.c: Remove bulk of implementation. Use
29684 __assert_fail_base.
29685 * include/assert.hL Declare __assert_fail_base.
29686 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
29687 mmap.
29688 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
29689
1af4e298
UD
296902011-05-14 Ulrich Drepper <drepper@gmail.com>
29691
f8a3b5bf 29692 [BZ #11952]
d26dfc60
MG
29693 [BZ #12453]
29694 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
29695 until all modules are registered in the DTV.
29696 * elf/Makefile: Add rules to build and run tst-tls19.
29697 * elf/tst-tls19.c: New file.
29698 * elf/tst-tls19mod1.c: New file.
29699 * elf/tst-tls19mod2.c: New file.
29700 * elf/tst-tls19mod3.c: New file.
29701 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
29702
2fc54d6f
UD
29703 [BZ #12083]
29704 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
29705 correctly.
29706
98d76b46
UD
29707 [BZ #12601]
29708 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
29709 two-byte sequence errors.
29710 * iconvdata/Makefile (tests): Add bug-iconv8.
29711 * iconvdata/bug-iconv8.c: New file.
29712
da3c19ef
UD
29713 [BZ #12626]
29714 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
29715 buf2 definition.
29716
ca408c15
UD
29717 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
29718
d6f67f7d
UD
29719 [BZ #12432]
29720 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
29721 (dummy_getcfa): New function.
29722 (init): Get _Unwind_GetCFA address, use dummy if not found.
29723 (backtrace_helper): In recursion check, also check whether CFA changes.
29724 (__backtrace): Completely initialize arg.
29725
1af4e298 29726 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
29727 storing incomplete byte sequence in state object. Avoid testing for
29728 guaranteed too small input if we know there is enough data available.
1af4e298 29729
da62f81b
AS
297302011-05-11 Andreas Schwab <schwab@redhat.com>
29731
29732 * Makeconfig (+link-pie): Indent.
29733 * Rules (binaries-pie): Define if $(have-fpie) and
29734 $(build-shared).
29735 (binaries-shared): Also filter out $(binaries-pie).
29736 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
29737 * nscd/Makefile (others-pie): Add nscd.
29738 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
29739 ($(objpfx)nscd): Remove command override.
29740 * login/Makefile (others-pie): Add pt_chown.
29741 ($(objpfx)pt_chown): Remove command override.
29742 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
29743 remove command overrides.
29744
fcabc0f8
UD
297452011-05-13 Ulrich Drepper <drepper@gmail.com>
29746
20030ae6
UD
29747 * libio/tst_putwc.c: Fix error messages.
29748
fcabc0f8
UD
29749 [BZ #12724]
29750 * libio/fileops.c (_IO_new_file_close_it): Always flush when
29751 currently writing and seek to current position when not.
29752 * libio/Makefile (tests): Add bug-fclose1.
29753 * libio/bug-fclose1.c: New file.
29754
320a5dc0
PB
297552011-05-12 Ulrich Drepper <drepper@gmail.com>
29756
29757 [BZ #12511]
29758 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
29759 don't set DF_1_NODELETE here.
29760 (do_lookup_x): When entering new entry test for copy relocation
29761 and if necessary set DF_1_NODELETE flag.
29762 * elf/tst-unique4.cc: New file.
29763 * elf/tst-unique4.h: New file.
29764 * elf/tst-unique4lib.cc: New file.
29765 * elf/Makefile: Add rules to build and run tst-unique4.
29766 Patch by Piotr Bury <pbury@goahead.com>.
29767
22836f52
UD
297682011-05-11 Ulrich Drepper <drepper@gmail.com>
29769
f574184a
UD
29770 [BZ #12052]
29771 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
29772
e1fb097f
UD
29773 [BZ #12625]
29774 * misc/mntent_r.c (addmntent): Flush the stream after the output
29775
22836f52
UD
29776 [BZ #12393]
29777 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
29778 (is_trusted_path_normalize): Skip initial colon. Append slash
29779 to empty buffer. Duplicate is_trusted_path code but allow
29780 constructed patch to be prefix.
29781 (is_dst): Allow $ORIGIN followed by /.
29782 (_dl_dst_substitute): Correct clearing of check_for_trusted.
29783 Correct testing of result of is_trusted_path_normalize
29784 (decompose_rpath): Fix warning.
29785
7b3b0b2a
UD
297862011-05-10 Ulrich Drepper <drepper@gmail.com>
29787
29788 [BZ #11257]
29789 * grp/initgroups.c (internal_getgrouplist): When we found the service
29790 list through the initgroups entry in nsswitch.conf do not always
29791 continue on a successful lookup. Don't always use the
eac80ce2 29792 __nss_group_database value if it is set.
7b3b0b2a
UD
29793 * nss/nsswitch.conf (initgroups): Change action for successful db
29794 lookup to continue for compatibility.
29795
2a81eaa5
UD
297962011-05-09 Ulrich Drepper <drepper@gmail.com>
29797
be97a69e
UD
29798 [BZ #11532]
29799 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
29800 and CP774 modules.
29801 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
29802 and CP774 modules.
29803 * iconvdata/tst-tables.sh: Likewise.
29804 * iconvdata/cp770.c: New file.
29805 * iconvdata/cp771.c: New file.
29806 * iconvdata/cp772.c: New file.
29807 * iconvdata/cp773.c: New file.
29808 * iconvdata/cp774.c: New file.
29809 * iconvdata/testdata/CP770: New file.
29810 * iconvdata/testdata/CP770..UTF8: New file.
29811 * iconvdata/testdata/CP771: New file.
29812 * iconvdata/testdata/CP771..UTF8: New file.
29813 * iconvdata/testdata/CP772: New file.
29814 * iconvdata/testdata/CP772..UTF8: New file.
29815 * iconvdata/testdata/CP773: New file.
29816 * iconvdata/testdata/CP773..UTF8: New file.
29817 * iconvdata/testdata/CP774: New file.
29818 * iconvdata/testdata/CP774..UTF8: New file.
29819
29820 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
29821 END CHARMAP line.
29822 * iconvdata/gen-8bit-gap.sh: Likewise.
29823 * iconvdata/gen-8bit.sh: Likewise.
29824
c1e9e399
UD
29825 * locale/iso-639.def: Add ary entry.
29826
24c55fb3 29827 [BZ #11258]
96b4b1b0
UD
29828 * locale/C-translit.h.in: Add U20A1 transliteration.
29829
bdc2f971
KB
29830 [BZ #12178]
29831 * locale/iso-639.def: Add wae entry.
29832 Patch by Kevin Bortis <bortis@translate-wae.ch>.
29833
2952b117
UD
29834 [BZ #12545]
29835 * locale/programs/localedef.c (construct_output_path): Use ssize_t
29836 for n.
29837
2a81eaa5
UD
29838 [BZ #12711]
29839 * locale/C-translit.h.in: Add entry for U20B9.
29840 Patch by pravin.d.s@gmail.com.
29841
28377d1b
UD
298422011-05-08 Ulrich Drepper <drepper@gmail.com>
29843
7fb90fb8
UD
29844 [BZ #12713]
29845 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
29846 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
29847 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
29848 in rtld. Use *stat64.
7fb90fb8 29849 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 29850 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 29851 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
29852 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
29853 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
29854 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
29855 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
29856 __fstatat64 macros.
7fb90fb8
UD
29857 * include/dirent.h: Add libc_hidden_proto for rewinddir.
29858 * dirent/rewinddir.c: Add libc_hidden_def.
29859 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 29860 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 29861
28377d1b
UD
29862 * include/dirent.h (__alloc_dir): Add flags parameter.
29863 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
29864 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
29865 __alloc_dir.
29866 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
29867 from fdopendir if O_CLOEXEC is already set.
29868
66bdbaa4
AM
298692011-03-15 Alan Modra <amodra@gmail.com>
29870
29871 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
29872 l_tls_firstbyte_offset non-zero. Save padding offset in
29873 l_tls_firstbyte_offset for later use.
29874 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
29875 freeing static tls block.
29876
95721191
JN
298772011-03-05 Jonathan Nieder <jrnieder@gmail.com>
29878
29879 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
29880 where #ifdef was intended. The intent is to prevent ARG_MAX from
29881 being defined by the kernel headers.
29882
f87dfb1f
UD
298832011-05-07 Ulrich Drepper <drepper@gmail.com>
29884
29885 [BZ #12734]
29886 * resolv/resolv.h: Define RES_NOTLDQUERY.
29887 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
29888 no-tld-query and set RES_NOTLDQUERY.
29889 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
29890 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
29891 modern BIND to search name as TLD unless forbidden.
29892
47c3cd7a
UD
298932011-05-07 Petr Baudis <pasky@suse.cz>
29894 Ulrich Drepper <drepper@gmail.com>
29895
29896 [BZ #12393]
29897 * elf/dl-load.c (fillin_rpath): Move trusted path check...
29898 (is_trusted_path): ...to here.
c1e9ea35 29899 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 29900 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 29901 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 29902
8a35c912
PP
299032011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
29904
29905 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
29906 __BEGIN/__END_DECLS.
29907
acd41f47
UD
299082011-05-06 Ulrich Drepper <drepper@gmail.com>
29909
29910 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
29911 NSS_STATUS_NOTFOUND if no record was found.
29912
597df647
AS
299132011-05-05 Andreas Schwab <schwab@redhat.com>
29914
29915 * sunrpc/Makefile (headers): Add rpc/netdb.h.
29916 (headers-not-in-tirpc): Remove rpc/netdb.h
29917 * resolv/netdb.h: Revert last change.
29918
b9af1301
PP
299192011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
29920
29921 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
29922 circular dependency between libgcc.a and libc.a.
29923
4e34d5f5
AS
299242011-05-05 Andreas Schwab <schwab@redhat.com>
29925
29926 * resolv/netdb.h: Don't include <rpc/netdb.h>.
29927 * nis/Makefile: Don't install rpcsvc/*.
29928 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
29929 instead of <rpc/types.h>.
29930 (MAXHOSTNAMELEN): Define.
29931
00ee369c
AS
299322011-05-03 Andreas Schwab <schwab@redhat.com>
29933
29934 * elf/ldconfig.c (add_dir): Don't crash on empty path.
29935
0b592a30
MB
299362011-04-28 Maciej Babinski <mbabinski@google.com>
29937
29938 [BZ #12714]
29939 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
29940 gethostbyname4_r when IPv6 results are possible.
29941
6e04cbbe
UD
299422011-05-02 Ulrich Drepper <drepper@gmail.com>
29943
29944 [BZ #12723]
29945 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
29946 _PC_PIPE_BUF handling.
29947
e4ecafe0
BH
299482011-04-30 Bruno Haible <bruno@clisp.org>
29949
29950 [BZ #12717]
29951 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
29952 * resolv/netdb.h (getnameinfo): Change type of flags parameter
29953 to 'int'.
29954 * inet/getnameinfo.c (getnameinfo): Likewise.
29955
125ee683
UD
299562011-04-29 Ulrich Drepper <drepper@gmail.com>
29957
29958 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
29959 to groups setting in database lookup.
29960 * nss/nsswitch.conf: Add initgroups entry.
29961
b722481a
EB
299622011-04-22 Ulrich Drepper <drepper@gmail.com>
29963
29964 [BZ #12685]
29965 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
29966 mode string.
29967 Patch by Eric Blake <eblake@redhat.com>.
29968
4df46dbd
L
299692011-04-20 H.J. Lu <hongjiu.lu@intel.com>
29970
29971 * sunrpc/Makefile (need-export-routines): Add svc_run.
29972 (routines): Remove svc_run.
29973 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
29974 * sunrpc/clnt_perr.c (clnt_perrno): Export.
29975 * sunrpc/svc_run.c (svc_run): Likewise.
29976 * sunrpc/svc_udp.c (svcudp_create): Likewise.
29977
e84142d2
UD
299782011-04-21 Ulrich Drepper <drepper@gmail.com>
29979
29980 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
29981 problem in reallocation in last patch.
29982
877175d8
UD
299832011-04-20 Ulrich Drepper <drepper@gmail.com>
29984
29985 * sunrpc/Makefile: Move inclusion of Rules.
29986
ab8eed78
UD
299872011-04-19 Ulrich Drepper <drepper@gmail.com>
29988
29989 * nss/nss_files/files-initgroups.c: New file.
29990 * nss/Makefile (libnss_files-routines): Add files-initgroups.
29991 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
29992 _nss_files_initgroups_dyn.
29993
e3d8f584
RS
299942011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
29995
29996 * elf/elf.h (R_ARM_IRELATIVE): Define.
29997
af190f45
UD
299982011-04-19 Ulrich Drepper <drepper@gmail.com>
29999
30000 * po/ru.po: Update from translation team.
30001
53cf59ef
UD
300022011-04-17 Ulrich Drepper <drepper@gmail.com>
30003
30004 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
30005 dependencies.
30006
4c559bcd
MF
300072011-02-06 Mike Frysinger <vapier@gentoo.org>
30008
30009 [BZ #12653]
30010 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
30011 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
30012 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30013 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30014 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30015
4420675c
AS
300162011-03-28 Andreas Schwab <schwab@linux-m68k.org>
30017
30018 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
30019 differing bytes.
30020 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30021 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30022 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30023
75ea32ab
UD
300242011-04-17 Ulrich Drepper <drepper@gmail.com>
30025
30026 [BZ #12420]
30027 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
30028 storing it.
30029 * stdlib/bug-getcontext.c: New file.
30030 * stdlib/Makefile: Add rules to build and run bug-getcontext.
30031
27390476
AK
300322011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30033
30034 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
30035 instructions into .machine "z9-109".
30036 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
30037 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
30038
10442705
AK
300392011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30040
30041 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
30042 between environment variables and auxiliary vector.
30043
7b57bfe5
UD
300442011-04-16 Ulrich Drepper <drepper@gmail.com>
30045
30046 * Makefile: Add rules to build linkobj/libc.so.
30047 * include/libc-symbols.h: Define libc_hidden_nolink.
30048 * include/rpc/auth.h: Mark functions which are to be hidden.
30049 * include/rpc/auth_des.h: Likewise.
30050 * include/rpc/auth_unix.h: Likewise.
30051 * include/rpc/clnt.h: Likewise.
30052 * include/rpc/des_crypt.h: Likewise.
30053 * include/rpc/key_prot.h: Likewise.
30054 * include/rpc/pmap_clnt.h: Likewise.
30055 * include/rpc/pmap_prot.h: Likewise.
30056 * include/rpc/pmap_rmt.h: Likewise.
30057 * include/rpc/rpc_msg.h: Likewise.
30058 * include/rpc/svc.h: Likewise.
30059 * include/rpc/svc_auth.h: Likewise.
30060 * include/rpc/xdr.h: Likewise.
30061 * nis/Makefile: Link all DSOs against linkobj/libc.so.
30062 * nss/Makefile: Likewise.
30063 * sunrpc/Makefile: Don't install headers. Build library with normal
30064 entry points. Don't build rpcinfo. Link RPC tests appropriately.
30065 * sunrpc/auth_des.c: Hide exported symbols by default, export some
30066 for the compat linking library. Remove use of INTDEF/INTUSE.
30067 * sunrpc/auth_none.c: Likewise.
30068 * sunrpc/auth_unix.c: Likewise.
30069 * sunrpc/authdes_prot.c: Likewise.
30070 * sunrpc/authuxprot.c: Likewise.
30071 * sunrpc/clnt_gen.c: Likewise.
30072 * sunrpc/clnt_perr.c: Likewise.
30073 * sunrpc/clnt_raw.c: Likewise.
30074 * sunrpc/clnt_simp.c: Likewise.
30075 * sunrpc/clnt_tcp.c: Likewise.
30076 * sunrpc/clnt_udp.c: Likewise.
30077 * sunrpc/clnt_unix.c: Likewise.
30078 * sunrpc/des_crypt.c: Likewise.
30079 * sunrpc/des_soft.c: Likewise.
30080 * sunrpc/get_myaddr.c: Likewise.
30081 * sunrpc/key_call.c: Likewise.
30082 * sunrpc/key_prot.c: Likewise.
30083 * sunrpc/netname.c: Likewise.
30084 * sunrpc/pm_getmaps.c: Likewise.
30085 * sunrpc/pm_getport.c: Likewise.
30086 * sunrpc/pmap_clnt.c: Likewise.
30087 * sunrpc/pmap_prot.c: Likewise.
30088 * sunrpc/pmap_prot2.c: Likewise.
30089 * sunrpc/pmap_rmt.c: Likewise.
30090 * sunrpc/publickey.c: Likewise.
30091 * sunrpc/rpc_cmsg.c: Likewise.
30092 * sunrpc/rpc_common.c: Likewise.
30093 * sunrpc/rpc_dtable.c: Likewise.
30094 * sunrpc/rpc_prot.c: Likewise.
30095 * sunrpc/rpc_thread.c: Likewise.
30096 * sunrpc/rtime.c: Likewise.
30097 * sunrpc/svc.c: Likewise.
30098 * sunrpc/svc_auth.c: Likewise.
30099 * sunrpc/svc_authux.c: Likewise.
30100 * sunrpc/svc_raw.c: Likewise.
30101 * sunrpc/svc_run.c: Likewise.
30102 * sunrpc/svc_simple.c: Likewise.
30103 * sunrpc/svc_tcp.c: Likewise.
30104 * sunrpc/svc_udp.c: Likewise.
30105 * sunrpc/svc_unix.c: Likewise.
30106 * sunrpc/svcauth_des.c: Likewise.
30107 * sunrpc/xcrypt.c: Likewise.
30108 * sunrpc/xdr.c: Likewise.
30109 * sunrpc/xdr_array.c: Likewise.
30110 * sunrpc/xdr_float.c: Likewise.
30111 * sunrpc/xdr_intXX_t.c: Likewise.
30112 * sunrpc/xdr_mem.c: Likewise.
30113 * sunrpc/xdr_rec.c: Likewise.
30114 * sunrpc/xdr_ref.c: Likewise.
30115 * sunrpc/xdr_sizeof.c: Likewise.
30116 * sunrpc/xdr_stdio.c: Likewise.
30117
e6c61494
UD
301182011-04-10 Ulrich Drepper <drepper@gmail.com>
30119
30120 [BZ #12650]
30121 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
30122 * sysdeps/ia64/dl-tls.h: Likewise.
30123 * sysdeps/powerpc/dl-tls.h: Likewise.
30124 * sysdeps/s390/dl-tls.h: Likewise.
30125 * sysdeps/sh/dl-tls.h: Likewise.
30126 * sysdeps/sparc/dl-tls.h: Likewise.
30127 * sysdeps/x86_64/dl-tls.h: Likewise.
30128 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
30129
34fe483e
AS
301302011-03-14 Andreas Schwab <schwab@redhat.com>
30131
30132 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
30133 rpath element also skip the following colon.
30134 (expand_dynamic_string_token): Add is_path parameter and pass
30135 down to DL_DST_REQUIRED and _dl_dst_substitute.
30136 (decompose_rpath): Call expand_dynamic_string_token with
30137 non-zero is_path. Ignore empty rpaths.
30138 (_dl_map_object_from_fd): Call expand_dynamic_string_token
30139 with zero is_path.
30140
f12a32e6
AS
301412011-04-08 Andreas Schwab <schwab@linux-m68k.org>
30142
30143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
30144 Make cancelable.
30145
38a7d692
UD
301462011-04-09 Ulrich Drepper <drepper@gmail.com>
30147
30148 [BZ #12655]
30149 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
30150 Patch by Filipe David Manana <fdmanana@apache.org>.
30151
e451d22b
AS
301522011-04-07 Andreas Schwab <schwab@redhat.com>
30153
30154 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
30155 Maintain aligned stack.
30156 (CHECK_RSP): Remove unused macro.
30157
dedc7c7b
UD
301582011-04-03 Ulrich Drepper <drepper@gmail.com>
30159
30160 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
30161 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
30162
94521213
UD
301632011-04-02 Ulrich Drepper <drepper@gmail.com>
30164
30165 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
30166
8cb700c0 30167 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 30168
0354e355
L
301692011-03-26 H.J. Lu <hongjiu.lu@intel.com>
30170
30171 [BZ #12518]
30172 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
30173 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
30174 * sysdeps/x86_64/memmove.c: New file.
30175 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
30176 (memcpy): Renamed to ...
30177 (__new_memcpy): This.
30178 (memcpy): Provide GLIBC_2_14 memcpy.
30179 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
30180 (memcpy): Provide GLIBC_2_2_5 memcpy.
30181
8593482f
UD
301822011-04-01 Ulrich Drepper <drepper@gmail.com>
30183
30184 [BZ #12631]
30185 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
30186
81a5726b
AS
301872011-03-30 Andreas Schwab <schwab@redhat.com>
30188
30189 * misc/syncfs.c: New file.
30190 * misc/Makefile (routines): Add syncfs.
30191 * posix/unistd.h: Declare syncfs.
30192 * sysdeps/unix/syscalls.list: Add syncfs.
30193
00e5419f
AS
301942011-04-01 Andreas Schwab <schwab@redhat.com>
30195
30196 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
30197 open_by_handle_at.
30198 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
30199 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30200 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30201 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30202 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30203 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
30204 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30205
748876bf
UD
302062011-04-01 Ulrich Drepper <drepper@gmail.com>
30207
658e451d
UD
30208 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
30209 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30210 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
30211 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30212 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30213 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30214 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30215
748876bf
UD
30216 * io/Makefile: Compile fallocate.c, fallocate64.c, and
30217 sync_file_range.c with -fexceptions.
30218 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
30219 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
30220 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
30221 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
30222 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
30223 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
30224 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
30225 sync_file_range as cancellation point
30226 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
30227 now a wrapper around __call_sync_file_range with cancellation handling.
30228 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
30229 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
30230 function name to __call_sync_file_range.
30231 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
30232 Add call_sync_file_range.
748876bf 30233
6e63d5e1
AS
302342011-04-01 Andreas Schwab <schwab@redhat.com>
30235
30236 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 30237 bits/timex.h.
6e63d5e1 30238
46998f74
UD
302392011-04-01 Ulrich Drepper <drepper@gmail.com>
30240
4c1423ed
UD
30241 * iconv/iconv.h: Fix typo in comment.
30242 * io/fcntl.h: Likewise.
30243 * libio/stdio.h: Likewise.
30244 * posix/spawn.h: Likewise.
30245 * posix/unistd.h: Likewise.
30246 * stdlib/stdlib.h: Likewise.
30247 * time/time.h: Likewise.
30248 * wcsmbs/wchar.h: Likewise.
30249
158648c0
UD
30250 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
30251 open_by_handle): Add.
30252 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
30253 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
30254 Augment a few comments.
30255 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30256 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30257 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30258 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30259 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30260 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
30261 open_by_handle.
30262
46998f74
UD
30263 * io/fcntl.h (AT_EMPTY_PATH): Define.
30264
83fe108b
UD
302652011-03-30 Ulrich Drepper <drepper@gmail.com>
30266
30267 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
30268 * sysdeps/unix/sysv/linux/bits/time.h: New file.
30269 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
30270 to...
30271 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
30272 * Versions.def: Add GLIBC_2.14.
30273 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
30274 Export.
83fe108b 30275
bb242059
UD
302762011-03-22 Ulrich Drepper <drepper@gmail.com>
30277
30278 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
30279 round counter.
30280 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
30281
c97a1282
L
302822011-03-20 H.J. Lu <hongjiu.lu@intel.com>
30283
30284 [BZ #12597]
30285 * string/test-strncmp.c (do_page_test): New function.
30286 (check2): Likewise.
30287 (test_main): Call check2.
30288 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
30289
2a115601
UD
302902011-03-20 Ulrich Drepper <drepper@gmail.com>
30291
30292 [BZ #12587]
30293 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
30294 Handle cache information in CPU leaf 4.
30295 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
30296
8126d904
UD
302972011-03-18 Ulrich Drepper <drepper@gmail.com>
30298
042c49c6 30299 [BZ #12583]
8126d904
UD
30300 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
30301 character representation.
30302 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
30303
ccfe366e
RA
303042011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
30305
30306 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
30307 END(__isnan) to END(__isnanf) to match function entry point/label
30308 EALIGN(__isnanf,...).
30309
c6e13027
JJ
303102011-03-10 Jakub Jelinek <jakub@redhat.com>
30311
30312 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
30313
33f85a3f
UD
303142011-03-10 Ulrich Drepper <drepper@gmail.com>
30315
028478fa
UD
30316 [BZ #12510]
30317 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
30318 copy from the symbol referenced in the relocation to initialize the
30319 used variable.
30320 Patch by Piotr Bury <pbury@goahead.com>.
30321 * elf/Makefile: Add rules to build and tst-unique3.
30322 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
30323 * elf/tst-unique3.cc: New file.
30324 * elf/tst-unique3.h: New file.
30325 * elf/tst-unique3lib.cc: New file.
30326 * elf/tst-unique3lib2.cc: New file.
30327
33f85a3f
UD
30328 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
30329
03592fc7
MF
303302011-03-10 Mike Frysinger <vapier@gentoo.org>
30331
30332 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
30333 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
30334 to _start.
03592fc7 30335
6a5ee102
UD
303362011-03-06 Ulrich Drepper <drepper@gmail.com>
30337
30338 * elf/dl-load.c (_dl_map_object): If we are looking for the first
30339 to-be-loaded object along a path to loader is ld.so.
30340
7e4ba49c
HJ
303412011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
30342 Ulrich Drepper <drepper@gmail.com>
30343
30344 * sysdeps/x86_64/memset.S: After aligning destination, code
30345 branches to different locations depending on the value of
30346 misalignment, when multiarch is enabled. Fix this.
30347
303482011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
30349
30350 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
30351 Set _x86_64_preferred_memory_instruction for AMD processsors.
30352 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30353 Set bit_Prefer_SSE_for_memop for AMD processors.
30354
13a804de
UD
303552011-03-04 Ulrich Drepper <drepper@gmail.com>
30356
30357 * libio/fmemopen.c (fmemopen): Optimize a bit.
30358
9d25c392
AS
303592011-03-03 Andreas Schwab <schwab@redhat.com>
30360
30361 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
30362
a5543c6a
RM
303632011-03-03 Roland McGrath <roland@redhat.com>
30364
30365 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
30366
012d35f7
DM
303672011-02-28 Aurelien Jarno <aurelien@aurel32.net>
30368
7e4ba49c 30369 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
30370 __bzero_ultra1 instead of __memset_ultra1.
30371
4bff6e01
AS
303722011-02-23 Andreas Schwab <schwab@redhat.com>
30373 Ulrich Drepper <drepper@gmail.com>
30374
30375 [BZ #12509]
30376 * include/link.h (struct link_map): Add l_orig_initfini.
30377 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
30378 returning unsuccessfully.
30379 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
30380 close of a file loaded at startup, restore the original l_initfini
30381 list.
30382 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
30383 list, store the pointer.
30384 * elf/Makefile ($(objpfx)noload-mem): New rule.
30385 (noload-ENV): Define.
30386 (tests): Add $(objpfx)noload-mem.
30387 * elf/noload.c: Include <memcheck.h>.
30388 (main): Call mtrace. Close all opened handles.
30389
f2092faf
AS
303902011-02-17 Andreas Schwab <schwab@redhat.com>
30391
30392 [BZ #12454]
30393 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
30394 dependencies are missing.
30395
6c8a2e88
ST
303962011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
30397
f2092faf 30398 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
30399 Hurd needs munmap.
30400 * sysdeps/mach/hurd/ifreq.h: New file.
30401
84a42118
PB
304022011-01-27 Petr Baudis <pasky@suse.cz>
30403 Ulrich Drepper <drepper@gmail.com>
30404
071f805e 30405 [BZ 12445]#
84a42118
PB
30406 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
30407 to extend_alloca().
30408 * stdio-common/bug23.c: New file.
30409 * stdio-common/Makefile (tests): Add bug23.
30410
e23fe25b
AS
304112010-09-28 Andreas Schwab <schwab@redhat.com>
30412 Ulrich Drepper <drepper@gmail.com>
30413
30414 [BZ #12489]
30415 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
30416 before performing relro protection. At old place add assertion
30417 to make sure nothing changed.
30418
d3f02e10
NS
304192011-02-17 Nathan Sidwell <nathan@codesourcery.com>
30420 Glauber de Oliveira Costa <glommer@gmail.com>
30421
30422 * elf/elf.h: Add new ARM TLS relocs.
30423
d55fd7a5
RA
304242011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
30425
30426 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30427 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
30428 cast from r3.
30429 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
30430 'tests' variable.
30431 * sysdeps/wordsize-64/tst-writev.c: New file.
30432
2206397e
RA
304332011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
30434
30435 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
30436 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
30437 insns in _dl_start to prevent a TOC reference before relocs are
30438 resolved.
30439
e9433893
UD
304402011-02-15 Ulrich Drepper <drepper@gmail.com>
30441
30442 [BZ #12469]
30443 * Makeconfig: Remove RANLIB definition.
30444 * Makerules: Don't use RANLIB.
30445 * aclocal.m4: Remove ranlib test.
30446 * configure.in: No need to check for ranlib.
30447 * elf/rtld-Rules: Don't use RANLIB.
30448
f75286c6
ST
304492011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
30450
8e31c82d
ST
30451 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
30452 protection macro.
30453 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
30454 inclusion protection macro.
30455
f75286c6
ST
30456 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
30457 SIGRTMIN and SIGRTMAX and print information in that case only when
30458 SIGRTMIN is defined.
30459
c1d0e639
JJ
304602011-02-11 Jakub Jelinek <jakub@redhat.com>
30461
30462 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
30463 arginfo fn returning -1.
30464
30465 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
30466 and thousands string is zero terminated.
30467
edf9294e
AS
304682011-02-03 Andreas Schwab <schwab@redhat.com>
30469
30470 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
30471 sysdeps/unix/sysv/linux/bits/socket.h.
30472
2b7e92df
ST
304732011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
30474
edf9294e
AS
30475 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
30476 (__CPU_COUNT): Remove old macros.
30477 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
30478 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
30479 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
30480 (__sched_cpualloc, __sched_cpufree): Add declarations.
30481
a4c7ea7b
UD
304822011-02-05 Ulrich Drepper <drepper@gmail.com>
30483
30484 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
30485 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
30486 * nscd/aicache.c (addhstaiX): Return timeout of added value.
30487 (readdhstai): Return value of addhstaiX call.
30488 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
30489 (addgrbyX): Return value returned by cache_addgr.
30490 (readdgrbyname): Return value returned by addgrbyX.
30491 (readdgrbygid): Likewise.
30492 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
30493 (addpwbyX): Return value returned by cache_addpw.
30494 (readdpwbyname): Return value returned by addhstbyX.
30495 (readdpwbyuid): Likewise.
30496 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
30497 (addservbyX): Return value returned by cache_addserv.
30498 (readdservbyname): Return value returned by addservbyX:
30499 (readdservbyport): Likewise.
30500 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
30501 (addhstbyX): Return value returned by cache_addhst.
30502 (readdhstbyname): Return value returned by addhstbyX.
30503 (readdhstbyaddr): Likewise.
30504 (readdhstbynamev6): Likewise.
30505 (readdhstbyaddrv6): Likewise.
30506 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
30507 (readdinitgroups): Return value returned by addinitgroupsX.
30508 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
30509 (prune_cache): Keep track of timeout value of re-added entries.
30510 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
30511 * nscd/nscd.h: Adjust prototypes of readd* functions.
30512
a0bf67cc
RM
305132011-02-04 Roland McGrath <roland@redhat.com>
30514
30515 * nis/nis_server.c (nis_servstate): Use the right name for 0.
30516 (nis_stats): Likewise.
30517 * nis/nis_modify.c (nis_modify): Likewise.
30518 * nis/nis_remove.c (nis_remove): Likewise.
30519 * nis/nis_add.c (nis_add): Likewise.
30520
30521 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
30522
30523 * posix/fnmatch_loop.c: Add some consts.
30524
30525 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
30526
435b95eb
L
305272011-02-02 H.J. Lu <hongjiu.lu@intel.com>
30528
30529 [BZ #12460]
30530 * config.make.in (config-cflags-novzeroupper): Define.
30531 * configure.in: Substitute libc_cv_cc_novzeroupper.
30532 * elf/Makefile (AVX-CFLAGS): Define.
30533 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
30534 (CFLAGS-tst-auditmod4a.c): Likewise.
30535 (CFLAGS-tst-auditmod4b.c): Likewise.
30536 (CFLAGS-tst-auditmod6b.c): Likewise.
30537 (CFLAGS-tst-auditmod6c.c): Likewise.
30538 (CFLAGS-tst-auditmod7b.c): Likewise.
30539 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
30540
8517b15e
UD
305412011-02-02 Ulrich Drepper <drepper@gmail.com>
30542
30543 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
30544 function to the callback.
30545 Patch partly by Jiri Olsa <jolsa@redhat.com>.
30546
10a656fe
AS
305472011-02-02 Andreas Schwab <schwab@redhat.com>
30548
30549 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
30550 of errno.
30551
968dad0a
UD
305522011-01-19 Ulrich Drepper <drepper@gmail.com>
30553
9f94d2ea 30554 [BZ #11724]
968dad0a
UD
30555 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
30556 of constructors.
30557 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
30558 of destructors.
30559 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
30560
30561 [BZ #11724]
30562 * elf/Makefile: Add rules to build and run new test.
30563 * elf/tst-initorder.c: New file.
30564 * elf/tst-initorder.exp: New file.
30565 * elf/tst-initordera1.c: New file.
30566 * elf/tst-initordera2.c: New file.
30567 * elf/tst-initordera3.c: New file.
30568 * elf/tst-initordera4.c: New file.
30569 * elf/tst-initorderb1.c: New file.
30570 * elf/tst-initorderb2.c: New file.
30571 * elf/tst-order-a1.c: New file.
30572 * elf/tst-order-a2.c: New file.
30573 * elf/tst-order-a3.c: New file.
30574 * elf/tst-order-a4.c: New file.
30575 * elf/tst-order-b1.c: New file.
30576 * elf/tst-order-b2.c: New file.
30577 * elf/tst-order-main.c: New file.
30578 New test case by George Gensure <werkt0@gmail.com>.
30579
86e92359
UD
305802010-10-01 Andreas Schwab <schwab@redhat.com>
30581
30582 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
30583 decoding ACE if AI_CANONIDN.
30584
5d5732b0
UD
305852011-01-18 Ulrich Drepper <drepper@gmail.com>
30586
30587 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
30588
a77e8cbc
UD
305892011-01-17 Ulrich Drepper <drepper@gmail.com>
30590
6392473f
UD
30591 * version.h (RELEASE): Bump for 2.13 release.
30592 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
30593
620a0529
UD
30594 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
30595
18ba70a5
UD
30596 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
30597 MADV_NOHUGEPAGE.
32465c3e
UD
30598 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
30599 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
30600 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30601 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
30602 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30603 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30604
c0dafcf1
UD
30605 * posix/getconf.c: Update copyright year.
30606 * catgets/gencat.c: Likewise.
30607 * csu/version.c: Likewise.
30608 * debug/catchsegv.sh: Likewise.
30609 * debug/xtrace.sh: Likewise.
30610 * elf/ldconfig.c: Likewise.
30611 * elf/ldd.bash.in: Likewise.
30612 * elf/sprof.c (print_version): Likewise.
30613 * iconv/iconv_prog.c: Likewise.
30614 * iconv/iconvconfig.c: Likewise.
30615 * locale/programs/locale.c: Likewise.
30616 * locale/programs/localedef.c: Likewise.
30617 * malloc/memusage.sh: Likewise.
30618 * malloc/mtrace.pl: Likewise.
30619 * nscd/nscd.c (print_version): Likewise.
30620 * nss/getent.c: Likewise.
30621
a77e8cbc
UD
30622 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
30623 PF_CAIF, and PF_ALG.
30624 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30625
77e8bddf
AS
306262011-01-16 Andreas Schwab <schwab@linux-m68k.org>
30627
1f20b93a
AS
30628 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
30629 (modules-names): Use them.
30630 (ifunc-test-modules, ifunc-pie-tests): Define.
30631 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
30632 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
30633 (test-extras): Likewise.
30634 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
30635 $(compile-command.c).
30636 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
30637 (all-built-dso): Define.
30638 (check-textrel.out, check-execstack.out): Depend on it.
30639
77e8bddf
AS
30640 * configure.in: Don't override --enable-multi-arch.
30641
bc425b33
UD
306422011-01-15 Ulrich Drepper <drepper@gmail.com>
30643
30644 [BZ #6812]
30645 * nscd/hstcache.c (tryagain): Define.
30646 (cache_addhst): Return tryagain not notfound for temporary errors.
30647 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
30648 failed.
30649
794c3ad3
UD
306502011-01-14 Ulrich Drepper <drepper@gmail.com>
30651
70181fdd
UD
30652 [BZ #10563]
30653 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
30654 to make the syscall.
30655 * sysdeps/unix/sysv/linux/setgroups.c: New file.
30656
794c3ad3
UD
30657 [BZ #12378]
30658 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
30659 and fall back to matching as normal character if the string ends before
30660 the matching ']' is found. This is what POSIX requires.
30661 * posix/testfnm.c: Adjust test result.
30662 * posix/globtest.sh: Adjust test result. Add new test.
30663 * posix/tst-fnmatch.input: Likewise.
30664 * posix/tst-fnmatch2.c: Add new test.
30665
68dc9497
AS
306662010-12-28 Andreas Schwab <schwab@linux-m68k.org>
30667
30668 * elf/Makefile (check-execstack): Revert last change. Depend on
30669 check-execstack.h.
30670 (check-execstack.h): New target.
30671 (generated): Add check-execstack.h.
30672 * elf/check-execstack.c: Include "check-execstack.h".
30673 (main): Revert last change.
30674 (handle_file): Return zero if GNU_STACK is absent and
30675 DEFAULT_STACK_PERMS doesn't include PF_X.
30676
451f001b
UD
306772011-01-13 Ulrich Drepper <drepper@gmail.com>
30678
cfa28e56
UD
30679 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
30680 in child fails because the descriptor is already closed.
8cf8ce17
UD
30681 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
30682 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
30683 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 30684
1086d70d
UD
30685 [BZ #12397]
30686 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
30687 syscall.
30688
451f001b
UD
30689 [BZ #10484]
30690 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
30691 temporary buffer used to handle multi lookups locally.
a85b5cb4 30692 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 30693
08769175
UD
306942011-01-12 Ulrich Drepper <drepper@gmail.com>
30695
30696 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
30697 loader is ld.so.
30698
5e49c52e
UD
306992011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
30700
30701 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
30702 alignment for SSE2.
30703
60522a5f
UD
307042011-01-12 Ulrich Drepper <drepper@gmail.com>
30705
30706 [BZ #12394]
30707 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
30708 characters. When rounding increased number of integer digits recompute
30709 number of groups.
30710 * stdio-common/tst-grouping.c: New file.
30711 * stdio-common/Makefile: Add rules to build and run tst-grouping.
30712
f257bbd7
UD
307132011-01-09 Ulrich Drepper <drepper@gmail.com>
30714
30715 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
30716 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
30717
30718 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
30719 void.
30720 * bits/select.h: Likewise.
30721
fa9c15cb
UD
307222011-01-08 Ulrich Drepper <drepper@gmail.com>
30723
30724 * po/ja.po: Update from translation team.
30725
16c2895f
DM
307262011-01-04 David S. Miller <davem@sunset.davemloft.net>
30727
30728 [BZ #11155]
30729 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
30730 implementation just like for lxstat, fxstatat, et al.
30731
2543fef2
JM
307322010-12-27 Jim Meyering <meyering@redhat.com>
30733
30734 [BZ #12348]
30735 * posix/regexec.c (build_trtable): Return failure indication upon
30736 calloc failure. Otherwise, re_search_internal could infloop on OOM.
30737
98727dbe
UD
307382010-12-25 Ulrich Drepper <drepper@gmail.com>
30739
5bd6dc5c
UD
30740 [BZ #12201]
30741 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
30742 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
30743 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
30744 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
30745
97983464
UD
30746 [BZ #12207]
30747 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
30748
98727dbe
UD
30749 [BZ #12204]
30750 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
30751 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
30752
4a531bb0
L
307532010-12-15 H.J. Lu <hongjiu.lu@intel.com>
30754
30755 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
30756 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
30757 script has SORT_BY_INIT_PRIORITY.
30758 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
30759 NO_CTORS_DTORS_SECTIONS is defined.
30760 * elf/soinit.c: Likewise.
30761 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
30762 NO_CTORS_DTORS_SECTIONS is defined.
30763 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
30764 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
30765 * sysdeps/sh/init-first.c: Likewise.
30766 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
30767
07eb4b71
UD
307682010-12-24 Ulrich Drepper <drepper@gmail.com>
30769
30770 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
30771 always use the slow path.
30772
30950a5f
RA
307732010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
30774
30775 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
30776 similar rule which adds the sysdep directories to the header search in
30777 order to pick up the correct platform stackinfo.h.
30778 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
30779 perform test if it is, otherwise return successfully without testing.
30780 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
30781 DEFAULT_STACK_PERMS define in stackinfo.h.
30782 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
30783 defined in stackinfo.h.
30784 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
30785 DEFAULT_STACK_PERMS defined in stackinfo.h.
30786 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
30787 * sysdeps/ia64/stackinfo.h: Likewise.
30788 * sysdeps/s390/stackinfo.h: Likewise.
30789 * sysdeps/sh/stackinfo.h: Likewise.
30790 * sysdeps/sparc/stackinfo.h: Likewise.
30791 * sysdeps/x86_64/stackinfo.h: Likewise.
30792 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
30793 PF_X for powerpc64. Retain PF_X for powerpc32.
30794
db753e2c
UD
307952010-12-19 Ulrich Drepper <drepper@gmail.com>
30796
14b697f7
UD
30797 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
30798 accurately.
db753e2c
UD
30799 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
30800 GETDENTS_64BIT_ALIGNED.
30801
28300719
UD
308022010-12-14 Ulrich Drepper <dreper@gmail.com>
30803
14b697f7 30804 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 30805
4f197237
AS
308062010-12-10 Andreas Schwab <schwab@redhat.com>
30807
dbb0472f
AS
30808 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
30809 _GNU_SOURCE.
30810
4f197237
AS
30811 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
30812 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
30813 Remove __restrict.
30814 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
30815 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
30816
fb88ac72
UD
308172010-12-09 Ulrich Drepper <drepper@gmail.com>
30818
30819 [BZ #11655]
30820 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
30821 are initialized.
30822
42acbb92
JJ
308232010-12-09 Jakub Jelinek <jakub@redhat.com>
30824
30825 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
30826
c038d98d
UD
308272010-12-03 Ulrich Drepper <drepper@gmail.com>
30828
30829 * po/it.po: Update from translation team.
30830
3a4a2499
L
308312010-12-01 H.J. Lu <hongjiu.lu@intel.com>
30832
30833 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
30834 unused codes.
30835
1e24cf6e
UD
308362010-11-30 Ulrich Drepper <drepper@gmail.com>
30837
30838 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
30839
a7690819
AS
308402010-11-24 Andreas Schwab <schwab@redhat.com>
30841
30842 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
30843 specially.
30844 (gaih_getanswer_slice): Likewise.
30845
3bf8d1b1
JJ
308462010-10-20 Jakub Jelinek <jakub@redhat.com>
30847
30848 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
30849
6db52fbb
PB
308502010-05-31 Petr Baudis <pasky@suse.cz>
30851
30852 [BZ #11149]
30853 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
30854 silently even in the chroot mode.
30855
eaca7569
UD
308562010-11-22 Ulrich Drepper <drepper@gmail.com>
30857
30858 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
30859 last patch a bit. Pretty printing
30860
3056dcdb
UD
308612010-05-31 Petr Baudis <pasky@suse.cz>
30862
30863 [BZ #10085]
30864 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
30865 initialization of skip_initgroups_dyn.
30866
cf7c9078
UD
308672010-11-19 Ulrich Drepper <drepper@gmail.com>
30868
30869 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
30870 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30871
a1fb5e3e
UD
308722010-11-16 Ulrich Drepper <drepper@gmail.com>
30873
30874 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
30875
3540d66b
AS
308762010-11-11 Andreas Schwab <schwab@redhat.com>
30877
30878 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
30879 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
30880 (tst-fnmatch-ENV): Set MALLOC_TRACE.
30881 ($(objpfx)tst-fnmatch-mem): New rule.
30882 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
30883 * posix/tst-fnmatch.c (main): Call mtrace.
30884
13b69574
L
308852010-11-11 H.J. Lu <hongjiu.lu@intel.com>
30886
30887 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30888 Support Intel processor model 6 and model 0x2c.
30889
da93d214
LM
308902010-11-10 Luis Machado <luisgpm@br.ibm.com>
30891
30892 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
30893 signed comparison.
30894
8ca52c6e
L
308952010-11-09 H.J. Lu <hongjiu.lu@intel.com>
30896
30897 [BZ #12205]
30898 * string/test-strncasecmp.c (check_result): New function.
30899 (do_one_test): Use it.
30900 (check1): New function.
30901 (test_main): Use it.
30902 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
30903 Support strcasecmp and strncasecmp.
30904
69da074d
UD
309052010-11-08 Ulrich Drepper <drepper@gmail.com>
30906
30907 [BZ #12194]
30908 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
30909 * sysdeps/x86_64/bits/byteswap.h: Likewise.
30910
ff02d528
L
309112010-11-07 H.J. Lu <hongjiu.lu@intel.com>
30912
30913 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
30914 IFUNC support.
30915 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30916 memset-x86-64.
30917 * sysdeps/x86_64/multiarch/bzero.S: New file.
30918 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
30919 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
30920 * sysdeps/x86_64/multiarch/memset.S: New file.
30921 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
30922 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30923 Set bit_Prefer_SSE_for_memop for Intel processors.
30924 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
30925 Define.
30926 (index_Prefer_SSE_for_memop): Define.
30927 (HAS_PREFER_SSE_FOR_MEMOP): Define.
30928
344d0b54
LM
309292010-11-04 Luis Machado <luisgpm@br.ibm.com>
30930
30931 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
30932 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
30933
c0dde15b
UD
309342010-11-03 H.J. Lu <hongjiu.lu@intel.com>
30935
30936 [BZ #12191]
30937 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
30938 (__x86_64_raw_data_cache_size_half): Likewise.
30939 (__x86_64_raw_shared_cache_size): Likewise.
30940 (__x86_64_raw_shared_cache_size_half): Likewise.
30941
30942 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
30943 (__x86_64_raw_data_cache_size_half): Likewise.
30944 (__x86_64_raw_shared_cache_size): Likewise.
30945 (__x86_64_raw_shared_cache_size_half): Likewise.
30946 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
30947 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
30948 and __x86_64_raw_shared_cache_size_half. Round
30949 __x86_64_data_cache_size_half, __x86_64_data_cache_size
30950 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
30951 to multiple of 256 bytes.
30952
0e516e0e
MS
309532010-11-03 Ulrich Drepper <drepper@gmail.com>
30954
30955 [BZ #12167]
30956 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
30957 of inacessible symlinks. Verify result of symlink before returning it.
30958 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
30959 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
30960
0e012e87
ER
309612010-10-28 Erich Ritz <erichritz@gmail.com>
30962
30963 * math/math.h (isinf): Fix typo in comment.
30964
de0ff7bc
UD
309652010-11-01 Ulrich Drepper <drepper@gmail.com>
30966
30967 * po/da.po: Update from translation team.
30968
fa41c84d
UD
309692010-10-26 Ulrich Drepper <drepper@gmail.com>
30970
30971 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
30972 is added to the list.
30973
f0967738
AK
309742010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30975 Ulrich Drepper <drepper@gmail.com>
30976
30977 * elf/dl-object.c (_dl_new_object): Don't append the new object to
30978 the global list here. Move code to...
30979 (_dl_add_to_namespace_list): ...here. New function.
30980 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
30981 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
30982 * elf/dl-load.c (lose): Don't remove the element from the list.
30983 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
30984 (_dl_map_object): Likewise.
30985
309862010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
30987
30988 [BZ #12159]
30989 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
30990 into all bytes of SSE register.
30991 Patch by Richard Li <richardpku@gmail.com>.
30992
f0967738 309932010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
30994
30995 [BZ #12140]
30996 * malloc/malloc.c (_int_free): Fill correct number of bytes when
30997 perturbing.
30998
d0b9e94f
MB
309992010-10-20 Michael B. Brutman <brutman@us.ibm.com>
31000
31001 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
31002 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
31003 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
31004 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31005 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
31006 submachine.
31007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
31008
8e9f92e9
AS
310092010-10-22 Andreas Schwab <schwab@redhat.com>
31010
31011 * include/dlfcn.h (__RTLD_SECURE): Define.
31012 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
31013 mode & __RTLD_SECURE instead.
31014 (open_path): Rename preloaded parameter to secure.
31015 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
31016 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
31017 * elf/dl-deps.c (openaux): Likewise.
31018 * elf/rtld.c (struct map_args): Remove is_preloaded.
31019 (map_doit): Don't use it.
31020 (dl_main): Likewise.
31021 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
31022 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
31023
bc96fbda
AS
310242010-09-09 Andreas Schwab <schwab@redhat.com>
31025
31026 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
31027 (sysd-rules-targets): Remove duplicates.
31028 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
31029 rtld-%.$o dependency.
31030
22cd1c9b
AS
310312010-10-18 Andreas Schwab <schwab@redhat.com>
31032
31033 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
31034 _dl_map_object do it.
31035
18edac48
UD
310362010-10-19 Ulrich Drepper <drepper@gmail.com>
31037
31038 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
31039 fast fma builtins, define the macros in the C99 standard.
31040 (FP_FAST_FMAF): Likewise.
31041 (FP_FAST_FMAL): Likewise.
31042 * sysdeps/x86_64/bits/mathdef.h: Likewise.
31043
31044 * bits/mathdef.h: Update copyright year.
31045 * sysdeps/powerpc/bits/mathdef.h: Likewise.
31046
d2050124
MM
310472010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
31048
31049 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
31050 builtins, define the macros in the C99 standard.
31051 (FP_FAST_FMAF): Likewise.
31052 (FP_FAST_FMAL): Likewise.
31053 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
31054 multiply/add.
31055 (FP_FAST_FMAF): Likewise.
31056
475facd1
JJ
310572010-10-15 Jakub Jelinek <jakub@redhat.com>
31058
31059 [BZ #3268]
31060 * math/libm-test.inc (fma_test): Some new testcases.
31061 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
31062 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
31063 y and infinite z. Do multiplication by C already in long double.
31064 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
31065 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
31066 y and infinite z. Do bitwise or of inexact bit into u.d.
31067 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
31068 * sysdeps/i386/fpu/s_fmaf.S: Removed.
31069 * sysdeps/i386/fpu/s_fma.S: Removed.
31070 * sysdeps/i386/fpu/s_fmal.S: Removed.
31071
7c08a05c
JJ
310722010-10-16 Jakub Jelinek <jakub@redhat.com>
31073
31074 [BZ #3268]
31075 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
31076 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
31077 computation is not scheduled after fetestexcept. Fix value
31078 of minimum denormal long double.
31079
f3f7372d
JJ
310802010-10-14 Jakub Jelinek <jakub@redhat.com>
31081
31082 [BZ #3268]
31083 * math/libm-test.inc (fma_test): Add some more tests.
31084 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
31085 correctly.
31086
14d43591
AS
310872010-10-15 Andreas Schwab <schwab@redhat.com>
31088
31089 * scripts/data/localplt-s390-linux-gnu.data: New file.
31090 * scripts/data/localplt-s390x-linux-gnu.data: New file.
31091
5e908464
JJ
310922010-10-13 Jakub Jelinek <jakub@redhat.com>
31093
31094 [BZ #3268]
31095 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
31096 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
31097 instead of dbl-64.
31098 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
31099 inlines.
31100 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
31101 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
31102 if one of x and y is very large and the other is subnormal.
31103 * sysdeps/s390/fpu/s_fmaf.c: New file.
31104 * sysdeps/s390/fpu/s_fma.c: New file.
31105 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
31106 * sysdeps/powerpc/fpu/s_fma.S: New file.
31107 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
31108 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
31109 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
31110
311112010-10-12 Jakub Jelinek <jakub@redhat.com>
31112
31113 [BZ #3268]
31114 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
31115 fma tests.
31116 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
31117 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
31118 * sysdeps/i386/i686/multiarch/s_fma.c: Include
31119 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
31120 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
31121 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
31122 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
31123
b833d51f
UD
311242010-10-12 Ulrich Drepper <drepper@redhat.com>
31125
31126 [BZ #12078]
31127 * posix/regcomp.c (parse_branch): One more memory leak plugged.
31128 * posix/bug-regex31.input: Add test case.
31129
1751705d
UD
311302010-10-11 Ulrich Drepper <drepper@gmail.com>
31131
e9b9cbf5
UD
31132 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
31133 * posix/bug-regex31.input: New file.
31134
31135 [BZ #12078]
31136 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
31137 (parse_sub_exp): Fix last change, use postorder.
31138
ef06edbe
UD
31139 * posix/bug-regex31.c: New file.
31140 * posix/Makefile: Add rules to build and run bug-regex31.
31141
a129c80d
UD
31142 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
31143
31144 [BZ #12078]
31145 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
31146
b76b818e
UD
31147 [BZ #12108]
31148 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
31149 to have entries in sys_siglist.
31150
1751705d
UD
31151 [BZ #12093]
31152 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
31153 be NULL.
31154
9ff8d36f
JJ
311552010-10-07 Jakub Jelinek <jakub@redhat.com>
31156
31157 [BZ #3268]
31158 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
31159 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
31160 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
31161 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
31162 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
31163 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
31164 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
31165 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
31166 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
31167 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
31168 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
31169 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
31170 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
31171 * math/ftestexcept.c (fetestexcept): Likewise.
31172 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
31173 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
31174 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
31175 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
31176 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
31177 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
31178 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31179
af325969
UD
311802010-10-11 Ulrich Drepper <drepper@gmail.com>
31181
c579b202 31182 [BZ #12107]
af325969
UD
31183 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
31184 newline.
31185
67a67b95
UD
311862010-10-06 Ulrich Drepper <drepper@gmail.com>
31187
31188 * string/bug-strstr1.c: New file.
31189 * string/Makefile: Add rules to build and run bug-strstr1.
31190
5fb308bc
EB
311912010-10-05 Eric Blake <eblake@redhat.com>
31192
31193 [BZ #12092]
31194 * string/str-two-way.h (two_way_long_needle): Always clear memory
31195 when skipping input due to the shift table.
31196
45db99c7
UD
311972010-10-03 Ulrich Drepper <drepper@gmail.com>
31198
3b111893
UD
31199 [BZ #12005]
31200 * malloc/mcheck.c: Handle large requests.
31201
45db99c7
UD
31202 [BZ #12077]
31203 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
31204 for strncmp and strncasecmp.
31205 * string/stratcliff.c: Add tests for strcmp and strncmp.
31206 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
31207
cf7a1eb8
NI
312082010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31209
31210 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
31211 __set_fpscr.
31212
6484ba5e
AJ
312132010-09-30 Andreas Jaeger <aj@suse.de>
31214
31215 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
31216 (CGROUP_SUPER_MAGIC): Define.
31217 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31218 Handle btrfs and cgroup file systems.
31219 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
31220 Likewise.
31221
91c42559
LM
312222010-09-27 Luis Machado <luisgpm@br.ibm.com>
31223
31224 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
31225 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
31226
87a97932
AK
312272010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31228
31229 [BZ #12067]
31230 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
31231 trying to locate the ELF header.
31232
c21cc9bc
AS
312332010-09-27 Andreas Schwab <schwab@redhat.com>
31234
31235 [BZ #11611]
31236 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
31237 Mask out sign-bit copies when constructing f_fsid.
31238
315970f6
PB
312392010-09-24 Petr Baudis <pasky@suse.cz>
31240
31241 * debug/stack_chk_fail_local.c: Add missing licence exception.
31242 * debug/warning-nop.c: Likewise.
31243
1ac7a2c7
JM
312442010-09-15 Joseph Myers <joseph@codesourcery.com>
31245
31246 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
31247 implementing getdents64 using getdents syscall, set d_type if
31248 __ASSUME_GETDENTS32_D_TYPE.
31249
56801c50
AS
312502010-09-16 Andreas Schwab <schwab@redhat.com>
31251
31252 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
31253 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
31254
dda51327
UD
312552010-09-21 Ulrich Drepper <drepper@redhat.com>
31256
31257 [BZ #12037]
31258 * posix/unistd.h: Undo change of feature selection for ftruncate from
31259 2010-01-11.
31260
8ffcee4a
UD
312612010-09-20 Ulrich Drepper <drepper@redhat.com>
31262
a545ecd9 31263 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
31264 detection.
31265
e24f0a8b
AS
312662010-09-20 Andreas Schwab <schwab@redhat.com>
31267
31268 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
31269 fanotify_mark.
31270 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31271
7291c56f
AS
312722010-09-14 Andreas Schwab <schwab@redhat.com>
31273
31274 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
31275 variables after CHECK_SP call.
31276 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
31277
bc5fb037
AS
312782010-09-13 Andreas Schwab <schwab@redhat.com>
31279 Ulrich Drepper <drepper@redhat.com>
31280
31281 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
31282 re-relocationg ld.so.
31283 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
31284 _dl_init_paths call.
31285 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
31286 here anymore.
31287
e66e7419
UD
312882010-09-14 Ulrich Drepper <drepper@redhat.com>
31289
31290 * resolv/res_init.c (__res_vinit): Count the default server we added.
31291
c044aa75
CLT
312922010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
31293 Ulrich Drepper <drepper@redhat.com>
31294
31295 [BZ #11968]
31296 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
31297 (____longjmp_chk): Use %ebx for saving value across system call.
31298 Add unwind info.
31299
32cf4069
AS
313002010-09-06 Andreas Schwab <schwab@redhat.com>
31301
31302 * manual/Makefile: Don't mix pattern rules with normal rules.
31303
817328ee
AS
313042010-09-05 Andreas Schwab <schwab@linux-m68k.org>
31305
31306 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
31307 operation.
31308 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
31309 * libio/iofopncook.c (_IO_cookie_init): Likewise.
31310 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
31311 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
31312 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31313 Likewise.
31314
29fddf61
UD
313152010-09-04 Ulrich Drepper <drepper@redhat.com>
31316
31317 [BZ #11979]
31318 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
31319 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
31320
0959ffc9
UD
313212010-09-02 Ulrich Drepper <drepper@redhat.com>
31322
31323 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
31324 * sysdeps/x86_64/addmul_1.S: Likewise.
31325 * sysdeps/x86_64/lshift.S: Likewise.
31326 * sysdeps/x86_64/mul_1.S: Likewise.
31327 * sysdeps/x86_64/rshift.S: Likewise.
31328 * sysdeps/x86_64/sub_n.S: Likewise.
31329 * sysdeps/x86_64/submul_1.S: Likewise.
31330
ece29840
ST
313312010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
31332
0959ffc9
UD
31333 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
31334 Define __sched_param instead of SCHED_* and sched_param when
ece29840 31335 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 31336 * bits/sched.h [__need_schedparam]
ece29840 31337 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
31338 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
31339 (__defined_schedparam): Define to 1.
ece29840
ST
31340 (__sched_param): New structure, identical to sched_param.
31341 (__need_schedparam): Undefine.
31342
e53a31fe
MF
313432010-08-31 Mike Frysinger <vapier@gentoo.org>
31344
fdc0c10d
MF
31345 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
31346 (epoll_create1): Declare.
31347
e53a31fe
MF
31348 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
31349
a726d796
AS
313502010-08-31 Andreas Schwab <schwab@redhat.com>
31351
31352 [BZ #7066]
31353 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
31354 shifting retval into place.
31355
2f3e3dc7
UD
313562010-09-01 Ulrich Drepper <drepper@redhat.com>
31357
f2933da9
UD
31358 * nis/rpcsvc/nis.h: Update copyright notice.
31359 * nis/rpcsvc/nis.x: Likewise.
31360 * nis/rpcsvc/nis_callback.h: Likewise.
31361 * nis/rpcsvc/nis_callback.x: Likewise.
31362 * nis/rpcsvc/nis_object.x: Likewise.
31363 * nis/rpcsvc/nis_tags.h: Likewise.
31364 * nis/rpcsvc/yp.h: Likewise.
31365 * nis/rpcsvc/yp.x: Likewise.
31366 * nis/rpcsvc/ypupd.h: Likewise.
31367 * nis/yp_xdr.c: Likewise.
31368 * nis/ypupdate_xdr.c: Likewise.
31369
2f3e3dc7
UD
31370 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
31371 mainly the body of pmap_getport. Add parameters to specify timeouts.
31372 (pmap_getport): Use __libc_rpc_getport.
31373 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
31374 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
31375 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
31376
f3dcc2f9
AS
313772010-08-31 Andreas Schwab <schwab@linux-m68k.org>
31378
31379 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
31380 fanotify_mark.
31381
6d34eb5b
RM
313822010-08-27 Roland McGrath <roland@redhat.com>
31383
31384 * sysdeps/i386/i686/multiarch/Makefile
31385 (CFLAGS-varshift.c): New variable.
31386
9ea3de11
UD
313872010-08-27 Ulrich Drepper <drepper@redhat.com>
31388
c96d23fc
UD
31389 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
31390 * sysdeps/i386/i686/multiarch/varshift.c: New file.
31391
9ea3de11
UD
31392 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
31393
31394 * sysdeps/x86_64/strlen.S: Minimal code improvement.
31395
623aac7f
L
313962010-08-26 H.J. Lu <hongjiu.lu@intel.com>
31397
31398 * sysdeps/x86_64/strlen.S: Unroll the loop.
31399 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31400 strlen-sse2 strlen-sse2-bsf.
31401 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
31402 __strlen_no_bsf if bit_Slow_BSF is set.
31403 (__strlen_sse42): Removed.
31404 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
31405 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
31406
8b2b7715
RM
314072010-08-25 Roland McGrath <roland@redhat.com>
31408
31409 * sysdeps/x86_64/multiarch/varshift.S: File removed.
31410 * sysdeps/x86_64/multiarch/varshift.c: New file.
31411 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
31412 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
31413 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
31414 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
31415
e73015f2
L
314162010-08-25 H.J. Lu <hongjiu.lu@intel.com>
31417
31418 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31419 strlen-sse2 strlen-sse2-bsf.
31420 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
31421 __strlen_sse2_bsf if bit_Slow_BSF is unset.
31422 (__strlen_sse2): Removed.
31423 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
31424 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
31425 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
31426 bit_Slow_BSF for Atom.
31427 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
31428 (index_Slow_BSF): Define.
31429 (HAS_SLOW_BSF): Define.
31430
df24a73e
UD
314312010-08-25 Ulrich Drepper <drepper@redhat.com>
31432
31433 [BZ #10851]
31434 * resolv/res_init.c (__res_vinit): When no server address at all
31435 is given default to loopback.
31436
f2ac4868
RM
314372010-08-24 Roland McGrath <roland@redhat.com>
31438
09055553
RM
31439 * configure.in: Remove config-name.h generation.
31440 * configure: Regenerated.
31441 * config-name.in: File removed.
31442 * scripts/config-uname.sh: New file.
31443 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
31444 ($(objdir)config-name.h): New target.
31445
f2ac4868
RM
31446 * sunrpc/rpc_parse.h: Avoid nested comment.
31447
73f27d5e
RH
314482010-08-24 Richard Henderson <rth@redhat.com>
31449 Ulrich Drepper <drepper@redhat.com>
31450 H.J. Lu <hongjiu.lu@intel.com>
31451
31452 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
31453 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
31454 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
31455 Replace _mm_srli_si128 with __m128i_shift_right. Replace
31456 _mm_alignr_epi8 with _mm_loadu_si128.
31457 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
31458 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
31459 (__m128i_shift_right): Removed.
31460 * sysdeps/i386/i686/multiarch/varshift.h: New file.
31461 * sysdeps/i386/i686/multiarch/varshift.S: New file.
31462 * sysdeps/x86_64/multiarch/varshift.h: New file.
31463 * sysdeps/x86_64/multiarch/varshift.S: New file.
31464
84b9230c
MF
314652010-08-21 Mike Frysinger <vapier@gentoo.org>
31466
31467 * configure.in: Move assembler checks to before sysdep dir checking.
31468
9bbd0ddc
PB
314692010-08-20 Petr Baudis <pasky@suse.cz>
31470
31471 * LICENSES: Sync the sunrpc license.
31472
9da4bb31
UD
314732010-08-19 Ulrich Drepper <drepper@redhat.com>
31474
a7ab6ec8
UD
31475 * sunrpc/auth_des.c: Update copyright notice once again.
31476 * sunrpc/auth_none.c: Likewise.
31477 * sunrpc/auth_unix.c: Likewise.
31478 * sunrpc/authdes_prot.c: Likewise.
31479 * sunrpc/authuxprot.c: Likewise.
31480 * sunrpc/bindrsvprt.c: Likewise.
31481 * sunrpc/clnt_gen.c: Likewise.
31482 * sunrpc/clnt_perr.c: Likewise.
31483 * sunrpc/clnt_raw.c: Likewise.
31484 * sunrpc/clnt_simp.c: Likewise.
31485 * sunrpc/clnt_tcp.c: Likewise.
31486 * sunrpc/clnt_udp.c: Likewise.
31487 * sunrpc/clnt_unix.c: Likewise.
31488 * sunrpc/des_crypt.c: Likewise.
31489 * sunrpc/des_soft.c: Likewise.
31490 * sunrpc/get_myaddr.c: Likewise.
31491 * sunrpc/getrpcport.c: Likewise.
31492 * sunrpc/key_call.c: Likewise.
31493 * sunrpc/key_prot.c: Likewise.
31494 * sunrpc/openchild.c: Likewise.
31495 * sunrpc/pm_getmaps.c: Likewise.
31496 * sunrpc/pm_getport.c: Likewise.
31497 * sunrpc/pmap_clnt.c: Likewise.
31498 * sunrpc/pmap_prot.c: Likewise.
31499 * sunrpc/pmap_prot2.c: Likewise.
31500 * sunrpc/pmap_rmt.c: Likewise.
31501 * sunrpc/rpc/auth.h: Likewise.
31502 * sunrpc/rpc/auth_unix.h: Likewise.
31503 * sunrpc/rpc/clnt.h: Likewise.
31504 * sunrpc/rpc/des_crypt.h: Likewise.
31505 * sunrpc/rpc/key_prot.h: Likewise.
31506 * sunrpc/rpc/netdb.h: Likewise.
31507 * sunrpc/rpc/pmap_clnt.h: Likewise.
31508 * sunrpc/rpc/pmap_prot.h: Likewise.
31509 * sunrpc/rpc/pmap_rmt.h: Likewise.
31510 * sunrpc/rpc/rpc.h: Likewise.
31511 * sunrpc/rpc/rpc_des.h: Likewise.
31512 * sunrpc/rpc/rpc_msg.h: Likewise.
31513 * sunrpc/rpc/svc.h: Likewise.
31514 * sunrpc/rpc/svc_auth.h: Likewise.
31515 * sunrpc/rpc/types.h: Likewise.
31516 * sunrpc/rpc/xdr.h: Likewise.
31517 * sunrpc/rpc_clntout.c: Likewise.
31518 * sunrpc/rpc_cmsg.c: Likewise.
31519 * sunrpc/rpc_common.c: Likewise.
31520 * sunrpc/rpc_cout.c: Likewise.
31521 * sunrpc/rpc_dtable.c: Likewise.
31522 * sunrpc/rpc_hout.c: Likewise.
31523 * sunrpc/rpc_main.c: Likewise.
31524 * sunrpc/rpc_parse.c: Likewise.
31525 * sunrpc/rpc_parse.h: Likewise.
31526 * sunrpc/rpc_prot.c: Likewise.
31527 * sunrpc/rpc_sample.c: Likewise.
31528 * sunrpc/rpc_scan.c: Likewise.
31529 * sunrpc/rpc_scan.h: Likewise.
31530 * sunrpc/rpc_svcout.c: Likewise.
31531 * sunrpc/rpc_tblout.c: Likewise.
31532 * sunrpc/rpc_util.c: Likewise.
31533 * sunrpc/rpc_util.h: Likewise.
31534 * sunrpc/rpcinfo.c: Likewise.
31535 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
31536 * sunrpc/rpcsvc/key_prot.x: Likewise.
31537 * sunrpc/rpcsvc/klm_prot.x: Likewise.
31538 * sunrpc/rpcsvc/mount.x: Likewise.
31539 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
31540 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
31541 * sunrpc/rpcsvc/rex.x: Likewise.
31542 * sunrpc/rpcsvc/rstat.x: Likewise.
31543 * sunrpc/rpcsvc/rusers.x: Likewise.
31544 * sunrpc/rpcsvc/sm_inter.x: Likewise.
31545 * sunrpc/rpcsvc/spray.x: Likewise.
31546 * sunrpc/rpcsvc/yppasswd.x: Likewise.
31547 * sunrpc/rtime.c: Likewise.
31548 * sunrpc/svc.c: Likewise.
31549 * sunrpc/svc_auth.c: Likewise.
31550 * sunrpc/svc_authux.c: Likewise.
31551 * sunrpc/svc_raw.c: Likewise.
31552 * sunrpc/svc_run.c: Likewise.
31553 * sunrpc/svc_simple.c: Likewise.
31554 * sunrpc/svc_tcp.c: Likewise.
31555 * sunrpc/svc_udp.c: Likewise.
31556 * sunrpc/svc_unix.c: Likewise.
31557 * sunrpc/svcauth_des.c: Likewise.
31558 * sunrpc/xcrypt.c: Likewise.
31559 * sunrpc/xdr.c: Likewise.
31560 * sunrpc/xdr_array.c: Likewise.
31561 * sunrpc/xdr_float.c: Likewise.
31562 * sunrpc/xdr_mem.c: Likewise.
31563 * sunrpc/xdr_rec.c: Likewise.
31564 * sunrpc/xdr_ref.c: Likewise.
31565 * sunrpc/xdr_sizeof.c: Likewise.
31566 * sunrpc/xdr_stdio.c: Likewise.
31567
9da4bb31
UD
31568 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
31569 handling.
31570
bdaa77bc
AS
315712010-08-19 Andreas Schwab <schwab@redhat.com>
31572
31573 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
31574
fe2f79db
LM
315752010-08-19 Luis Machado <luisgpm@br.ibm.com>
31576
31577 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
31578 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
31579 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
31580 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
31581 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
31582 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
31583 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
31584 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
31585 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
31586 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
31587 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
31588 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
31589 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
31590 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
31591
b9b42ee0
AB
315922010-07-26 Anton Blanchard <anton@samba.org>
31593
31594 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
31595 * malloc/arena.c (heap_trim): Likewise.
31596
1c06ba31
UD
315972010-08-16 Ulrich Drepper <drepper@redhat.com>
31598
31599 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
31600 here. Not...
31601 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
31602 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
31603
f8392f40
L
316042010-08-12 H.J. Lu <hongjiu.lu@intel.com>
31605
31606 * sysdeps/i386/elf/Makefile: New file.
31607
3162f12e
AS
316082010-08-14 Andreas Schwab <schwab@linux-m68k.org>
31609
31610 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
31611 from fanotify_init.
31612 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
31613 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31614
28c90b2c
UD
316152010-08-15 Ulrich Drepper <drepper@redhat.com>
31616
31617 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
31618 of strncasecmp_l.
1feccb6c 31619 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 31620
ca6bb004
UD
316212010-08-14 Ulrich Drepper <drepper@redhat.com>
31622
e9f82e0d
UD
31623 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31624 strncase_l-nonascii.
31625 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31626 Add strncase_l-ssse3.
31627 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
31628 * sysdeps/x86_64/strcmp.S: Likewise.
31629 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
31630 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
31631 * sysdeps/x86_64/strncase.S: New file.
31632 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
31633 * sysdeps/x86_64/strncase_l.S: New file.
31634 * string/Makefile (strop-tests): Add strncasecmp.
31635 * string/test-strncasecmp.c: New file.
31636
31637 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
31638 warning.
31639
ca6bb004
UD
31640 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
31641 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
31642
052fa7b3
AS
316432010-08-14 Andreas Schwab <schwab@linux-m68k.org>
31644
31645 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
31646
962dba78
UD
316472010-08-12 Ulrich Drepper <drepper@redhat.com>
31648
31649 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
31650 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
31651 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
31652
bebff237
AM
316532010-05-01 Alan Modra <amodra@gmail.com>
31654
31655 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
31656 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
31657 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
31658 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
31659 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
31660 tidying. Don't tail-call __sigjmp_save for static lib.
31661 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
31662 save location.
31663 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
31664 (CALL_MCOUNT): Add eh info, and nop after bl.
31665 (TAIL_CALL_SYSCALL_ERROR): New macro.
31666 (PSEUDO_RET): Use it.
31667 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
31668 Correct save location of integer regs and cr.
31669 (_dl_profile_resolve): Correct cr save location. Delete nops
31670 after bl when SHARED. Reduce cfi size a little by better
31671 placement of cfi directives.
31672 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
31673 make a stack frame. Instead use parm save area as a temp.
31674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
31675 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
31676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
31677 Don't make a stack frame for parent, use parm save area.
31678 Increase child stack frame to 112 bytes. Don't save unused reg,
31679 and adjust reg usage. Set up cfi on error recovery and
31680 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
31681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31682 (__makecontext): Add dummy nop after jump to exit.
31683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
31684 Use correct parm save area and cr save, reduce stack frame.
31685 Correct cfi for possible PSEUDO_RET frame setup.
31686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
31687 Branch to local label emitted by PSEUDO_RET rather than
31688 __syscall_error.
31689
02637374
AS
316902010-08-12 Andreas Schwab <schwab@redhat.com>
31691
31692 [BZ #11904]
31693 * locale/programs/locale.c (print_assignment): New function.
31694 (show_locale_vars): Use it.
31695
c3e2f19b
UD
316962010-08-11 Ulrich Drepper <drepper@redhat.com>
31697
3cdaa6ad
UD
31698 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
31699 field.
31700 (struct statfs64): Likewise.
31701 (_STATFS_F_FLAGS): Define.
31702 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
31703 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31704 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
31705 (ST_VALID): Define locally.
31706 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
31707 __statvfs_getflags, use the provided value.
31708 * sysdeps/unix/sysv/linux/kernel-features.h: Define
31709 __ASSUME_STATFS_F_FLAGS.
31710
754f7da3
UD
31711 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
31712
10b3bedc
UD
31713 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
31714 Add sys/fanotify.h.
31715 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
31716 fanotify_mask for GLIBC_2.13.
31717 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
31718 fanotify_init and fanotify_mark.
31719 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31720 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
31721
c08fb0d7
UD
31722 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
31723 Add prlimit.
31724 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
31725 prlimit64 for GLIBC_2.13.
31726 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
31727 prlimit64.
31728 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
31729 syscall.
31730 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
31731 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31732 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
31733 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
31734 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
31735 add prlimit alias.
31736 * sysdeps/unix/sysv/linux/prlimit.c: New file.
31737
15bac72b
UD
31738 [BZ #11903]
31739 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
31740 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
31741
c3e2f19b
UD
31742 * nss/Makefile: Add rules to build and run tst-nss-test1.
31743 * shlib-versions: Add entry for libnss_test1.
31744 * nss/nss_test1.c: New file.
31745 * nss/tst-nss-test1.c: New file.
31746
31747 * nss/nsswitch.c (__nss_database_custom): Define new variable.
31748 (__nss_configure_lookup): Set appropriate entry in
31749 __nss_configure_lookup to true.
31750 * nss/nsswitch.h: Define enum with indeces of databases in
31751 databases and __nss_database_custom arrays. Declare
31752 __nss_database_custom.
31753 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
31754 to avoid using nscd when custom rules are installed.
31755 * nss/getXXbyYY_r.c: Likewise.
31756 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31757
31758 * nss/nss_files/files-parse.c: Whitespace fixes.
31759
f15ce4d8
UD
317602010-08-09 Ulrich Drepper <drepper@redhat.com>
31761
31762 [BZ #11883]
31763 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
31764 * posix/fnmatch_loop.c: Likewise.
31765
d22e4cc9
AK
317662010-07-17 Andi Kleen <ak@linux.intel.com>
31767
31768 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
31769 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
31770 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
31771 * Versions.def [GLIBC_2.13]: Add.
31772
805bc17d
UD
317732010-08-06 Ulrich Drepper <drepper@redhat.com>
31774
31775 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31776 Also fail if tpwd after pwuid call is NULL.
31777
5a42321d
ST
317782010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
31779
31780 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
31781 when converting to ms.
31782
fd3ebeda
ST
317832010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
31784
31785 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
31786 EOPNOTSUPP errors with ENOTTY.
31787 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
31788 EOPNOTSUPP errors with ENOTTY.
31789
73507d3a
UD
317902010-07-31 Ulrich Drepper <drepper@redhat.com>
31791
31792 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31793 Add strcasecmp_l-ssse3.
31794 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
31795 strcasecmp.
31796 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
31797 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
31798 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
31799
fe36dd02
UD
318002010-07-30 Ulrich Drepper <drepper@redhat.com>
31801
66f6765a
UD
31802 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
31803
42e08a54
UD
31804 * string/Makefile (strop-tests): Add strcasecmp.
31805 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31806 strcasecmp_l-nonascii.
31807 (gen-as-const-headers): Add locale-defines.sym.
31808 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
31809 * sysdeps/x86_64/strcasecmp.S: New file.
31810 * sysdeps/x86_64/strcasecmp_l.S: New file.
31811 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
31812 * sysdeps/x86_64/locale-defines.sym: New file.
31813 * string/test-strcasecmp.c: New file.
31814
fe36dd02
UD
31815 * string/test-strcasestr.c: Test both ends of the range of characters.
31816 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
31817
48cbc0d6
RM
318182010-07-29 Roland McGrath <roland@redhat.com>
31819
76e6d6bc 31820 [BZ #11856]
48cbc0d6
RM
31821 * manual/locale.texi (Yes-or-No Questions): Fix example code.
31822
880113d9
UD
318232010-07-27 Ulrich Drepper <drepper@redhat.com>
31824
31825 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
31826 for ld.so.
31827
deb9cabb
AS
318282010-07-27 Andreas Schwab <schwab@redhat.com>
31829
31830 * manual/memory.texi (Malloc Tunable Parameters): Document
31831 M_PERTURB.
31832
1c7570ff
RM
318332010-07-26 Roland McGrath <roland@redhat.com>
31834
31835 [BZ #11840]
31836 * configure.in (-fgnu89-inline check): Set and substitute
31837 gnu89_inline, not libc_cv_gnu89_inline.
31838 * configure: Regenerated.
31839 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
31840
24fb0f88
UD
318412010-07-26 Ulrich Drepper <drepper@redhat.com>
31842
31843 * string/test-strnlen.c: New file.
31844 * string/Makefile (strop-tests): Add strnlen.
31845 * string/tester.c (test_strnlen): Add a few more test cases.
31846 * string/tst-strlen.c: Better error reporting.
31847
31848 * sysdeps/x86_64/strnlen.S: New file.
31849
8e96b93a
UD
318502010-07-24 Ulrich Drepper <drepper@redhat.com>
31851
31852 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
31853 lower-latency instructions.
31854
dbc676d4
UD
318552010-07-23 Ulrich Drepper <drepper@redhat.com>
31856
31857 * string/test-strcasestr.c: New file.
31858 * string/test-strstr.c: New file.
31859 * string/Makefile (strop-tests): Add strstr and strcasestr.
31860 * string/str-two-way.h: Don't undefine MAX.
31861 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
31862
f6a31e0e
AS
318632010-07-21 Andreas Schwab <schwab@redhat.com>
31864
31865 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31866 strcasestr-nonascii.
31867 (CFLAGS-strcasestr-nonascii.c): Define.
31868 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
31869 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
31870 Remove unused attribute.
31871
5dbc3b6c
RM
318722010-07-20 Roland McGrath <roland@redhat.com>
31873
31874 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
31875 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
31876 ld.so.cache was broken. With it, there is no way to disable dsocaps
31877 like LD_HWCAP_MASK can disable hwcaps.
31878
23d101d8
EPM
318792010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
31880
31881 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
31882
cc9f2e47
UD
318832010-07-16 Ulrich Drepper <drepper@redhat.com>
31884
31885 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
31886 call in strcasestr.
31887 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
31888 __strcasestr_sse42_nonascii.
31889 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
31890 strcasestr-nonascii.c.
31891 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
31892
77c1b069
LM
318932010-06-15 Luis Machado <luisgpm@br.ibm.com>
31894
31895 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
31896 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
31897 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
31898 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
31899
440566c3
UD
319002010-07-09 Ulrich Drepper <drepper@redhat.com>
31901
31902 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
31903 fcntl.
31904
5be9d05d
AS
319052010-07-06 Andreas Schwab <schwab@redhat.com>
31906
c30b7ee2 31907 [BZ #11577]
5be9d05d
AS
31908 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
31909 dl_signal_cerror.
31910
8a492a67
UD
319112010-07-06 Ulrich Drepper <drepper@redhat.com>
31912
31913 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
31914 _PC_PIPE_BUF using F_GETPIPE_SZ.
31915
713df3d5
RM
319162010-07-05 Roland McGrath <roland@redhat.com>
31917
31918 * manual/arith.texi (Rounding Functions): Fix rint description
31919 implicit in round description.
31920
702e8f14
UD
319212010-07-02 Ulrich Drepper <drepper@redhat.com>
31922
31923 * elf/Makefile: Fix linking for a few tests to make recent linker
31924 happy.
31925
52ed8be9
AS
319262010-06-30 Andreas Schwab <schwab@redhat.com>
31927
31928 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
31929 $(common-objpfx)libc_nonshared.a.
31930
f47c9a11
LM
319312010-06-21 Luis Machado <luisgpm@br.ibm.com>
31932
31933 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
31934 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
31935 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31936 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31937 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
31938 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
31939 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31940 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31941 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
31942 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
31943 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
31944 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31945 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
31946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31947 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
31948 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
31949 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
31950 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
31951 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
31953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
31955 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
31956 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
31957 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
31958 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
31959 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
31960 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
31961 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
31962 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
31963 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
31964 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
31965 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
31966 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
31967 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
31968 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
31969 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
31970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
31971 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
31972 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
31973 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
31974 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
31975 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
31976 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
31977 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
31978 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
31979 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
31980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
31981
6fb8cbcb
L
319822010-06-25 H.J. Lu <hongjiu.lu@intel.com>
31983
31984 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
31985 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
31986 * string/memmove.c (memmove): Renamed to ...
31987 (MEMMOVE): ...this. Default to memmove.
31988 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
31989 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
31990 (END_CHK): Define.
31991 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31992 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
31993 mempcpy-ssse3-back memmove-ssse3-back.
31994 * sysdeps/x86_64/multiarch/bcopy.S: New file .
31995 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
31996 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
31997 * sysdeps/x86_64/multiarch/memcpy.S: New file.
31998 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
31999 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
32000 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
32001 * sysdeps/x86_64/multiarch/memmove.c: New file.
32002 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
32003 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
32004 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
32005 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
32006 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
32007 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
32008 Define.
32009 (index_Fast_Copy_Backward): Define.
32010 (HAS_ARCH_FEATURE): Define.
32011 (HAS_FAST_REP_STRING): Define.
32012 (HAS_FAST_COPY_BACKWARD): Define.
32013
4e733bac 320142010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
32015
32016 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32017 Restore proper fallback handling.
32018
63c4ed22
UD
320192010-06-19 Ulrich Drepper <drepper@redhat.com>
32020
ac2b484c
UD
32021 [BZ #11701]
32022 * posix/group_member.c (__group_member): Correct checking loop.
32023
63c4ed22
UD
32024 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
32025 OOM in getpwuid_r correctly. Return error number when the caller
32026 should return, otherwise -1.
32027 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
32028 call returning > 0 value.
32029 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
32030
765ade4b
AS
320312010-06-07 Andreas Schwab <schwab@redhat.com>
32032
32033 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
32034 libc_nonshared.a from targets in modules-names.
32035
80da2e09
KS
320362010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
32037
32038 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
32039 requires it.
32040
158db122
LM
320412010-06-10 Luis Machado <luisgpm@br.ibm.com>
32042
32043 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
32044 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
32045 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
32046 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
32047
caa78cf8
AS
320482010-06-02 Andreas Schwab <schwab@redhat.com>
32049
32050 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
32051
b2ef2c01
UD
320522010-06-14 Ulrich Drepper <drepper@redhat.com>
32053
32054 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
32055 and F_GETPIPE_SZ.
32056 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
32057 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32058 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32059 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32060 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32061 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
32062
fbd643b6
RM
320632010-06-14 Roland McGrath <roland@redhat.com>
32064
32065 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
32066
f32f2869
JJ
320672010-06-07 Jakub Jelinek <jakub@redhat.com>
32068
32069 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
32070 __REDIRECT followed by __THROW.
32071 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
32072 * posix/getopt.h (getopt): Likewise.
32073
2a50c078
EPM
320742010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
32075
32076 * hurd/lookup-at.c (__file_name_lookup_at): Accept
32077 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
32078 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
32079 in AT_FLAGS.
32080 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
32081 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
32082
eb5ad2eb
LM
320832010-05-28 Luis Machado <luisgpm@br.ibm.com>
32084
32085 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
32086
3c88fe1e
L
320872010-05-26 H.J. Lu <hongjiu.lu@intel.com>
32088
32089 [BZ #11640]
32090 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32091 Properly check family and model.
32092
d2f73151
TY
320932010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
32094
32095 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
32096
ebd2e13d
LM
320972010-05-24 Luis Machado <luisgpm@br.ibm.com>
32098
32099 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
32100
b32b8b45
UD
321012010-05-21 Ulrich Drepper <drepper@redhat.com>
32102
32103 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
32104 symbol reference.
32105
9acbe24d
AS
321062010-05-19 Andreas Schwab <schwab@redhat.com>
32107
32108 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
32109 symbol reference.
32110
f0ccf6ea
AS
321112010-05-21 Andreas Schwab <schwab@redhat.com>
32112
3d04ff3a
AS
32113 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
32114 and internal_recvmmsg.
32115 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
32116 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
32117 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
32118 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
32119
f0ccf6ea
AS
32120 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
32121 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
32122 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
32123
5b08ac57
AS
321242010-05-20 Andreas Schwab <schwab@redhat.com>
32125
32126 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
32127
4828935d
LM
321282010-05-17 Luis Machado <luisgpm@br.ibm.com>
32129
32130 POWER7 optimizations.
32131 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
32132 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
32133
373d545e
UD
321342010-05-19 Ulrich Drepper <drepper@redhat.com>
32135
32136 * version.h: Update for 2.13 development version.
32137
21a2b1ae
AS
321382010-05-12 Andrew Stubbs <ams@codesourcery.com>
32139
32140 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
32141 exceptions. Return 0.
32142
3f7dcb2b
RM
321432010-05-07 Roland McGrath <roland@redhat.com>
32144
32145 * elf/ldconfig.c (main): Add a const.
32146
5f24d53a 321472010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 32148
a160f8d8
UD
32149 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
32150 (args_options): Add no-idn option.
32151 (ahosts_keys_int): Add idn_flags to ai_flags.
32152 (parse_option): Handle 'i' option to clear idn_flags.
32153
5f24d53a
UD
32154 * malloc/malloc.c (_int_free): Possible race in the most recently
32155 added check. Only act on the data if no current modification
32156 happened.
265bb1ce
UD
32157
32158See ChangeLog.17 for earlier changes.