]> sourceware.org Git - glibc.git/blame - ChangeLog
i686: Skip SSE4_2 version for strcmp, strncmp, strncase, strcasecmp
[glibc.git] / ChangeLog
CommitLineData
46ed1038
LD
12013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
2
3 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
4 version if bit_Slow_SSE4_2 is set.
5 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
6 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
7
d400dcac
AZ
82013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
9
10 [BZ #15867]
11 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
12 trampoline stack frame information.
13 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
14 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
15 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
16 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
17 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
18 * sysdeps/unix/sysv/linux/powerpc/init-first.c
19 (_libc_vdso_platform_setup): Initialize the signal trampolines.
20 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
21 sa_flags value.
22 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
23 interrupting a syscall and set with option SA_SIGINFO.
24
42c8fdd8
JM
252013-08-20 Joseph Myers <joseph@codesourcery.com>
26
c980f2f4
JM
27 [BZ #15531]
28 * math/s_cproj.c (__cproj): Only return an infinity if one part of
29 argument is infinite.
30 * math/s_cprojf.c (__cprojf): Likewise.
31 * math/s_cprojl.c (__cprojl): Likewise.
32 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
33 * math/libm-test.inc (cproj_test_data): Add more tests.
34
0716c4fc
JM
35 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
36
42c8fdd8
JM
37 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
38 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
39 size. Use __ffs to determine corresponding shift.
40
b31469d0
JM
412013-08-20 Joseph Myers <joseph@codesourcery.com>
42 Roland McGrath <roland@hack.frob.com>
43
44 * Makefile (INSTALL): Remove trailing blank lines from output of
45 makeinfo.
46
4e39af6e
AK
472013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48
49 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
50 Align 32 bit compat elf_greg to 8 bytes.
51
f315524e
AA
522013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
53
54 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
55
1326ba1a
SP
562013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
57
58 * string/strcoll_l.c (coll_seq): New structure.
59 (get_next_seq_cached): New function.
60 (get_next_seq): New function.
61 (do_compare): New function.
62 (STRCOLL): Use GNU style definition. Simplify implementation
63 by using get_next_seq, get_next_seq_cached and do_compare.
64
91ce4085
FW
652013-08-16 Florian Weimer <fweimer@redhat.com>
66
67 [BZ #14699]
68 CVE-2013-4237
69 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
70 member.
71 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
72 member.
73 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
74 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
75 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
76 conditional.
77 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
78 GETDENTS_64BIT_ALIGNED.
79 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
80 * manual/filesys.texi (Reading/Closing Directory): Document
81 ENAMETOOLONG return value of readdir_r. Recommend readdir more
82 strongly.
83 * manual/conf.texi (Limits for Files): Add portability note to
84 NAME_MAX, PATH_MAX.
85 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
86
ca0a6bc4
AS
872013-08-13 Andreas Schwab <schwab@suse.de>
88
89 [BZ #15749]
90 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
91 of fabs.
92 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
93 LDBL_MAX_EXP >= 16384]: Add tests for it.
94
6c1fd795
DM
952013-08-12 David S. Miller <davem@davemloft.net>
96
97 * version.h (RELEASE): Set to "development".
98 (VERSION): Set to "2.18.90".
99 * NEWS: Add 2.19 section.
100
31ad488d
DM
1012013-08-03 David S. Miller <davem@davemloft.net>
102
103 * po/ko.po: Update Korean translation from translation project.
104
db24e684
DM
1052013-08-01 David S. Miller <davem@davemloft.net>
106
107 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
108 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
109 Bilka.
110
f723285b
DM
1112013-07-30 David S. Miller <davem@davemloft.net>
112
113 * po/fr.po: Update French translation from translation project.
114
3cbc52db
DM
1152013-07-28 David S. Miller <davem@davemloft.net>
116
30bbc0cc
DM
117 * po/cs.po: Update Czech translation from translation project.
118
3cbc52db
DM
119 * po/sv.po: Update Swedish translation from translation project.
120
d492e6d0
DM
1212013-07-27 David S. Miller <davem@davemloft.net>
122
f1a7f492
DM
123 * po/eo.po: Update Esperanto translation from translation project.
124
90e62a4a
DM
125 * po/vi.po: Update Vietnamese translation from translation project.
126
d492e6d0
DM
127 * po/de.po: Update German translation from translation project.
128
d4baa62d
DM
1292013-07-26 David S. Miller <davem@davemloft.net>
130
641aa7b4
DM
131 * po/bg.po: Update Bulgarian translation from translation project.
132
d4baa62d
DM
133 * po/nl.po: Update Dutch translation from translation project.
134 * po/pl.po: Update Polish translation from translation project.
135 * po/ru.po: Update Russian translation from translation project.
136
61a9dcb9
DM
1372013-07-24 David S. Miller <davem@davemloft.net>
138
139 * po/libc.pot: Update.
140
7b1f8b58
AZ
1412013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
142
143 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
144 variable page size.
145 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
146 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
147 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
148
a8fc7a03
AK
1492013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
150
151 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
152
e4608715
CD
1532013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
154 Andreas Schwab <schwab@suse.de>
155 Roland McGrath <roland@hack.frob.com>
156 Joseph Myers <joseph@codesourcery.com>
157 Carlos O'Donell <carlos@redhat.com>
158
159 [BZ #15755]
160 * config.h.in: Define HAVE_PT_CHOWN.
161 * config.make.in (build-pt-chown): New variable.
162 * configure.in (--enable-pt_chown): New configure option.
163 * configure: Regenerate.
164 * login/Makefile: Include Makeconfig. Build pt_chown only if
165 build-pt-chown is enabled.
166 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
167 pt_chown to fix pty ownership.
168 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
169 CLOSE_ALL_FDS.
170 * manual/install.texi (Configuring and compiling): Mention
171 --enable-pt_chown. Add @findex for grantpt.
172 * INSTALL: Regenerate.
173
da2d62df
DM
1742013-07-20 David S. Miller <davem@davemloft.net>
175
176 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
177 difference between 32-bit and 64-bit.
178
d7e06450
CD
1792013-07-15 Carlos O'Donell <carlos@redhat.com>
180
181 [BZ #15711]
182 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
183 Avoid system header dependency with -ffreestanding.
184 ($(objpfx)bits/syscall%d): Likewise.
185
f959cfd7
DM
1862013-07-13 David S. Miller <davem@davemloft.net>
187
188 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
189 underflows from atanl/atan2l due to bug 15319.
190 (casinh_test_data): Likewise.
191
c61f8513
DM
1922013-07-07 David S. Miller <davem@davemloft.net>
193
194 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
195
72c90ed0
JA
1962013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
197
198 * sysdeps/i386/fpu/libm-test-ulps: Update.
199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
200
52dfbe13
SP
2012013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
202
203 * configure.in (--enable-lock-elision): Fix message text.
204 * INSTALL: Regenerate.
205 * configure: Regenerate.
206
3f169543
AZ
2072013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
208
209 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
210
521c6785
AJ
2112013-07-03 Andreas Jaeger <aj@suse.de>
212
213 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
214 define.
215 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
216 (ptrace_peeksiginfo_args): Add.
217 (__ptrace_peeksiginfo_flags): Add.
218 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
219 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
220 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
221
d2cc15cb
AM
2222013-07-03 Allan McRae <allan@archlinux.org>
223
224 * sysdeps/i386/fpu/libm-test-ulps: Update.
225
3aaeeca7
DM
2262013-07-02 David S. Miller <davem@davemloft.net>
227
228 * sysdeps/sparc/fpu/libm-test-ulps: Update.
229
5314ed1a
MT
2302013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
231
232 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
233
67338156
JM
2342013-07-02 Joseph Myers <joseph@codesourcery.com>
235
236 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
237 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
238
1717da59
AK
2392013-07-02 Andi Kleen <ak@linux.intel.com>
240
241 * config.h.in (ENABLE_LOCK_ELISION): Add.
242 * configure.in (--enable-lock-elision): Add option.
243 * manual/install.texi: Document --enable lock elision.
244 * configure: Regenerate
245 * INSTALL: Regenerate.
246
1c81621c
L
2472013-07-02 H.J. Lu <hongjiu.lu@intel.com>
248
249 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
250 SSE4.2 strcasecmp for libc.a.
251 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
252
77f01ab5
JM
2532013-07-02 Joseph Myers <joseph@codesourcery.com>
254
255 [BZ #13304]
256 * soft-fp/op-common.h (_FP_FMA): New macro.
257 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
258 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
259 (_FP_MUL_MEAT_1_imm): ... here.
260 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
261 (_FP_MUL_MEAT_1_wide): ... here.
262 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
263 (_FP_MUL_MEAT_1_hard): ... here.
264 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
265 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
266 (_FP_MUL_MEAT_2_wide): ... here.
267 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
268 (_FP_MUL_MEAT_2_wide_3mul): ... here.
269 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
270 (_FP_MUL_MEAT_2_gmp): ... here.
271 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
272 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
273 (_FP_MUL_MEAT_4_wide): ... here.
274 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
275 (_FP_MUL_MEAT_4_gmp): ... here.
276 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
277 (_FP_WFRACBITS_DW_S): Likewise.
278 (_FP_WFRACXBITS_DW_S): Likewise.
279 (_FP_HIGHBIT_DW_S): Likewise.
280 (FP_FMA_S): Likewise.
281 (_FP_FRAC_HIGH_DW_S): Likewise.
282 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
283 (_FP_WFRACBITS_DW_D): Likewise.
284 (_FP_WFRACXBITS_DW_D): Likewise.
285 (_FP_HIGHBIT_DW_D): Likewise.
286 (FP_FMA_D): Likewise.
287 (_FP_FRAC_HIGH_DW_D): Likewise.
288 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
289 (_FP_WFRACBITS_DW_E): Likewise.
290 (_FP_WFRACXBITS_DW_E): Likewise.
291 (_FP_HIGHBIT_DW_E): Likewise.
292 (FP_FMA_E): Likewise.
293 (_FP_FRAC_HIGH_DW_E): Likewise.
294 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
295 (_FP_WFRACBITS_DW_Q): Likewise.
296 (_FP_WFRACXBITS_DW_Q): Likewise.
297 (_FP_HIGHBIT_DW_Q): Likewise.
298 (FP_FMA_Q): Likewise.
299 (_FP_FRAC_HIGH_DW_Q): Likewise.
300 * soft-fp/fmasf4.c: New file.
301 * soft-fp/fmadf4.c: Likewise.
302 * soft-fp/fmatf4.c: Likewise.
303
6308fd9a
LD
3042013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
305
306 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
307 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
308 Silvermont.
309 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
310 macro.
311 (index_Slow_SSE4_2): Likewise.
312 (index_Prefer_PMINUB_for_stringop): Likewise.
313 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
314 bit_Slow_SSE4_2 is set.
315 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
316 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
317
89cd9569
RA
3182013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
319
320 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
321 rtld_global._dl_hwcap2.
322 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
323 POWER8.
324 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
325 POWER8 feature descriptions defined in _dl_hwcap2.
326 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
327 string handling for POWER8 feature bits.
328 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
329 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
330 _dl_powerpc_cap_flags.
331 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
332 * sysdeps/powerpc/rtld-global-offsets.sym
333 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
334 _dl_hwcap2 in the rtld_global_ro structure.
335
1ae8bfe0
RA
3362013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
337
338 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
339 hardware capabilities in support of AT_HWCAP2.
340 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
341 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
342 GLRO(dl_hwcap2).
343 (_dl_show_auxv): Add support for calling _dl_procinfo to display
344 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
345 explicitly the unknown a_type display mechanism is used.
346 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
347 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
348 struct member.
349 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
350 to macro prototype for AT_HWCAP2 support.
351 * sysdeps/i386/dl-procinfo.h: Likewise.
352 * sysdeps/s390/dl-procinfo.h: Likewise.
353 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
354 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
355 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
356 return -1 for unknown a_type display fallback.
357 * sysdeps/sparc/dl-procinfo.h: Likewise.
358 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
359 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
360
8fbec010
JM
3612013-06-28 Joseph Myers <joseph@codesourcery.com>
362
363 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
364 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
365
0432680e
PY
3662013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
367
368 [BZ #12492]
369 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
370 mprotect making __stack_prot writable.
371
ce61a2ad
NF
3722013-06-28 Nathan Froyd <froydnj@codesourcery.com>
373 Joseph Myers <joseph@codesourcery.com>
374
375 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
376 as being properly aligned.
377
f91f1c0f
MR
3782013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
379
3d0f5d0c
MR
380 * dlfcn/modstatic5.c: New file.
381 * dlfcn/tststatic5.c: New file.
382 * dlfcn/Makefile (tests): Add tststatic5.
383 (tests-static): Likewise.
384 (modules-names): Add modstatic5.
385 (tststatic5-ENV): New variable.
386 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
387
f91f1c0f
MR
388 [BZ #15022]
389 * elf/dl-support.c (_dl_main_map): New variable.
390 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
391 (_dl_nns, _dl_load_adds): Set to 1.
392 (_dl_initial_searchlist): Refer to _dl_main_map.
393 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
394 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
395 call to _dl_get_origin.
396 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
397 around call_map.
398 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
399 * dlfcn/modstatic3.c: New file.
400 * dlfcn/tststatic3.c: New file.
401 * dlfcn/tststatic4.c: New file.
402 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
403 (tests-static): Likewise.
404 (modules-names): Add modstatic3.
405 (tststatic3-ENV, tststatic4-ENV): New variables.
406 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
407 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
408
cbe7d24b
JM
4092013-06-26 Joseph Myers <joseph@codesourcery.com>
410
411 * configure.in (CC): Require GCC version 4.4 or later.
412 * configure: Regenerated.
413 * manual/install.texi (Tools for Compilation): Update GCC version
414 requirement.
415 * INSTALL: Regenerated.
416
11b8a0e1
LD
4172013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
418
419 [BZ #15674]
bb5bb87c
L
420 * string/test-memcmp.c (check2): New.
421 (main): Call check2.
422
11b8a0e1
LD
423 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
424
b0037103
MR
4252013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
426
427 [BZ #15022]
428 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
429 over to...
430 (dl_open_worker) [!SHARED]: ... here.
431
c18c701d
RA
4322013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
433
434 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
435
1d17fa5f
RH
4362013-06-25 Richard Henderson <rth@redhat.com>
437
438 * locale/programs/locarchive.c: Include <libc-internal.h>
439
8fcb833a
JM
4402013-06-25 Joseph Myers <joseph@codesourcery.com>
441
442 * manual/texinfo.tex: Update to version 2013-06-21.17, with
443 trailing whitespace removed.
444
17db6e8d
MF
4452013-06-24 Mike Frysinger <vapier@gentoo.org>
446
447 [BZ #10283]
17db6e8d
MF
448 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
449 * locale/programs/locarchive.c: Include libc-mmap.h.
450 (prepare_address_space): Take two new outputs (the mmap base and len).
451 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
452 values.
453 (create_archive): Declare new mmap base and len values for
454 prepare_address_space, and store the result in ah.
455 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
456 (enlarge_archive): If ah->mmap_base is not NULL, use that and
457 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
458 Declare new mmap base and len values for
459 prepare_address_space, and store the result in new_ah.
460 (open_archive): Declare new mmap base and len values for
461 prepare_address_space, and store the result in ah.
462 (close_archive): If ah->mmap_base is not NULL, use that and
463 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
464 * sysdeps/generic/libc-mmap.h: New file.
465
d605071e
MF
4662013-06-24 Mike Frysinger <vapier@gentoo.org>
467
468 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
469 (ALIGN_UP): Likewise.
470 (PTR_ALIGN_DOWN): Likewise.
471 (PTR_ALIGN_UP): Likewise.
472
2f063a6e
RA
4732013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
474
475 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
476 entry mapped to PPC_PLATFORM_POWER8.
477 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
478 POWER8.
479 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
480 (_dl_string_platform): Add case for exporting platform position for
481 POWER8.
482 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
483 search path to sysdeps/powerpc/powerpc32/power8 directory.
484 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
485 search path to sysdeps/powerpc/powerpc64/power8 directory.
486 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
487 power7 directories.
488 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
489 power7 directories.
490
a31ee4b3
SP
4912013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
492
a74ca98f
SP
493 * INSTALL: Regenerate.
494
a31ee4b3
SP
495 * nscd/connections.c (nscd_init): Fix comment.
496
695c378f
JM
4972013-06-22 Joseph Myers <joseph@codesourcery.com>
498
d8412221
JM
499 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
500
695c378f
JM
501 [BZ #15667]
502 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
503 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
504
d1d54715
MR
5052013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
506
507 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
508 DL_DST_REQ_STATIC.
509 (DL_DST_REQ_STATIC): Remove macro.
510
8fdda7af
JM
5112013-06-21 Joseph Myers <joseph@codesourcery.com>
512
513 [BZ #7006]
514 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
515 with a shift of 0 bits.
516
f3bc5e5a
MR
5172013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
518
519 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
520 $(tststatic-ENV).
521
be09e8c9
KK
5222013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
523
524 [BZ #15655]
525 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
526
85c2e611
AZ
5272013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
528
529 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
530 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
531 accepts -fno-tree-loop-distribute-patterns.
532 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
533 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
534 recursive call.
535 * string/memset.c (memset): Likewise.
536 * string/test-memmove.c (simple_memmove): Disable loop transformation
537 to library calls.
538 * string/test-memset.c (simple_memset): Likewise.
539 * benchtests/bench-memmove.c (simple_memmove): Likewise.
540 * benchtests/bench-memset.c (simple_memset): Likewise.
541 * configure: Regenerated.
542
c91e0825
JM
5432013-06-20 Joseph Myers <joseph@codesourcery.com>
544
b8c792af
JM
545 * math/test-misc.c (main): Ignore fesetround failure when failures
546 of subsequent rounding tests would be ignored.
547
c91e0825
JM
548 [BZ #15654]
549 * math/fedisblxcpt.c (fedisableexcept): Return 0.
550 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
551 * math/fegetenv.c (__fegetenv): Return 0.
552 * math/fegetexcept.c (fegetexcept): Return 0.
553 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
554 FE_TONEAREST.
555 * math/feholdexcpt.c (feholdexcept): Return 0.
556 * math/fesetenv.c (__fesetenv): Return 0.
557 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
558 argument FE_TONEAREST.
559 * math/feupdateenv.c (__feupdateenv): Return 0.
560 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
561
bfcacbde
RM
5622013-06-18 Roland McGrath <roland@hack.frob.com>
563
564 * elf/rtld-Rules (rtld-compile-command.S): New variable.
565 (rtld-compile-command.s, rtld-compile-command.c): New variables.
566 ($(objpfx)rtld-%.os rules): Use them.
567
e55a9b25
AZ
5682013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
569
570 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
571 fields.
572
346d65b3
RM
5732013-06-17 Roland McGrath <roland@hack.frob.com>
574
12086fb4
RM
575 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
576 length of target pattern, then descending length of dependency pattern.
577 * configure.in (AWK): Require gawk 3.1.2 or newer.
578 * manual/install.texi (Tools for Compilation): Say that we do.
579 * configure: Regenerated.
580
346d65b3
RM
581 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
582 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
583 * scripts/sysd-rules.awk: ... this new script.
584 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
585 than a glob-style pattern.
586
1a846317
JM
5872013-06-17 Joseph Myers <joseph@codesourcery.com>
588
589 * math/test-misc.c (main): Do not treat incorrectly rounded
590 conversions as failure unless ROUNDING_TESTS passes.
591
8fc75e6f
JM
5922013-06-15 Joseph Myers <joseph@codesourcery.com>
593
3711a167
JM
594 [BZ #15631]
595 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
596 restore exception state around main square root computation, then
597 check for inexactness explicitly.
598
8fc75e6f
JM
599 * math/libm-test.inc (fma_test_data): Add another test.
600
61dd6208
SP
6012013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
602
adf23d2c
SP
603 * manual/threads.texi (Non-POSIX Extensions): New document
604 node. Document pthread_getattr_default_np and
605 pthread_setattr_default_np.
606
61dd6208
SP
607 * Versions.def (libpthread): Add GLIBC_2.18.
608 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
610 Likewise.
611 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
612 Likewise.
613 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
614 Likewise.
615 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
616 Likewise.
617 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
618 Likewise.
619 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
620 Likewise.
621 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
622 Likewise.
623 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
624 Likewise.
625 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
626 Likewise.
627
d086fc7b
LD
6282013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
629
630 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
631 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
632
747ef469
SP
6332013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
634 H.J. Lu <hjl.tools@gmail.com>
635
636 [BZ #15627]
637 * sysdeps/x86_64/rtld-memset.c: Remove file.
638 * sysdeps/x86_64/rtld-memset.S: New file.
639
1b2feed2
JM
6402013-06-14 Joseph Myers <joseph@codesourcery.com>
641
642 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
643 (test_in_one_mode): Take arguments for whether the rounding mode
644 is supported for each floating-point type.
645 (do_test): Pass new arguments to test_in_one_mode using
646 ROUNDING_TESTS.
647
a58ad3f8
RM
6482013-06-13 Roland McGrath <roland@hack.frob.com>
649
650 * posix/tst-waitid.c (do_test): Distinguish different instances of
651 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
652 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
653 before entering the kernel for waitpid.
654
c204ab28
SP
6552013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
656
657 * NEWS: Fix note on clock function precision. Text by Roland
658 McGrath.
659
f4a29fba
RM
6602013-06-13 Roland McGrath <roland@hack.frob.com>
661
662 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
663 it into place only when and if the sanity check passes.
664
1f24b9ad
JM
6652013-06-13 Joseph Myers <joseph@codesourcery.com>
666
667 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
668 output for whether conversion result is exact. Take argument
669 indicating whether type is IBM long double.
670 (round_for_all): Change need_exact field to ibm_ld.
671 * stdlib/tst-strtod-round.c (struct exactness): New type.
672 (struct test): Change bool ld_ok field to struct exactness exact.
673 (TEST): Update all definitions for change to field.
674 (tests): Regenerate array contents.
675 (test_in_one_mode): Take pointer to new field instead of old ld_ok
676 field value. Check for IBM long double here.
677 (do_test): Update calls to test_in_one_mode.
678
58206c68
SP
6792013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
680
681 [BZ #12515]
682 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
683 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
684
2d6f4c5b 6852013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
686
687 [BZ #15605]
688 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
689 generated by the compiler on loop optimizations.
690 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
691 general definitions.
692
94f2c076
JM
6932013-06-12 Joseph Myers <joseph@codesourcery.com>
694
695 * math/bug-nextafter.c: Include <math-tests.h>.
696 (main): Only test for exceptions if EXCEPTION_TESTS is true for
697 the relevant type.
698 * math/bug-nexttoward.c: Include <math-tests.h>.
699 (main): Only test for exceptions if EXCEPTION_TESTS is true for
700 the relevant type.
701 * math/test-misc.c: Include <math-tests.h>.
702 (main): Only test for exceptions if EXCEPTION_TESTS is true for
703 the relevant type.
704
e0e50a0a
AJ
7052013-06-12 Andreas Jaeger <aj@suse.de>
706
707 * po/ia.po: Update Interlingua translation from translation
708 project.
709
25061094
SP
7102013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
711
712 * include/fenv.h: Include stdbool.h.
713 (struct rm_ctx): New structure.
714 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
715 Define macro.
716 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
717 (SET_RESTORE_ROUNDF): Likewise.
718 (SET_RESTORE_ROUNDL): Likewise.
719 (SET_RESTORE_ROUND_NOEX): Likewise.
720 (SET_RESTORE_ROUND_NOEXF): Likewise.
721 (SET_RESTORE_ROUND_NOEXL): Likewise.
722 (SET_RESTORE_ROUND_53BIT): Likewise.
723 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
724 (libc_feresetround_noexf_ctx): Likewise.
725 (libc_feresetround_noexl_ctx): Likewise.
726 (libc_feholdsetround_53bit_ctx): Likewise.
727 (libc_feresetround_53bit_ctx): Likewise.
728 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
729 (libc_feholdexcept_setround_sse_ctx): New function.
730 (libc_fesetenv_sse_ctx): Likewise.
731 (libc_feupdateenv_sse_ctx): Likewise.
732 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
733 (libc_feholdexcept_setround_387_ctx): Likewise.
734 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
735 (libc_feholdsetround_387_prec_ctx): Likewise.
736 (libc_feholdsetround_387_ctx): Likewise.
737 (libc_feholdsetround_387_53bit_ctx): Likewise.
738 (libc_feholdsetround_sse_ctx): Likewise.
739 (libc_feresetround_sse_ctx): Likewise.
740 (libc_feresetround_387_ctx): Likewise.
741 (libc_feupdateenv_387_ctx): Likewise.
742 (libc_feholdexcept_setroundf_ctx): Define macro.
743 (libc_fesetenvf_ctx): Likewise.
744 (libc_feupdateenvf_ctx): Likewise.
745 (libc_feholdsetroundf_ctx): Likewise.
746 (libc_feresetroundf_ctx): Likewise.
747 (libc_feholdexcept_setround_ctx): Likewise.
748 (libc_fesetenv_ctx): Likewise.
749 (libc_feupdateenv_ctx): Likewise.
750 (libc_feholdsetround_ctx): Likewise.
751 (libc_feresetround_ctx): Likewise.
752 (libc_feholdexcept_setroundl_ctx): Likewise.
753 (libc_feupdateenvl_ctx): Likewise.
754 (libc_feholdsetroundl_ctx): Likewise.
755 (libc_feresetroundl_ctx): Likewise.
756 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
757 (libc_feresetround_53bit_ctx): Likewise.
758
59b30555
SP
7592013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
760
761 * locale/iso-639.def: Convert to UTF-8.
762
f1d73d30
JM
7632013-06-11 Joseph Myers <joseph@codesourcery.com>
764
765 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
766 (EXCEPTION_TESTS_double): Likewise.
767 (EXCEPTION_TESTS_long_double): Likewise.
768 (EXCEPTION_TESTS): Likewise.
769 * math/libm-test.inc (test_exceptions): Only test exceptions if
770 EXCEPTION_TESTS (FLOAT).
771
94aca5e7
SP
7722013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
773
774 * benchtests/Makefile (string-bench): Add strcpy_chk and
775 stpcpy_chk.
776 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
777 * benchtests/bench-stpcpy_chk.c: New file.
778 * benchtests/bench-strcpy_chk-ifunc.c: New file.
779 * benchtests/bench-strcpy_chk.c: New file.
780 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
781 code.
782 (do_test): Likewise.
783
fac0c5f2
RA
7842013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
785
786 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
787 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
788 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
789 with tabs where appropriate.
790 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
791 dl-procinfo.h.
792 [PPC_PLATFORM_PPC440]: Likewise.
793 [PPC_PLATFORM_PPC464]: Likewise.
794 [PPC_PLATFORM_PPC476]: Likewise.
795 (_dl_string_platform): Add support for detecting ppc405, ppc440,
796 ppc464, and ppc476 platform strings merging from ports/
797 dl-procinfo.h.
798
f22bc486
AS
7992013-06-11 Andreas Schwab <schwab@suse.de>
800
801 [BZ #14991]
802 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
803 (from_ucs4_idx): Regenerate.
804 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
805 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
806 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
807 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
808 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
809 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
810 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
811 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
812 from FROM_LOOP and TO_LOOP specific macros.
813 (BODY): Handle combining characters.
814 * iconvdata/BIG5HKSCS.irreversible: Update.
815 * iconvdata/BIG5HKSCS.precomposed: New file.
816 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
817 characters.
818 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
819
c1f75dc3
SP
8202013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
821
4eacded2
SP
822 * include/sys/time.h: Fix indentation and add copyright header.
823
fec799f8
SP
824 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
825 (do_test): Likewise.
826 * string/test-memchr.c (do_one_test): Likewise.
827 (do_test): Likewise.
828 * string/test-memcmp.c (do_one_test): Likewise.
829 (do_test): Likewise.
830 * string/test-memcpy.c (do_one_test): Likewise.
831 (do_test): Likewise.
832 * string/test-memmem.c (do_one_test): Likewise.
833 (do_test): Likewise.
834 (do_random_tests): Likewise.
835 * string/test-memmove.c (do_one_test): Likewise.
836 (do_test): Likewise.
837 * string/test-memset.c (do_one_test): Likewise.
838 (do_test): Likewise.
839 * string/test-rawmemchr.c (do_one_test): Likewise.
840 (do_test): Likewise.
841 * string/test-strcasecmp.c (do_one_test): Likewise.
842 (do_test): Likewise.
843 * string/test-strcasestr.c (do_one_test): Likewise.
844 (do_test): Likewise.
845 * string/test-strcat.c (do_one_test): Likewise.
846 (do_test): Likewise.
847 * string/test-strchr.c (do_one_test): Likewise.
848 (do_test): Likewise.
849 * string/test-strcmp.c (do_one_test): Likewise.
850 (do_test): Likewise.
851 * string/test-strcpy.c (do_one_test): Likewise.
852 (do_test): Likewise.
853 * string/test-string.h: Likewise.
854 (test_init): Likewise.
855 * string/test-strlen.c (do_one_test): Likewise.
856 (do_test): Likewise.
857 * string/test-strncasecmp.c (do_one_test): Likewise.
858 (do_test): Likewise.
859 * string/test-strncat.c (do_one_test): Likewise.
860 (do_test): Likewise.
861 * string/test-strncmp.c (do_one_test): Likewise.
862 (do_test_limit): Likewise.
863 (do_test): Likewise.
864 * string/test-strncpy.c (do_one_test): Likewise.
865 (do_test): Likewise.
866 * string/test-strnlen.c (do_one_test): Likewise.
867 (do_test): Likewise.
868 * string/test-strpbrk.c (do_one_test): Likewise.
869 (do_test): Likewise.
870 * string/test-strrchr.c (do_one_test): Likewise.
871 (do_test): Likewise.
872 * string/test-strspn.c (do_one_test): Likewise.
873 (do_test): Likewise.
874 * string/test-strstr.c (do_one_test): Likewise.
875 (do_test): Likewise.
876
97020474
SP
877 * benchtests/Makefile (string-bench): Add string benchmarks.
878 * benchtests/bench-bcopy-ifunc.c: New file.
879 * benchtests/bench-bcopy.c: New file.
880 * benchtests/bench-bzero-ifunc.c: New file.
881 * benchtests/bench-bzero.c: New file.
882 * benchtests/bench-memccpy-ifunc.c: New file.
883 * benchtests/bench-memccpy.c: New file.
884 * benchtests/bench-memchr-ifunc.c: New file.
885 * benchtests/bench-memchr.c: New file.
886 * benchtests/bench-memcmp-ifunc.c: New file.
887 * benchtests/bench-memcmp.c: New file.
888 * benchtests/bench-memmem-ifunc.c: New file.
889 * benchtests/bench-memmem.c: New file.
890 * benchtests/bench-memmove-ifunc.c: New file.
891 * benchtests/bench-memmove.c: New file.
892 * benchtests/bench-mempcpy-ifunc.c: New file.
893 * benchtests/bench-mempcpy.c: New file.
894 * benchtests/bench-memset-ifunc.c: New file.
895 * benchtests/bench-memset.c: New file.
896 * benchtests/bench-rawmemchr-ifunc.c: New file.
897 * benchtests/bench-rawmemchr.c: New file.
898 * benchtests/bench-stpcpy-ifunc.c: New file.
899 * benchtests/bench-stpcpy.c: New file.
900 * benchtests/bench-stpncpy-ifunc.c: New file.
901 * benchtests/bench-stpncpy.c: New file.
902 * benchtests/bench-strcasecmp-ifunc.c: New file.
903 * benchtests/bench-strcasecmp.c: New file.
904 * benchtests/bench-strcasestr-ifunc.c: New file.
905 * benchtests/bench-strcasestr.c: New file.
906 * benchtests/bench-strcat-ifunc.c: New file.
907 * benchtests/bench-strcat.c: New file.
908 * benchtests/bench-strchr-ifunc.c: New file.
909 * benchtests/bench-strchr.c: New file.
910 * benchtests/bench-strchrnul-ifunc.c: New file.
911 * benchtests/bench-strchrnul.c: New file.
912 * benchtests/bench-strcmp-ifunc.c: New file.
913 * benchtests/bench-strcmp.c: New file.
914 * benchtests/bench-strcpy-ifunc.c: New file.
915 * benchtests/bench-strcpy.c: New file.
916 * benchtests/bench-strcspn-ifunc.c: New file.
917 * benchtests/bench-strcspn.c: New file.
918 * benchtests/bench-strlen-ifunc.c: New file.
919 * benchtests/bench-strlen.c: New file.
920 * benchtests/bench-strncasecmp-ifunc.c: New file.
921 * benchtests/bench-strncasecmp.c: New file.
922 * benchtests/bench-strncat-ifunc.c: New file.
923 * benchtests/bench-strncat.c: New file.
924 * benchtests/bench-strncmp-ifunc.c: New file.
925 * benchtests/bench-strncmp.c: New file.
926 * benchtests/bench-strncpy-ifunc.c: New file.
927 * benchtests/bench-strncpy.c: New file.
928 * benchtests/bench-strnlen-ifunc.c: New file.
929 * benchtests/bench-strnlen.c: New file.
930 * benchtests/bench-strpbrk-ifunc.c: New file.
931 * benchtests/bench-strpbrk.c: New file.
932 * benchtests/bench-strrchr-ifunc.c: New file.
933 * benchtests/bench-strrchr.c: New file.
934 * benchtests/bench-strspn-ifunc.c: New file.
935 * benchtests/bench-strspn.c: New file.
936 * benchtests/bench-strstr-ifunc.c: New file.
937 * benchtests/bench-strstr.c: New file.
938
c1f75dc3
SP
939 * benchtests/Makefile: Disable parallel execution of targets.
940 (string-bench): Add memcpy.
941 (benchset): New variable to store a list of benchmark sets.
942 (bench-func): Renamed from bench.
943 (bench-set): New target.
944 (bench): Depend on bench-func and bench-set.
945 * benchtests/README: Add section on benchmark sets.
946 * benchtests/bench-memcpy-ifunc.c: New file.
947 * benchtests/bench-memcpy.c: New file.
948 * benchtests/bench-string.h: New file.
949
50fd745b
AS
9502013-06-11 Andreas Schwab <schwab@suse.de>
951
952 [BZ #15577]
953 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
954 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
955 values in the triple.
956 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
957 terminator in the group key.
958
3ee7e9fe
AJ
9592013-06-11 Andreas Jaeger <aj@suse.de>
960
961 * po/zh_TW.po: Update Chinese (traditional) translation from
962 translation project.
963
89fb6835
SP
9642013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
965
966 * include/time.h (__clock_gettime): Add libc_hidden_proto.
967 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
968 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
969 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
970 (clock_getcpuclockid): Likewise.
971 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
972 Add weak_alias and libc_hidden_def.
973 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
974 * rt/clock_gettime.c (clock_gettime): Rename to
975 __clock_gettime. Add weak_alias and libc_hidden_def.
976 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
977 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
978 __clock_nanosleep. Add weak_alias and libc_hidden_def.
979 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
980 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
981 Likewise.
982 * rt/clock_settime.c (clock_settime): Rename to
983 __clock_settime. Add weak_alias and libc_hidden_def.
984 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
985
0efa6f8b
JM
9862013-06-10 Joseph Myers <joseph@codesourcery.com>
987
b8c61b4b
JM
988 * mach/err_boot.sub: Remove trailing whitespace.
989 * mach/err_ipc.sub: Likewise.
990 * mach/err_mach.sub: Likewise.
991
0efa6f8b
JM
992 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
993 (ROUNDING_TESTS_double): Likewise.
994 (ROUNDING_TESTS_long_double): Likewise.
995 (ROUNDING_TESTS): Likewise.
996 * math/libm-test.inc: Include <math-tests.h>.
997 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
998 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
999 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
1000 (IF_ROUND_INIT_FE_UPWARD): Likewise.
1001
50b818bf
SP
10022013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
1003
1004 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
1005 of assigning.
1006
60d2f8f3
JM
10072013-06-08 Joseph Myers <joseph@codesourcery.com>
1008
4902d2c3
JM
1009 * sysdeps/gnu/errlist.awk: Do not generate space at end of
1010 otherwise empty TRANS lines.
1011 * sysdeps/gnu/errlist.c: Regenerated.
1012
60d2f8f3
JM
1013 * catgets/gencat.c (error_print): Use (void) in function
1014 definition.
1015 * crypt/crypt_util.c (__init_des): Likewise.
1016 * crypt/speeds.c (Stop): Likewise.
1017 (main): Likewise.
1018 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
1019 * inet/ruserpass.c (token): Likewise.
1020 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
1021 * intl/localealias.c (extend_alias_table): Likewise.
1022 * intl/plural-exp.c (init_germanic_plural): Likewise.
1023 * libio/fcloseall.c (__fcloseall): Likewise.
1024 * libio/genops.c (_IO_flush_all): Likewise.
1025 (_IO_flush_all_linebuffered): Likewise.
1026 (_IO_cleanup): Likewise.
1027 (_IO_iter_begin): Likewise.
1028 (_IO_iter_end): Likewise.
1029 (_IO_list_lock): Likewise.
1030 (_IO_list_unlock): Likewise.
1031 (_IO_list_resetlock): Likewise.
1032 * libio/getchar.c (getchar): Likewise.
1033 * libio/getchar_u.c (getchar_unlocked): Likewise.
1034 * libio/getwchar.c (getwchar): Likewise.
1035 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
1036 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
1037 * login/getpt.c (__getpt): Likewise.
1038 * login/tst-utmp.c (main): Likewise.
1039 * malloc/hooks.c (__malloc_check_init): Likewise.
1040 * malloc/malloc.c (__malloc_stats): Likewise.
1041 * malloc/mtrace.c (tr_break): Likewise.
1042 (mtrace): Likewise.
1043 (muntrace): Likewise.
1044 * misc/fstab.c (endfsent): Likewise.
1045 * misc/getclktck.c (__getclktck): Likewise.
1046 * misc/getdtsz.c (__getdtablesize): Likewise.
1047 * misc/gethostid.c (gethostid): Likewise.
1048 * misc/getpagesize.c (__getpagesize): Likewise.
1049 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
1050 (__get_nprocs): Likewise.
1051 (__get_phys_pages): Likewise.
1052 (__get_avphys_pages): Likewise.
1053 * misc/getttyent.c (getttyent): Likewise.
1054 (setttyent): Likewise.
1055 (endttyent): Likewise.
1056 * misc/getusershell.c (getusershell): Likewise.
1057 (endusershell): Likewise.
1058 (setusershell): Likewise.
1059 (initshells): Likewise.
1060 * misc/hsearch.c (__hdestroy): Likewise.
1061 * misc/sync.c (sync): Likewise.
1062 * misc/syslog.c (closelog_internal): Likewise.
1063 (closelog): Likewise.
1064 * misc/ttyslot.c (ttyslot): Likewise.
1065 * misc/vhangup.c (vhangup): Likewise.
1066 * posix/fork.c (__fork): Likewise.
1067 * posix/getegid.c (__getegid): Likewise.
1068 * posix/geteuid.c (__geteuid): Likewise.
1069 * posix/getgid.c (__getgid): Likewise.
1070 * posix/getpid.c (__getpid): Likewise.
1071 * posix/getppid.c (__getppid): Likewise.
1072 * posix/getuid.c (__getuid): Likewise.
1073 * posix/pause.c (pause): Likewise.
1074 * posix/setpgrp.c (setpgrp): Likewise.
1075 * posix/setsid.c (__setsid): Likewise.
1076 * posix/test-vfork.c (noop): Likewise.
1077 * resolv/gethnamaddr.c (_endhtent): Likewise.
1078 (_gethtent): Likewise.
1079 (ht_endhostent): Likewise.
1080 (gethostent): Likewise.
1081 (dns_service): Likewise.
1082 * stdlib/drand48.c (drand48): Likewise.
1083 * stdlib/lrand48.c (lrand48): Likewise.
1084 * stdlib/mrand48.c (mrand48): Likewise.
1085 * stdlib/rand.c (rand): Likewise.
1086 * stdlib/random.c (__random): Likewise.
1087 * stdlib/setenv.c (clearenv): Likewise.
1088 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
1089 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
1090 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
1091 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
1092 (__get_nprocs): Likewise.
1093 (__get_phys_pages): Likewise.
1094 (__get_avphys_pages): Likewise.
1095 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
1096 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
1097 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
1098 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
1099 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
1100 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
1101 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
1102 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
1103 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
1104 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
1105 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
1106 * sysdeps/mach/hurd/sync.c (sync): Likewise.
1107 * sysdeps/posix/clock.c (clock): Likewise.
1108 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
1109 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
1110 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
1111 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
1112 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
1113 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
1114 (__get_nprocs_conf): Likewise.
1115 (__get_phys_pages): Likewise.
1116 (__get_avphys_pages): Likewise.
1117 * time/clock.c (clock): Likewise.
1118 * time/tzset.c (__tzname_max): Likewise.
1119
2e09a79a
JM
11202013-06-07 Joseph Myers <joseph@codesourcery.com>
1121
1122 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
1123 (__bswap_32): Do not use "register".
1124 * crypt/crypt.c (_ufc_doit_r): Likewise.
1125 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
1126 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
1127 * gmon/gmon.c (__monstartup): Likewise.
1128 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
1129 * hurd/hurdmalloc.c (more_memory): Likewise.
1130 (malloc): Likewise.
1131 (free): Likewise.
1132 (realloc): Likewise.
1133 (malloc_fork_prepare): Likewise.
1134 (malloc_fork_parent): Likewise.
1135 (malloc_fork_child): Likewise.
1136 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
1137 (_svcauth_des): Likewise.
1138 * inet/inet_lnaof.c (inet_lnaof): Likewise.
1139 * inet/inet_net.c (inet_network): Likewise.
1140 * inet/inet_netof.c (inet_netof): Likewise.
1141 * inet/rcmd.c (__validuser2_sa): Likewise.
1142 * io/fts.c (fts_open): Likewise.
1143 (fts_load): Likewise.
1144 (fts_close): Likewise.
1145 (fts_read): Likewise.
1146 (fts_children): Likewise.
1147 (fts_build): Likewise.
1148 (fts_stat): Likewise.
1149 (fts_sort): Likewise.
1150 (fts_alloc): Likewise.
1151 (fts_lfree): Likewise.
1152 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
1153 (_IO_file_xsgetn): Likewise.
1154 (_IO_file_xsgetn_mmap): Likewise.
1155 * libio/iofopncook.c (_IO_cookie_read): Likewise.
1156 (_IO_cookie_write): Likewise.
1157 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
1158 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
1159 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
1160 * malloc/obstack.c (_obstack_begin): Likewise.
1161 (_obstack_begin_1): Likewise.
1162 (_obstack_newchunk): Likewise.
1163 (_obstack_allocated_p): Likewise.
1164 (obstack_free): Likewise.
1165 (_obstack_memory_used): Likewise.
1166 * misc/getttyent.c (getttynam): Likewise.
1167 (getttyent): Likewise.
1168 (skip): Likewise.
1169 (value): Likewise.
1170 * misc/getusershell.c (initshells): Likewise.
1171 * misc/syslog.c (__vsyslog_chk): Likewise.
1172 * misc/ttyslot.c (ttyslot): Likewise.
1173 * nis/nis_hash.c (__nis_hash): Likewise.
1174 * posix/fnmatch_loop.c (FCT): Likewise.
1175 * posix/getconf.c (print_all): Likewise.
1176 (main): Likewise.
1177 * posix/getopt.c (exchange): Likewise.
1178 * posix/glob.c (globfree): Likewise.
1179 (prefix_array): Likewise.
1180 (__glob_pattern_type): Likewise.
1181 * resolv/arpa/nameser.h (NS_GET16): Likewise.
1182 (NS_GET32): Likewise.
1183 (NS_PUT16): Likewise.
1184 (NS_PUT32): Likewise.
1185 * resolv/gethnamaddr.c (getanswer): Likewise.
1186 (gethostbyname2): Likewise.
1187 (gethostbyaddr): Likewise.
1188 (_gethtent): Likewise.
1189 (_gethtbyname2): Likewise.
1190 (_gethtbyaddr): Likewise.
1191 * resolv/ns_print.c (dst_s_get_int16): Likewise.
1192 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1193 * resolv/res_init.c (__res_vinit): Likewise.
1194 (net_mask): Likewise.
1195 * resolv/res_mkquery.c (outchar): Likewise.
1196 (PRINT): Likewise.
1197 * stdio-common/printf_fp.c (outchar): Likewise.
1198 (PRINT): Likewise.
1199 * stdio-common/printf_fphex.c (outchar): Likewise.
1200 (PRINT): Likewise.
1201 * stdio-common/printf_size.c (outchar): Likewise.
1202 (PRINT): Likewise.
1203 * stdio-common/test_rdwr.c (main): Likewise.
1204 * stdio-common/tfformat.c (matches): Likewise.
1205 * stdio-common/vfprintf.c (outchar): Likewise.
1206 (printf_unknown): Likewise.
1207 (buffered_vfprintf): Likewise.
1208 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
1209 * stdio-common/xbug.c (AppendToBuffer): Likewise.
1210 (ReadFile): Likewise.
1211 * stdlib/qsort.c (SWAP): Likewise.
1212 (_quicksort): Likewise.
1213 * stdlib/setenv.c (__add_to_environ): Likewise.
1214 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
1215 * stdlib/strtol_l.c (__strtol_l): Likewise.
1216 * stdlib/tst-strtod.c (main): Likewise.
1217 * stdlib/tst-strtol.c (main): Likewise.
1218 * stdlib/tst-strtoll.c (main): Likewise.
1219 * string/bits/string2.h (__strcmp_cc): Likewise.
1220 (__strcmp_cg): Likewise.
1221 (__strcspn_c1): Likewise.
1222 (__strcspn_c2): Likewise.
1223 (__strcspn_c3): Likewise.
1224 (__strspn_c1): Likewise.
1225 (__strspn_c2): Likewise.
1226 (__strspn_c3): Likewise.
1227 (__strsep_1c): Likewise.
1228 (__strsep_2c): Likewise.
1229 (__strsep_3c): Likewise.
1230 * string/memccpy.c (__memccpy): Likewise.
1231 * string/stpcpy.c (__stpcpy): Likewise.
1232 * string/strcmp.c (strcmp): Likewise.
1233 * string/strrchr.c (strrchr): Likewise.
1234 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
1235 Likewise.
1236 * sysdeps/mach/hurd/getcwd.c
1237 (_hurd_canonicalize_directory_name_internal): Likewise.
1238 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
1239 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
1240 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
1241 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
1242 Likewise, in both definitions.
1243 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
1244 definitions.
1245 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
1246 64] (__bswap_64): Likewise.
1247 * time/test_time.c (main): Likewise.
1248 * time/tzfile.c (__tzfile_read): Likewise.
1249 (__tzfile_compute): Likewise.
1250 * time/tzset.c (__tzset_parse_tz): Likewise.
1251 (tzset_internal): Likewise.
1252 (compute_change): Likewise.
1253 * wcsmbs/wcscat.c (__wcscat): Likewise.
1254 * wcsmbs/wcschr.c (wcschr): Likewise.
1255 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
1256 * wcsmbs/wcscspn.c (wcscspn): Likewise.
1257 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
1258 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
1259 * wcsmbs/wcsspn.c (wcsspn): Likewise.
1260 * wcsmbs/wcsstr.c (wcsstr): Likewise.
1261 * wcsmbs/wmemchr.c (wmemchr): Likewise.
1262 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
1263 * wcsmbs/wmemset.c (wmemset): Likewise.
1264
9e54314b
JM
12652013-06-06 Joseph Myers <joseph@codesourcery.com>
1266
1267 * scripts/config.guess: Update to version 2013-05-16.
1268 * scripts/config.sub: Update to version 2013-04-24.
1269 * scripts/install-sh: Update to version 2011-11-20.07.
1270 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
1271 * scripts/move-if-change: Update to version 2012-01-06 07:23.
1272
350635a5
OB
12732013-06-06 Ondřej Bílka <neleai@seznam.cz>
1274
1275 * debug/fgetws_u_chk.c: Fix leading whitespaces.
1276 * elf/sln.c: Likewise.
1277 * hurd/hurd/ioctl.h: Likewise.
1278 * hurd/hurdmalloc.c: Likewise.
1279 * hurd/xattr.c: Likewise.
1280 * include/shlib-compat.h: Likewise.
1281 * inet/ruserpass.c: Likewise.
1282 * libio/iofgets_u.c: Likewise.
1283 * libio/iofgetws_u.c: Likewise.
1284 * locale/programs/ld-identification.c: Likewise.
1285 * locale/programs/ld-time.c: Likewise.
1286 * mach/msg-destroy.c: Likewise.
1287 * nss/nss_files/files-netgrp.c: Likewise.
1288 * resolv/res_data.c: Likewise.
1289 * soft-fp/op-1.h: Likewise.
1290 * soft-fp/op-2.h: Likewise.
1291 * soft-fp/op-4.h: Likewise.
1292 * soft-fp/op-common.h: Likewise.
1293 * stdio-common/printf_fphex.c: Likewise.
1294 * stdlib/strtod_l.c: Likewise.
1295 * sunrpc/rpc/clnt.h: Likewise.
1296 * sysdeps/generic/framestate.c: Likewise.
1297 * sysdeps/i386/bsd-_setjmp.S: Likewise.
1298 * sysdeps/i386/bsd-setjmp.S: Likewise.
1299 * sysdeps/i386/__longjmp.S: Likewise.
1300 * sysdeps/i386/setjmp.S: Likewise.
1301 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1302 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1303 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1304 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1305 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1306 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
1307 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1308 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1309 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1310 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
1311 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1312 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1313 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1314 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1315 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1316 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1317 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1318 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
1319 * sysdeps/ieee754/support.c: Likewise.
1320 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1321 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
1322 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
1323 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
1324 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
1325 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
1326 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
1327 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
1328 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
1329 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
1330 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
1331 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
1332 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
1333 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
1334 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
1335 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
1336 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1338
44a988af
OB
13392013-06-05 Ondřej Bílka <neleai@seznam.cz>
1340
25506f09 1341 * posix/transbug.c: Remove executable mode.
44a988af 1342
9c84384c
JM
13432013-06-05 Joseph Myers <joseph@codesourcery.com>
1344
1345 * crypt/speeds.c: Remove trailing whitespace.
1346 * dlfcn/default.c: Likewise.
1347 * elf/ifuncdep2.c: Likewise.
1348 * elf/ifuncmain1.c: Likewise.
1349 * elf/ifuncmain1vis.c: Likewise.
1350 * elf/testobj.h: Likewise.
1351 * elf/tst-stackguard1.c: Likewise.
1352 * gmon/sys/gmon.h: Likewise.
1353 * hurd/hurdmsg.c: Likewise.
1354 * hurd/new-fd.c: Likewise.
1355 * hurd/ports-get.c: Likewise.
1356 * iconvdata/ibm1008_420.c: Likewise.
1357 * inet/tst-getni1.c: Likewise.
1358 * inet/tst-getni2.c: Likewise.
1359 * libio/ioungetc.c: Likewise.
1360 * libio/wfiledoalloc.c: Likewise.
1361 * manual/libm-err-tab.pl: Likewise.
1362 * math/w_dremf.c: Likewise.
1363 * misc/ftruncate.c: Likewise.
1364 * posix/bug-glob2.c: Likewise.
1365 * posix/tst-pcre.c: Likewise.
1366 * posix/wait4.c: Likewise.
1367 * resolv/README: Likewise.
1368 * resolv/res_debug.h: Likewise.
1369 * resolv/tst-inet_ntop.c: Likewise.
1370 * setjmp/bug269-setjmp.c: Likewise.
1371 * soft-fp/extended.h: Likewise.
1372 * soft-fp/op-1.h: Likewise.
1373 * soft-fp/op-2.h: Likewise.
1374 * soft-fp/op-4.h: Likewise.
1375 * soft-fp/op-8.h: Likewise.
1376 * soft-fp/testit.c: Likewise.
1377 * stdio-common/bug16.c: Likewise.
1378 * stdlib/random.c: Likewise.
1379 * sunrpc/rpcsvc/rquota.x: Likewise.
1380 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
1381 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1382 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1383 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1384 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1385 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1386 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1387 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1388 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1389 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1390 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1391 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1392 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1393 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1394 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1395 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1396 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1397 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1398 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1399 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1400 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1401 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1402 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
1403 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
1404 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
1405 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
1406 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1407 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
1408 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1409 * sysdeps/ieee754/s_lib_version.c: Likewise.
1410 * sysdeps/mach/hurd/check_fds.c: Likewise.
1411 * sysdeps/mach/hurd/getsockname.c: Likewise.
1412 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
1413 * sysdeps/mach/hurd/recvfrom.c: Likewise.
1414 * sysdeps/powerpc/bits/link.h: Likewise.
1415 * sysdeps/powerpc/dl-procinfo.c: Likewise.
1416 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
1417 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
1418 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
1419 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1420 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
1421 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
1422 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
1423 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
1424 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
1425 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
1426 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
1427 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
1428 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
1429 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
1430 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
1431 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1432 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1433 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
1434 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
1435 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
1436 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
1437 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1438 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
1439 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
1440 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1441 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1442 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
1443 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
1444 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1445 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1446 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1447 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1448 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1449 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
1450 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
1451 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
1452 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1453 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1454 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
1455 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
1456 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
1457 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
1458 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
1459 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1460 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
1461 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
1462 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1463 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
1464 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
1465 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1466 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1467 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1468 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1469 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
1470 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1471 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1472 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1473 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
1474 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1475 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
1476 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
1477 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
1478 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1479 * sysdeps/powerpc/sysdep.h: Likewise.
1480 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1481 * sysdeps/s390/s390-64/sub_n.S: Likewise.
1482 * sysdeps/sh/dl-trampoline.S: Likewise.
1483 * sysdeps/sh/memset.S: Likewise.
1484 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
1485 * sysdeps/sh/strlen.S: Likewise.
1486 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
1487 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
1488 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
1489 * sysdeps/sparc/sparc32/rem.S: Likewise.
1490 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
1491 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
1492 * sysdeps/sparc/sparc32/strchr.S: Likewise.
1493 * sysdeps/sparc/sparc32/udiv.S: Likewise.
1494 * sysdeps/sparc/sparc32/urem.S: Likewise.
1495 * sysdeps/sparc/sparc64/add_n.S: Likewise.
1496 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1497 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
1498 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
1499 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
1500 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
1501 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
1502 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
1503 * sysdeps/unix/bsd/times.c: Likewise.
1504 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
1505 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
1506 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1509 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
1510 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
1511 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
1512 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
1513 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
1514 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
1515 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1516 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
1517 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1518 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1519 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
1520 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1521 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
1522 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
1523 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
1524 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
1525 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
1526 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1527 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
1528 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
1529 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1530 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
1531 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1532 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
1533 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
1534 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
1535 * sysdeps/x86_64/strcspn.S: Likewise.
1536
869378a5
RA
15372013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1538
1539 * locale/C-translit.h: Revert #include <stdint.h> because this is a
1540 generated file. Regenerate properly from gen-translit.pl.
1541 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
1542 locale/C-translit.h.
1543
840e2943
AS
15442013-06-05 Andreas Schwab <schwab@suse.de>
1545
1546 [BZ #15100]
1547 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
1548 week as 6 instead of -1.
1549 * time/tst-strptime.c (day_tests): Add test case.
1550
4c60cb0c
SP
15512013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1552
1553 * sysdeps/generic/math_private.h
1554 (libc_feholdexcept_setround_53bit): Replace with
1555 libc_feholdsetround_53bit.
1556 (libc_feupdateenv_53bit): Replace with
1557 libc_feresetround_53bit.
1558 (SET_RESTORE_ROUND_53BIT): Adjust.
1559
d180203e
SP
15602013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1561
96df079a
SP
1562 * string/test-strchrnul.c: Add copyright header.
1563
d180203e
SP
1564 * posix/tst-getaddrinfo4.c: Increase test timeout.
1565
8b0ccb2d
CD
15662013-06-03 Carlos O'Donell <carlos@redhat.com>
1567
1568 [BZ #15536]
1569 * math/libm-test.inc (MAX_EXP): Remove
1570 (MIN_EXP): Define.
1571 (ulp): Use MIN_EXP - MANT_DIG.
1572 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
1573
3b3c4d40
CD
15742013-05-31 Carlos O'Donell <carlos@redhat.com>
1575
1576 * po/be.po: Revert last change.
1577 * po/zh_CN.po: Likewise.
1578 * po/header.pot: Likewise.
1579
fab7ce3f
JM
15802013-05-31 Joseph Myers <joseph@codesourcery.com>
1581
1582 * Makefile ($(common-objpfx)linkobj/libc.so): Define
1583 link-libc-deps to empty as target-specific variable.
1584 * Makerules (link-libc-args): New variable.
1585 (libc-for-link): Likewise.
1586 (link-libc-deps): Likewise.
1587 (lib%.so): Depend on $(link-libc-deps). Link with
1588 $(link-libc-args).
1589 (build-module): Link with $(link-libc-args).
1590 (build-module-asneeded): Likewise.
1591 (build-module-helper-objlist): Filter out $(link-libc-deps) from
1592 list of objects.
1593 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
1594 target-specific variable.
1595 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
1596 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
1597 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
1598 libc.
1599 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
1600 libc and ld.so.
1601 ($(objpfx)libpcprofile.so): Likewise.
1602 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
1603 libc_nonshared.a.
1604 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
1605 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
1606 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
1607 $(link-libc-deps).
1608 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
1609 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
1610 * login/Makefile ($(objpfx)libutil.so): Likewise.
1611 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
1612 * math/Makefile ($(objpfx)libm.so): Likewise.
1613 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
1614 $(objpfx)libnsl.so): Define libc-for-link as target-specific
1615 variable instead of depending directly on libc.
1616 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
1617 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
1618 $(link-libc-deps).
1619 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
1620 libc.
1621 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
1622 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
1623 ($(objpfx)libanl.so): Likewise.
1624 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
1625 ld.so.
1626 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
1627 $(link-libc-deps).
1628 * sysdeps/i386/fpu/Makefile: Remove file.
1629 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
1630 ($(objpfx)libm.so): Remove dependency on ld.so.
1631
eca5920c
PF
16322013-05-30 Patsy Franklin <pfrankli@redhat.com>
1633
1634 [BZ # 15553]
1635 * nis/yp_xdr.c (XDRMAXNAME): Define.
1636 (XDRMAXRECORD): Define.
1637 (xdr_domainname): Use XDRMAXNAME.
1638 (xdr_mapname): Likewise.
1639 (xdr_peername): Likewise.
1640 (xdr_keydat): Use XDRMAXRECORD.
1641 (xdr_valdat): Likewise.
1642
16432013-05-30 Jeff Law <law@redhat.com>
96945714
JL
1644
1645 [BZ #14256]
1646 * manual/errno.texi (ESTALE): Update to account for more than
1647 just NFS file systems.
1648 * sysdeps/gnu/errlist.c: Regenerated.
1649
b9375348
SP
16502013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1651
1652 [BZ #15465]
1653 * elf/Makefile (tests): Add tst-null-argv.
1654 (modules-names): Add tst-null-argv-lib.
1655 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
1656 (tst-null-argv-ENV): Set environment for tst-null-argv.
1657 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
1658 (RTLD_PROGNAME): New macro.
1659 * elf/tst-null-argv.c: New test case.
1660 * elf/tst-null-argv-lib.c: Library for test case.
1661 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
1662 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
1663 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
1664 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
1665 * elf/dl-init.c (call_init): Likewise.
1666 (_dl_init): Likewise.
1667 * elf/dl-load.c (print_search_path): Likewise.
1668 (_dl_map_object): Likewise.
1669 * elf/dl-lookup.c (do_lookup_x): Likewise.
1670 (add_dependency): Likewise.
1671 (_dl_lookup_symbol_x): Likewise.
1672 (_dl_debug_bindings): Likewise.
1673 * elf/dl-open.c (_dl_show_scope): Likewise.
1674 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
1675 * elf/dl-version.c (match_symbol): Likewise.
1676 (_dl_check_map_versions): Likewise.
1677 * elf/rtld.c (dl_main): Likewise.
1678 (print_unresolved): Use RTLD_PROGNAME.
1679 (print_missing_version): Likewise.
1680 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
1681 (elf_machine_rela): Likewise.
1682 * sysdeps/powerpc/powerpc32/dl-machine.c
1683 (__process_machine_rela): Likewise.
1684 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
1685 Likewise.
1686 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1687 Likewise.
1688 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
1689 Likewise.
1690 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
1691 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
1692 Likewise.
1693 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
1694 Likewise.
1695 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1696
8a9f20c8
CD
16972013-05-28 Carlos O'Donell <carlos@redhat.com>
1698
1699 * po/be.po: Add descriptive title.
1700 * po/zh_CN.po: Likewise.
1701 * po/header.pot: Likewise.
1702
0e60d68e
MF
17032013-05-28 Mike Frysinger <vapier@gentoo.org>
1704
1705 * locale/programs/locarchive.c (create_archive): Inlucde fname in
1706 error message.
1707 (enlarge_archive): Likewise.
1708
56b672e9
BN
17092013-05-28 Ben North <ben@redfrontdoor.org>
1710
1711 * manual/arith.texi (frexp): It is the magnitude of the return
1712 value which lies in [0.5, 1), not the return value itself.
1713
5e056687
AZ
17142013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1715
1716 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1717
2b66ef5d
TS
17182013-05-26 Thomas Schwinge <thomas@codesourcery.com>
1719
528c2405
TS
1720 * stdio-common/bug26.c (main): Correct fscanf template.
1721
07b4c13d
TS
1722 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
1723 declare _dl_skip_args.
1724
ec9dd97c
TS
1725 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
1726 Don't declare.
1727
2b66ef5d
TS
1728 * manual/platform.texi: Add missing @end deftypefun.
1729
4f8dfe27
JM
17302013-05-24 Joseph Myers <joseph@codesourcery.com>
1731
0323d086
JM
1732 [BZ #15529]
1733 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
1734 bit of mantissa of 2^16382.
1735 * math/libm-test.inc (hypot_test_data): Add more tests.
1736
dd4259b9
JM
1737 * math/libm-test.inc: Add drem and pow10 to list of tested
1738 functions.
1739 (pow10_test): New function.
1740 (drem_test): Likewise.
1741 (drem_test_tonearest): Likewise.
1742 (drem_test_towardzero): Likewise.
1743 (drem_test_downward): Likewise.
1744 (drem_test_upward): Likewise.
1745 (main): Call the new functions.
1746
4f8dfe27
JM
1747 * math/libm-test.inc (finite_test_data): Remove.
1748 (finite_test): Run tests from isfinite_test_data.
1749 (gamma_test_data): Remove.
1750 (gamma_test): Run tests from lgamma_test_data.
1751 * sysdeps/i386/fpu/libm-test-ulps: Update.
1752 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1753
d116b7c4
AZ
17542013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1755
1756 * manual/platform.texi: Add PowerPC PPR function set documentation.
1757 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
1758 implementation.
1759
e96e3767
CD
17602013-05-24 Carlos O'Donell <carlos@redhat.com>
1761
1762 * math/libm-test.inc (MAX_EXP): Define.
1763 (ULPDIFF): Define.
1764 (ulp): New function.
1765 (check_float_internal): Use ULPDIFF.
1766 (cpow_test): Disable failing test.
1767 (check_ulp): Test ulp() implemetnation.
1768 (main): Call check_ulp before starting tests.
1769
b679a606
JM
17702013-05-24 Joseph Myers <joseph@codesourcery.com>
1771
e8bdba36
JM
1772 * math/gen-libm-test.pl (generate_testfile): Do not handle
1773 START_DATA and END_DATA.
1774 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
1775 END_DATA.
1776 (acos_tonearest_test_data): Likewise.
1777 (acos_towardzero_test_data): Likewise.
1778 (acos_downward_test_data): Likewise.
1779 (acos_upward_test_data): Likewise.
1780 (acosh_test_data): Likewise.
1781 (asin_test_data): Likewise.
1782 (asin_tonearest_test_data): Likewise.
1783 (asin_towardzero_test_data): Likewise.
1784 (asin_downward_test_data): Likewise.
1785 (asin_upward_test_data): Likewise.
1786 (asinh_test_data): Likewise.
1787 (atan_test_data): Likewise.
1788 (atanh_test_data): Likewise.
1789 (atan2_test_data): Likewise.
1790 (cabs_test_data): Likewise.
1791 (cacos_test_data): Likewise.
1792 (cacosh_test_data): Likewise.
1793 (carg_test_data): Likewise.
1794 (casin_test_data): Likewise.
1795 (casinh_test_data): Likewise.
1796 (catan_test_data): Likewise.
1797 (catanh_test_data): Likewise.
1798 (cbrt_test_data): Likewise.
1799 (ccos_test_data): Likewise.
1800 (ccosh_test_data): Likewise.
1801 (ceil_test_data): Likewise.
1802 (cexp_test_data): Likewise.
1803 (cimag_test_data): Likewise.
1804 (clog_test_data): Likewise.
1805 (clog10_test_data): Likewise.
1806 (conj_test_data): Likewise.
1807 (copysign_test_data): Likewise.
1808 (cos_test_data): Likewise.
1809 (cos_tonearest_test_data): Likewise.
1810 (cos_towardzero_test_data): Likewise.
1811 (cos_downward_test_data): Likewise.
1812 (cos_upward_test_data): Likewise.
1813 (cosh_test_data): Likewise.
1814 (cosh_tonearest_test_data): Likewise.
1815 (cosh_towardzero_test_data): Likewise.
1816 (cosh_downward_test_data): Likewise.
1817 (cosh_upward_test_data): Likewise.
1818 (cpow_test_data): Likewise.
1819 (cproj_test_data): Likewise.
1820 (creal_test_data): Likewise.
1821 (csin_test_data): Likewise.
1822 (csinh_test_data): Likewise.
1823 (csqrt_test_data): Likewise.
1824 (ctan_test_data): Likewise.
1825 (ctan_tonearest_test_data): Likewise.
1826 (ctan_towardzero_test_data): Likewise.
1827 (ctan_downward_test_data): Likewise.
1828 (ctan_upward_test_data): Likewise.
1829 (ctanh_test_data): Likewise.
1830 (ctanh_tonearest_test_data): Likewise.
1831 (ctanh_towardzero_test_data): Likewise.
1832 (ctanh_downward_test_data): Likewise.
1833 (ctanh_upward_test_data): Likewise.
1834 (erf_test_data): Likewise.
1835 (erfc_test_data): Likewise.
1836 (exp_test_data): Likewise.
1837 (exp_tonearest_test_data): Likewise.
1838 (exp_towardzero_test_data): Likewise.
1839 (exp_downward_test_data): Likewise.
1840 (exp_upward_test_data): Likewise.
1841 (exp10_test_data): Likewise.
1842 (exp2_test_data): Likewise.
1843 (expm1_test_data): Likewise.
1844 (fabs_test_data): Likewise.
1845 (fdim_test_data): Likewise.
1846 (finite_test_data): Likewise.
1847 (floor_test_data): Likewise.
1848 (fma_test_data): Likewise.
1849 (fma_towardzero_test_data): Likewise.
1850 (fma_downward_test_data): Likewise.
1851 (fma_upward_test_data): Likewise.
1852 (fmax_test_data): Likewise.
1853 (fmin_test_data): Likewise.
1854 (fmod_test_data): Likewise.
1855 (fpclassify_test_data): Likewise.
1856 (frexp_test_data): Likewise.
1857 (gamma_test_data): Likewise.
1858 (hypot_test_data): Likewise.
1859 (ilogb_test_data): Likewise.
1860 (isfinite_test_data): Likewise.
1861 (isgreater_test_data): Likewise.
1862 (isgreaterequal_test_data): Likewise.
1863 (isinf_test_data): Likewise.
1864 (isless_test_data): Likewise.
1865 (islessequal_test_data): Likewise.
1866 (islessgreater_test_data): Likewise.
1867 (isnan_test_data): Likewise.
1868 (isnormal_test_data): Likewise.
1869 (issignaling_test_data): Likewise.
1870 (isunordered_test_data): Likewise.
1871 (j0_test_data): Likewise.
1872 (j1_test_data): Likewise.
1873 (jn_test_data): Likewise.
1874 (ldexp_test_data): Likewise.
1875 (lgamma_test_data): Likewise.
1876 (lrint_test_data): Likewise.
1877 (lrint_tonearest_test_data): Likewise.
1878 (lrint_towardzero_test_data): Likewise.
1879 (lrint_downward_test_data): Likewise.
1880 (lrint_upward_test_data): Likewise.
1881 (llrint_test_data): Likewise.
1882 (llrint_tonearest_test_data): Likewise.
1883 (llrint_towardzero_test_data): Likewise.
1884 (llrint_downward_test_data): Likewise.
1885 (llrint_upward_test_data): Likewise.
1886 (log_test_data): Likewise.
1887 (log10_test_data): Likewise.
1888 (log1p_test_data): Likewise.
1889 (log2_test_data): Likewise.
1890 (logb_test_data): Likewise.
1891 (logb_downward_test_data): Likewise.
1892 (lround_test_data): Likewise.
1893 (llround_test_data): Likewise.
1894 (modf_test_data): Likewise.
1895 (nearbyint_test_data): Likewise.
1896 (nextafter_test_data): Likewise.
1897 (nexttoward_test_data): Likewise.
1898 (pow_test_data): Likewise.
1899 (pow_tonearest_test_data): Likewise.
1900 (pow_towardzero_test_data): Likewise.
1901 (pow_downward_test_data): Likewise.
1902 (pow_upward_test_data): Likewise.
1903 (remainder_test_data): Likewise.
1904 (remainder_tonearest_test_data): Likewise.
1905 (remainder_towardzero_test_data): Likewise.
1906 (remainder_downward_test_data): Likewise.
1907 (remainder_upward_test_data): Likewise.
1908 (remquo_test_data): Likewise.
1909 (rint_test_data): Likewise.
1910 (rint_tonearest_test_data): Likewise.
1911 (rint_towardzero_test_data): Likewise.
1912 (rint_downward_test_data): Likewise.
1913 (rint_upward_test_data): Likewise.
1914 (round_test_data): Likewise.
1915 (scalb_test_data): Likewise.
1916 (scalbn_test_data): Likewise.
1917 (scalbln_test_data): Likewise.
1918 (signbit_test_data): Likewise.
1919 (sin_test_data): Likewise.
1920 (sin_tonearest_test_data): Likewise.
1921 (sin_towardzero_test_data): Likewise.
1922 (sin_downward_test_data): Likewise.
1923 (sin_upward_test_data): Likewise.
1924 (sincos_test_data): Likewise.
1925 (sinh_test_data): Likewise.
1926 (sinh_tonearest_test_data): Likewise.
1927 (sinh_towardzero_test_data): Likewise.
1928 (sinh_downward_test_data): Likewise.
1929 (sinh_upward_test_data): Likewise.
1930 (sqrt_test_data): Likewise.
1931 (tan_test_data): Likewise.
1932 (tan_tonearest_test_data): Likewise.
1933 (tan_towardzero_test_data): Likewise.
1934 (tan_downward_test_data): Likewise.
1935 (tan_upward_test_data): Likewise.
1936 (tanh_test_data): Likewise.
1937 (tgamma_test_data): Likewise.
1938 (trunc_test_data): Likewise.
1939 (y0_test_data): Likewise.
1940 (y1_test_data): Likewise.
1941 (yn_test_data): Likewise.
1942 (significand_test_data): Likewise.
1943
b679a606
JM
1944 * math/gen-libm-test.pl (@functions): Remove variable.
1945 (generate_testfile): Don't handle START and END lines.
1946 * math/libm-test.inc (START): New macro.
1947 (END): Likewise.
1948 (END_COMPLEX): Likewise.
1949 (acos_test): Use END macro without arguments.
1950 (acos_test_tonearest): Likewise.
1951 (acos_test_towardzero): Likewise.
1952 (acos_test_downward): Likewise.
1953 (acos_test_upward): Likewise.
1954 (acosh_test): Likewise.
1955 (asin_test): Likewise.
1956 (asin_test_tonearest): Likewise.
1957 (asin_test_towardzero): Likewise.
1958 (asin_test_downward): Likewise.
1959 (asin_test_upward): Likewise.
1960 (asinh_test): Likewise.
1961 (atan_test): Likewise.
1962 (atanh_test): Likewise.
1963 (atan2_test): Likewise.
1964 (cabs_test): Likewise.
1965 (cacos_test): Use END_COMPLEX macro without arguments.
1966 (cacosh_test): Likewise.
1967 (carg_test): Use END macro without arguments.
1968 (casin_test): Use END_COMPLEX macro without arguments.
1969 (casinh_test): Likewise.
1970 (catan_test): Likewise.
1971 (catanh_test): Likewise.
1972 (cbrt_test): Use END macro without arguments.
1973 (ccos_test): Use END_COMPLEX macro without arguments.
1974 (ccosh_test): Likewise.
1975 (ceil_test): Use END macro without arguments.
1976 (cexp_test): Use END_COMPLEX macro without arguments.
1977 (cimag_test): Use END macro without arguments.
1978 (clog_test): Use END_COMPLEX macro without arguments.
1979 (clog10_test): Likewise.
1980 (conj_test): Likewise.
1981 (copysign_test): Use END macro without arguments.
1982 (cos_test): Likewise.
1983 (cos_test_tonearest): Likewise.
1984 (cos_test_towardzero): Likewise.
1985 (cos_test_downward): Likewise.
1986 (cos_test_upward): Likewise.
1987 (cosh_test): Likewise.
1988 (cosh_test_tonearest): Likewise.
1989 (cosh_test_towardzero): Likewise.
1990 (cosh_test_downward): Likewise.
1991 (cosh_test_upward): Likewise.
1992 (cpow_test): Use END_COMPLEX macro without arguments.
1993 (cproj_test): Likewise.
1994 (creal_test): Use END macro without arguments.
1995 (csin_test): Use END_COMPLEX macro without arguments.
1996 (csinh_test): Likewise.
1997 (csqrt_test): Likewise.
1998 (ctan_test): Likewise.
1999 (ctan_test_tonearest): Likewise.
2000 (ctan_test_towardzero): Likewise.
2001 (ctan_test_downward): Likewise.
2002 (ctan_test_upward): Likewise.
2003 (ctanh_test): Likewise.
2004 (ctanh_test_tonearest): Likewise.
2005 (ctanh_test_towardzero): Likewise.
2006 (ctanh_test_downward): Likewise.
2007 (ctanh_test_upward): Likewise.
2008 (erf_test): Use END macro without arguments.
2009 (erfc_test): Likewise.
2010 (exp_test): Likewise.
2011 (exp_test_tonearest): Likewise.
2012 (exp_test_towardzero): Likewise.
2013 (exp_test_downward): Likewise.
2014 (exp_test_upward): Likewise.
2015 (exp10_test): Likewise.
2016 (exp2_test): Likewise.
2017 (expm1_test): Likewise.
2018 (fabs_test): Likewise.
2019 (fdim_test): Likewise.
2020 (finite_test): Likewise.
2021 (floor_test): Likewise.
2022 (fma_test): Likewise.
2023 (fma_test_towardzero): Likewise.
2024 (fma_test_downward): Likewise.
2025 (fma_test_upward): Likewise.
2026 (fmax_test): Likewise.
2027 (fmin_test): Likewise.
2028 (fmod_test): Likewise.
2029 (fpclassify_test): Likewise.
2030 (frexp_test): Likewise.
2031 (gamma_test): Likewise.
2032 (hypot_test): Likewise.
2033 (ilogb_test): Likewise.
2034 (isfinite_test): Likewise.
2035 (isgreater_test): Likewise.
2036 (isgreaterequal_test): Likewise.
2037 (isinf_test): Likewise.
2038 (isless_test): Likewise.
2039 (islessequal_test): Likewise.
2040 (islessgreater_test): Likewise.
2041 (isnan_test): Likewise.
2042 (isnormal_test): Likewise.
2043 (issignaling_test): Likewise.
2044 (isunordered_test): Likewise.
2045 (j0_test): Likewise.
2046 (j1_test): Likewise.
2047 (jn_test): Likewise.
2048 (ldexp_test): Likewise.
2049 (lgamma_test): Likewise.
2050 (lrint_test): Likewise.
2051 (lrint_test_tonearest): Likewise.
2052 (lrint_test_towardzero): Likewise.
2053 (lrint_test_downward): Likewise.
2054 (lrint_test_upward): Likewise.
2055 (llrint_test): Likewise.
2056 (llrint_test_tonearest): Likewise.
2057 (llrint_test_towardzero): Likewise.
2058 (llrint_test_downward): Likewise.
2059 (llrint_test_upward): Likewise.
2060 (log_test): Likewise.
2061 (log10_test): Likewise.
2062 (log1p_test): Likewise.
2063 (log2_test): Likewise.
2064 (logb_test): Likewise.
2065 (logb_test_downward): Likewise.
2066 (lround_test): Likewise.
2067 (llround_test): Likewise.
2068 (modf_test): Likewise.
2069 (nearbyint_test): Likewise.
2070 (nextafter_test): Likewise.
2071 (nexttoward_test): Likewise.
2072 (pow_test): Likewise.
2073 (pow_test_tonearest): Likewise.
2074 (pow_test_towardzero): Likewise.
2075 (pow_test_downward): Likewise.
2076 (pow_test_upward): Likewise.
2077 (remainder_test): Likewise.
2078 (remainder_test_tonearest): Likewise.
2079 (remainder_test_towardzero): Likewise.
2080 (remainder_test_downward): Likewise.
2081 (remainder_test_upward): Likewise.
2082 (remquo_test): Likewise.
2083 (rint_test): Likewise.
2084 (rint_test_tonearest): Likewise.
2085 (rint_test_towardzero): Likewise.
2086 (rint_test_downward): Likewise.
2087 (rint_test_upward): Likewise.
2088 (round_test): Likewise.
2089 (scalb_test): Likewise.
2090 (scalbn_test): Likewise.
2091 (scalbln_test): Likewise.
2092 (signbit_test): Likewise.
2093 (sin_test): Likewise.
2094 (sin_test_tonearest): Likewise.
2095 (sin_test_towardzero): Likewise.
2096 (sin_test_downward): Likewise.
2097 (sin_test_upward): Likewise.
2098 (sincos_test): Likewise.
2099 (sinh_test): Likewise.
2100 (sinh_test_tonearest): Likewise.
2101 (sinh_test_towardzero): Likewise.
2102 (sinh_test_downward): Likewise.
2103 (sinh_test_upward): Likewise.
2104 (sqrt_test): Likewise.
2105 (tan_test): Likewise.
2106 (tan_test_tonearest): Likewise.
2107 (tan_test_towardzero): Likewise.
2108 (tan_test_downward): Likewise.
2109 (tan_test_upward): Likewise.
2110 (tanh_test): Likewise.
2111 (tgamma_test): Likewise.
2112 (trunc_test): Likewise.
2113 (y0_test): Likewise.
2114 (y1_test): Likewise.
2115 (yn_test): Likewise.
2116 (significand_test): Likewise.
2117
bae143d2
OB
21182013-05-24 Ondřej Bílka <neleai@seznam.cz>
2119
2120 [BZ #15381]
2121 * libio/genops.c (_IO_no_init): Initialize wide struct info.
2122
9323d39b
EM
21232013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
2124
d4ea44a0 2125 [BZ #14894]
9323d39b
EM
2126 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
2127 __ppc_mdoio and __ppc_mdoom.
2128 * manual/platform.texi: Document new functions __ppc_yield,
2129 __ppc_mdoio and __ppc_mdoom.
2130
13e23af7
CD
21312013-05-22 Carlos O'Donell <carlos@redhat.com>
2132
2133 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
2134 (main): Mention "tls" pseudo-hwcap is legacy.
2135 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
2136
351fe550
JM
21372013-05-22 Joseph Myers <joseph@codesourcery.com>
2138
2139 * math/gen-libm-test.pl (parse_args): Output only string of
2140 arguments as text for test name, not full call or descriptions of
2141 tests for extra outputs.
2142 (generate_testfile): Do not pass function name to parse_args.
2143 Generate this_func variable from START.
2144 * math/libm-test.inc (struct test_f_f_data): Rename test_name
2145 field to arg_str.
2146 (struct test_ff_f_data): Likewise.
2147 (test_ff_f_data_nexttoward): Likewise.
2148 (struct test_fi_f_data): Likewise.
2149 (struct test_fl_f_data): Likewise.
2150 (struct test_if_f_data): Likewise.
2151 (struct test_fff_f_data): Likewise.
2152 (struct test_c_f_data): Likewise.
2153 (struct test_f_f1_data): Likewise. Remove field extra_name.
2154 (struct test_fF_f1_data): Likewise.
2155 (struct test_ffI_f1_data): Likewise.
2156 (struct test_c_c_data): Rename test_name field to arg_str.
2157 (struct test_cc_c_data): Likewise.
2158 (struct test_f_i_data): Likewise.
2159 (struct test_ff_i_data): Likewise.
2160 (struct test_f_l_data): Likewise.
2161 (struct test_f_L_data): Likewise.
2162 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
2163 and extra2_name.
2164 (COMMON_TEST_SETUP): New macro.
2165 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
2166 (COMMON_TEST_CLEANUP): Likewise.
2167 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
2168 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
2169 macros.
2170 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
2171 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
2172 macros.
2173 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
2174 (RUN_TEST_fff_f): Take argument string. Call new setup and
2175 cleanup macros.
2176 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
2177 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
2178 macros.
2179 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
2180 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
2181 macros.
2182 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2183 (RUN_TEST_fF_f1): Take argument string. Call new setup and
2184 cleanup macros.
2185 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2186 (RUN_TEST_fI_f1): Take argument string. Call new setup and
2187 cleanup macros.
2188 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2189 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
2190 cleanup macros.
2191 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2192 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
2193 macros.
2194 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
2195 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
2196 macros.
2197 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
2198 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
2199 macros.
2200 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
2201 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
2202 cleanup macros.
2203 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
2204 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
2205 cleanup macros.
2206 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
2207 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
2208 macros.
2209 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
2210 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
2211 cleanup macros.
2212 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
2213 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
2214 macros.
2215 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
2216 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
2217 macros.
2218 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
2219 (RUN_TEST_fFF_11): Take argument string. Call new setup and
2220 cleanup macros.
2221 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
2222
85118d4d
EBM
22232013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2224
2225 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
2226 to _sifields.sigfault.
2227 (si_addr_lsb): Define new macro.
2228 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
2229 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2230 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
2231
7a44c18f
CD
22322013-05-03 Carlos O'Donell <carlos at redhat.com>
2233
2234 [BZ #15441]
2235 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
2236 returns -1.
2237 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
2238 null return -1.
2239 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
2240 loading the domain.
2241
b50a7181
JM
22422013-05-22 Joseph Myers <joseph@codesourcery.com>
2243
2244 * math/gen-libm-test.pl (parse_args): Do not include expected
2245 result in test name.
2246 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
2247 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2248 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2249 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2250 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2251 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2252
051063c8
SP
22532013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2254
3ce9e010
SP
2255 * benchtests/Makefile: Sort function entries.
2256
051063c8
SP
2257 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
2258 tanh, asinh, acosh, atanh.
2259 * benchtests/acos-inputs: New file.
2260 * benchtests/acosh-inputs: New file.
2261 * benchtests/asin-inputs: New file.
2262 * benchtests/asinh-inputs: New file.
2263 * benchtests/atanh-inputs: New file.
2264 * benchtests/cosh-inputs: New file.
2265 * benchtests/log-inputs: New file.
2266 * benchtests/sinh-inputs: New file.
2267 * benchtests/tanh-inputs: New file.
2268
47c22455
DL
22692013-05-21 Dmitry V. Levin <ldv@altlinux.org>
2270
2271 [BZ #15339]
2272 * posix/tst-getaddrinfo4.c: New test.
2273 * posix/Makefile (tests): Add it.
2274
3d04f5db
SP
22752013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2276
2277 [BZ #15339]
2278 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
2279 when no services were used.
2280 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
2281 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
2282
d5dd6189
AS
22832013-05-21 Andreas Schwab <schwab@suse.de>
2284
2285 [BZ #15014]
2286 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
2287 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
2288 successful.
2289 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
2290 redundant variable declarations and reallocation of buffer when
2291 parsing as IPv6 address. Always set NSS status when called from
2292 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
2293 buffer too small. Correct computation of needed size.
2294 * nss/Makefile (tests): Add test-digits-dots.
2295 * nss/test-digits-dots.c: New test.
2296
fef94eab
SP
22972013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2298
2299 * benchtests/Makefile: Remove instructions for adding
2300 benchmark tests.
2301 * benchtests/README: New file to explain how to execute and
2302 enhance the benchmark tests.
2303
e39adf43
AS
23042013-05-21 Andreas Schwab <schwab@suse.de>
2305
2306 [BZ #15493]
2307 * setjmp/Makefile (tests): Add tst-sigsetjmp.
2308 * setjmp/tst-sigsetjmp.c: New test.
2309
b2b671b6
OB
23102013-05-20 Ondřej Bílka <neleai@seznam.cz>
2311
2312 * sysdeps/x86_64/memset.S (memset): New implementation.
2313 (__bzero): Likewise.
2314 (__memset_tail): New function.
2315
2d48b41c
OB
23162013-05-20 Ondřej Bílka <neleai@seznam.cz>
2317
2318 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
2319 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
2320 __memcpy_sse2_unaligned ifunc selection.
2321 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2322 Add memcpy-sse2-unaligned.S.
2323 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2324 Add: __memcpy_sse2_unaligned.
2325
f16cc3eb
JM
23262013-05-19 Joseph Myers <joseph@codesourcery.com>
2327
3e694268
JM
2328 [BZ #15490]
2329 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
2330 math_force_eval before restoring floating-point envrionment.
2331 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
2332 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
2333 Likewise.
2334 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
2335 <math_private.h>.
2336 (__nearbyintl): Use math_force_eval before restoring
2337 floating-point environment.
2338 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
2339
db62a907
JM
2340 * math/gen-libm-test.pl (special_functions): Remove.
2341 (parse_args): Don't handle TEST_extra. Handle functions with no
2342 return value.
2343 * math/libm-test.inc (struct test_sincos_data): Replace with
2344 struct test_fFF_11_data.
2345 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
2346 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
2347 (sincos_test_data): Change element type to struct
2348 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
2349 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
2350 RUN_TEST_LOOP_sincos.
2351 * math/README.libm-test: Don't mention special handling of
2352 individual functions.
2353 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
2354 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2355 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2356 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2357 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2358 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2359
f16cc3eb
JM
2360 * math/gen-libm-test.pl (get_variable): Remove function.
2361 (parse_args): Don't show pointer parameters to call in test
2362 names. Use "extra output N" in test names for extra outputs
2363 rather than naming variables.
2364
3779b5b6
JM
23652013-05-18 Joseph Myers <joseph@codesourcery.com>
2366
2ee094ff
JM
2367 [BZ #15488]
2368 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
2369 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
2370 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
2371 double tests.
2372 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
2373 disable.
2374 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
2375 check_long_double.
2376
3779b5b6
JM
2377 * math/gen-libm-test.pl (@tests): Remove variable.
2378 ($count): Likewise.
2379 (new_test): Remove function.
2380 (show_exceptions): New function.
2381 (special_functions): Use show_exceptions instead of new_test.
2382 (parse_args): Likewise.
2383 (generate_testfile): Pass only function name in generated call to
2384 print_max_error or print_complex_max_error.
2385 (get_ulps): Do not handle complex tests specially.
2386 (output_test): Rename to ...
2387 (get_all_ulps_for_test): ... this. Return a string rather than
2388 printing to a file. Require ulps to be present.
2389 (output_ulps): Generate arrays rather than #defines.
2390 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
2391 (struct ulp_data): New type.
2392 (BUILD_COMPLEX_ULP): Remove macro.
2393 (compare_ulp_data): New function.
2394 (find_ulps): Likewise.
2395 (find_test_ulps): Likewise.
2396 (find_function_ulps): Likewise.
2397 (find_complex_function_ulps): Likewise.
2398 (print_max_error): Determine allowed ulps using
2399 find_function_ulps.
2400 (print_complex_max_error): Determine allowed ulps using
2401 find_complex_function_ulps.
2402 (check_float_internal): Determine max ulps using find_test_ulps.
2403 (check_float): Do not take max_ulp parameter. Update call to
2404 check_float_internal.
2405 (check_complex): Likewise.
2406 (check_int): Do not take max_ulp parameter.
2407 (check_long): Likewise.
2408 (check_bool): Likewise.
2409 (check_longlong): Likewise.
2410 (struct test_f_f_data): Remove max_ulp field.
2411 (struct test_ff_f_data): Likewise.
2412 (struct test_ff_f_data_nexttoward): Likewise.
2413 (struct test_fi_f_data): Likewise.
2414 (struct test_fl_f_data): Likewise.
2415 (struct test_if_f_data): Likewise.
2416 (struct test_fff_f_data): Likewise.
2417 (struct test_c_f_data): Likewise.
2418 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
2419 (struct test_fF_f1_data): Likewise.
2420 (struct test_ffI_f1_data): Likewise.
2421 (struct test_c_c_data): Remove max_ulp field.
2422 (struct test_cc_c_data): Likewise.
2423 (struct test_f_i_data): Likewise.
2424 (struct test_ff_i_data): Likewise.
2425 (struct test_f_l_data): Likewise.
2426 (struct test_f_L_data): Likewise.
2427 (struct test_sincos_data): Likewise.
2428 (RUN_TEST_f_f): Do not handle ulps.
2429 (RUN_TEST_LOOP_f_f): Likewise.
2430 (RUN_TEST_2_f): Likewise.
2431 (RUN_TEST_LOOP_2_f): Likewise.
2432 (RUN_TEST_fff_f): Likewise.
2433 (RUN_TEST_LOOP_fff_f): Likewise.
2434 (RUN_TEST_c_f): Likewise.
2435 (RUN_TEST_LOOP_c_f): Likewise.
2436 (RUN_TEST_f_f1): Likewise.
2437 (RUN_TEST_LOOP_f_f1): Likewise.
2438 (RUN_TEST_fF_f1): Likewise.
2439 (RUN_TEST_LOOP_fF_f1): Likewise.
2440 (RUN_TEST_fI_f1): Likewise.
2441 (RUN_TEST_LOOP_fI_f1): Likewise.
2442 (RUN_TEST_ffI_f1): Likewise.
2443 (RUN_TEST_LOOP_ffI_f1): Likewise.
2444 (RUN_TEST_c_c): Likewise.
2445 (RUN_TEST_LOOP_c_c): Likewise.
2446 (RUN_TEST_cc_c): Likewise.
2447 (RUN_TEST_LOOP_cc_c): Likewise.
2448 (RUN_TEST_f_i): Likewise.
2449 (RUN_TEST_LOOP_f_i): Likewise.
2450 (RUN_TEST_f_i_tg): Likewise.
2451 (RUN_TEST_LOOP_f_i_tg): Likewise.
2452 (RUN_TEST_ff_i_tg): Likewise.
2453 (RUN_TEST_LOOP_ff_i_tg): Likewise.
2454 (RUN_TEST_f_b): Likewise.
2455 (RUN_TEST_LOOP_f_b): Likewise.
2456 (RUN_TEST_f_b_tg): Likewise.
2457 (RUN_TEST_LOOP_f_b_tg): Likewise.
2458 (RUN_TEST_f_l): Likewise.
2459 (RUN_TEST_LOOP_f_l): Likewise.
2460 (RUN_TEST_f_L): Likewise.
2461 (RUN_TEST_LOOP_f_L): Likewise.
2462 (RUN_TEST_sincos): Likewise.
2463 (RUN_TEST_LOOP_sincos): Likewise.
2464
8269107f
JM
24652013-05-17 Joseph Myers <joseph@codesourcery.com>
2466
bb38759d
JM
2467 [BZ #15480]
2468 [BZ #15485]
2469 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
2470 main case of finite arguments, set rounding mode to FE_TONEAREST
2471 and discard exceptions.
2472 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
2473 exceptions.
2474 (remainder_tonearest_test_data): New variable.
2475 (remainder_test_tonearest): New function.
2476 (remainder_towardzero_test_data): New variable.
2477 (remainder_test_towardzero): New function.
2478 (remainder_downward_test_data): New variable.
2479 (remainder_test_downward): New function.
2480 (remainder_upward_test_data): New variable.
2481 (remainder_test_upward): New function.
2482 (main): Call the new test functions.
2483
a00bdcf0
JM
2484 * math/libm-test.inc (struct test_f_f1_data): Remove field
2485 extra_init.
2486 (struct test_fF_f1_data): Likewise.
2487 (struct test_ffI_f1_data): Likewise.
2488 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
2489 based on value of EXTRA_EXPECTED.
2490 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2491 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
2492 EXTRA_VAR based on value of EXTRA_EXPECTED.
2493 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2494 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
2495 EXTRA_VAR based on value of EXTRA_EXPECTED.
2496 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2497 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
2498 EXTRA_VAR based on value of EXTRA_EXPECTED.
2499 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2500 * math/gen-libm-test.pl (parse_args): Don't output initializers
2501 for extra output values.
2502
de407f79
JM
2503 * math/libm-test.inc (check_int): Expect result to be exactly
2504 equal to expected value and do not handle ulps.
2505 (check_long): Likewise.
2506 (check_longlong): Likewise.
2507
8269107f
JM
2508 * math/libm-test.inc (ceil_test_data): Test for "inexact"
2509 exceptions.
2510 (cimag_test_data): Likewise.
2511 (conj_test_data): Likewise.
2512 (copysign_test_data): Likewise.
2513 (cproj_test_data): Likewise.
2514 (creal_test_data): Likewise.
2515 (fabs_test_data): Likewise.
2516 (fdim_test_data): Likewise.
2517 (finite_test_data): Likewise.
2518 (floor_test_data): Likewise.
2519 (fmax_test_data): Likewise.
2520 (fmin_test_data): Likewise.
2521 (fmod_test_data): Likewise.
2522 (fpclassify_test_data): Likewise.
2523 (frexp_test_data): Likewise.
2524 (ilogb_test_data): Likewise.
2525 (isfinite_test_data): Likewise.
2526 (isgreater_test_data): Likewise.
2527 (isgreaterequal_test_data): Likewise.
2528 (isinf_test_data): Likewise.
2529 (isless_test_data): Likewise.
2530 (islessequal_test_data): Likewise.
2531 (islessgreater_test_data): Likewise.
2532 (isnan_test_data): Likewise.
2533 (isnormal_test_data): Likewise.
2534 (issignaling_test_data): Likewise.
2535 (isunordered_test_data): Likewise.
2536 (ldexp_test_data): Likewise.
2537 (lrint_test_data): Likewise.
2538 (lrint_test_data) [TEST_FLOAT]: Disable one test.
2539 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
2540 (lrint_tonearest_test_data): Test for "inexact" exceptions.
2541 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2542 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
2543 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2544 test input.
2545 (lrint_towardzero_test_data): Test for "inexact" exceptions.
2546 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2547 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
2548 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
2549 that test input.
2550 (lrint_downward_test_data): Test for "inexact" exceptions.
2551 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2552 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
2553 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2554 test input.
2555 (lrint_upward_test_data): Test for "inexact" exceptions.
2556 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
2557 test input.
2558 (llrint_test_data): Test for "inexact" exceptions.
2559 (llrint_test_data) [TEST_FLOAT]: Disable one test.
2560 (llrint_tonearest_test_data): Test for "inexact" exceptions.
2561 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2562 (llrint_towardzero_test_data): Test for "inexact" exceptions.
2563 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2564 (llrint_downward_test_data): Test for "inexact" exceptions.
2565 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2566 (llrint_upward_test_data): Test for "inexact" exceptions.
2567 (logb_test_data): Likewise.
2568 (logb_downward_test_data): Likewise.
2569 (nextafter_test_data): Likewise.
2570 (nexttoward_test_data): Likewise.
2571 (remainder_test_data): Likewise.
2572 (remquo_test_data): Likewise.
2573 (scalbn_test_data): Likewise.
2574 (scalbln_test_data): Likewise.
2575 (signbit_test_data): Likewise.
2576 (sqrt_test_data): Likewise.
2577 (significand_test_data): Likewise.
2578
48a18de1
SP
25792013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2580
2581 [BZ #15424]
2582 * benchtests/bench-modf.c (struct args): Mark arg0 as
2583 volatile.
2584 * scripts/bench.pl: Mark members of struct args as volatile.
2585
13d3b41a
AZ
25862013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2587
68191c1d 2588 [BZ # 15497]
13d3b41a
AZ
2589 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
2590 negative infinity on POWER6 or lower.
2591 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
2592
2848b105
MR
25932013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
2594
2595 [BZ #15442]
2596 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
2597 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
2598 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
2599 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
2600 (_FP_SETQNAN): New macro.
2601 (_FP_SETQNAN_SEMIRAW): Likewise.
2602 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
2603 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
2604 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
2605 (FP_EXTEND): Use _FP_FRAC_SNANP.
2606 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
2607 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
2608 into account.
2609 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2610 New macro.
2611 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2612 Likewise.
2613
323e5cb7
JM
26142013-05-16 Joseph Myers <joseph@codesourcery.com>
2615
c58b274f
JM
2616 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
2617 with DIVIDE_BY_ZERO_EXCEPTION.
2618 (gamma_test_data): Likewise.
2619 (lgamma_test_data): Likewise.
2620 (log_test_data): Likewise.
2621 (log10_test_data): Likewise.
2622 (log2_test_data): Likewise.
2623 (tgamma_test_data): Likewise.
2624
0ab34904
JM
2625 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
2626 (acos_test_tonearest): Likewise.
2627 (acos_test_towardzero): Likewise.
2628 (acos_test_downward): Likewise.
2629 (acos_test_upward): Likewise.
2630 (acosh_test): Likewise.
2631 (asin_test): Likewise.
2632 (asin_test_tonearest): Likewise.
2633 (asin_test_towardzero): Likewise.
2634 (asin_test_downward): Likewise.
2635 (asin_test_upward): Likewise.
2636 (asinh_test): Likewise.
2637 (atan_test): Likewise.
2638 (atanh_test): Likewise.
2639 (atan2_test): Likewise.
2640 (cabs_test): Likewise.
2641 (cacos_test): Likewise.
2642 (cacosh_test): Likewise.
2643 (casin_test): Likewise.
2644 (casinh_test): Likewise.
2645 (catan_test): Likewise.
2646 (catanh_test): Likewise.
2647 (cbrt_test): Likewise.
2648 (ccos_test): Likewise.
2649 (ccosh_test): Likewise.
2650 (cexp_test): Likewise.
2651 (clog_test): Likewise.
2652 (clog10_test): Likewise.
2653 (cos_test): Likewise.
2654 (cos_test_tonearest): Likewise.
2655 (cos_test_towardzero): Likewise.
2656 (cos_test_downward): Likewise.
2657 (cos_test_upward): Likewise.
2658 (cosh_test): Likewise.
2659 (cosh_test_tonearest): Likewise.
2660 (cosh_test_towardzero): Likewise.
2661 (cosh_test_downward): Likewise.
2662 (cosh_test_upward): Likewise.
2663 (cpow_test): Likewise.
2664 (csin_test): Likewise.
2665 (csinh_test): Likewise.
2666 (csqrt_test): Likewise.
2667 (ctan_test): Likewise.
2668 (ctan_test_tonearest): Likewise.
2669 (ctan_test_towardzero): Likewise.
2670 (ctan_test_downward): Likewise.
2671 (ctan_test_upward): Likewise.
2672 (ctanh_test): Likewise.
2673 (ctanh_test_tonearest): Likewise.
2674 (ctanh_test_towardzero): Likewise.
2675 (ctanh_test_downward): Likewise.
2676 (ctanh_test_upward): Likewise.
2677 (erf_test): Likewise.
2678 (erfc_test): Likewise.
2679 (exp_test): Likewise.
2680 (exp_test_tonearest): Likewise.
2681 (exp_test_towardzero): Likewise.
2682 (exp_test_downward): Likewise.
2683 (exp_test_upward): Likewise.
2684 (exp10_test): Likewise.
2685 (exp2_test): Likewise.
2686 (expm1_test): Likewise.
2687 (fmod_test): Likewise.
2688 (gamma_test): Likewise.
2689 (hypot_test): Likewise.
2690 (j0_test): Likewise.
2691 (j1_test): Likewise.
2692 (jn_test): Likewise.
2693 (lgamma_test): Likewise.
2694 (log_test): Likewise.
2695 (log10_test): Likewise.
2696 (log1p_test): Likewise.
2697 (log2_test): Likewise.
2698 (logb_test_downward): Likewise.
2699 (pow_test): Likewise.
2700 (pow_test_tonearest): Likewise.
2701 (pow_test_towardzero): Likewise.
2702 (pow_test_downward): Likewise.
2703 (pow_test_upward): Likewise.
2704 (remainder_test): Likewise.
2705 (remquo_test): Likewise.
2706 (sin_test): Likewise.
2707 (sin_test_tonearest): Likewise.
2708 (sin_test_towardzero): Likewise.
2709 (sin_test_downward): Likewise.
2710 (sin_test_upward): Likewise.
2711 (sincos_test): Likewise.
2712 (sinh_test): Likewise.
2713 (sinh_test_tonearest): Likewise.
2714 (sinh_test_towardzero): Likewise.
2715 (sinh_test_downward): Likewise.
2716 (sinh_test_upward): Likewise.
2717 (sqrt_test): Likewise.
2718 (tan_test): Likewise.
2719 (tan_test_tonearest): Likewise.
2720 (tan_test_towardzero): Likewise.
2721 (tan_test_downward): Likewise.
2722 (tan_test_upward): Likewise.
2723 (tanh_test): Likewise.
2724 (tgamma_test): Likewise.
2725 (y0_test): Likewise.
2726 (y1_test): Likewise.
2727 (yn_test): Likewise.
2728
323e5cb7
JM
2729 * math/gen-libm-test.pl (adjust_arg): Remove function.
2730 (special_function): Remove argument $in_func. Only handle
2731 generating output for tables of tests, not inside functions.
2732 (parse_args): Likewise.
2733 (generate_testfile): Remove variable $in_func. Update call to
2734 parse_args.
2735 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
2736 (MINUS_ZERO_INIT): Rename macro to minus_zero.
2737 (PLUS_INFTY_INIT): Rename macro to plus_infty.
2738 (MINUS_INFTY_INIT): Rename macro to minus_infty.
2739 (QNAN_VALUE_INIT): Rename macro to qnan_value.
2740 (MAX_VALUE_INIT): Rename macro to max_value.
2741 (MIN_VALUE_INIT): Rename macro to min_value.
2742 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
2743 (plus_zero): Remove variable.
2744 (minus_zero): Likewise.
2745 (plus_infty): Likewise.
2746 (minus_infty): Likewise.
2747 (qnan_value): Likewise.
2748 (max_value): Likewise.
2749 (min_value): Likewise.
2750 (min_subnorm_value): Likewise.
2751
e054f494
RA
27522013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2753
2754 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
2755 uint64_t or uint32_t usage.
2756 * crypt/sha256-block.c: Likewise.
2757 * crypt/sha256-crypt.c: Likewise.
2758 * crypt/sha256.c: Likewise.
2759 * crypt/sha512-block.c: Likewise.
2760 * crypt/sha512-crypt.c: Likewise.
2761 * crypt/sha512.c: Likewise.
2762 * debug/backtrace-tst.c: Likewise.
2763 * debug/pcprofiledump.c: Likewise.
2764 * elf/cache.c: Likewise.
2765 * elf/dl-cache.c: Likewise.
2766 * elf/dl-misc.c: Likewise.
2767 * elf/dl-profile.c: Likewise.
2768 * elf/dl-support.c: Likewise.
2769 * elf/ldconfig.c: Likewise.
2770 * elf/sprof.c: Likewise.
2771 * iconv/dummy-repertoire.c: Likewise.
2772 * iconv/iconv_charmap.c: Likewise.
2773 * iconv/skeleton.c: Likewise.
2774 * iconvdata/8bit-generic.c: Likewise.
2775 * iconvdata/cp737.h: Likewise.
2776 * iconvdata/cp775.h: Likewise.
2777 * iconvdata/ibm1008.h: Likewise.
2778 * iconvdata/ibm1025.h: Likewise.
2779 * iconvdata/ibm1046.h: Likewise.
2780 * iconvdata/ibm1097.h: Likewise.
2781 * iconvdata/ibm1112.h: Likewise.
2782 * iconvdata/ibm1122.h: Likewise.
2783 * iconvdata/ibm1123.h: Likewise.
2784 * iconvdata/ibm1124.h: Likewise.
2785 * iconvdata/ibm1129.h: Likewise.
2786 * iconvdata/ibm1130.h: Likewise.
2787 * iconvdata/ibm1132.h: Likewise.
2788 * iconvdata/ibm1133.h: Likewise.
2789 * iconvdata/ibm1137.h: Likewise.
2790 * iconvdata/ibm1140.h: Likewise.
2791 * iconvdata/ibm1141.h: Likewise.
2792 * iconvdata/ibm1142.h: Likewise.
2793 * iconvdata/ibm1143.h: Likewise.
2794 * iconvdata/ibm1144.h: Likewise.
2795 * iconvdata/ibm1145.h: Likewise.
2796 * iconvdata/ibm1146.h: Likewise.
2797 * iconvdata/ibm1147.h: Likewise.
2798 * iconvdata/ibm1148.h: Likewise.
2799 * iconvdata/ibm1149.h: Likewise.
2800 * iconvdata/ibm1153.h: Likewise.
2801 * iconvdata/ibm1154.h: Likewise.
2802 * iconvdata/ibm1155.h: Likewise.
2803 * iconvdata/ibm1156.h: Likewise.
2804 * iconvdata/ibm1157.h: Likewise.
2805 * iconvdata/ibm1158.h: Likewise.
2806 * iconvdata/ibm1160.h: Likewise.
2807 * iconvdata/ibm1161.h: Likewise.
2808 * iconvdata/ibm1162.h: Likewise.
2809 * iconvdata/ibm1163.h: Likewise.
2810 * iconvdata/ibm1164.h: Likewise.
2811 * iconvdata/ibm1166.h: Likewise.
2812 * iconvdata/ibm1167.h: Likewise.
2813 * iconvdata/ibm12712.h: Likewise.
2814 * iconvdata/ibm1390.h: Likewise.
2815 * iconvdata/ibm1399.h: Likewise.
2816 * iconvdata/ibm16804.h: Likewise.
2817 * iconvdata/ibm4517.h: Likewise.
2818 * iconvdata/ibm4899.h: Likewise.
2819 * iconvdata/ibm4909.h: Likewise.
2820 * iconvdata/ibm4971.h: Likewise.
2821 * iconvdata/ibm5347.h: Likewise.
2822 * iconvdata/ibm803.h: Likewise.
2823 * iconvdata/ibm856.h: Likewise.
2824 * iconvdata/ibm901.h: Likewise.
2825 * iconvdata/ibm902.h: Likewise.
2826 * iconvdata/ibm9030.h: Likewise.
2827 * iconvdata/ibm9066.h: Likewise.
2828 * iconvdata/ibm921.h: Likewise.
2829 * iconvdata/ibm922.h: Likewise.
2830 * iconvdata/ibm9448.h: Likewise.
2831 * iconvdata/isiri-3342.h: Likewise.
2832 * iconvdata/jis0201.h: Likewise.
2833 * include/link.h: Likewise.
2834 * include/netdb.h: Likewise.
2835 * inet/check_native.c: Likewise.
2836 * inet/check_pf.c: Likewise.
2837 * inet/getipv4sourcefilter.c: Likewise.
2838 * inet/getnameinfo.c: Likewise.
2839 * inet/getsourcefilter.c: Likewise.
2840 * inet/htonl.c: Likewise.
2841 * inet/setipv4sourcefilter.c: Likewise.
2842 * inet/setsourcefilter.c: Likewise.
2843 * inet/test-inet6_opt.c: Likewise.
2844 * inet/tst-network.c: Likewise.
2845 * locale/C-collate.c: Likewise.
2846 * locale/C-ctype.c: Likewise.
2847 * locale/C-time.c: Likewise.
2848 * locale/C-translit.h: Likewise.
2849 * locale/loadarchive.c: Likewise.
2850 * locale/programs/3level.h: Likewise.
2851 * locale/programs/charmap.c: Likewise.
2852 * locale/programs/charmap.h: Likewise.
2853 * locale/programs/ld-address.c: Likewise.
2854 * locale/programs/ld-collate.c: Likewise.
2855 * locale/programs/ld-ctype.c: Likewise.
2856 * locale/programs/ld-identification.c: Likewise.
2857 * locale/programs/ld-measurement.c: Likewise.
2858 * locale/programs/ld-messages.c: Likewise.
2859 * locale/programs/ld-monetary.c: Likewise.
2860 * locale/programs/ld-name.c: Likewise.
2861 * locale/programs/ld-numeric.c: Likewise.
2862 * locale/programs/ld-paper.c: Likewise.
2863 * locale/programs/ld-telephone.c: Likewise.
2864 * locale/programs/ld-time.c: Likewise.
2865 * locale/programs/linereader.c: Likewise.
2866 * locale/programs/locale.c: Likewise.
2867 * locale/programs/locarchive.c: Likewise.
2868 * locale/programs/locfile.h: Likewise.
2869 * locale/programs/repertoire.c: Likewise.
2870 * locale/programs/simple-hash.c: Likewise.
2871 * locale/programs/simple-hash.h: Likewise.
2872 * malloc/memusage.c: Likewise.
2873 * malloc/memusagestat.c: Likewise.
2874 * nis/nis_defaults.c: Likewise.
2875 * nis/nis_hash.c: Likewise.
2876 * nis/nis_print.c: Likewise.
2877 * nis/nis_xdr.c: Likewise.
2878 * nscd/connections.c: Likewise.
2879 * nscd/hstcache.c: Likewise.
2880 * nscd/nscd_gethst_r.c: Likewise.
2881 * nscd/nscd_getserv_r.c: Likewise.
2882 * nscd/nscd_helper.c: Likewise.
2883 * nscd/servicescache.c: Likewise.
2884 * nss/makedb.c: Likewise.
2885 * nss/nss_db/db-XXX.c: Likewise.
2886 * nss/nss_db/db-initgroups.c: Likewise.
2887 * nss/nss_db/db-netgrp.c: Likewise.
2888 * nss/nss_files/files-network.c: Likewise.
2889 * nss/nss_files/files-parse.c: Likewise.
2890 * posix/bug-regex5.c: Likewise.
2891 * posix/fnmatch_loop.c: Likewise.
2892 * posix/regcomp.c: Likewise.
2893 * posix/regexec.c: Likewise.
2894 * posix/tst-rfc3484-2.c: Likewise.
2895 * posix/tst-rfc3484-3.c: Likewise.
2896 * posix/tst-rfc3484.c: Likewise.
2897 * resolv/nss_dns/dns-canon.c: Likewise.
2898 * resolv/nss_dns/dns-network.c: Likewise.
2899 * resolv/res_init.c: Likewise.
2900 * resolv/res_mkquery.c: Likewise.
2901 * resolv/tst-aton.c: Likewise.
2902 * stdlib/cxa_atexit.c: Likewise.
2903 * stdlib/cxa_finalize.c: Likewise.
2904 * stdlib/gen-fpioconst.c: Likewise.
2905 * stdlib/strtol_l.c: Likewise.
2906 * string/tst-endian.c: Likewise.
2907 * sunrpc/auth_des.c: Likewise.
2908 * sunrpc/clnt_udp.c: Likewise.
2909 * sunrpc/rtime.c: Likewise.
2910 * sunrpc/svcauth_des.c: Likewise.
2911 * sunrpc/xdr.c: Likewise.
2912 * sunrpc/xdr_intXX_t.c: Likewise.
2913 * sunrpc/xdr_rec.c: Likewise.
2914 * sysdeps/generic/ldconfig.h: Likewise.
2915 * sysdeps/generic/ldsodefs.h: Likewise.
2916 * sysdeps/generic/memusage.h: Likewise.
2917 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
2918 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
2919 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
2920 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2921 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2922 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2923 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
2924 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
2925 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2926 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2927 * sysdeps/posix/getaddrinfo.c: Likewise.
2928 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2929 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2930 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
2931 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
2932 * sysdeps/powerpc/test-gettimebase.c: Likewise.
2933 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2934 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
2935 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
2936 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2937 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
2938 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
2939 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
2940 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
2941 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
2942 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
2943 * sysdeps/x86_64/dl-tls.h: Likewise.
2944 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
2945 * time/alt_digit.c: Likewise.
2946 * time/era.c: Likewise.
2947 * wcsmbs/tst-c16c32-1.c: Likewise.
2948
8c75f674
JM
29492013-05-16 Joseph Myers <joseph@codesourcery.com>
2950
2951 * math/libm-test.inc (struct test_sincos_data): New type.
2952 (RUN_TEST_LOOP_sincos): New macro.
2953 (sincos_test_data): New variable.
2954 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
2955
e6e49e59
RH
29562013-05-16 Richard Henderson <rth@redhat.com>
2957
2958 * math/atest-exp2.c (LIMB64): New macro.
2959 (CONSTSZ): New macro.
2960 (mp_exp1, mp_exp_m1, mp_log2): New variables.
2961 (hexdig): Move ...
2962 (print_mpn_fp): ... to function scope.
2963 (read_mpn_hex): Remove.
2964 (get_log2): Remove.
2965 (exp2_mpn): Use mp_log2.
2966 (main): Use mp_exp1.
2967
15c7c18d
JM
29682013-05-16 Joseph Myers <joseph@codesourcery.com>
2969
105a07df
JM
2970 * math/libm-test.inc: Remove comment about not testing "inexact"
2971 exceptions.
2972 (INEXACT_EXCEPTION): New macro.
2973 (NO_INEXACT_EXCEPTION): Likewise.
2974 (INVALID_EXCEPTION_OK): Update value.
2975 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2976 (OVERFLOW_EXCEPTION_OK): Likewise.
2977 (UNDERFLOW_EXCEPTION_OK): Likewise.
2978 (IGNORE_ZERO_INF_SIGN): Likewise.
2979 (ERRNO_UNCHANGED): Likewise.
2980 (ERRNO_EDOM): Likewise.
2981 (ERRNO_ERANGE): Likewise.
2982 (test_exceptions): Handle testing "inexact" exceptions.
2983 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
2984 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
2985 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
2986 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
2987 INEXACT_EXCEPTION.
2988 (rint_towardzero_test_data): Likewise.
2989 (rint_downward_test_data): Likewise.
2990 (rint_upward_test_data): Likewise.
2991
e9eee333
JM
2992 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
2993 with OVERFLOW_EXCEPTION.
2994 (exp10_test_data): Likewise.
2995 (exp2_test_data): Likewise.
2996 (expm1_test_data): Likewise.
2997 (lgamma_test_data): Likewise.
2998 (pow_test_data): Likewise.
2999 (tgamma_test_data): Likewise.
3000 (yn_test_data): Remove duplicate test of overflow.
3001
1c38ff73
JM
3002 * math/libm-test.inc (struct test_cc_c_data): New type.
3003 (RUN_TEST_LOOP_cc_c): New macro.
3004 (cpow_test_data): New variable.
3005 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
3006
15c7c18d
JM
3007 * math/libm-test.inc (struct test_f_L_data): New type.
3008 (RUN_TEST_LOOP_f_L): New macro.
3009 (llrint_test_data): New variable.
3010 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
3011 (llrint_tonearest_test_data): New variable.
3012 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
3013 (llrint_towardzero_test_data): New variable.
3014 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
3015 (llrint_downward_test_data): New variable.
3016 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
3017 (llrint_upward_test_data): New variable.
3018 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
3019 (llround_test_data): New variable.
3020 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
3021
f137ff13
PC
30222013-05-13 Peter Collingbourne <pcc@google.com>
3023
3024 * math/atest-exp2.c (get_log2): Remove const attribute.
3025
3608cb24
JM
30262013-05-15 Joseph Myers <joseph@codesourcery.com>
3027
3028 * math/libm-test.inc (struct test_f_l_data): New type.
3029 (RUN_TEST_LOOP_f_l): New macro.
3030 (lrint_test_data): New variable.
3031 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
3032 (lrint_tonearest_test_data): New variable.
3033 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
3034 (lrint_towardzero_test_data): New variable.
3035 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
3036 (lrint_downward_test_data): New variable.
3037 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
3038 (lrint_upward_test_data): New variable.
3039 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
3040 (lround_test_data): New variable.
3041 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
3042
39b1f617
PC
30432013-05-15 Peter Collingbourne <pcc@google.com>
3044
1deff3dc
PC
3045 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
3046 (EXTRACT_WORDS64) Use where appropriate.
3047 (INSERT_WORDS64) Likewise.
3048
791f3ba0
PC
3049 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
3050 constraints with x constraints.
3051 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
3052
39b1f617
PC
3053 * malloc/obstack.c (_obstack_compat): Add initializer.
3054
12fba011
EM
30552013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
3056
3057 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
3058 si_trapno and add si_addr_lsb to _sifields.sigfault.
3059 (si_trapno): Remove macro.
3060 (si_addr_lsb): Define new macro.
3061 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
3062
d369f531
JM
30632013-05-15 Joseph Myers <joseph@codesourcery.com>
3064
b861c6c4
JM
3065 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
3066 instead of TEST_f_l.
3067 (llrint_test_tonearest): Likewise.
3068 (llrint_test_towardzero): Likewise.
3069 (llrint_test_downward): Likewise.
3070 (llrint_test_upward): Likewise.
3071 (llround_test): Likewise.
3072
7abeee12
JM
3073 * math/libm-test.inc (struct test_f_i_data): Add comment.
3074 (RUN_TEST_LOOP_f_b): New macro.
3075 (RUN_TEST_LOOP_f_b_tg): Likewise.
3076 (finite_test_data): New variable.
3077 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
3078 (isfinite_test_data): New variable.
3079 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3080 (isinf_test_data): New variable.
3081 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3082 (isnan_test_data): New variable.
3083 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3084 (isnormal_test_data): New variable.
3085 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3086 (issignaling_test_data): New variable.
3087 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3088 (signbit_test_data): New variable.
3089 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
3090
cbe8c4d3
JM
3091 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
3092 with INVALID_EXCEPTION.
3093 (acosh_test_data): Likewise.
3094 (asin_test_data): Likewise.
3095 (atanh_test_data): Likewise.
3096 (fmod_test_data): Likewise.
3097 (log_test_data): Likewise.
3098 (log10_test_data): Likewise.
3099 (log2_test_data): Likewise.
3100 (pow_test_data): Likewise.
3101 (sqrt_test_data): Likewise.
3102 (y0_test_data): Likewise.
3103 (y1_test_data): Likewise.
3104 (yn_test_data): Likewise.
3105
5575c0e5
JM
3106 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
3107 function contents.
3108
d369f531
JM
3109 * math/libm-test.inc (struct test_ff_i_data): New type.
3110 (RUN_TEST_LOOP_ff_i_tg): New macro.
3111 (isgreater_test_data): New variable.
3112 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3113 (isgreaterequal_test_data): New variable.
3114 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3115 (isless_test_data): New variable.
3116 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3117 (islessequal_test_data): New variable.
3118 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3119 (islessgreater_test_data): New variable.
3120 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3121 (isunordered_test_data): New variable.
3122 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
3123
781fd748
DM
31242013-05-14 David S. Miller <davem@davemloft.net>
3125
3126 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3127
87aa21df
JM
31282013-05-14 Joseph Myers <joseph@codesourcery.com>
3129
5e908270
JM
3130 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
3131
f71172e5
JM
3132 * math/libm-test.inc (struct test_fF_f1_data): Change type of
3133 extra_test to int.
3134 (struct test_f_i_data): Change type of max_ulp to int.
3135
8cfa635a
JM
3136 * math/libm-test.inc (test_ffI_f1_data): New type.
3137 (RUN_TEST_LOOP_ffI_f1): New macro.
3138 (remquo_test_data): New variable.
3139 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
3140
2bcb36b2
JM
3141 * setjmp/tst-setjmp-fp.c: New file.
3142 * setjmp/Makefile (tests): Add tst-setjmp-fp.
3143 (link-libm): New variable.
3144 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
3145
acbd839a
JM
3146 * math/libm-test.inc (struct test_f_i_data): New type.
3147 (RUN_TEST_LOOP_f_i): New macro.
3148 (RUN_TEST_LOOP_f_i_tg): Likewise.
3149 (fpclassify_test_data): New variable.
3150 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
3151 (ilogb_test_data): New variable.
3152 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
3153
e414d745
JM
3154 * math/libm-test.inc (scalbln_test): Correct function name in END
3155 call.
3156
d9c2a0fd
JM
3157 * math/libm-test.inc (struct test_f_f1_data): Add comment.
3158 (RUN_TEST_LOOP_fI_f1): New macro.
3159 (frexp_test_data): New variable.
3160 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
3161
9dc9095d
JM
3162 * math/libm-test.inc (struct test_fF_f1_data): New type.
3163 (RUN_TEST_LOOP_fF_f1): New macro.
3164 (modf_test_data): New variable.
3165 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
3166
87aa21df
JM
3167 * math/libm-test.inc (struct test_f_f1_data): New type.
3168 (RUN_TEST_LOOP_f_f1): New macro.
3169 (gamma_test_data): New variable.
3170 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3171 (lgamma_test_data): New variable.
3172 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
3173
141af660
CD
31742013-05-13 Carlos O'Donell <carlos@redhat.com>
3175
3176 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
3177 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
3178 (main): Comment "tls" pseudo-hwcap.
3179
6d33265c
JM
31802013-05-13 Joseph Myers <joseph@codesourcery.com>
3181
68fc074c
JM
3182 * math/libm-test.inc (struct test_fl_f_data): New type.
3183 (RUN_TEST_LOOP_fl_f): New variable.
3184 (scalbln_test_data): New variable.
3185 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
3186
243216e1
JM
3187 * math/libm-test.inc (struct test_fi_f_data): New type.
3188 (RUN_TEST_LOOP_fi_f): New macro.
3189 (ldexp_test_data): New variable.
3190 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
3191 (scalbn_test_data): New variable.
3192 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
3193
6a1992e2
JM
3194 * math/libm-test.inc (struct test_c_f_data): New type.
3195 (RUN_TEST_LOOP_c_f): New macro.
3196 (cabs_test_data): New variable.
3197 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
3198 (carg_test_data): New variable.
3199 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
3200 (cimag_test_data): New variable.
3201 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
3202 (creal_test_data): New variable.
3203 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
3204
0e400df5
JM
3205 * math/libm-test.inc (struct test_if_f_data): New type.
3206 (RUN_TEST_LOOP_if_f): New macro.
3207 (jn_test_data): New variable.
3208 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
3209 (yn_test_data): New variable.
3210 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
3211
6d33265c
JM
3212 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
3213
f98ece5f
AZ
32142013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3215
3216 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
3217 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
3218
0f7d347b
SP
32192013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3220
43fe811b
SP
3221 * benchtests/Makefile (CPPFLAGS-nonlib): Add
3222 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
3223 (bench-deps): Add bench-timing.h.
3224 * benchtests-bench-skeleton.c: Include bench-timing.h.
3225 (main): Use TIMING_* macros instead of clock_gettime.
3226 * benchtests/bench-timing.h: New file.
3227
0f7d347b
SP
3228 [BZ #14582]
3229 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
3230 Renamed from _LIB_VERSION.
3231 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
3232
601a3a5f
JM
32332013-05-12 Joseph Myers <joseph@codesourcery.com>
3234
4f184d30
JM
3235 * math/libm-test.inc (struct test_fff_f_data): New type.
3236 (RUN_TEST_LOOP_fff_f): New macro.
3237 (fma_test_data): New variable.
3238 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
3239 (fma_towardzero_test_data): New variable.
3240 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
3241 (fma_downward_test_data): New variable.
3242 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
3243 (fma_upward_test_data): New variable.
3244 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
3245
08198877
JM
3246 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
3247 (struct test_c_c_data): New type.
3248 (RUN_TEST_LOOP_c_c): New macro.
3249 (cacos_test_data): New variable.
3250 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
3251 (cacosh_test_data): New variable.
3252 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
3253 (casin_test_data): New variable.
3254 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
3255 (casinh_test_data): New variable.
3256 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
3257 (catan_test_data): New variable.
3258 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
3259 (catanh_test_data): New variable.
3260 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
3261 (ccos_test_data): New variable.
3262 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
3263 (ccosh_test_data): New variable.
3264 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
3265 (cexp_test_data): New variable.
3266 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
3267 (clog_test_data): New variable.
3268 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
3269 (clog10_test_data): New variable.
3270 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
3271 (conj_test_data): New variable.
3272 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
3273 (cproj_test_data): New variable.
3274 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
3275 (csin_test_data): New variable.
3276 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
3277 (csinh_test_data): New variable.
3278 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
3279 (csqrt_test_data): New variable.
3280 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
3281 (ctan_test_data): New variable.
3282 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
3283 (ctan_tonearest_test_data): New variable.
3284 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3285 (ctan_towardzero_test_data): New variable.
3286 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3287 (ctan_downward_test_data): New variable.
3288 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3289 (ctan_upward_test_data): New variable.
3290 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3291 (ctanh_test_data): New variable.
3292 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
3293 (ctanh_tonearest_test_data): New variable.
3294 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3295 (ctanh_towardzero_test_data): New variable.
3296 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3297 (ctanh_downward_test_data): New variable.
3298 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3299 (ctanh_upward_test_data): New variable.
3300 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3301 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
3302 of BUILD_COMPLEX.
3303
601a3a5f
JM
3304 * math/libm-test.inc (struct test_ff_f_data): New type.
3305 (struct test_ff_f_data_nexttoward): Likewise.
3306 (RUN_TEST_LOOP_2_f): New macro.
3307 (RUN_TEST_LOOP_ff_f): Likewise.
3308 (atan2_test_data): New variable.
3309 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
3310 (copysign_test_data): New variable.
3311 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
3312 (fdim_test_data): New variable.
3313 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
3314 (fmax_test_data): New variable.
3315 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
3316 (fmin_test_data): New variable.
3317 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
3318 (fmod_test_data): New variable.
3319 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
3320 (hypot_test_data): New variable.
3321 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
3322 (nextafter_test_data): New variable.
3323 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
3324 (nexttoward_test_data): New variable.
3325 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
3326 (pow_test_data): New variable.
3327 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
3328 (pow_tonearest_test_data): New variable.
3329 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
3330 (pow_towardzero_test_data): New variable.
3331 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
3332 (pow_downward_test_data): New variable.
3333 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
3334 (pow_upward_test_data): New variable.
3335 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
3336 (remainder_test_data): New variable.
3337 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
3338 (scalb_test_data): New variable.
3339 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
3340 * sysdeps/i386/fpu/libm-test-ulps: Update.
3341
74c57478
JM
33422013-05-11 Joseph Myers <joseph@codesourcery.com>
3343
8329e4da
JM
3344 * math/libm-test.inc (fma_test): Use max_value instead of local
3345 variable fltmax.
3346 (nextafter_test): Likewise.
3347
74c57478
JM
3348 * math/libm-test.inc (acos_towardzero_test_data): New variable.
3349 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3350 (acos_downward_test_data): New variable.
3351 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3352 (acos_upward_test_data): New variable.
3353 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3354 (acosh_test_data): New variable.
3355 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
3356 (asin_test_data): New variable.
3357 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
3358 (asin_tonearest_test_data): New variable.
3359 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3360 (asin_towardzero_test_data): New variable.
3361 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3362 (asin_downward_test_data): New variable.
3363 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3364 (asin_upward_test_data): New variable.
3365 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3366 (asinh_test_data): New variable.
3367 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
3368 (atan_test_data): New variable.
3369 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
3370 (atanh_test_data): New variable.
3371 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
3372 (cbrt_test_data): New variable.
3373 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
3374 (ceil_test_data): New variable.
3375 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
3376 (cos_test_data): New variable.
3377 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
3378 (cos_tonearest_test_data): New variable.
3379 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3380 (cos_towardzero_test_data): New variable.
3381 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3382 (cos_downward_test_data): New variable.
3383 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3384 (cos_upward_test_data): New variable.
3385 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3386 (cosh_test_data): New variable.
3387 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
3388 (cosh_tonearest_test_data): New variable.
3389 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3390 (cosh_towardzero_test_data): New variable.
3391 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3392 (cosh_downward_test_data): New variable.
3393 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3394 (cosh_upward_test_data): New variable.
3395 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3396 (erf_test_data): New variable.
3397 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
3398 (erfc_test_data): New variable.
3399 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
3400 (exp_test_data): New variable.
3401 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
3402 (exp_tonearest_test_data): New variable.
3403 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3404 (exp_towardzero_test_data): New variable.
3405 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3406 (exp_downward_test_data): New variable.
3407 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3408 (exp_upward_test_data): New variable.
3409 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3410 (exp10_test_data): New variable.
3411 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
3412 (exp2_test_data): New variable.
3413 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
3414 (expm1_test_data): New variable.
3415 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
3416 (fabs_test_data): New variable.
3417 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
3418 (floor_test_data): New variable.
3419 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
3420 (j0_test_data): New variable.
3421 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
3422 (j1_test_data): New variable.
3423 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
3424 (log_test_data): New variable.
3425 (log_test): Run tests with RUN_TEST_LOOP_f_f.
3426 (log10_test_data): New variable.
3427 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
3428 (log1p_test_data): New variable.
3429 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
3430 (log2_test_data): New variable.
3431 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
3432 (logb_test_data): New variable.
3433 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
3434 (logb_downward_test_data): New variable.
3435 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3436 (nearbyint_test_data): New variable.
3437 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
3438 (rint_test_data): New variable.
3439 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
3440 (rint_tonearest_test_data): New variable.
3441 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3442 (rint_towardzero_test_data): New variable.
3443 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3444 (rint_downward_test_data): New variable.
3445 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3446 (rint_upward_test_data): New variable.
3447 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3448 (round_test_data): New variable.
3449 (round_test): Run tests with RUN_TEST_LOOP_f_f.
3450 (sin_test_data): New variable.
3451 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
3452 (sin_tonearest_test_data): New variable.
3453 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3454 (sin_towardzero_test_data): New variable.
3455 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3456 (sin_downward_test_data): New variable.
3457 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3458 (sin_upward_test_data): New variable.
3459 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3460 (sinh_test_data): New variable.
3461 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
3462 (sinh_tonearest_test_data): New variable.
3463 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3464 (sinh_towardzero_test_data): New variable.
3465 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3466 (sinh_downward_test_data): New variable.
3467 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3468 (sinh_upward_test_data): New variable.
3469 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3470 (sqrt_test_data): New variable.
3471 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
3472 (tan_test_data): New variable.
3473 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
3474 (tan_tonearest_test_data): New variable.
3475 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3476 (tan_towardzero_test_data): New variable.
3477 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3478 (tan_downward_test_data): New variable.
3479 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3480 (tan_upward_test_data): New variable.
3481 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3482 (tanh_test_data): New variable.
3483 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
3484 (tgamma_test_data): New variable.
3485 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
3486 (trunc_test_data): New variable.
3487 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
3488 (y0_test_data): New variable.
3489 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
3490 (y1_test_data): New variable.
3491 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
3492 (significand_test_data): New variable.
3493 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
3494
7187d844
CG
34952013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
3496
3497 [BZ #12387]
3498 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
3499
f63fae73
PT
35002013-05-10 Pino Toscano <toscano.pino@tiscali.it>
3501
3502 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
3503
8a67a4b3
AJ
35042013-05-10 Andreas Jaeger <aj@suse.de>
3505
3506 [BZ #15448]
3507 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
3508 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
3509
51df539d
JM
35102013-05-10 Joseph Myers <joseph@codesourcery.com>
3511
3512 * math/gen-libm-test.pl (adjust_arg): New function.
3513 (special_functions): Handle generating output in both functions
3514 and arrays.
3515 (parse_args): Likewise.
3516 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
3517 $in_func argument to parse_args.
3518 * math/libm-test.inc (struct test_f_f_data): New type.
3519 (IF_ROUND_INIT_): New macro.
3520 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
3521 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3522 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3523 (IF_ROUND_INIT_FE_UPWARD): Likewise.
3524 (ROUND_RESTORE_): Likewise.
3525 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
3526 (ROUND_RESTORE_FE_TONEAREST): Likewise.
3527 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
3528 (ROUND_RESTORE_FE_UPWARD): Likewise.
3529 (RUN_TEST_LOOP_f_f): New macro.
3530 (acos_test_data): New variable.
3531 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
3532 (acos_tonearest_test_data): New variable.
3533 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3534
5c637fe5
SP
35352013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3536
3537 * benchtests/bench-skeleton.c (startup): Fix coding style.
3538
ab2b9461
JM
35392013-05-10 Joseph Myers <joseph@codesourcery.com>
3540
3541 [BZ #6809]
3542 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
3543 negative infinity argument.
3544 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
3545 negative infinity argument.
3546 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
3547 negative infinity argument.
3548 * math/libm-test.inc (tgamma_test): Expect errno to be set for
3549 domain errors.
3550
4c0fe6fe
FW
35512013-05-10 Florian Weimer <fweimer@redhat.com>
3552
3553 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
3554 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
3555 * iconv/iconv_prog.c (main): Likewise.
3556 * locale/programs/charmap-dir.c (charmap_readdir)
3557 (fopen_uncompressed): Likewise.
3558 * locale/programs/locfile.c (siblings_uncached)
3559 (write_locale_data): Use lstat64 instead of lstat.
3560 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
3561 stat.
3562
a3375d29
AJ
35632013-05-10 Andreas Jaeger <aj@suse.de>
3564
3565 [BZ #15395]
3566 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
3567 localization.
3568 Include <locale.h>.
3569
36129722
CD
35702013-05-09 Carlos O'Donell <carlos@redhat.com>
3571
3572 * elf/dl-close.c (_dl_close_worker): Add comments.
3573
faa7f811
JM
35742013-05-09 Joseph Myers <joseph@codesourcery.com>
3575
ed41ffef
JM
3576 [BZ #15359]
3577 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
3578 high part of pi/2.
3579 (__ieee754_rem_pio2l): Update comments.
3580
d0213cd0
JM
3581 [BZ #15429]
3582 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
3583 high part of pi/2.
3584 (__ieee754_rem_pio2l): Update comments.
3585
0d3e777a
JM
3586 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
3587 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
3588
24f56066
JM
3589 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
3590 M_PI_4l.
3591
faa7f811
JM
3592 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
3593 (M_PI_34_LOG10El): Likewise.
3594 (M_PI2_LOG10El): Likewise.
3595 (M_PI4_LOG10El): Likewise.
3596 (M_PI_LOG10El): Likewise.
3597
e9a5e0fd
AZ
35982013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3599
3600 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3601
d8cd06db
JM
36022013-05-08 Joseph Myers <joseph@codesourcery.com>
3603
a0d9f9d7
JM
3604 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
3605 (MINUS_ZERO_INIT): Likewise.
3606 (PLUS_INFTY_INIT): Likewise.
3607 (MINUS_INFTY_INIT): Likewise.
3608 (QNAN_VALUE_INIT): Likewise.
3609 (MAX_VALUE_INIT): Likewise.
3610 (MIN_VALUE_INIT): Likewise.
3611 (MIN_SUBNORM_VALUE_INIT): Likewise.
3612 (plus_zero): Initialize with PLUS_ZERO_INIT.
3613 (minus_zero): Initialize with MINUS_ZERO_INIT.
3614 (plus_infty): Initialize with PLUS_INFTY_INIT.
3615 (minus_infty): Initialize with MINUS_INFTY_INIT.
3616 (qnan_value): Initialize with QNAN_VALUE_INIT.
3617 (max_value): Initialize with MAX_VALUE_INIT.
3618 (min_value): Initialize with MIN_VALUE_INIT.
3619 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
3620
ae08db3b
JM
3621 * math/libm-test.inc (RUN_TEST_if_f): New macro.
3622 (jn_test): Use TEST_if_f instead of TEST_ff_f.
3623 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
3624 (yn_test): Use TEST_if_f instead of TEST_ff_f.
3625
f44bf14a
JM
3626 * math/libm-test.inc (RUN_TEST_f_f): New macro.
3627 (RUN_TEST_2_f): Likewise.
3628 (RUN_TEST_ff_f): Likewise.
3629 (RUN_TEST_fi_f): Likewise.
3630 (RUN_TEST_fl_f): Likewise.
3631 (RUN_TEST_fff_f): Likewise.
3632 (RUN_TEST_c_f): Likewise.
3633 (RUN_TEST_f_f1): Likewise.
3634 (RUN_TEST_fF_f1): Likewise.
3635 (RUN_TEST_fI_f1): Likewise.
3636 (RUN_TEST_ffI_f1): Likewise.
3637 (RUN_TEST_c_c): Likewise.
3638 (RUN_TEST_cc_c): Likewise.
3639 (RUN_TEST_f_i): Likewise.
3640 (RUN_TEST_f_i_tg): Likewise.
3641 (RUN_TEST_ff_i_tg): Likewise.
3642 (RUN_TEST_f_b): Likewise.
3643 (RUN_TEST_f_b_tg): Likewise.
3644 (RUN_TEST_f_l): Likewise.
3645 (RUN_TEST_f_L): Likewise.
3646 (RUN_TEST_sincos): Likewise.
3647 * math/gen-libm-test.pl (new_test): Take new argument to indicate
3648 whether to show exceptions. Do not include ");\n" in return
3649 value.
3650 (special_functions): Output call to RUN_TEST_sincos instead of
3651 check_float calls. Update calls to new_test.
3652 (parse_args): Output call to single RUN_TEST_* macro instead of
3653 check_* calls and other assignments. Update calls to new_test.
3654
d8cd06db
JM
3655 [BZ #2546]
3656 [BZ #2560]
3657 [BZ #5159]
3658 [BZ #15426]
3659 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
3660 input to result for tgamma overflow.
3661 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
3662 (gamma_coeff): New variable.
3663 (NCOEFF): New macro.
3664 (gamma_positive): New function.
3665 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
3666 underflow here. Use gamma_positive instead of exp (lgamma) for
3667 other arguments.
3668 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
3669 (gamma_coeff): New variable.
3670 (NCOEFF): New macro.
3671 (gammaf_positive): New function.
3672 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
3673 underflow here. Use gamma_positive instead of exp (lgamma) for
3674 other arguments.
3675 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
3676 (gamma_coeff): New variable.
3677 (NCOEFF): New macro.
3678 (gammal_positive): New function.
3679 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
3680 underflow here. Use gamma_positive instead of exp (lgamma) for
3681 other arguments.
3682 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
3683 (gamma_coeff): New variable.
3684 (NCOEFF): New macro.
3685 (gammal_positive): New function.
3686 (__ieee754_gammal_r): Handle positive infinity, overflow and
3687 underflow here. Handle NaN the same as positive infinity. Remove
3688 check x < 0xffffffff for negative integers. Use gamma_positive
3689 instead of exp (lgamma) for other arguments.
3690 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
3691 (gamma_coeff): New variable.
3692 (NCOEFF): New macro.
3693 (gammal_positive): New function.
3694 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
3695 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
3696 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
3697 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
3698 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
3699 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
3700 * sysdeps/generic/math_private.h (__gamma_productf): New
3701 prototype.
3702 (__gamma_product): Likewise.
3703 (__gamma_productl): Likewise.
3704 * math/Makefile (libm-calls): Add gamma_product.
3705 * math/libm-test.inc (tgamma_test): Add more tests.
3706 * sysdeps/i386/fpu/libm-test-ulps: Update.
3707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3708
bb7cf681
OB
37092013-05-08 Ondřej Bílka <neleai@seznam.cz>
3710
3711 * benchtests/bench-skeleton.c (main): Preheat CPU.
3712
ba853947
AJ
37132013-05-07 Aurelien Jarno <aurelien@aurel32.net>
3714
3715 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
3716
8347c74c
RM
37172013-05-07 Roland McGrath <roland@hack.frob.com>
3718
3719 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
3720 and _dl_skip_args_internal.
3721
e8dd4791
CD
37222013-05-07 Carlos O'Donell <carlos@redhat.com>
3723
3724 * manual/message.texi (Message Translation): Talk about users.
3725 Message to key mapping impacts design.
3726
c7405830
RM
37272013-05-06 Roland McGrath <roland@hack.frob.com>
3728
a9173057
RM
3729 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
3730
976e2f03
RM
3731 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
3732
9723ffc5
RM
3733 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
3734 * sysdeps/wordsize-64/glob64.c: ... here.
3735
962e6658
RM
3736 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
3737 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
3738 New macros.
3739
ee586a6d
RM
3740 * debug/getlogin_r_chk.c: Moved to ...
3741 * login/getlogin_r_chk.c: ... here.
3742 * debug/Makefile (routines): Move getlogin_r_chk to ...
3743 * login/Makefile (routines): ... here.
3744 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
3745 * login/Versions (libc: GLIBC_2.4): ... here.
3746
355f9165
RM
3747 * io/poll.c (__poll): Renamed from poll.
3748 Add libc_hidden_def.
3749 (poll): Define as weak alias.
3750
bd9ffde6
RM
3751 * debug/ptsname_r_chk.c: Moved to ...
3752 * login/ptsname_r_chk.c: ... here.
3753 * debug/Makefile (routines): Move ptsname_r_chk to ...
3754 * login/Makefile (routines): ... here.
3755 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
3756 * login/Versions (libc: GLIBC_2.4): ... here.
3757
8fb16a04
RM
3758 * posix/getlogin.c: Moved to ...
3759 * login/getlogin.c: ... here.
3760 * posix/getlogin_r.c: Moved to ...
3761 * login/getlogin_r.c: ... here.
3762 * posix/getlogin_r.c: Moved to ...
3763 * login/getlogin_r.c: ... here.
3764 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
3765 * login/Makefile (routines): ... here.
3766 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
3767 * login/Versions (libc: GLIBC_2.0): ... here.
3768
b99b892f
RM
3769 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
3770 (setrlimit): Define as weak alias.
3771
c7405830
RM
3772 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
3773 Call __ names for open, ftruncate, and close.
3774 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
3775 (truncate): Define as weak alias.
3776
5bf96de5
JM
37772013-05-06 Joseph Myers <joseph@codesourcery.com>
3778
9ea3513c
JM
3779 * math/gen-libm-test.pl (parse_args): Initialize x before each
3780 test of frexp, modf and remquo.
3781
5bf96de5
JM
3782 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
3783 test signgam value.
3784
16e616a7
AZ
37852013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3786
3787 [BZ #15418]
3788 [BZ #15419]
3789 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
3790 internal tests.
3791 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3792
d5e82754
RM
37932013-05-06 Roland McGrath <roland@hack.frob.com>
3794
3795 * elf/dl-writev.h: New file.
3796 * elf/dl-misc.c: Include it.
3797 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
3798 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
3799
a7548d41
JM
38002013-05-04 Joseph Myers <joseph@codesourcery.com>
3801
b7dab1e4
JM
3802 * math/libm-test.inc (noXFails): Remove variable.
3803 (noXPasses): Likewise.
3804 (BUILD_COMPLEX_INT): Remove macro.
3805 (print_screen): Remove xfail argument.
3806 (print_screen_max_error): Likewise.
3807 (update_stats): Likewise.
3808 (print_max_error): Likewise. Update calls to other affected
3809 functions.
3810 (print_complex_max_error): Likewise.
3811 (test_single_exception): Update calls to print_screen.
3812 (test_single_errno): Likewise.
3813 (check_float_internal): Remove xfail argument. Update calls to
3814 other affected functions.
3815 (check_float): Likewise.
3816 (check_complex): Likewise.
3817 (check_int): Likewise.
3818 (check_long): Likewise.
3819 (check_bool): Likewise.
3820 (check_longlong): Likewise.
3821 (main): Don't print noXFails and noXPasses.
3822 * math/gen-libm-test.pl (top level): Don't mention expected
3823 failure handling in comment.
3824 (new_test): Don't handle expected failures.
3825 (parse_args): Don't mention expected failure handling in comment.
3826 (generate_testfile): Don't handle expected failures.
3827 (parse_ulps): Likewise.
3828 (print_ulps_file): Likewise.
3829 (get_failure): Remove function.
3830 (output_test): Don't handle expected failures.
3831 * make/README.libm-test: Don't mention expected failure handling.
3832
a7548d41
JM
3833 * math/libm-test.inc (plus_zero): Make const. Add initializer.
3834 (minus_zero): Likewise.
3835 (plus_infty): Likewise.
3836 (minus_infty): Likewise.
3837 (qnan_value): Likewise.
3838 (max_value): Likewise.
3839 (min_value): Likewise.
3840 (min_subnorm_value): Likewise.
3841 (initialize): Do not initialize those variables dynamically.
3842
60bfd54c
RM
38432013-05-03 Roland McGrath <roland@hack.frob.com>
3844
cc0e6ed8
RM
3845 * io/open.c (__open_2): Moved to ...
3846 * io/open_2.c: ... this new file.
3847 * io/open64.c (__open64_2): Moved to ...
3848 * io/open64_2.c: ... this new file.
3849 * io/openat.c (__openat_2): Moved to ...
3850 * io/openat_2.c: ... this new file.
3851 * io/openat64.c (__openat64_2): Moved to ...
3852 * io/openat64_2.c: ... this new file.
3853 * io/Makefile (routines): Add them.
3854 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
3855 * sysdeps/unix/sysv/linux/open_2.c: File removed.
3856 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
3857 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
3858 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
3859 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
3860 (__openat64): Add hidden_ver.
3861 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
3862 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
3863
60bfd54c
RM
3864 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
3865 Separately conditionalize setting of GLRO(dl_sysinfo) so
3866 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
3867 as well, but the actual setting is only under [NEED_DL_SYSINFO].
3868
83e7640f
AZ
38692013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3870
3871 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
3872 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
3873 definition.
3874 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
3875 * sysdeps/unix/sysv/linux/powerpc/init-first.c
3876 (_libc_vdso_platform_setup): Add __vdso_time initialization.
3877 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
3878 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
3879
d5dc2af3
JM
38802013-05-03 Joseph Myers <joseph@codesourcery.com>
3881
c31a5b1e
JM
3882 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
3883 test signgam value.
3884
d5dc2af3
JM
3885 * math/libm-test.inc (hypot_test): Do not use
3886 IGNORE_ZERO_INF_SIGN.
3887
164fd39d
AJ
38882013-05-03 Andreas Jaeger <aj@suse.de>
3889
3890 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
3891 Linux 3.9.
3892 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
3893 (PF_MAX): Adjust for VSOCK change.
3894
8237f48c
AZ
38952013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3896
3897 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3898
9df02941
CD
38992013-05-02 Carlos O'Donell <carlos@redhat.com>
3900
3901 [BZ #15264]
3902 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
3903 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
3904 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
3905
d422395e
DM
39062013-05-02 David S. Miller <davem@davemloft.net>
3907
3908 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3909
a07c5731
OB
39102013-05-01 Ondřej Bílka <neleai@seznam.cz>
3911
3912 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
3913
1324e37f
RM
39142013-05-01 Roland McGrath <roland@hack.frob.com>
3915
3916 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
3917
0695940b
RS
39182013-05-01 Richard Smith <richard@metafoo.co.uk>
3919
bb5f27ad 3920 [BZ #14952]
0695940b
RS
3921 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
3922 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
3923 Use __attribute__ ((__gnu_inline__)).
3924 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
3925 Don't use __attribute__ ((__gnu_inline__)).
3926
10de07f5
JM
39272013-05-01 Joseph Myers <joseph@codesourcery.com>
3928
3929 [BZ #15423]
3930 * math/s_catan.c (__catan): Handle small real or imaginary part of
3931 input specially to avoid spurious underflow.
3932 * math/s_catanf.c (__catanf): Likewise.
3933 * math/s_catanh.c (__catanh): Likewise.
3934 * math/s_catanhf.c (__catanhf): Likewise.
3935 * math/s_catanhl.c (__catanhl): Likewise.
3936 * math/s_catanl.c (__catanl): Likewise.
3937 * math/libm-test.inc (catan_test): Add more tests.
3938 (catanh_test): Likewise.
3939 * sysdeps/i386/fpu/libm-test-ulps: Update.
3940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3941
cb4d5414
AZ
39422013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3943
3944 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3945
caf84319
JM
39462013-04-30 Joseph Myers <joseph@codesourcery.com>
3947
3948 [BZ #15416]
3949 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
3950 accurately for denominator in atan2.
3951 * math/s_catanf.c (__catanf): Likewise.
3952 * math/s_catanh.c (__catanh): Likewise.
3953 * math/s_catanhf.c (__catanhf): Likewise.
3954 * math/s_catanhl.c (__catanhl): Likewise.
3955 * math/s_catanl.c (__catanl): Likewise.
3956 * math/libm-test.inc (catan_test): Add more tests.
3957 (catanh_test): Likewise.
3958 * sysdeps/i386/fpu/libm-test-ulps: Update.
3959 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3960
d569c6ee
SP
39612013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3962
6dbe713d
SP
3963 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
3964
f0ee064b
SP
3965 * benchtests/Makefile (bench): Remove slow benchmarks.
3966 * benchtests/atan-inputs: Add slow benchmark inputs.
3967 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
3968 (BENCH_FUNC): Accept variant offset.
3969 (VARIANT): Define.
3970 * benchtests/bench-skeleton.c (main): Run benchmark for each
3971 variant.
3972 * benchtests/cos-inputs: Add slow benchmark inputs.
3973 * benchtests/exp-inputs: Likewise.
3974 * benchtests/pow-inputs: Likewise.
3975 * benchtests/sin-inputs: Likewise.
3976 * benchtests/slowatan-inputs: Remove.
3977 * benchtests/slowatan.c: Remove.
3978 * benchtests/slowcos-inputs: Remove.
3979 * benchtests/slowcos.c: Remove.
3980 * benchtests/slowexp-inputs: Remove.
3981 * benchtests/slowexp.c: Remove.
3982 * benchtests/slowpow-inputs: Remove.
3983 * benchtests/slowpow.c: Remove.
3984 * benchtests/slowsin-inputs: Remove.
3985 * benchtests/slowsin.c: Remove.
3986 * benchtests/slowtan-inputs: Remove.
3987 * benchtests/slowtan.c: Remove.
3988 * benchtests/tan-inputs: Add slow benchmark inputs.
3989 * scripts/bench.pl: Parse comments and directives.
3990
d569c6ee
SP
3991 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
3992 in CPPFLAGS.
3993 ($(objpfx)bench-%.c): Remove *-ITER.
3994 * benchtests/bench-modf.c: Remove definition of ITER.
3995 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
3996 (main): Loop for DURATION seconds instead of fixed number of
3997 iterations.
3998 * scripts/bench.pl: Don't expect iterations in parameters.
3999
a6a242fe
RM
40002013-04-29 Roland McGrath <roland@hack.frob.com>
4001
4002 * io/fchdir.c (__fchdir): Renamed from fchdir.
4003 (fchdir): Define as weak alias.
4004
f2da7793
JM
40052013-04-29 Joseph Myers <joseph@codesourcery.com>
4006
4007 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
4008 (ERRNO_EDOM): Likewise.
4009 (ERRNO_ERANGE): Likewise.
4010 (noErrnoTests): New variable.
4011 (init_max_error): Set errno to 0.
4012 (test_single_errno): New function.
4013 (test_errno): Likewise.
4014 (check_float_internal): Call test_errno. Set errno to 0.
4015 (check_complex): Refer to errno tests in comment.
4016 (check_int): Call test_errno. Set errno to 0.
4017 (check_long): Likewise.
4018 (check_bool): Likewise.
4019 (check_longlong): Likewise.
4020 (cos_test): Use ERRNO_* flags for errno tests instead of
4021 check_int.
4022 (expm1_test): Likewise.
4023 (fmod_test): Likewise.
4024 (ilogb_test): Likewise.
4025 (lgamma_test): Likewise.
4026 (pow_test): Likewise.
4027 (remainder_test): Likewise.
4028 (sin_test): Likewise.
4029 (tan_test): Likewise.
4030 (yn_test): Likewise.
4031 (initialize): Set errno to 0.
4032 (main): Print number of errno tests.
4033 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
4034
b1a36ceb
AJ
40352013-04-29 Andreas Jaeger <aj@suse.de>
4036
c3ed8088
AJ
4037 [BZ #15084]
4038 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
4039 and RES_USEVC.
4040
f1a24198
AJ
4041 [BZ #15085]
4042 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
4043 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
4044 unimplemented.
4045
9ce3b2cb
AJ
4046 [BZ #15380]
4047 * stdlib/random.c (__initstate): Return NULL if
4048 __initstate fails.
4049
f1a24198 4050 [BZ #15086]
b1a36ceb
AJ
4051 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
4052 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
4053 RES_SNGLKUPREOP.
4054
7e7b6f36
AZ
40552013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4056
4057 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4058
4d14f449
JM
40592013-04-29 Joseph Myers <joseph@codesourcery.com>
4060
4061 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
4062 of individual tests.
4063 (casin_test): Likewise.
4064 (casinh_test): Likewise.
4065
5b4217d7
JM
40662013-04-27 Joseph Myers <joseph@codesourcery.com>
4067
4068 [BZ #15409]
4069 * math/s_catan.c (__catan): Handle arguments with large real or
4070 imaginary part separately without squaring.
4071 * math/s_catanf.c (__catanf): Likewise.
4072 * math/s_catanh.c (__catanh): Likewise.
4073 * math/s_catanhf.c (__catanhf): Likewise.
4074 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4075 and redefine.
4076 (__catanhl): Handle arguments with large real or imaginary part
4077 separately without squaring.
4078 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
4079 and redefine.
4080 (__catanl): Handle arguments with large real or imaginary part
4081 separately without squaring.
4082 * math/libm-test.inc (catan_test): Add more tests.
4083 (catanh_test): Likewise.
4084 * sysdeps/i386/fpu/libm-test-ulps: Update.
4085 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4086
4220c3ef
AJ
40872013-04-27 Andreas Jaeger <aj@suse.de>
4088
4089 [BZ #15007]
4090 * stdlib/stdlib.h: Update guards for qecvt.
4091 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
4092 <stdlib.h>.
4093
4721b2d1
AM
40942013-04-27 Allan McRae <allan@archlinux.org>
4095
4096 * sysdeps/i386/fpu/libm-test-ulps: Update.
4097
f0302940
JM
40982013-04-26 Joseph Myers <joseph@codesourcery.com>
4099
9457fd95
JM
4100 [BZ #15406]
4101 * math/s_catan.c: Include <float.h>.
4102 (__catan): Ensure underflow exception occurs for underflowed
4103 result.
4104 * math/s_catanf.c: Include <float.h>.
4105 (__catanf): Ensure underflow exception occurs for underflowed
4106 result.
4107 * math/s_catanh.c: Include <float.h>.
4108 (__catanh): Ensure underflow exception occurs for underflowed
4109 result.
4110 * math/s_catanhf.c: Include <float.h>.
4111 (__catanhf): Ensure underflow exception occurs for underflowed
4112 result.
4113 * math/s_catanhl.c: Include <float.h>.
4114 (__catanhl): Ensure underflow exception occurs for underflowed
4115 result.
4116 * math/s_catanl.c: Include <float.h>.
4117 (__catanl): Ensure underflow exception occurs for underflowed
4118 result.
4119 * math/libm-test.inc (catan_test): Add more tests.
4120 (catanh_test): Likewise.
4121
f0302940
JM
4122 [BZ #15405]
4123 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
4124 underflowed result.
4125 * math/s_ccoshf.c (__ccoshf): Likewise.
4126 * math/s_ccoshl.c (__ccoshl): Likewise.
4127 * math/s_csin.c (__csin): Likewise.
4128 * math/s_csinf.c (__csinf): Likewise.
4129 * math/s_csinh.c (__csinh): Likewise.
4130 * math/s_csinhf.c (__csinhf): Likewise.
4131 * math/s_csinhl.c (__csinhl): Likewise.
4132 * math/s_csinl.c (__csinl): Likewise.
4133 * math/libm-test.inc (ccos_test): Add more tests.
4134 (ccosh_test): Likewise.
4135 (csin_test): Likewise.
4136 (csinh_test): Likewise.
4137
aa630f59
AZ
41382013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4139
4140 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
4141 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
4142 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
4143 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
4144 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
4145 powerpc/power5+/fpu folders.
4146 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
4147
4148
1b835983
MT
41492013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
4150
4151 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4152
73709b26
JM
41532013-04-25 Joseph Myers <joseph@codesourcery.com>
4154
4155 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
4156 additions to variable.
4157 [$(config-machine) = x86_64] (modules-names): Likewise.
4158 ($(objpfx)tst-audit3): Remove dependency.
4159 ($(objpfx)tst-audit3.out): Likewise.
4160 ($(objpfx)tst-audit4): Likewise.
4161 ($(objpfx)tst-audit4.out): Likewise.
4162 ($(objpfx)tst-audit5): Likewise.
4163 ($(objpfx)tst-audit5.out): Likewise.
4164 ($(objpfx)tst-audit6): Likewise.
4165 ($(objpfx)tst-audit6.out): Likewise.
4166 ($(objpfx)tst-audit7): Likewise.
4167 ($(objpfx)tst-audit7.out): Likewise.
4168 (tst-audit3-ENV): Remove variable.
4169 (tst-audit4-ENV): Likewise.
4170 (tst-audit5-ENV): Likewise.
4171 (tst-audit6-ENV): Likewise.
4172 (tst-audit7-ENV): Likewise.
4173 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
4174 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
4175 addition to variable.
4176 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
4177 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
4178 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
4179 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
4180 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
4181 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
4182 tst-audit3, tst-audit4 and tst-audit5.
4183 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
4184 tst-audit6 and tst-audit7.
4185 [$(subdir) = elf] (modules-names): Add audit modules for those
4186 tests.
4187 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
4188 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
4189 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
4190 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
4191 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
4192 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
4193 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
4194 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
4195 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
4196 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
4197 [$(subdir) = elf] (tst-audit3-ENV): New variable.
4198 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
4199 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
4200 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
4201 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
4202 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
4203 Likewise.
4204 [$(subdir) = elf && $(config-cflags-avx) = yes]
4205 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
4206 [$(subdir) = elf && $(config-cflags-avx) = yes]
4207 (CFLAGS-tst-auditmod4a.c): Likewise.
4208 [$(subdir) = elf && $(config-cflags-avx) = yes]
4209 (CFLAGS-tst-auditmod4b.c): Likewise.
4210 [$(subdir) = elf && $(config-cflags-avx) = yes]
4211 (CFLAGS-tst-auditmod6b.c): Likewise.
4212 [$(subdir) = elf && $(config-cflags-avx) = yes]
4213 (CFLAGS-tst-auditmod6c.c): Likewise.
4214 [$(subdir) = elf && $(config-cflags-avx) = yes]
4215 (CFLAGS-tst-auditmod7b.c): Likewise.
4216 * elf/tst-audit3.c: Move to ...
4217 * sysdeps/x86_64/tst-audit3.c: ... here.
4218 * elf/tst-audit4.c: Move to ...
4219 * sysdeps/x86_64/tst-audit4.c: ... here.
4220 * elf/tst-audit5.c: Move to ...
4221 * sysdeps/x86_64/tst-audit5.c: ... here.
4222 * elf/tst-audit6.c: Move to ...
4223 * sysdeps/x86_64/tst-audit6.c: ... here.
4224 * elf/tst-audit7.c: Move to ...
4225 * sysdeps/x86_64/tst-audit7.c: ... here.
4226 * elf/tst-auditmod3a.c: Move to ...
4227 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
4228 * elf/tst-auditmod3b.c: Move to ...
4229 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
4230 * elf/tst-auditmod4a.c: Move to ...
4231 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
4232 * elf/tst-auditmod4b.c: Move to ...
4233 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
4234 * elf/tst-auditmod5a.c: Move to ...
4235 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
4236 * elf/tst-auditmod5b.c: Move to ...
4237 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
4238 * elf/tst-auditmod6a.c: Move to ...
4239 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
4240 * elf/tst-auditmod6b.c: Move to ...
4241 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
4242 * elf/tst-auditmod6c.c: Move to ...
4243 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
4244 * elf/tst-auditmod7a.c: Move to ...
4245 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
4246 * elf/tst-auditmod7b.c: Move to ...
4247 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
4248
1ef74943
PP
42492013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
4250
4251 [BZ #15366]
4252 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
4253 define unconditionally.
4254 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
4255 define unconditionally.
4256 (INT8_C, INT16_C, etc.): Likewise.
4257
93fd48c5
MR
42582013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
4259
ae9552cf
MR
4260 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
4261 __ehdr_start with hidden visibility.
4262
93fd48c5
MR
4263 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
4264
418601aa
CD
42652013-04-24 Carlos O'Donell <carlos@redhat.com>
4266
4267 * math/libm-test.inc (cos_test): Use accurate hex constants.
4268 (sincost_test): Likewise.
4269
2f38fbfe
JM
42702013-04-24 Joseph Myers <joseph@codesourcery.com>
4271
5e221800
JM
4272 * math/libm-test.inc (catan_test): Add more tests.
4273 (catanh_test): Likewise.
4274
77f143fd
JM
4275 * math/s_catanf.c (__catanf): Use suffixed floating-point
4276 constants.
4277 * math/s_catanhf.c (__catanhf): Likewise.
4278 * math/s_catanhl.c (__catanhl): Likewise.
4279 * math/s_catanl.c (__catanl): Likewise.
4280
2f38fbfe
JM
4281 [BZ #15394]
4282 * math/s_catan.c (__catan): Calculate imaginary part of result
4283 with log1p not log unless computing log of number close to 0.
4284 * math/s_catanf.c (__catanf): Likewise.
4285 * math/s_catanl.c (__catanl): Likewise.
4286 * math/s_catanh.c (__catanh): Calculate real part of result with
4287 log1p not log unless computing log of number close to 0.
4288 * math/s_catanhf.c (__catanhf): Likewise.
4289 * math/s_catanhl.c (__catanhl): Likewise.
4290 * math/libm-test.inc (catan_test): Add more tests.
4291 (catanh_test): Likewise.
4292 * sysdeps/i386/fpu/libm-test-ulps: Update.
4293 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4294
45d69176
SP
42952013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4296
4297 * benchtests/Makefile: Mention files in which fast and slow
4298 paths of math functions are implemented.
4299
87f51853
RM
43002013-04-23 Roland McGrath <roland@hack.frob.com>
4301
4302 * sysdeps/posix/timespec_get.c: New file.
4303
3c026539
AZ
43042013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4305
4306 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
4307 POWER.
4308 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
4309 for POWER.
4310 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
4311 powerpc/power5/fpu folders.
4312 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
4313 * benchtests/Makefile: Add modf testcase.
4314 * benchtests/bench-modf.c: New file: Benchmark test for mo
4315
ff491d14
SP
43162013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4317
4318 [BZ #14888]
4319 * time/Makefile (tests): Add tst-strptime-whitespace.
4320 * time/strptime_l.c (get_number): Use ISSPACE.
4321 (__strptime_internal): Likewise.
4322 * time/tst-strptime-whitespace.c: New test case.
4323
7ed3f4e8
AS
43242013-04-23 Andreas Schwab <schwab@linux-m68k.org>
4325
4326 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
4327 member.
4328 (_nss_files_init): Set it here.
4329
5c95f7b6
HC
43302013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
4331
4332 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
4333 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
4334 unsigned.
4335
d34c9158
JBG
43362013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
4337
4338 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
4339
2169712d
SP
43402013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4341
4342 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
4343 size just once.
4344
29c5de99
DM
43452013-04-21 David S. Miller <davem@davemloft.net>
4346
4347 * po/ru.po: Update Russion translation from translation project.
4348
ccdad15d
AC
43492013-04-17 Adam Conrad <adconrad@0c3.net>
4350
4351 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
4352 and setfsgid.
4353
0f122b8d
CD
43542013-04-17 Carlos O'Donell <carlos@redhat.com>
4355
5c5b07da 4356 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 4357 * configure: Regenerate.
5c5b07da 4358 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
4359 Add example to error message.
4360 * sysdeps/i386/configure: Regenerate.
4361
037714dd
SP
43622013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4363
4364 * benchtests/Makefile (bench): Add cos, tan, slowcos and
4365 slowtan.
4366 * benchtests/cos-inputs: New file.
4367 * benchtests/slowcos-inputs: New file.
4368 * benchtests/slowcos.c: New file.
4369 * benchtests/slowtan-inputs: New file.
4370 * benchtests/slowtan.c: New file.
4371 * benchtests/tan-inputs: New file.
4372
e913141d
RM
43732013-04-16 Roland McGrath <roland@hack.frob.com>
4374
4375 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
4376 considered kosher.
4377
a2964074
SP
43782013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4379
4856bcd2
SP
4380 * benchtests/Makefile: Include cppflags-iterator.mk to add
4381 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
4382
a2964074
SP
4383 * Makefile.in (bench-clean): New target.
4384 * benchtests/Makefile (bench-clean): Likewise.
4385
9fbf9aca
DH
43862013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
4387
4388 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
4389
207d1e2a
TS
43902013-04-15 Thomas Schwinge <thomas@codesourcery.com>
4391
4392 * stdio-common/tstdiomisc.c: Fix coding-style violation.
4393
306dfba9
AS
43942013-04-15 Andreas Schwab <schwab@suse.de>
4395
4396 * nscd/grpcache.c (cache_addgr): Properly check for short write.
4397 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4398 * nscd/pwdcache.c (cache_addpw): Likewise.
4399 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
4400 more than recsize.
4401
206a6699
SP
44022013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4403
4404 * benchtests/Makefile (bench): Write all output to
4405 bench-out.tmp together.
4406
0582f6b3
AS
44072013-04-15 Andreas Schwab <schwab@suse.de>
4408
4409 * nscd/nscd.c (main): Don't fork again after closing files.
4410
acb4325f
SP
44112013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4412
5cb26d0a
SP
4413 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
4414
acb4325f
SP
4415 * benchtests/Rules (bench-deps): Collect dependencies into a
4416 single variable. Add Makefile to dependencies.
4417 ($(objpfx)bench-%.c): Depend on bench-deps.
4418
47792506
RM
44192013-04-12 Roland McGrath <roland@hack.frob.com>
4420 Xavier Roche <roche+kml2@exalead.com>
4421
4422 [BZ #15361]
4423 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
4424 just that it's a file descriptor.
4425 * manual/llio.texi (Synchronizing AIO Operations): Update description
4426 for EBADF error from aio_fsync.
4427
8fc1bee5
SP
44282013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4429
4430 * Rules (bench): Move target definition...
4431 * benchtests/Makefile: ... here.
4432
aba5e333
CD
44332013-04-11 Carlos O'Donell <carlos@redhat.com>
4434
4435 * math/libm-test.inc (cos_test): Fix PI/2 test.
4436 (sincos_test): Likewise.
4437 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
4438 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
4439
273cdee8
AS
44402013-04-11 Andreas Schwab <schwab@suse.de>
4441
6ecec3b6
AS
4442 [BZ #13988]
4443 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
4444 accept exponent character only when digits were seen.
4445 * stdio-common/Makefile (tests): Add bug26.
4446 * stdio-common/bug26.c: New file.
4447
273cdee8
AS
4448 [BZ #14293]
4449 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
4450 non-freeable.
4451
8da491f5
SP
44522013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4453
01dc6df9
SP
4454 * Makeconfig (rtld-prefix): Define built linker prefix.
4455 * Rules (run-bench): Use it.
4456 * math/Makefile (run-regen-ulps): Likewise.
4457
8da491f5
SP
4458 * Rules (bench): Remove eval.
4459
abe7f530
SP
44602013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4461 Roland McGrath <roland@hack.frob.com>
4462 Ondrej Bilka <neleai@seznam.cz>
4463
4464 [BZ #15346]
4465 * time/getdate.c: Include ctype.h and alloca.h.
4466 (__getdate_r): Trim leading and trailing spaces of input.
4467 * time/tst-getdate.c (tests): Add tests with leading and
4468 trailing spaces.
4469
61c23e62
RM
44702013-04-08 Roland McGrath <roland@hack.frob.com>
4471
4472 [BZ #14280]
4473 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
4474 when computing value.
4475
7208a313
CD
44762013-04-06 Carlos O'Donell <carlos@redhat.com>
4477
085b2d41
CD
4478 * math/README.libm-test (How can I generate "libm-test-ulps"?):
4479 Use testrun.sh to run libm tests.
4480
7208a313
CD
4481 [BZ #15309]
4482 * elf/dl-open.c (dl_open_worker): memset all of seen array.
4483
872c0acd
MM
44842013-04-06 Marko Myllynen <myllynen@redhat.com>
4485
4486 [BZ #15264]
4487 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
4488
26510bdd
CD
44892013-04-06 Carlos O'Donell <carlos@redhat.com>
4490
4491 * Makefile.in (regen-ulps): New target.
4492 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
4493 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
4494 [ifneq (no,$(PERL)] (regen-ulps): New target.
4495 [ifeq (no,$(PERL)] (regen-ulps): New target.
4496 * math/libm-test.inc (ulps_file_name): Define.
4497 (output_dir): New variable.
4498 (options): Add "output-dir" option.
4499 (parse_opt): Handle 'o' case.
4500 (main): If output_dir is non-NULL use it as a prefix
4501 otherwise use "".
4502 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
4503
a01f19c8
CD
45042013-04-06 Carlos O'Donell <carlos@redhat.com>
4505
4506 [BZ #10060, #10062]
4507 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
4508 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
4509 fail configure if __sync_val_compare_and_swap is not inlined.
4510 * sysdeps/i386/configure: Regenerate.
4511 * configure.in: Build for i686 when configured for i386.
4512 * configure: Regenerate.
4513 * README: Remove i386 reference.
4514
b7a329a5
CD
45152013-04-06 Carlos O'Donell <carlos@redhat.com>
4516
4517 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
4518 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4519
bf0f50df
TS
45202013-04-05 Thomas Schwinge <thomas@codesourcery.com>
4521
ee091edf
TS
4522 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
4523 (lmsnanval): New variables.
4524 (F): Add conversion tests.
4525 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
4526 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
4527
a8b792d6
TS
4528 * stdio-common/tstdiomisc.c (F): Properly collect individual
4529 tests' results.
4530
a1cbf437
TS
4531 [BZ #14686, #15336]
4532 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
4533 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
4534 Instead, use input NaN values or generate a qNaN by arithmetic
4535 operation. Also fix bugs to comply with the standard.
4536 * math/libm-test.inc (remainder_test): Add more tests.
4537
8b43a0c9
TS
4538 [BZ #15335, #15342]
4539 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
4540 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
4541 input NaN values or generate a qNaN by arithmetic operation.
4542
d91da4ce
TS
4543 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
4544 unreachable code.
4545
bf0f50df
TS
4546 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
4547 definitions.
4548
05e166c8
JM
45492013-04-03 Joseph Myers <joseph@codesourcery.com>
4550
4551 [BZ #14478]
4552 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
4553 underflowed result.
4554 * math/s_cexpf.c (__cexpf): Likewise.
4555 * math/s_cexpl.c (__cexpl): Likewise.
4556 * math/libm-test.inc (cexp_test): Add more tests.
4557
1cef1b19
AS
45582013-04-03 Andreas Schwab <schwab@suse.de>
4559
4560 [BZ #15330]
4561 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
4562 order arrays from heap if bigger than alloca cutoff.
4563
74d87055
TS
45642013-04-03 Thomas Schwinge <thomas@codesourcery.com>
4565
4566 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
4567 (SNAN_TESTS_double): Refer to GCC PR56831.
4568 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
4569 GCC PR56828.
4570
d755bba4
SP
45712013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4572
90d5d5bb
SP
4573 * Rules (bench): Move bench.out after the run is complete.
4574
73e0cd5d
SP
4575 * Rules (bench): Echo currently running benchmark.
4576
64aabd4b
SP
4577 * benchtests/Makefile (bench): Add atan and slowatan.
4578 * benchtests/atan-inputs: New file.
4579 * benchtests/slowatan-inputs: New file.
4580 * benchtests/slowatan.c: New file.
4581
c871eccd
SP
4582 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
4583 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
4584 its value.
4585
d755bba4
SP
4586 [BZ #15305]
4587 * sysdeps/unix/sysv/linux/kernel-features.h
4588 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
4589 __ASSUME_XFS_RESTRICTED_CHOWN.
4590 * sysdeps/unix/sysv/linux/pathconf.c
4591 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
4592 Save and restore errno.
4593
52ce4860
JM
45942013-04-02 Joseph Myers <joseph@codesourcery.com>
4595
4596 [BZ #15327]
4597 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
4598 arguments using __kernel_casinh.
4599 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
4600 arguments using __kernel_casinhf.
4601 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
4602 arguments using __kernel_casinhl.
4603 * math/libm-test.inc (cacosh_test): Add more tests.
4604 * sysdeps/i386/fpu/libm-test-ulps: Update.
4605 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4606
81f311c2
SP
46072013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4608
e7906a47
SP
4609 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
4610 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
4611
92e3664b
SP
4612 * bench/Makefile (bench): Add sin and slowsin.
4613 * benchtests/sin-inputs: New file.
4614 * benchtests/slowsin-inputs: New file.
4615 * benchtests/slowsin.c: New file.
4616
81f311c2
SP
4617 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
4618 (bench): Add slowexp and slowpow.
4619 (exp-ITER): Increase iterations.
4620 (pow-ITER): Likewise.
4621 * benchtests/exp-inputs: Change input.
4622 * benchtests/pow-inputs: Likewise.
4623 * benchtests/slowexp-inputs: New file.
4624 * benchtests/slowexp.c: New file.
4625 * benchtests/slowpow-inputs: New file.
4626 * benchtests/slowpow.c: New file.
4627
ab0f1aa9
AZ
46282013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4629
4630 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
4631 instructions.
4632 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4633 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
4634 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4635 * benchtests/Makefile: Add rint benchtest.
4636 * benchtests/rint-inputs: Input for rint benchtest.
4637
57267616
TS
46382013-04-02 Thomas Schwinge <thomas@codesourcery.com>
4639
4640 * Versions.def (libm): Add GLIBC_2.18.
4641 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
4642 hidden libm prototypes.
4643 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
4644 * math/Makefile (libm-calls): Add s_issignaling.
4645 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
4646 __issignalingf, __issignalingl. Adjust all libm.abilist files.
4647 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
4648 declaration.
4649 * math/math.h [__USE_GNU] (issignaling): New macro.
4650 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
4651 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
4652 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
4653 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
4654 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
4655 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
4656 * manual/arith.texi (issignaling): New section.
4657 * manual/libm-err-tab.pl (@all_functions): Update comment.
4658 * math/gen-libm-test.pl (parse_args): Apply special handling for
4659 issignaling.
4660 * math/libm-test.inc (print_float, issignaling_test): New
4661 functions.
4662 (check_float_internal): Add issignaling checks.
4663 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
4664 default definition.
4665 * sysdeps/powerpc/math-tests.h: New file.
4666 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
4667 tests.
4668 * math/test-snan.c (TEST_FUNC): Likewise.
4669
6142896d
DM
46702013-03-30 David S. Miller <davem@davemloft.net>
4671
4672 * po/de.po: Update from translation team.
4673
ccc8cadf
JM
46742013-03-30 Joseph Myers <joseph@codesourcery.com>
4675
4676 [BZ #10357]
4677 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4678 imaginary part less than 1.0 and real part less than 0.5
4679 specially.
4680 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4681 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4682 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
4683 (cacos_test): Add more tests.
4684 (casin_test): Likewise.
4685 (casinh_test): Likewise.
4686 * sysdeps/i386/fpu/libm-test-ulps: Update.
4687 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4688
0f6a8d4b
SP
46892013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4690
0d1029de
SP
4691 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
4692 ONE with its value.
4693
c2d94018
SP
4694 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
4695 (__pow_mp): Replace ONE and MONE with their values.
4696 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4697 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
4698 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4699 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
4700 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4701 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4702
27ec37f1
SP
4703 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
4704
a64d7e0e
SP
4705 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
4706 (__pow_mp): Replace ZERO and MZERO with their values.
4707 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4708 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4709 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4710 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4711 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4712 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
4713 (__sqr): Likewise.
4714
d26dd3eb
SP
4715 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
4716
0f6a8d4b
SP
4717 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
4718
e57b0c61
RM
47192013-03-28 Roland McGrath <roland@hack.frob.com>
4720
4721 * include/stdlib.h [!SHARED] (__call_tls_dtors):
4722 Declare with __attribute__ ((weak)).
4723 * stdlib/exit.c (__libc_atexit) [!SHARED]:
4724 Call __call_tls_dtors only if it's not NULL.
4725
356b3480
RM
47262013-03-28 Roland McGrath <roland@hack.frob.com>
4727
288f7d79
RM
4728 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
4729 didn't do it already, then set _dl_phdr and _dl_phnum based on the
4730 magic __ehdr_start linker symbol if it's defined.
4731 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
4732 them up here if it was already done.
4733
dc0a0263
RM
4734 * elf/dl-support.c (_dl_phdr): Make pointer to const.
4735 (_dl_aux_init): Use const in cast when setting it.
4736 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
4737 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
4738 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
4739
3d3436ae
RM
4740 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
4741 Declare them here.
4742 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
4743 * csu/libc-tls.c: Nor here.
4744 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
4745
356b3480
RM
4746 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
4747 (__libc_message): Never call vsyslog.
4748
b0f1246a
AM
47492013-03-28 Alan Modra <amodra@gmail.com>
4750
4751 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
4752 Define as empty.
4753 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
4754 Likewise.
4755
fbbe2b9a
AZ
47562013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4757
4758 [BZ #15214]
4759 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
4760 underflow.
4761 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4762
1728ab37
SP
47632013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4764
7a86be6e
SP
4765 [BZ #15304]
4766 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4767 Don't add gid passed as argument.
4768
1728ab37
SP
4769 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
4770
3a7182a1
JM
47712013-03-27 Joseph Myers <joseph@codesourcery.com>
4772
4773 [BZ #15307]
4774 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4775 imaginary part between 1.0 and 1.5 and real part less than 0.5
4776 specially.
4777 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4778 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4779 * math/libm-test.inc (cacos_test): Add more tests.
4780 (casin_test): Likewise.
4781 (casinh_test): Likewise.
4782 * sysdeps/i386/fpu/libm-test-ulps: Update.
4783 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4784
6f2e90e7
SP
47852013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4786
5739f705
SP
4787 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
4788 constants.
4789 (norm): Likewise.
4790 (denorm): Likewise.
4791 (__dbl_mp): Likewise.
4792 (add_magnitudes): Likewise.
4793 (sub_magnitudes): Likewise.
4794 (__add): Likewise.
4795 (__sub): Likewise.
4796 (__mul): Likewise.
4797 (__sqr): Likewise.
4798 (__inv): Likewise.
4799 (__dvd): Likewise.
4800
e375e83d
SP
4801 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
4802 commented code.
4803 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
4804 (__dubcos): Likewise.
4805 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
4806 (__ieee754_acos): Likewise.
4807 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4808 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
4809 (__exp1): Likewise.
4810 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4811 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4812 (log1): Likewise.
4813 (my_log2): Likewise.
4814 (checkint): Likewise.
4815 * sysdeps/ieee754/dbl-64/e_remainder.c
4816 (__ieee754_remainder): Likewise.
4817 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4818 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
4819 (bsloww): Likewise.
4820 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4821
6f2e90e7
SP
4822 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
4823 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
4824 MANTISSA_STORE_T to store computations on mantissa. Use
4825 macros for rounding and division.
4826 (denorm): Likewise.
4827 (__dbl_mp): Likewise.
4828 (add_magnitudes): Likewise.
4829 (sub_magnitudes): Likewise.
4830 (__mul): Likewise.
4831 (__sqr): Likewise.
4832 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
4833 powers of two in terms of TWOPOW macro.
4834 (mp_no): Make type of mantissa as MANTISSA_T.
4835 [!RADIXI]: Define RADIXI.
4836 [!TWO52]: Define TWO52.
4837 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
4838
fce14d4e
AZ
48392013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4840
4841 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
4842 llroundl symbol when building for PPC32.
4843
9ad027fb
MW
48442013-03-24 Mark H Weaver <mhw@netris.org>
4845
4846 * manual/arith.texi (Normalization Functions): Fix prototypes for
4847 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
4848
e42a38dd
AZ
48492013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4850
4851 [BZ #13889]
4852 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
4853 high value to check if expl overflow.
4854 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
4855 to check for underflow and overflow.
4856 * math/libm-test.inc: Add exp test.
4857
2e0fb521
DL
48582013-03-21 Dmitry V. Levin <ldv@altlinux.org>
4859
4860 [BZ #11120]
4861 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
4862 with NOT_IN_libc.
4863
b5784d95
AZ
48642013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4865
4866 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
4867 symbol.
4868
5aa4a1a1
TS
48692013-03-21 Thomas Schwinge <thomas@codesourcery.com>
4870
bdef0be7
TS
4871 * math/gen-libm-test.pl (parse_args, special_functions): Properly
4872 wrap blocks consisting of several statements.
4873
5aa4a1a1
TS
4874 * sysdeps/generic/math-tests.h: New file.
4875 * sysdeps/i386/fpu/math-tests.h: Likewise.
4876 * math/test-snan.c: Include it.
4877 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
4878
98c48fe5
JM
48792013-03-21 Joseph Myers <joseph@codesourcery.com>
4880
4881 [BZ #15285]
4882 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
4883 (__ieee754_j0l): Do not improve calculations using cos of twice
4884 input for inputs above LDBL_MAX / 2.0L.
4885 (__ieee754_y0l): Likewise.
4886 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
4887 (__ieee754_j1l): Do not improve calculations using cos of twice
4888 input for inputs above LDBL_MAX / 2.0L.
4889 (__ieee754_y1l): Likewise.
4890 * math/libm-test.inc (j0_test): Add another test.
4891 (j1_test): Likewise.
4892 (y0_test): Likewise.
4893 (y1_test): Likewise.
4894 * sysdeps/i386/fpu/libm-test-ulps: Update.
4895
3775a8bc
SP
48962013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4897
4898 * Rules ($(objpfx)bench-%.c): Include code from a C source
4899 file.
4900
0a1b2ae6
JM
49012013-03-21 Joseph Myers <joseph@codesourcery.com>
4902
4903 [BZ #15287]
4904 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4905 imaginary part 1.0 and real part less than 0.5 specially.
4906 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4907 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4908 * math/libm-test.inc (cacos_test): Add more tests.
4909 (casin_test): Likewise.
4910 (casinh_test): Likewise.
4911 * sysdeps/i386/fpu/libm-test-ulps: Update.
4912 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4913
b33d4ce4
SP
49142013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4915
4916 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
4917 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
4918
bef0b507
JM
49192013-03-20 Joseph Myers <joseph@codesourcery.com>
4920
4921 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
4922 * config.make.in (config-cflags-sse4): Remove variable.
4923 (config-cflags-avx): Likewise.
4924 (config-cflags-sse2avx): Likewise.
4925 (config-cflags-novzeroupper): Likewise.
4926 (config-asflags-i686): Likewise.
4927 (have-mfma4): Likewise.
4928 (have-as-vis3): Likewise.
4929 (MIG): Likewise.
4930 * configure.in (MIG): Do not AC_SUBST.
4931 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
4932 (libc_cv_cc_sse4): Do not AC_SUBST.
4933 (libc_cv_cc_avx): Likewise.
4934 (libc_cv_cc_sse2avx): Likewise.
4935 (libc_cv_cc_novzeroupper): Likewise.
4936 (libc_cv_cc_fma4): Likewise.
4937 (libc_cv_as_i686): Likewise.
4938 (libc_cv_sparc_as_vis3): Likewise.
4939 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
4940 LIBC_CONFIG_VAR.
4941 (config-asflags-i686): Likewise.
4942 (config-cflags-avx): Likewise.
4943 (config-cflags-sse2avx): Likewise.
4944 (have-mfma4): Likewise.
4945 (config-cflags-novzeroupper): Likewise.
4946 * sysdeps/mach/configure.in (MIG): Likewise.
4947 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
4948 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
4949 LIBC_CONFIG_VAR.
4950 (config-cflags-avx): Likewise.
4951 (config-cflags-sse2avx): Likewise.
4952 (have-mfma4): Likewise.
4953 (config-cflags-novzeroupper): Likewise.
4954 * configure: Regenerated.
4955 * sysdeps/i386/configure: Likewise.
4956 * sysdeps/mach/configure: Likewise.
4957 * sysdeps/sparc/configure: Likewise.
4958 * sysdeps/x86_64/configure: Likewise.
4959
912cc4b3
RM
49602013-03-20 Roland McGrath <roland@hack.frob.com>
4961
4962 [BZ #14812]
4963 * locale/programs/localedef.c (options): Put N_ translation marker
4964 on argument names, not just descriptions.
4965
04eed2b0
MS
49662013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4967
4968 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
4969
a065ceff
OB
49702013-03-20 Ondřej Bílka <neleai@seznam.cz>
4971
9bb2a810 4972 [BZ #14176]
a065ceff
OB
4973 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
4974
a600e5ce
RM
49752013-03-19 Roland McGrath <roland@hack.frob.com>
4976
4977 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
4978 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
4979 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
4980 [!BEFORE_ABORT] (before_abort): New function.
4981 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
4982 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
4983 (writev_for_fatal): New function.
4984 (WRITEV_FOR_FATAL): New macro; call that.
4985 (backtrace_and_maps): New function.
4986 (BEFORE_ABORT): New macro; call that.
4987 (struct str_list): Type removed.
4988 (__libc_message, __libc_fatal): Functions removed.
4989 Include <sysdeps/posix/libc_fatal.c> instead.
4990
6b18bea6
JM
49912013-03-19 Joseph Myers <joseph@codesourcery.com>
4992
4993 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
4994 constants.
4995 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
4996 double constants.
4997
aaa8cb4b
AS
49982013-03-19 Andreas Schwab <schwab@suse.de>
4999
44673770
AS
5000 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
5001 * sysdeps/gnu/configure: Regenerate.
5002
aaa8cb4b
AS
5003 * configure.in: Substitute libc_cv_rtlddir.
5004 * configure: Regenerate.
5005 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
5006 * Makeconfig (rtlddir, inst_rtlddir): New variables.
5007 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
5008 * elf/Makefile (install-others, CFLAGS-interp.c)
5009 (ldso_install, common-ldd-rewrite): Likewise.
5010 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
5011 $(inst_slibdir)/$(rtld-installed-name).
5012 * scripts/rellns-sh: Add -p option.
5013 * Makerules (make-shlib-link): Use rellns-sh to get relative name
5014 for source.
5015
d3cfc668
SP
50162013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
5017
5018 * manual/nptl.texi: Renamed to ...
5019 * manual/threads.texi: ... this.
5020 * manual/Makefile (chapters): Update.
5021
0e2b9cdd
RM
50222013-03-18 Roland McGrath <roland@hack.frob.com>
5023
5024 [BZ #14812]
5025 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
5026 on argument names, not just descriptions.
0e2b9cdd
RM
5027 * malloc/memusagestat.c (options): Likewise.
5028 * nss/getent.c (options): Likewise.
63270c24
RM
5029
50302013-03-18 Benno Schulenberg <bensberg@justemail.net>
5031
5032 [BZ #14812]
5033 * iconv/iconv_prog.c (options): Put N_ translation marker
5034 on argument names, not just descriptions.
5035 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 5036
b2e1393c
OB
50372013-03-18 Ondrej Bilka <neleai@seznam.cz>
5038
5039 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
5040 implementation which is faster on all x86_64 architectures.
5041 Tested on AMD, Intel Nehalem, SNB, IVB.
5042 * sysdeps/x86_64/strnlen.S: Likewise.
5043
5044 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
5045 Remove all multiarch strlen and strnlen versions.
5046 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
5047 Remove strlen and strnlen related parts.
5048
5049 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
5050 Inline strlen part.
5051 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
5052
5053 * sysdeps/x86_64/multiarch/strlen.S: Remove.
5054 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
5055 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
5056 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
5057 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
5058 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
5059
ec4ff04d
CD
50602013-03-17 Carlos O'Donell <carlos@redhat.com>
5061
5062 * manual/memory.texi (Malloc Tunable Parameters):
5063 Sort parameters alphabetically. Add comments for missing entries.
5064
cd18e90a
DM
50652013-03-17 David S. Miller <davem@davemloft.net>
5066
5067 * sysdeps/sparc/fpu/libm-test-ulps: Update.
5068
2a185d32
JM
50692013-03-16 Joseph Myers <joseph@codesourcery.com>
5070
d2f9799e
JM
5071 [BZ #15283]
5072 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
5073 for arguments at most half maximum finite value.
5074 * math/libm-test.inc (j0_test): Add more tests.
5075 (j1_test): Likewise.
5076 (y0_test): Likewise.
5077 (y1_test): Likewise.
5078 * sysdeps/i386/fpu/libm-test-ulps: Update.
5079 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5080
2a185d32
JM
5081 [BZ #14155]
5082 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
5083 1 / x and functions P and Q for arguments above 0x1p256L.
5084 (__ieee754_y0l): Likewise.
5085 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
5086 (__ieee754_y1l): Likewise.
5087 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
5088 (j1_test): Likewise.
5089 (y0_test): Likewise.
5090 (y1_test): Likewise.
5091
6cbec759
TS
50922013-03-16 Thomas Schwinge <thomas@codesourcery.com>
5093
5094 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
5095 variable.
5096
bc16e260
RM
50972013-03-15 Roland McGrath <roland@hack.frob.com>
5098
aefc9b8c
RM
5099 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
5100 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
5101 zero since it's initialized to EXEC_PAGESIZE.
5102
bc16e260
RM
5103 * sysdeps/unix/sysv/linux/ldsodefs.h
5104 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
5105 * sysdeps/generic/ldsodefs.h: ... here.
5106
a57da955
TS
51072013-03-15 Thomas Schwinge <thomas@codesourcery.com>
5108
af00a34d
TS
5109 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
5110
495ded2c
TS
5111 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
5112 math/test-snan.c.
5113 * math/test-snan.c: Renamed from
5114 sysdeps/powerpc/fpu/test-powerpc-snan.c.
5115 * math/Makefile (tests): Add test-snan.
5116 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
5117 test-powerpc-snan.
5118
777b0332
TS
5119 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
5120 SUFFIX. Initialize qNaN_var with __builtin_nan family of
5121 functions.
5122 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
5123 __builtin_nan family of functions.
5124 * math/libm-test.inc (initialize): Initialize qnan_value with
5125 __builtin_nan family of functions.
5126 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
5127 Remove variables.
5128 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
5129 Remove functions.
5130 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
5131 storage class. Initialize qNaN_var and sNaN_var with
5132 __builtin_nan and __builtin_nans families of functions,
5133 respectively.
5134
64d063b8
TS
5135 * math/libm-test.inc (acosh_test): Also test with qNaN input.
5136 (sqrt_test): Remove duplicate test with qNaN input.
5137 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
5138 (round_test, signbit_test, significand_test): Note missing +/-Inf
5139 as well as qNaN tests.
5140
67e971f1
TS
5141 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
5142 qNaN_var. Fix a few strings, too.
5143 * math/libm-test.inc (nan_value): Rename to qnan_value.
5144 * math/gen-libm-test.pl (%beautify): Adjust to that.
5145 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
5146 * math/test-misc.c (main): Likewise.
5147 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
5148 to __qnan_bytes, and __qnan_union, respectively.
5149 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
5150 Likewise.
5151 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
5152 and lqnanval, respectively.
5153 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
5154 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
5155 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
5156 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
5157
64487e12
TS
5158 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
5159 * math/test-misc.c (main) [__x86_64__]: Enable test for long
5160 doubles.
5161
e015e27b
TS
5162 * math/test-misc.c (main): Fix copy'n'pastos.
5163 * misc/tst-efgcvt.c (special): Likewise.
5164
a57da955
TS
5165 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
5166 Remove declarations.
5167
1e380345
SP
51682013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5169
5170 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
5171 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
5172 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
5173 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
5174
ef26eece
AZ
51752013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5176
5177 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
5178 macro to return vdso values correctly in IFUNC implementations.
5179 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5180 Optimization by using IFUNC.
5181
8cfdb7e0
SP
51822013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5183 Richard Henderson <rth@redhat.com>
5184 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
5185
5186 * Makefile.in (bench): New target.
5187 * NEWS: Mention the benchmark framework.
5188 * Rules (bench): Likewise.
5189 (binaries-bench): Generate binaries for functions to
5190 benchmark.
5191 * benchtests/Makefile: New makefile for benchmark tests.
5192 * benchtests/bench-skeleton.c: New skeleton file for benchmark
5193 programs.
5194 * benchtests/exp-inputs: New input file for EXP function.
5195 * benchtests/pow-inputs: New input file for POW function.
5196 * scripts/bench.pl: New script to generate source files for
5197 benchmark programs.
5198
bcda9880
SP
51992013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5200
d22ca8cd
SP
5201 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5202 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
5203 computations on mantissa. Use macros for rounding and
5204 division.
5205 (denorm): Likewise.
5206 (__dbl_mp): Likewise.
5207 (add_magnitudes): Likewise.
5208 (sub_magnitudes): Likewise.
5209 (__mul): Likewise.
5210 (__sqr): Likewise.
5211 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
5212 powers of two in terms of TWOPOW macro.
5213 (mp_no): Make type of mantissa as MANTISSA_T.
5214 [!RADIXI]: Define RADIXI.
5215 [!TWO52]: Define TWO52.
5216 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
5217
bcda9880
SP
5218 * manual/nptl.texi (cindex): Modify threads to pthreads.
5219
06d5adfb
JM
52202013-03-15 Joseph Myers <joseph@codesourcery.com>
5221
5222 * sysdeps/x86_64/preconfigure: Regenerated.
5223
41c7328e
JM
52242013-03-14 Joseph Myers <joseph@codesourcery.com>
5225
5226 [BZ #14155]
5227 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
5228 0x1p28 and above.
5229 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
5230 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
5231 0x1p28 and above.
5232 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
5233 * math/libm-test.inc (j0_test): Do not allow one spurious
5234 underflow exception.
5235 (y1_test): Likewise.
5236
e25cfa60
SP
52372013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5238
0409959c
SP
5239 * manual/Makefile (chapters): Add nptl.
5240 * manual/debug.texi (Debugging Support): Add link to Threads
5241 chapter.
5242 * manual/nptl.texi: New file.
5243
e25cfa60
SP
5244 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
5245
58a1335e
PB
52462013-03-14 Petr Baudis <pasky@ucw.cz>
5247
5248 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
5249 for non-NULL pointer before the memory validity test. Pointed
5250 out by Holger Brunck <holger.brunck@keymile.com>.
5251
9dc7c64f
AS
52522013-03-13 Andreas Schwab <schwab@suse.de>
5253
5254 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
5255 instead of .os.
5256
54206aa6
JM
52572013-03-13 Joseph Myers <joseph@codesourcery.com>
5258
5259 * timezone/zic.c: Update from tzcode 2013b.
5260
e98cdb38
CD
52612013-03-12 Carlos O'Donell <carlos@redhat.com>
5262
5263 * manual/install.texi (Configuring and compiling):
5264 Mention i686 and i586.
5265 * INSTALL: Regenerate.
5266
9967e003
RM
52672013-03-12 Roland McGrath <roland@hack.frob.com>
5268
5269 * sysdeps/init_array/elf-init.c: New file.
5270 * csu/elf-init.c
5271 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
5272 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
5273
5274 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
5275 __gmon_start__ as global, but as static with a .preinit_array pointer.
5276 * sysdeps/init_array/gmon-start.c: New file. Use that.
5277 * sysdeps/init_array/crti.S: New file, empty except for comments.
5278 * sysdeps/init_array/crtn.S: Likewise.
5279
e6b5a293 52802013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
5281
5282 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
5283 definining bcopy.
80f844c9
OB
5284 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5285 Remove Prefer_SSE_for_memop.
5286 * sysdeps/x86_64/multiarch/init-arch.h: Remove
5287 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
5288 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
5289 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5290 memset-x86-64.
80f844c9 5291 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 5292 Remove bzero, memset ifunc support.
80f844c9
OB
5293 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
5294 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
5295 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5296 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5297
fb6b0fcb
AS
52982013-03-11 Andreas Schwab <schwab@suse.de>
5299
5300 [BZ #15234]
5301 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
5302 by SHLIB_COMPAT.
5303 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
5304 (GLIBC_2.16): Remove pthread_atfork.
5305
3e6bd4b1
PP
53062013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
5307
5308 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
5309 (ptestcases.h): Likewise.
5310
222d7f00
RM
53112013-03-08 Roland McGrath <roland@hack.frob.com>
5312
5313 * Makeconfig ($(common-objpfx)config.status): Depend on
5314 sysdeps/*/preconfigure{,.in} too.
5315
1ba4f030
JM
53162013-03-08 Joseph Myers <joseph@codesourcery.com>
5317
a222d91a
JM
5318 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
5319 (__free_hook): Use void * instead of __malloc_ptr_t.
5320 (__malloc_hook): Likewise.
5321 (__realloc_hook): Likewise.
5322 (__memalign_hook): Likewise.
5323 (__after_morecore_hook): Likewise.
5324 * malloc/arena.c (save_malloc_hook): Likewise.
5325 (save_free_hook): Likewise.
5326 * malloc/hooks.c (malloc_hook_ini): Likewise.
5327 (realloc_hook_ini): Likewise.
5328 (memalign_hook_ini): Likewise.
5329 * malloc/malloc.c (malloc_hook_ini): Likewise.
5330 (realloc_hook_ini): Likewise.
5331 (memalign_hook_ini): Likewise.
5332 (__free_hook): Likewise.
5333 (__malloc_hook): Likewise.
5334 (__realloc_hook): Likewise.
5335 (__memalign_hook): Likewise.
5336 (__libc_malloc): Likewise.
5337 (__libc_free): Likewise.
5338 (__libc_realloc): Likewise.
5339 (__libc_memalign): Likewise.
5340 (__libc_valloc): Likewise.
5341 (__libc_pvalloc): Likewise.
5342 (__libc_calloc): Likewise.
5343 (__posix_memalign): Likewise.
5344 * malloc/morecore.c (__sbrk): Likewise.
5345 (__default_morecore): Likewise.
5346
5cc45e10
JM
5347 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
5348
dd54b864
JM
5349 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
5350 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
5351 __malloc_ptrdiff_t.
5352
1ba4f030
JM
5353 * malloc/malloc.h (__malloc_size_t): Remove macro.
5354 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
5355 __malloc_size_t.
5356 (old_memalign_hook): Likewise.
5357 (old_realloc_hook): Likewise.
5358 (struct hdr): Likewise.
5359 (flood): Likewise.
5360 (mallochook): Likewise.
5361 (memalignhook): Likewise.
5362 (reallochook): Likewise.
5363 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
5364 (tr_old_realloc_hook): Likewise.
5365 (tr_old_memalign_hook): Likewise.
5366 (tr_mallochook): Likewise.
5367 (tr_reallochook): Likewise.
5368 (tr_memalignhook): Likewise.
5369
edf66e57
AZ
53702013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5371
5372 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
5373 default_ldbl_pack and using as default implementation.
5374 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
5375 implementation.
5376 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
5377 redundant definition.
5378 (ldbl_insert_mantissa): Likewise.
5379 (ldbl_canonicalize): Likewise.
5380 (ldbl_nearbyint): Likewise.
5381 (ldbl_pack): Rename to ldbl_pack_ppc.
5382 (ldbl_unpack): Rename to ldbl_unpack_ppc.
5383 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
5384 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
5385
6d9145d8
SP
53862013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5387
5388 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
5389 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
5390 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
5391 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
5392 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
5393 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
5394 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
5395 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
5396
4dd4e157
AJ
53972013-03-07 Andreas Jaeger <aj@suse.de>
5398
5399 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5400 bits/mman-linux.h.
5401
adbb8027
SP
54022013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
5403
ce544b5b
SP
5404 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
5405 Include mpa.h and declare __MPEXP.
5406 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
5407 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
5408 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
5409 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
5410 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
5411 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
5412 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
5413
4cc149fd
SP
5414 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
5415 (__slowpow): Use long double EXPL and LOGL functions to
5416 compute POW.
5417 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
5418 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
5419 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
5420 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
5421 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
5422 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
5423
e6ebd4a7
SP
5424 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
5425 intermediate variable to calculate exponent.
5426 (__sqr): Likewise.
5427 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
5428 Likewise.
5429 (__sqr): Likewise.
5430
82a9811d
SP
5431 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
5432 [!NO__SQR]: Define __sqr.
5433 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
5434 and NO__SQR. Remove all code except __mul and __sqr. Include
5435 sysdeps/ieee754/dbl-64/mpa.c.
5436 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5437
adbb8027
SP
5438 [BZ #12723]
5439 * posix/Makefile (tests): Add tst-pathconf.
5440 * posix/tst-pathconf.c: New test case.
5441 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
5442 _PC_PIPE_BUF.
5443 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
5444
39120df9
PF
54452013-03-06 Patsy Franklin <pfrankli@redhat.com>
5446
5447 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
5448
67525cb8
AJ
54492013-03-06 Andreas Jaeger <aj@suse.de>
5450
664a9ce4
AJ
5451 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
5452 definition via __MAP_ANONYMOUS.
5453
8e39047d
AJ
5454 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
5455 it's not part of Linux headers.
5456
67525cb8
AJ
5457 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
5458 (MAP_HUGE_MASK): Define.
5459
5460 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5461 Define.
5462 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5463 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5464 Define.
5465 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5466 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5467 Define.
5468 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5469 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
5470 Define.
5471 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5472
5473 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
5474 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
5475 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
5476 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
5477 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
5478 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
5479
5480 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
5481 Handle f2fs.
5482
5483 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5484 Handle f2fs and efivarfs.
5485
5486 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
5487 f2fs.
5488
5489 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
5490 (EFIVARFS_MAGIC): Add.
5491 (F2FS_LINK_MAX): Add.
5492
e1b42695
PP
54932013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5494
5495 * stdio-common/vfprintf.c: Replace __builtin_expect with
5496 __glibc_unlikely.
5497
2d67d91a
JM
54982013-03-06 Joseph Myers <joseph@codesourcery.com>
5499
5500 [BZ #13550]
5501 * sysdeps/generic/bp-sym.h: Remove file.
5502 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
5503 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
5504 <bp-sym.h> and <bp-asm.h>.
5505 (__longjmp): Don't use BP_SYM.
5506 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
5507 and <bp-asm.h>.
5508 (memcpy): Don't use BP_SYM.
5509 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
5510 <bp-sym.h> and <bp-asm.h>.
5511 (memcpy): Don't use BP_SYM.
5512 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
5513 <bp-asm.h>.
5514 (memcpy): Don't use BP_SYM.
5515 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
5516 <bp-asm.h>.
5517 (memset): Don't use BP_SYM.
5518 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5519 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5520 (__bzero): Don't use BP_SYM.
5521 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5522 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5523 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
5524 <bp-sym.h> and <bp-asm.h>.
5525 (memcmp): Don't use BP_SYM. Remove comment about bounded
5526 pointers.
5527 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
5528 <bp-sym.h> and <bp-asm.h>.
5529 (memcpy): Don't use BP_SYM.
5530 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
5531 <bp-sym.h> and <bp-asm.h>.
5532 (memset): Don't use BP_SYM.
5533 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5534 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5535 (__bzero): Don't use BP_SYM.
5536 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5537 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5538 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
5539 <bp-sym.h> and <bp-asm.h>.
5540 (strncmp): Don't use BP_SYM. Remove comment about bounded
5541 pointers.
5542 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
5543 <bp-sym.h> and <bp-asm.h>.
5544 (memcpy): Don't use BP_SYM.
5545 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
5546 <bp-sym.h> and <bp-asm.h>.
5547 (memset): Don't use BP_SYM.
5548 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5549 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5550 (__bzero): Don't use BP_SYM.
5551 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5552 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5553 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
5554 <bp-sym.h> and <bp-asm.h>.
5555 (__memchr): Don't use BP_SYM.
5556 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
5557 <bp-sym.h> and <bp-asm.h>.
5558 (memcmp): Don't use BP_SYM. Remove comment about bounded
5559 pointers.
5560 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
5561 <bp-sym.h> and <bp-asm.h>.
5562 (memcpy): Don't use BP_SYM.
5563 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
5564 <bp-sym.h> and <bp-asm.h>.
5565 (__mempcpy): Don't use BP_SYM.
5566 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
5567 <bp-sym.h> and <bp-asm.h>.
5568 (__memrchr): Don't use BP_SYM.
5569 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
5570 <bp-sym.h> and <bp-asm.h>.
5571 (memset): Don't use BP_SYM.
5572 (__bzero): Likewise.
5573 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
5574 <bp-sym.h> and <bp-asm.h>.
5575 (__rawmemchr): Don't use BP_SYM.
5576 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
5577 <bp-sym.h> and <bp-asm.h>.
5578 (__STRCMP): Don't use BP_SYM.
5579 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
5580 <bp-sym.h> and <bp-asm.h>.
5581 (strchr): Don't use BP_SYM.
5582 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
5583 <bp-sym.h> and <bp-asm.h>.
5584 (__strchrnul): Don't use BP_SYM.
5585 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
5586 <bp-sym.h> and <bp-asm.h>.
5587 (strlen): Don't use BP_SYM.
5588 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
5589 <bp-sym.h> and <bp-asm.h>.
5590 (strncmp): Don't use BP_SYM. Remove comment about bounded
5591 pointers.
5592 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
5593 <bp-sym.h> and <bp-asm.h>.
5594 (__strnlen): Don't use BP_SYM.
5595 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
5596 <bp-sym.h> and <bp-asm.h>.
5597 (__GI__setjmp): Don't use BP_SYM.
5598 (_setjmp): Likewise.
5599 (__sigsetjmp): Likewise.
5600 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
5601 (L(start_addresses)): Don't use BP_SYM.
5602 (_start): Likewise.
5603 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
5604 <bp-asm.h>.
5605 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
5606 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
5607 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5608 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5609 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
5610 <bp-asm.h>.
5611 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
5612 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
5613 about bounded pointers.
5614 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5615 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5616 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
5617 <bp-asm.h>.
5618 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
5619 about bounded pointers. Remove GKM FIXME comments.
5620 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5621 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
5622 <bp-asm.h>.
5623 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
5624 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
5625 Remove GKM FIXME comments.
5626 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5627 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5628 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
5629 <bp-asm.h>.
5630 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
5631 about bounded pointers. Remove GKM FIXME comment.
5632 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
5633 and <bp-asm.h>.
5634 (strncmp): Don't use BP_SYM. Remove comment about bounded
5635 pointers.
5636 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
5637 <bp-sym.h> and <bp-asm.h>.
5638 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5639 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
5640 <bp-sym.h> and <bp-asm.h>.
5641 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
5642 comment.
5643
cdcf361f
PP
56442013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5645
5646 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
5647 call free(NULL).
5648
3c4a2b15
DM
56492013-03-05 David S. Miller <davem@davemloft.net>
5650
5651 * po/es.po: Update from translation team.
5652
cdcf361f 56532013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
5654
5655 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
5656 <bits/mman-linux.h>.
5657 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5658 is fine.
5659 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
5660 <bits/mman-linux.h> to end of file.
5661 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5662 is fine.
5663 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
5664 <bits/mman-linux.h> to end of file.
5665 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5666 is fine.
5667 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
5668 <bits/mman-linux.h> to end of file.
5669
5670 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
5671 (MCL_CURRENT, MCL_FUTURE): Define here.
5672
5f67c04f
AK
56732013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5674
8a4473cc 5675 [BZ #15232]
5f67c04f
AK
5676 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
5677 attribute_hidden.
5678 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5679
c3e94a95
AK
56802013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5681
5682 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
5683 fourth parameter needed for rt_sigprocmask syscall.
5684 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
5685 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
5686 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
5687 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
5688 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
5689 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
5690
cfb6382a
JM
56912013-03-04 Joseph Myers <joseph@codesourcery.com>
5692
5693 [BZ #13550]
5694 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
5695 comment about bounded pointers.
5696 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
5697 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
5698
539d8e01
AJ
56992013-03-04 Andreas Jaeger <aj@suse.de>
5700
5701 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
5702 common definitions.
5703
5704 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
5705 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
5706 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
5707 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5708 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
5709 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5710
2e167a70 57112013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
5712
5713 [BZ #15055]
5714 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
5715 __ieee754_sqrl instead of __sqrl.
5716
68508633
JM
57172013-03-01 Joseph Myers <joseph@codesourcery.com>
5718
5719 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
5720 * sysdeps/powerpc/fpu_control.h: ... here.
5721 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
5722 * sysdeps/powerpc/bits/fenvinline.h: ... here.
5723 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
5724 * sysdeps/powerpc/bits/mathinline.h: ... here.
5725
7775448e
RM
57262013-03-01 Roland McGrath <roland@hack.frob.com>
5727
5728 * elf/dl-hwcaps.c (_dl_important_hwcaps):
5729 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
5730 to just [NEED_DL_SYSINFO_DSO].
5731 * elf/dl-support.c: Likewise.
5732 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
5733 * elf/rtld.c (dl_main): Likewise.
5734 * elf/setup-vdso.h (setup_vdso): Likewise.
5735 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
5736 * sysdeps/unix/sysv/linux/dl-sysdep.c
5737 (_dl_discover_osversion): Likewise.
5738
4e9b5995
CD
57392013-03-01 Carlos O'Donell <carlos@redhat.com>
5740
5741 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
5742 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5743
e23872c8
SP
57442013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5745
e5c74c63
SP
5746 * NEWS: Mention libm performance improvements and non-x86 PI
5747 futex support.
5748
e23872c8
SP
5749 * csu/libc-start.c (__pthread_initialize_minimal): Change
5750 function arguments.
5751 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5752
b5510883
JM
57532013-02-28 Joseph Myers <joseph@codesourcery.com>
5754
5755 [BZ #13550]
5756 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
5757 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
5758 <bp-sym.h> and <bp-asm.h>.
5759 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5760 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
5761 and <bp-asm.h>.
5762 (memcpy): Don't use BP_SYM.
5763 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
5764 <bp-asm.h>.
5765 (__mpn_add_n): Don't use BP_SYM.
5766 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
5767 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
5768 and <bp-asm.h>.
5769 (__mpn_addmul_1): Don't use BP_SYM.
5770 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5771 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
5772 <bp-sym.h>.
5773 (_setjmp): Don't use BP_SYM.
5774 (__novmx_setjmp): Likewise.
5775 (__GI__setjmp): Likewise.
5776 (__vmx_setjmp): Likewise.
5777 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
5778 <bp-sym.h>.
5779 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
5780 (__bzero): Don't use BP_SYM.
5781 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5782 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5783 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
5784 <bp-sym.h> and <bp-asm.h>.
5785 (memcpy): Don't use BP_SYM.
5786 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
5787 <bp-sym.h> and <bp-asm.h>.
5788 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5789 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
5790 <bp-sym.h> and <bp-asm.h>.
5791 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5792 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
5793 <bp-asm.h>.
5794 (__mpn_lshift): Don't use BP_SYM.
5795 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5796 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
5797 <bp-asm.h>.
5798 (memset): Don't use BP_SYM.
5799 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5800 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5801 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
5802 <bp-asm.h>.
5803 (__mpn_mul_1): Don't use BP_SYM.
5804 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5805 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
5806 <bp-sym.h> and <bp-asm.h>.
5807 (memcmp): Don't use BP_SYM.
5808 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
5809 <bp-sym.h> and <bp-asm.h>.
5810 (memcpy): Don't use BP_SYM.
5811 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
5812 <bp-sym.h> and <bp-asm.h>.
5813 (memset): Don't use BP_SYM.
5814 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
5815 <bp-sym.h> and <bp-asm.h>.
5816 (strncmp): Don't use BP_SYM.
5817 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
5818 <bp-sym.h> and <bp-asm.h>.
5819 (memcpy): Don't use BP_SYM.
5820 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
5821 <bp-sym.h> and <bp-asm.h>.
5822 (memset): Don't use BP_SYM.
5823 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
5824 <bp-sym.h> and <bp-asm.h>.
5825 (__memchr): Don't use BP_SYM.
5826 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
5827 <bp-sym.h> and <bp-asm.h>.
5828 (memcmp): Don't use BP_SYM.
5829 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
5830 <bp-sym.h> and <bp-asm.h>.
5831 (memcpy): Don't use BP_SYM.
5832 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
5833 <bp-sym.h> and <bp-asm.h>.
5834 (__mempcpy): Don't use BP_SYM.
5835 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
5836 <bp-sym.h> and <bp-asm.h>.
5837 (__memrchr): Don't use BP_SYM.
5838 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
5839 <bp-sym.h> and <bp-asm.h>.
5840 (memset): Don't use BP_SYM.
5841 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
5842 <bp-sym.h> and <bp-asm.h>.
5843 (__rawmemchr): Don't use BP_SYM.
5844 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
5845 <bp-sym.h> and <bp-asm.h>.
5846 (__STRCMP): Don't use BP_SYM.
5847 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
5848 <bp-sym.h> and <bp-asm.h>.
5849 (strchr): Don't use BP_SYM.
5850 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
5851 <bp-sym.h> and <bp-asm.h>.
5852 (__strchrnul): Don't use BP_SYM.
5853 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
5854 <bp-sym.h> and <bp-asm.h>.
5855 (strlen): Don't use BP_SYM.
5856 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
5857 <bp-sym.h> and <bp-asm.h>.
5858 (strncmp): Don't use BP_SYM.
5859 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
5860 <bp-sym.h> and <bp-asm.h>.
5861 (__strnlen): Don't use BP_SYM.
5862 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
5863 <bp-asm.h>.
5864 (__mpn_rshift): Don't use BP_SYM.
5865 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5866 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
5867 <bp-sym.h> and <bp-asm.h>.
5868 (__sigsetjmp): Don't use BP_SYM.
5869 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
5870 (L(start_addresses)): Don't use BP_SYM.
5871 (_start): Likewise.
5872 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
5873 <bp-asm.h>.
5874 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
5875 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5876 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5877 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
5878 <bp-asm.h>.
5879 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
5880 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5881 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5882 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
5883 <bp-asm.h>.
5884 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
5885 comments.
5886 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5887 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
5888 <bp-asm.h>.
5889 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
5890 FIXME comments.
5891 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5892 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5893 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
5894 <bp-asm.h>.
5895 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
5896 comment.
5897 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
5898 and <bp-asm.h>.
5899 (strncmp): Don't use BP_SYM,
5900 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
5901 <bp-asm.h>.
5902 (__mpn_sub_n): Don't use BP_SYM.
5903 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5904 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
5905 and <bp-asm.h>.
5906 (__mpn_submul_1): Don't use BP_SYM.
5907 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5908 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
5909 <bp-sym.h> and <bp-asm.h>.
5910 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
5912 <bp-sym.h> and <bp-asm.h>.
5913 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
5914 comment.
5915
8d19fe64
SP
59162013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5917
5918 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
5919 Use ZK to minimize writes to Z.
5920 (sub_magnitudes): Simplify code a bit.
5921 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
5922 Use ZK to minimize writes to Z.
5923 (sub_magnitudes): Simplify code a bit.
5924
85bd816a
RM
59252013-02-27 Roland McGrath <roland@hack.frob.com>
5926
5927 * csu/gmon-start.c: Add special exception to license text.
5928
b5977bf2
RH
59292013-02-27 Richard Henderson <rth@redhat.com>
5930
5931 * scripts/config.guess: Update from config.git.
5932 * scripts/config.sub: Likewise.
5933
11d6e2f2
SP
59342013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5935
09c14ed2
SP
5936 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
5937
a688864e
SP
5938 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
5939
6295157a
SP
5940 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
5941
b8de2202
SP
5942 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
5943
11d6e2f2
SP
5944 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
5945
7e80ddb8
RM
59462013-02-26 Roland McGrath <roland@hack.frob.com>
5947
5948 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
5949 [$(build-shared = yes].
7e80ddb8 5950
7da6d9ed
SP
59512013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5952
45f05884
SP
5953 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
5954 (__mul): Reduce iterations for calculating mantissa.
5955
2236d359
SP
5956 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
5957 MPTWO.
5958 (__mpranred): Likewise.
5959
7da6d9ed
SP
5960 [BZ #15160]
5961 * malloc/memusagestat.c (main): Draw graphs for heap and stack
5962 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
5963
b7688c42
PE
59642013-02-26 Paul Eggert <eggert@cs.ucla.edu>
5965
5966 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
5967 Define __attribute__.
5968
53a5c423
SP
59692013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5970
5971 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
5972 unused.
5973 * posix/regex_internal.h (__attribute): Remove.
5974 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
5975 (re_string_context_at): Likewise.
5976 (bitset_not): Use __attribute__ and mark function as possibly
5977 unused.
5978 (bitset_merge): Likewise.
5979 (bitset_mask): Likewise.
5980 (re_string_char_size_at): Likewise.
5981 (re_string_wchar_at): Likewise.
5982 (re_string_elem_size_at): Likewise.
5983
60f5a8b5
SP
59842013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5985
2a983a2e
SP
5986 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
5987 code.
5988 (cc32): Likewise.
5989
e69804d1
SP
5990 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
5991 (__acr): Likewise.
5992 (__cpy): Likewise.
5993 (norm): Likewise.
5994 (denorm): Likewise.
5995 (__dbl_mp): Likewise.
5996 (add_magnitudes): Likewise.
5997 (sub_magnitudes): Likewise.
5998 (__mul): Likewise.
5999 (__inv): Likewise.
6000
2f22a1e8
SP
6001 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
6002 style.
6003
8930ddc7
SP
6004 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
6005 style.
6006
dc60cb11
SP
6007 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
6008 code.
6009
60f5a8b5
SP
6010 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
6011 up changes with default code.
6012 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
6013 Likewise.
6014
b4d1fd33
AM
60152013-02-24 Allan McRae <allan@archlinux.org>
6016
faf6f8bc
AM
6017 * manual/socket.texi (The Internet Namespace): Order menu items
6018 to match that in the file.
6019
b4d1fd33
AM
6020 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
6021 node listing of the info page menu.
6022
2366713d
JM
60232013-02-21 Joseph Myers <joseph@codesourcery.com>
6024
6025 [BZ #13550]
6026 * sysdeps/i386/bp-asm.h: Remove file.
6027 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6028 (PARMS): Do not use macros from bp-asm.h.
6029 (S1): Likewise.
6030 (S2): Likewise.
6031 (SIZE): Likewise.
6032 (__mpn_add_n): Do not use BP_SYM
6033 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
6034 "bp-asm.h".
6035 (PARMS): Do not use macros from bp-asm.h.
6036 (S1): Likewise.
6037 (SIZE): Likewise.
6038 (__mpn_addmul_1): Do not use BP_SYM
6039 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
6040 "bp-asm.h".
6041 (PARMS): Do not use macros from bp-asm.h.
6042 (SIGMSK): Likewise.
6043 (_setjmp): Likewise. Do not use BP_SYM.
6044 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
6045 "bp-asm.h".
6046 (PARMS): Do not use macros from bp-asm.h.
6047 (SIGMSK): Likewise.
6048 (setjmp): Likewise. Do not use BP_SYM.
6049 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
6050 "bp-asm.h".
6051 (PARMS): Do not use macros from bp-asm.h.
6052 (__frexp): Do not use BP_SYM.
6053 (frexp): Likewise.
6054 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
6055 "bp-asm.h".
6056 (PARMS): Do not use macros from bp-asm.h.
6057 (__frexpf): Do not use BP_SYM.
6058 (frexpf): Likewise.
6059 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
6060 "bp-asm.h".
6061 (PARMS): Do not use macros from bp-asm.h.
6062 (__frexpl): Do not use BP_SYM.
6063 (frexpl): Likewise.
6064 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
6065 "bp-asm.h".
6066 (PARMS): Do not use macros from bp-asm.h.
6067 (__remquo): Do not use BP_SYM.
6068 (remquo): Likewise.
6069 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
6070 "bp-asm.h".
6071 (PARMS): Do not use macros from bp-asm.h.
6072 (__remquof): Do not use BP_SYM.
6073 (remquof): Likewise.
6074 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
6075 "bp-asm.h".
6076 (PARMS): Do not use macros from bp-asm.h.
6077 (__remquol): Do not use BP_SYM.
6078 (remquol): Likewise.
6079 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
6080 "bp-asm.h".
6081 (PARMS): Do not use macros from bp-asm.h.
6082 (DEST): Likewise.
6083 (SRC): Likewise.
6084 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
6085 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
6086 "bp-asm.h".
6087 (PARMS): Do not use macros from bp-asm.h.
6088 (strlen): Do not use BP_SYM.
6089 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
6090 "bp-asm.h".
6091 (PARMS): Do not use macros from bp-asm.h.
6092 (S1): Likewise.
6093 (S2): Likewise.
6094 (SIZE): Likewise.
6095 (__mpn_add_n): Do not use BP_SYM.
6096 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
6097 "bp-asm.h".
6098 (PARMS): Do not use macros from bp-asm.h.
6099 (S1): Likewise.
6100 (SIZE): Likewise.
6101 (__mpn_addmul_1): Do not use BP_SYM.
6102 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
6103 weak_alias.
6104 (bzero): Likewise.
6105 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
6106 "bp-asm.h".
6107 (PARMS): Do not use macros from bp-asm.h.
6108 (S): Likewise.
6109 (SIZE): Likewise.
6110 (__mpn_lshift): Do not use BP_SYM.
6111 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
6112 "bp-asm.h".
6113 (PARMS): Do not use macros from bp-asm.h.
6114 (DEST): Likewise.
6115 (SRC): Likewise.
6116 (LEN): Likewise.
6117 (memcpy): Likewise. Do not use BP_SYM.
6118 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
6119 libc_hidden_def and weak_alias.
6120 (mempcpy): Do not use BP_SYM in weak_alias.
6121 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
6122 "bp-asm.h".
6123 (PARMS): Do not use macros from bp-asm.h.
6124 (DEST): Likewise.
6125 (LEN): Likewise.
6126 [!BZERO_P] (CHR): Likewise.
6127 (memset): Likewise. Do not use BP_SYM.
6128 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
6129 "bp-asm.h".
6130 (PARMS): Do not use macros from bp-asm.h.
6131 (S1): Likewise.
6132 (SIZE): Likewise.
6133 (__mpn_mul_1): Do not use BP_SYM.
6134 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
6135 "bp-asm.h".
6136 (PARMS): Do not use macros from bp-asm.h.
6137 (S): Likewise.
6138 (SIZE): Likewise.
6139 (__mpn_rshift): Do not use BP_SYM.
6140 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
6141 "bp-asm.h".
6142 (PARMS): Do not use macros from bp-asm.h.
6143 (STR): Likewise.
6144 (CHR): Likewise.
6145 (strchr): Likewise. Do not use BP_SYM.
6146 (index): Do not use BP_SYM in weak_alias.
6147 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
6148 "bp-asm.h".
6149 (PARMS): Do not use macros from bp-asm.h.
6150 (DEST): Likewise.
6151 (SRC): Likewise.
6152 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
6153 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
6154 "bp-asm.h".
6155 (PARMS): Do not use macros from bp-asm.h.
6156 (strlen): Do not use BP_SYM.
6157 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
6158 "bp-asm.h".
6159 (PARMS): Do not use macros from bp-asm.h.
6160 (S1): Likewise.
6161 (S2): Likewise.
6162 (SIZE): Likewise.
6163 (__mpn_sub_n): Do not use BP_SYM.
6164 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
6165 "bp-asm.h".
6166 (PARMS): Do not use macros from bp-asm.h.
6167 (S1): Likewise.
6168 (SIZE): Likewise.
6169 (__mpn_submul_1): Do not use BP_SYM.
6170 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
6171 "bp-asm.h".
6172 (PARMS): Do not use macros from bp-asm.h.
6173 (S1): Likewise.
6174 (S2): Likewise.
6175 (SIZE): Likewise.
6176 (__mpn_add_n): Do not use BP_SYM.
6177 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
6178 weak_alias.
6179 (bzero): Likewise.
6180 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
6181 "bp-asm.h".
6182 (PARMS): Do not use macros from bp-asm.h.
6183 (BLK2): Likewise.
6184 (LEN): Likewise.
6185 (memcmp): Do not use BP_SYM.
6186 (bcmp): Do not use BP_SYM in weak_alias.
6187 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
6188 "bp-asm.h".
6189 (PARMS): Do not use macros from bp-asm.h.
6190 (DEST): Likewise.
6191 (SRC): Likewise.
6192 (LEN): Likewise.
6193 (memcpy): Likewise. Do not use BP_SYM.
6194 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
6195 "bp-asm.h".
6196 (PARMS): Do not use macros from bp-asm.h.
6197 (DEST): Likewise.
6198 (SRC): Likewise.
6199 (LEN): Likewise.
6200 (memmove): Likewise. Do not use BP_SYM.
6201 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
6202 "bp-asm.h".
6203 (PARMS): Do not use macros from bp-asm.h.
6204 (DEST): Likewise.
6205 (SRC): Likewise.
6206 (LEN): Likewise.
6207 (__mempcpy): Likewise. Do not use BP_SYM.
6208 (mempcpy): Do not use BP_SYM in weak_alias.
6209 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
6210 "bp-asm.h".
6211 (PARMS): Do not use macros from bp-asm.h.
6212 (DEST): Likewise.
6213 (LEN): Likewise.
6214 [!BZERO_P] (CHR): Likewise.
6215 (memset): Likewise. Do not use BP_SYM.
6216 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
6217 "bp-asm.h".
6218 (PARMS): Do not use macros from bp-asm.h.
6219 (STR2): Likewise.
6220 (strcmp): Do not use BP_SYM.
6221 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
6222 "bp-asm.h".
6223 (PARMS): Do not use macros from bp-asm.h.
6224 (STR): Likewise.
6225 (DELIM): Likewise.
6226 [USE_AS_STRTOK_R] (SAVE): Likewise.
6227 (FUNCTION): Likewise. Do not use BP_SYM.
6228 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
6229 aliases.
6230 (strtok_r): Likewise.
6231 (__GI___strtok_r): Likewise.
6232 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6233 (PARMS): Do not use macros from bp-asm.h.
6234 (S): Likewise.
6235 (SIZE): Likewise.
6236 (__mpn_lshift): Do not use BP_SYM.
6237 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6238 (PARMS): Do not use macros from bp-asm.h.
6239 (STR): Likewise.
6240 (CHR): Likewise.
6241 (__memchr): Do not use BP_SYM.
6242 (memchr): Do not use BP_SYM in weak_alias.
6243 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6244 (PARMS): Do not use macros from bp-asm.h.
6245 (BLK2): Likewise.
6246 (LEN): Likewise.
6247 (memcmp): Do not use BP_SYM.
6248 (bcmp): Do not use BP_SYM in weak_alias.
6249 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
6250 (PARMS): Do not use macros from bp-asm.h.
6251 (S1): Likewise.
6252 (SIZE): Likewise.
6253 (__mpn_mul_1): Do not use BP_SYM.
6254 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
6255 "bp-asm.h".
6256 (PARMS): Do not use macros from bp-asm.h.
6257 (STR): Likewise.
6258 (CHR): Likewise.
6259 (__rawmemchr): Do not use BP_SYM.
6260 (rawmemchr): Do not use BP_SYM in weak_alias.
6261 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6262 (PARMS): Do not use macros from bp-asm.h.
6263 (S): Likewise.
6264 (SIZE): Likewise.
6265 (__mpn_rshift): Do not use BP_SYM.
6266 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6267 (PARMS): Do not use macros from bp-asm.h.
6268 (SIGMSK): Likewise.
6269 (__sigsetjmp): Likewise. Do not use BP_SYM.
6270 * sysdeps/i386/start.S: Do not include "bp-sym.h".
6271 (_start): Do not use BP_SYM.
6272 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
6273 (PARMS): Do not use macros from bp-asm.h.
6274 (DEST): Likewise.
6275 (SRC): Likewise.
6276 (__stpcpy): Likewise. Do not use BP_SYM.
6277 (stpcpy): Do not use BP_SYM in weak_alias.
6278 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
6279 "bp-asm.h".
6280 (PARMS): Do not use macros from bp-asm.h.
6281 (DEST): Likewise.
6282 (SRC): Likewise.
6283 (LEN): Likewise.
6284 (__stpncpy): Likewise. Do not use BP_SYM.
6285 (stpncpy): Do not use BP_SYM in weak_alias.
6286 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6287 (PARMS): Do not use macros from bp-asm.h.
6288 (STR): Likewise.
6289 (CHR): Likewise.
6290 (strchr): Likewise. Do not use BP_SYM.
6291 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
6292 "bp-asm.h".
6293 (PARMS): Do not use macros from bp-asm.h.
6294 (STR): Likewise.
6295 (CHR): Likewise.
6296 (__strchrnul): Likewise. Do not use BP_SYM.
6297 (strchrnul): Do not use BP_SYM in weak_alias.
6298 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
6299 "bp-asm.h".
6300 (PARMS): Do not use macros from bp-asm.h.
6301 (STOP): Likewise.
6302 (strcspn): Do not use BP_SYM.
6303 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
6304 "bp-asm.h".
6305 (PARMS): Do not use macros from bp-asm.h.
6306 (STR): Likewise.
6307 (STOP): Likewise.
6308 (strpbrk): Likewise. Do not use BP_SYM.
6309 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
6310 "bp-asm.h".
6311 (PARMS): Do not use macros from bp-asm.h.
6312 (STR): Likewise.
6313 (CHR): Likewise.
6314 (strrchr): Likewise. Do not use BP_SYM.
6315 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
6316 (PARMS): Do not use macros from bp-asm.h.
6317 (SKIP): Likewise.
6318 (strspn): Do not use BP_SYM.
6319 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
6320 (PARMS): Do not use macros from bp-asm.h.
6321 (STR): Likewise.
6322 (DELIM): Likewise.
6323 (SAVE): Likewise.
6324 (FUNCTION): Likewise. Do not use BP_SYM.
6325 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
6326 aliases.
6327 (strtok_r): Likewise.
6328 (__GI___strtok_r): Likewise.
6329 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6330 (PARMS): Do not use macros from bp-asm.h.
6331 (S1): Likewise.
6332 (S2): Likewise.
6333 (SIZE): Likewise.
6334 (__mpn_sub_n): Do not use BP_SYM.
6335 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
6336 "bp-asm.h".
6337 (PARMS): Do not use macros from bp-asm.h.
6338 (S1): Likewise.
6339 (SIZE): Likewise.
6340 (__mpn_submul_1): Do not use BP_SYM.
6341 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
6342 <bp-sym.h>.
6343 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
6344 and <bp-asm.h>.
6345 (PARMS): Do not use macros from bp-asm.h.
6346 (FLAGS): Likewise.
6347 (PTID): Likewise.
6348 (TLS): Likewise.
6349 (CTID): Likewise.
6350 (__clone): Do not use BP_SYM.
6351 (clone): Do not use BP_SYM in weak_alias.
6352 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
6353 and <bp-asm.h>.
6354 (PARMS): Do not use macros from bp-asm.h.
6355 (LEN): Likewise.
6356 (__mmap64): Do not use BP_SYM.
6357 (mmap64): Do not use BP_SYM in weak_alias.
6358 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
6359 <bp-sym.h> and <bp-asm.h>.
6360 (PARMS): Do not use macros from bp-asm.h.
6361 (__posix_fadvise64_l64): Do not use BP_SYM.
6362 * sysdeps/unix/sysv/linux/i386/semtimedop.S
6363 (PARMS): Do not use macros from bp-asm.h.
6364 (NSOPS): Likewise.
6365 (semtimedop): Do not use BP_SYM.
6366 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
6367 and <bp-asm.h>.
6368
582a3cff
AM
63692013-02-21 Allan McRae <allan@archlinux.org>
6370
6371 * manual/message.texi (Charset conversion in gettext):
6372 Move @end statement to beginning of line.
6373
bab8a695
SP
63742013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6375
80945231
SP
6376 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
6377 static.
6378 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
6379 Likewise.
6380
bab8a695
SP
6381 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
6382 (denorm): Likewise.
6383 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
6384 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
6385
e21d7aa7
AK
63862013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6387
6388 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
6389 tail-call to the resolved function if pltexit isn't needed.
6390
4c7a4263
SP
63912013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6392
6393 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
6394 or Y being zero as being unlikely.
6395 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6396 Likewise.
6397
41f49342
CD
63982013-02-20 Carlos O'Donell <carlos@redhat.com>
6399
6400 * manual/nss.texi (System Databases and Name Service Switch):
6401 Remove frobnicate @pxref.
6402
50022a93
TS
64032013-02-20 Thomas Schwinge <thomas@codesourcery.com>
6404
6405 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
6406 __attribute__ ((unused)) to __attribute__ ((__unused__)).
6407
08cbd996
PM
64082013-02-20 Petr Machata <pmachata@redhat.com>
6409
6410 * elf/elf.h (R_ARM_TARGET1): New macro.
6411 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
6412 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
6413 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
6414 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
6415 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
6416 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
6417 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
6418 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
6419 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
6420 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
6421 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
6422 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
6423 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
6424 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
6425 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
6426 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
6427 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
6428 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
6429 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
6430 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
6431 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
6432 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
6433 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
6434 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
6435 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
6436 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
6437 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
6438 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
6439 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
6440 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
6441 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
6442 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
6443 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
6444 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
6445 (R_ARM_THM_GOT_BREL12): Likewise.
6446 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
6447 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
6448 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
6449 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
6450 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
6451 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
6452 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
6453 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
6454 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
6455
c7b275d6
TS
64562013-02-20 Thomas Schwinge <thomas@codesourcery.com>
6457
6458 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
6459 __attribute_used__ to __attribute__ ((unused)).
6460
20cd7fb3
SP
64612013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6462
6463 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
6464 powerpc mpa.c.
6465 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
6466 comment formatting.
6467 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
6468
92945b52
JM
64692013-02-19 Joseph Myers <joseph@codesourcery.com>
6470
6471 [BZ #13550]
6472 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
6473 Remove macro.
6474 (ENTER): Remove both macro definitions.
6475 (LEAVE): Likewise.
6476 (CHECK_BOUNDS_LOW): Likewise.
6477 (CHECK_BOUNDS_HIGH): Likewise.
6478 (CHECK_BOUNDS_BOTH): Likewise.
6479 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
6480 (RETURN_BOUNDED_POINTER): Likewise.
6481 (RETURN_NULL_BOUNDED_POINTER): Likewise.
6482 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
6483 (POP_ERRNO_LOCATION_RETURN): Likewise.
6484 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
6485 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6486 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
6487 macros.
6488 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6489 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
6490 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
6491 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
6492 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
6493 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
6494 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
6495 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
6496 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
6497 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
6498 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
6499 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
6500 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6501 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
6502 removed macros.
6503 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6504 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
6505 macros.
6506 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6507 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
6508 * sysdeps/i386/i586/memset.S (memset): Likewise.
6509 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
6510 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6511 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
6512 macros.
6513 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6514 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
6515 Change uses of L(2) to L(out).
6516 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
6517 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
6518 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
6519 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6520 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
6521 removed macros.
6522 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6523 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
6524 macros.
6525 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6526 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
6527 (RETURN): Do not use macro LEAVE.
6528 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
6529 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
6530 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
6531 * sysdeps/i386/i686/memset.S (memset): Likewise.
6532 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
6533 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
6534 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6535 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
6536 Likewise.
6537 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6538 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
6539 L(1_2) and L(1_3) into L(1).
6540 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6541 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
6542 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6543 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
6544 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6545 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
6546 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
6547 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6548 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
6549 macros.
6550 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
6551 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6552 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
6553 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
6554 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
6555 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6556 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
6557 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
6558 * sysdeps/i386/strcspn.S (strcspn): Likewise.
6559 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
6560 * sysdeps/i386/strrchr.S (strrchr): Likewise.
6561 * sysdeps/i386/strspn.S (strspn): Likewise.
6562 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
6563 conditional code.
6564 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6565 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
6566 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6567 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
6568 L(1_3) into L(1_1).
6569 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
6570 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6571 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
6572 macros.
6573 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6574
2389741a
JJ
65752013-02-19 Jakub Jelinek <jakub@redhat.com>
6576
6577 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
6578 macro.
6579
2016b3cd
SP
65802013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6581
e4f22324
SP
6582 * math/atest-exp.c (exp_mpn): Remove ROUND.
6583 * math/atest-exp2.c (exp_mpn): Likewise.
6584 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
6585
2016b3cd
SP
6586 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
6587 * stdlib/tst-tls-atexit-lib.c: Likewise.
6588 * stdlib/tst-tls-atexit.c: Likewise.
6589
4be9b544
MF
65902013-02-18 Mike Frysinger <vapier@gentoo.org>
6591
6592 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
6593 and __attribute_alloc_size__.
6594
2f62b9ee
MF
65952013-02-18 Mike Frysinger <vapier@gentoo.org>
6596
6597 * include/programs/xmalloc.h: Change __attribute_alloc_size to
6598 __attribute_alloc_size__.
6599 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
6600 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
6601
6ff444c4
MF
66022013-02-18 Mike Frysinger <vapier@gentoo.org>
6603
6604 * include/programs/xmalloc.h: New file.
6605 * catgets/gencat.c: Include it.
6606 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
6607 * elf/pldd.c: Likewise.
6608 * iconv/iconv_charmap.c: Likewise.
6609 * iconv/iconvconfig.c: Likewise.
6610 * iconv/strtab.c: Likewise.
6611 * locale/programs/locale.c: Likewise.
6612 * locale/programs/localedef.h: Likewise.
6613 * locale/programs/simple-hash.c: Likewise.
6614 * nscd/nscd.h: Likewise.
6615 * nss/makedb.c: Likewise.
6616 * sysdeps/generic/ldconfig.h: Likewise.
6617
be179c8a
SP
66182013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6619
ba384f6e
SP
6620 * Versions.def: Add GLIBC_2.18.
6621 * include/link.h (struct link_map): New member l_tls_dtor_count.
6622 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
6623 (__call_tls_dtors): Likewise.
6624 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
6625 __cxa_thread_atexit_impl.
6626 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6627 Likewise.
6628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6629 Likewise.
6630 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6631 Likewise.
6632 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6633 Likewise.
6634 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6635 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
6636 Likewise.
6637 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
6638 Likewise.
6639 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6640 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
6641 Likewise.
6642 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
6643 (tests): Add test case tst-tls-atexit.
6644 (modules-names): Add shared library for tst-tls-atexit.
85891aca 6645 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
ba384f6e
SP
6646 (GLIBC_PRIVATE): Add __call_tls_dtors.
6647 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
6648 for libstdc++.
6649 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
6650 * stdlib/tst-tls-atexit.c: New test case.
6651 * stdlib/tst-tls-atexit-lib.c: New test case.
6652
ffaa74cf 6653 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 6654
be179c8a
SP
6655 * elf/Versions (ld): Add _dl_find_dso_for_object.
6656 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
6657 * elf/dl-open.c (_dl_find_dso_for_object): New function.
6658 (dl_open_worker): Use _dl_find_dso_for_object.
6659 * elf/dl-sym.c (do_sym): Likewise.
6660 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
6661
f78b5caa
AK
66622013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6663
6664 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
6665 Syntactic changes only.
6666 (_dl_runtime_profile): Do a tail-call to the resolved function.
6667
29691210
JM
66682013-02-17 Joseph Myers <joseph@codesourcery.com>
6669
6670 [BZ #13550]
6671 * sysdeps/x86_64/bp-asm.h: Remove file.
6672 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
6673 <bp-sym.h> and <bp-asm.h>.
6674 (__clone): Do not use BP_SYM.
6675 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
6676 <bp-sym.h> and <bp-asm.h>.
6677 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6678 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
6679 "bp-asm.h".
6680 (_setjmp): Do not use BP_SYM.
6681 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
6682 "bp-asm.h".
6683 (setjmp): Do not use BP_SYM.
6684 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
6685 libc_hidden_def.
6686 (mempcpy): Do not use BP_SYM in weak_alias.
6687 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
6688 "bp-asm.h".
6689 (strchr): Do not use BP_SYM.
6690 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
6691 "bp-asm.h".
6692 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
6693 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
6694 (_start): Do not use BP_SYM.
6695 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
6696 "bp-asm.h".
6697 (strcat): Do not use BP_SYM.
6698 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
6699 "bp-asm.h".
6700 (STRCMP): Do not use BP_SYM.
6701 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
6702 "bp-asm.h".
6703 (STRCPY): Do not use BP_SYM.
6704 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
6705 "bp-asm.h".
6706 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
6707 "bp-asm.h".
6708 (FUNCTION): Do not use BP_SYM.
6709 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
6710 weak_alias.
6711 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
6712
f238fd19
AJ
67132013-02-17 Andreas Jaeger <aj@suse.de>
6714
6715 * time/Versions: Sort entries.
6716 * string/Versions: Likewise.
6717 * resolv/Versions: Likewise.
6718 * posix/Versions: Likewise.
6719 * iconv/Versions: Likewise.
6720 * elf/Versions: Likewise.
6721 * wcsmbs/Versions: Likewise.
6722
bd07f23c 67232013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 6724
22af19f9
SP
6725 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
6726 loop termination condition.
6727
4709fe76
SP
6728 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
6729 variable to calculate EZ.
6730 (__sqr): Likewise.
2d0e0f29
SP
6731
6732 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
6733 the lower precision input.
6734
daaa7713
JM
67352013-02-15 Joseph Myers <joseph@codesourcery.com>
6736
6737 [BZ #13550]
6738 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
6739 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
6740 (run-via-rtld-prefix): Do not handle %-bp tests.
6741 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
6742 (all-object-suffixes): Remove .ob.
6743 (bppfx): Remove variable.
6744 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
6745 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
6746 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
6747 [$(build-bounded) = yes] (libtype.ob): Likewise.
6748 * Makerules (elide-routines.ob): Remove variable.
6749 (do-tests-clean): Do not handle *-bp.out.
6750 (common-mostlyclean): Do not handle *-bp and *-bp.out.
6751 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
6752 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
6753 (tests): Do not include $(tests-bp.out).
6754 (xtests): Do not include $(xtests-bp.out).
6755 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
6756 [$(build-bounded) = yes] ($(addprefix
6757 $(objpfx),$(binaries-bounded))): Remove rule.
6758 ($(objpfx)%-bp.out): Remove rule.
6759 * config.make.in (build-bounded): Remove variable.
6760 * crypt/Makefile [$(build-bounded) = yes]
6761 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
6762 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
6763 append to variable.
6764 [$(build-bounded) = yes] (install-lib): Likewise.
6765 [$(build-bounded) = yes] (generated): Likewise.
6766 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
6767 Remove rule.
6768 * intl/Makefile [$(build-bounded) = yes]
6769 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
6770 * math/Makefile [$(build-bounded) = yes]
6771 ($(tests:%=$(objpfx)%-bp): Likewise.
6772 * misc/Makefile [$(build-bounded) = yes]
6773 ($(objpfx)tst-tsearch-bp): Likewise.
6774 * nptl/Makeconfig (bounded-thread-library): Remove variable.
6775 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
6776 Remove dependency.
6777 * string/Makefile (o-objects.ob): Remove variable.
6778 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
6779 (CFLAGS-.ob): Remove variable.
6780 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
6781 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
6782 both definitions of variable.
6783 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
6784 (ASFLAGS-.ob): Remove variable.
6785
e97ed6dd
JM
67862013-02-14 Joseph Myers <joseph@codesourcery.com>
6787
2bdd4ca6
JM
6788 [BZ #13550]
6789 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
6790 Remove __BOUNDED_POINTERS__ from condition.
6791 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
6792 * string/bits/string2.h [!__NO_STRING_INLINES &&
6793 !__BOUNDED_POINTERS__]: Likewise.
6794 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
6795 Likewise.
6796 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
6797 Remove conditional code.
6798 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
6799 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
6800 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
6801 condition.
6802
e97ed6dd
JM
6803 [BZ #13550]
6804 * csu/libc-start.c: Do not include <bp-sym.h>.
6805 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
6806 * elf/dl-open.c: Do not include <bp-sym.h>.
6807 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
6808 * math/fegetenv.c: Do not include <bp-sym.h>.
6809 (fegetenv): Do not use BP_SYM in versioned symbols.
6810 * nptl/sysdeps/pthread/bits/libc-lockP.h
6811 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
6812 <bp-sym.h>.
6813 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6814 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
6815 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6816 (__pthread_mutex_destroy): Likewise.
6817 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6818 (__pthread_mutex_lock): Likewise.
6819 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6820 (__pthread_mutex_trylock): Likewise.
6821 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6822 (__pthread_mutex_unlock): Likewise.
6823 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6824 (__pthread_mutexattr_init): Likewise.
6825 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6826 (__pthread_mutexattr_destroy): Likewise.
6827 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6828 (__pthread_mutexattr_settype): Likewise.
6829 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6830 (__pthread_rwlock_init): Likewise.
6831 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6832 (__pthread_rwlock_destroy): Likewise.
6833 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6834 (__pthread_rwlock_rdlock): Likewise.
6835 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6836 (__pthread_rwlock_tryrdlock): Likewise.
6837 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6838 (__pthread_rwlock_wrlock): Likewise.
6839 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6840 (__pthread_rwlock_trywrlock): Likewise.
6841 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6842 (__pthread_rwlock_unlock): Likewise.
6843 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6844 (__pthread_key_create): Likewise.
6845 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6846 (__pthread_setspecific): Likewise.
6847 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6848 (__pthread_getspecific): Likewise.
6849 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
6850 Likewise.
6851 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6852 (_pthread_cleanup_push_defer): Likewise.
6853 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6854 (_pthread_cleanup_pop_restore): Likewise.
6855 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6856 (pthread_setcancelstate): Likewise.
6857 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
6858 <bp-sym.h>.
6859 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
6860 (memchr): Do not use BP_SYM in weak_alias.
6861 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
6862 (fegetenv): Do not use BP_SYM in versioned symbols.
6863 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
6864 (fesetenv): Do not use BP_SYM in versioned symbols.
6865 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6866 (feupdateenv): Do not use BP_SYM in versioned symbols.
6867 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6868 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6869 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
6870 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
6871 (open64): Do not use BP_SYM in weak_alias.
6872 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
6873 (fegetenv): Do not use BP_SYM in versioned symbols.
6874 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
6875 (fesetenv): Do not use BP_SYM in versioned symbols.
6876 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6877 (feupdateenv): Do not use BP_SYM in versioned symbols.
6878 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
6879 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
6880 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
6881 (feraiseexcept): Do not use BP_SYM in versioned symbols.
6882 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6883 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6884 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
6885 <bp-sym.h>.
6886 (__libc_start_main): Do not use BP_SYM.
6887
d6752ccd
SP
68882013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6889
cb57ce60
SP
6890 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
6891 redundant return line.
6892 (norm): Likewise.
6893 (denorm): Likewise.
6894 (dbl_mp): Likewise.
6895 (sub_magnitudes): Likewise.
6896 (__add): Likewise.
6897 (__sub): Likewise.
6898 (__mul): Likewise.
6899 (__inv): Likewise.
6900 (__dvd): Likewise.
6901 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
6902 (norm): Likewise.
6903 (denorm): Likewise.
6904 (dbl_mp): Likewise.
6905 (sub_magnitudes): Likewise.
6906 (__add): Likewise.
6907 (__sub): Likewise.
6908 (__mul): Likewise.
6909 (__inv): Likewise.
6910 (__dvd): Likewise.
6911
f414520d
SP
6912 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
6913 instead of __mul.
6914 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
6915 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
6916 (cc32): Likewise.
6917
d6752ccd
SP
6918 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
6919 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
6920 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
6921 of __mul for squares.
6922 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
6923 function
6924 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
6925 Likewise.
6926 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
6927 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
6928
70d9946a
JM
69292013-02-13 Joseph Myers <joseph@codesourcery.com>
6930
6931 [BZ #13550]
6932 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
6933 code.
6934 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
6935 prototype or function definition. Rename ubp_* variables and
6936 parameters. Remove argv definitions conditional on
6937 [__BOUNDED_POINTERS__].
6938 * debug/backtrace.c (__backtrace): Do not use __unbounded.
6939 * elf/dl-runtime.c (_dl_fixup): Likewise.
6940 * include/set-hooks.h (RUN_HOOK): Likewise.
6941 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
6942 definition.
6943 * string/strcpy.c (strcpy): Do not use __unbounded.
6944 * sysdeps/generic/frame.h (struct layout): Likewise.
6945 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
6946 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
6947 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
6948 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
6949 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
6950 (__backtrace): Likewise.
6951 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
6952 use __ptrvalue.
6953 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
6954 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6955 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
6956 Likewise.
6957 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
6958 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
6959 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6960 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6961 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
6962 Do not use __unbounded.
6963 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
6964 Rename __unboundedrlimits parameter to rlimits in prototype.
6965 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
6966 Do not use __unbounded.
6967 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
6968 not use __ptrvalue.
6969 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6970 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
6971 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
6972 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
6973 __ptrvalue or __unbounded.
6974 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
6975 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
6976 use __unbounded.
6977 (__new_msgctl): Do not use __ptrvalue.
6978 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
6979 __unbounded.
6980 (__libc_msgrcv): Do not use __ptrvalue.
6981 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
6982 startup_info): Do not use __unbounded.
6983 (__libc_start_main): Likewise. Rename ubp_* variables and
6984 parameters. Remove argv definitions conditional on
6985 [__BOUNDED_POINTERS__].
6986 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
6987 __ptrvalue.
6988 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
6989 use __unbounded.
6990 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
6991 or __ptrvalue.
6992 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
6993 use __unbounded.
6994 (__new_shmctl): Do not use __ptrvalue.
6995 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
6996 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
6997 Likewise.
6998 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
6999 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
7000 (__libc_sigaction): Likewise.
7001 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
7002 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
7003 Likewise.
7004 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7005
cc7834d6
OB
70062013-02-13 Ondřej Bílka <neleai@seznam.cz>
7007
ffb1ec7b 7008 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
7009
7010 * string/mempcpy.c: Implement by calling memcpy.
7011
bdf02814
SP
70122013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
7013
c2af38aa
SP
7014 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
7015
4e92d59e
SP
7016 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
7017 evaluation.
7018
909279a5
SP
7019 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
7020 values in the mantissa.
7021
bdf02814
SP
7022 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
7023 minimize writes to Z.
7024 (sub_magnitudes): Simplify code a bit.
7025
cd525923
RM
70262013-02-12 Roland McGrath <roland@hack.frob.com>
7027
7028 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
7029 from the message. The linker prefixes all warnings with that already.
7030
7e2f0d2d
AS
70312013-02-12 Andreas Schwab <schwab@suse.de>
7032
a445af0b
AS
7033 [BZ #15078]
7034 * posix/regexec.c (extend_buffers): Add parameter min_len.
7035 (check_matching): Pass minimum needed length.
7036 (clean_state_log_if_needed): Likewise.
7037 (get_subexp): Likewise.
7038 * posix/Makefile (tests): Add bug-regex34.
7039 (bug-regex34-ENV): Define.
7040 * posix/bug-regex34.c: New file.
7041
7e2f0d2d
AS
7042 [BZ #11561]
7043 * posix/regcomp.c (parse_bracket_exp): When looking up collating
7044 elements compare against the byte sequence of it, not its name.
7045 * posix/Makefile (tests): Add bug-regex35.
7046 (bug-regex35-ENV): Define.
7047 * posix/bug-regex35.c: New file.
7048
a175b684
TV
70492013-02-11 Tom de Vries <tom@codesourcery.com>
7050
7051 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
7052 comment.
7053 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
7054 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
7055 (CHECK_EOL): Add undef.
7056
310998fe 70572013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
7058
7059 * bits/stdlib-bsearch.h: New file.
7060 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 7061 * stdlib/stdlib.h: Likewise.
41eda41d 7062
8ded91fb
RM
70632013-02-11 Roland McGrath <roland@hack.frob.com>
7064
7065 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
7066 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
7067 declaration.
7068 * manual/search.texi (Array Search Function): Add missing const in
7069 lfind prototype.
7070 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
7071 declaration to use rlim_t.
7072 (Basic Scheduling Functions): Remove erroneous const from
7073 sched_getparam prototype. Remove erroneous * from
7074 sched_get_priority_max and sched_get_priority_min prototypes.
7075 (Resource Usage): Fix summary @comment on vtimes to refer to
7076 sys/vtimes.h rather than vtimes.h.
7077 Add missing *s in vtimes prototype.
7078 (Limits on Resources): Fix ulimit prototype to return long int.
7079 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
7080 prototypes to use long int rather than double.
7081 (BSD Random): Fix initstate and setstate to use char *, not void *.
7082 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
7083 prototype to make second argument 'struct aiocb64 *const[]'.
7084 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
7085 (Status of AIO Operations): Remove erroneous const in aio_return and
7086 aio_return64 prototypes.
7087 (Synchronizing I/O): Fix sync prototype to return void.
7088 * manual/startup.texi (Suboptions): Remove an erroneous const in
7089 getsubopt prototype.
7090 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
7091 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
7092 use size_t rather than int.
7093 (Scanning All Users): Likewise for getpwent_r.
7094 (Setting Groups): Add missing const to setgroups prototype.
7095 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
7096 * manual/socket.texi (Host Names): Fix gethostbyaddr and
7097 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
7098 'const void *' rather than 'const char *'.
7099 (Host Address Functions): Likewise for inet_ntop.
7100 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
7101 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
7102 ssize_t for return value.
7103 (Sending Data): Likewise for send, sendto, sendmsg.
7104 (Socket Option Functions): Add a missing const in setsockopt prototype.
7105 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
7106 use wchar_t for the argument.
7107 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
7108 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
7109 take no arguments.
7110 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
7111 double/float/long double for second argument.
7112 Fix return types of significand, significandf, significandl.
7113 * manual/filesys.texi (Setting Permissions): Use mode_t for second
7114 argument in fchmod prototype.
7115 (File Owner): Use uid_t and gid_t in fchown prototype.
7116 (File Times): Add const to utimes, futimes, and lutimes prototypes.
7117 (Making Special Files): Use mode_t and dev_t in mknod prototype.
7118 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
7119 use 'const struct dirent **' as argument types to CMP function pointer
7120 argument.
7121 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
7122 (File Times): Fix summary magic @comment for struct utimbuf and utime
7123 to refer to utime.h, not time.h.
7124 * manual/string.texi (Argz Functions): Add missing const in
7125 argz_extract and argz_next prototypes.
7126 (Finding Tokens in a String): Likewise for basename.
7127 (String/Array Comparison): Fix typo in wcscasecmp prototype.
7128 (Copying and Concatenation): Fix typo in wmemmove prototype.
7129 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
7130 (Signal Stack): Remove erroneous const in sigstack prototype.
7131 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
7132 prototype.
7133 (Simple Calendar Time): Likewise for stime.
7134 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
7135 prototype.
7136 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
7137 say sys/sysctl.h instead.
7138 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
7139 and vsyslog prototypes.
7140
fe77fe6d
TV
71412013-02-11 Tom de Vries <tom@codesourcery.com>
7142
7143 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
7144 Remove.
7145
3a09b620
RM
71462013-02-11 Roland McGrath <roland@hack.frob.com>
7147
7148 * misc/sys/mman.h: Fix typo in mremap comment.
7149
550a0b89
RM
71502013-02-08 Roland McGrath <roland@hack.frob.com>
7151
7152 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
7153 the '\0' terminator.
7154
a2da1673
JM
71552013-02-08 Joseph Myers <joseph@codesourcery.com>
7156
7157 [BZ #13550]
7158 * debug/segfault.c: Don't include <bp-checks.h>.
7159 * sysdeps/generic/bp-checks.h: Remove file.
7160 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
7161 (__GETDENTS): Don't use CHECK_N.
7162 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
7163 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
7164 (__getgroups): Don't use CHECK_N.
7165 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
7166 (setgroups): Don't use CHECK_N.
7167 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
7168 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
7169 (__libc_msgrcv): Don't use CHECK_N.
7170 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
7171 (__libc_msgsnd): Don't use CHECK_N.
7172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
7173 <bp-checks.h>.
7174 (__libc_pread): Don't use CHECK_N.
7175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
7176 include <bp-checks.h>.
7177 (__libc_pread64): Don't use CHECK_N.
7178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
7179 include <bp-checks.h>.
7180 (__libc_pwrite): Don't use CHECK_N.
7181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
7182 include <bp-checks.h>.
7183 (__libc_pwrite64): Don't use CHECK_N.
7184 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
7185 <bp-checks.h>.
7186 (__libc_pread): Don't use CHECK_N.
7187 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
7188 include <bp-checks.h>.
7189 (__libc_pread64): Don't use CHECK_N.
7190 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
7191 include <bp-checks.h>.
7192 (__libc_pwrite): Don't use CHECK_N.
7193 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
7194 include <bp-checks.h>.
7195 (__libc_pwrite64): Don't use CHECK_N.
7196 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
7197 (do_pread): Don't use CHECK_N.
7198 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
7199 (do_pread64): Don't use CHECK_N.
7200 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
7201 (do_pwrite): Don't use CHECK_N.
7202 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
7203 (do_pwrite64): Don't use CHECK_N.
7204 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
7205 (__libc_readv): Don't use CHECK_N.
7206 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
7207 (semop): Don't use CHECK_N.
7208 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
7209 <bp-checks.h>.
7210 (semtimedop): Don't use CHECK_N.
7211 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
7212 (__libc_pread): Don't use CHECK_N.
7213 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
7214 <bp-checks.h>.
7215 (__libc_pread64): Don't use CHECK_N.
7216 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
7217 <bp-checks.h>.
7218 (__libc_pwrite): Don't use CHECK_N.
7219 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
7220 <bp-checks.h>.
7221 (__libc_pwrite64): Don't use CHECK_N.
7222 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
7223 <bp-checks.h>.
7224 (__libc_msgrcv): Don't use CHECK_N.
7225 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
7226 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
7227 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
7228 (__libc_writev): Don't use CHECK_N.
7229
b84660a8
RM
72302013-02-08 Roland McGrath <roland@hack.frob.com>
7231
7f3e75f8
RM
7232 * string/strcpy.c: Removed unused variable.
7233
b84660a8
RM
7234 * Makeconfig (+sysdep-includes): Define with := rather than =.
7235 Use an existing include/ subdir of each sysdeps dir before it.
7236
471514d3
CD
72372013-02-08 Carlos O'Donell <carlos@redhat.com>
7238
7239 * nscd/connection.c (register_traced_file): Comment function.
7240 [HAVE_INOTIFY] (union __inev): Define.
7241 [HAVE_INOTIFY] (inotify_check_files): New function.
7242 [HAVE_INOTIFY] (clear_db_cache): Likewise.
7243 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
7244 clear_db_cache.
7245 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
7246
b2d3c3be
CD
72472013-02-08 Carlos O'Donell <carlos@redhat.com>
7248
7249 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
7250 loaded if not already and that a failure is permanent.
7251
b39949d2
CD
72522013-02-08 Carlos O'Donell <carlos@redhat.com>
7253
ddacd1db 7254 [BZ #15006]
b39949d2
CD
7255 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
7256 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
7257
b2c9eff4
JM
72582013-02-08 Joseph Myers <joseph@codesourcery.com>
7259
f3aae3f3
JM
7260 [BZ #13550]
7261 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
7262 (CHECK_1_NULL_OK): Likewise.
7263 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
7264 (__fxstat): Do not use CHECK_1.
7265 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
7266 <bp-checks.h>.
7267 (___fxstat64): Do not use CHECK_1.
7268 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
7269 <bp-checks.h>.
7270 (__fxstatat): Do not use CHECK_1.
7271 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
7272 <bp-checks.h>.
7273 (__fxstatat64): Do not use CHECK_1.
7274 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
7275 <bp-checks.h>.
7276 (__fxstat): Do not use CHECK_1.
7277 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
7278 <bp-checks.h>.
7279 (__fxstatat): Do not use CHECK_1.
7280 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7281 <bp-checks.h>.
7282 (__getresgid): Do not use CHECK_1.
7283 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
7284 <bp-checks.h>.
7285 (__getresuid): Do not use CHECK_1.
7286 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
7287 <bp-checks.h>.
7288 (__lxstat): Do not use CHECK_1.
7289 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
7290 <bp-checks.h>.
7291 (__old_msgctl): Do not use CHECK_1.
7292 (__new_msgctl): Likewise.
7293 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
7294 <bp-checks.h>.
7295 (__new_setrlimit): Do not use CHECK_1.
7296 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
7297 <bp-checks.h>.
7298 (__old_shmctl): Do not use CHECK_1.
7299 (__new_shmctl): Likewise.
7300 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
7301 <bp-checks.h>.
7302 (__xstat): Do not use CHECK_1.
7303 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
7304 (__lxstat): Do not use CHECK_1.
7305 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
7306 <bp-checks.h>.
7307 (___lxstat64): Do not use CHECK_1.
7308 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
7309 (__old_msgctl): Do not use CHECK_1.
7310 (__new_msgctl): Likewise.
7311 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
7312 <bp-checks.h>.
7313 (__gettimeofday): Do not use CHECK_1.
7314 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
7315 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
7316 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
7317 <bp-checks.h>.
7318 (__gettimeofday): Do not use CHECK_1.
7319 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
7320 (__old_shmctl): Do not use CHECK_1_NULL_OK.
7321 (__new_shmctl): Do not use CHECK_1.
7322 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
7323 <bp-checks.h>.
7324 (do_sigtimedwait): Do not use CHECK_1.
7325 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
7326 <bp-checks.h>.
7327 (do_sigwaitinfo): Do not use CHECK_1.
7328 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
7329 <bp-checks.h>.
7330 (msgctl): Do not use CHECK_1.
7331 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
7332 <bp-checks.h>.
7333 (shmctl): Do not use CHECK_1.
7334 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
7335 (ustat): Do not use CHECK_1.
7336 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
7337 <bp-checks.h>.
7338 (__fxstat): Do not use CHECK_1.
7339 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
7340 <bp-checks.h>.
7341 (__fxstatat): Do not use CHECK_1.
7342 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
7343 <bp-checks.h>.
7344 (__lxstat): Do not use CHECK_1.
7345 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
7346 <bp-checks.h>.
7347 (__xstat): Do not use CHECK_1.
7348 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
7349 (__xstat): Do not use CHECK_1.
7350 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
7351 (___xstat64): Do not use CHECK_1.
7352
b2c9eff4
JM
7353 [BZ #13550]
7354 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
7355 definitions.
7356 (CHECK_BOUNDS_HIGH): Likewise.
7357 * string/strcpy.c: Do not include <bp-checks.h>.
7358 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
7359
f1d70dad
RM
73602013-02-07 Roland McGrath <roland@hack.frob.com>
7361
7362 * nscd/nscd-client.h (__nscd_drop_map_ref):
7363 Add __attribute__ ((unused)).
7364 * nis/nss-nisplus.h (niserr2nss): Likewise.
7365
7366 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
7367 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
7368
7369 * csu/libc-tls.c (init_static_tls, init_slotinfo):
7370 Remove inline keyword.
7371 * include/rounding-mode.h (round_away): Likewise.
7372 * libio/wfileops.c (adjust_wide_data): Likewise.
7373 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
7374 (__m128i_strloadu_tolower): Likewise.
7375 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
7376 (__m128i_strloadu_tolower): Likewise.
7377 * time/mktime.c (ydhms_diff): Likewise.
7378 * locale/elem-hash.h (elem_hash): Likewise.
7379 * locale/setlocale.c (setdata): Likewise.
7380 * posix/regex_internal.h (re_string_char_size_at): Likewise.
7381 (re_string_wchar_at): Likewise.
7382 (bitset_not, bitset_merge, bitset_mask): Likewise.
7383 [!(__GNUC__ > 3)] (inline): Remove macro.
7384 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
7385 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
7386 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
7387 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
7388 * string/memcmp.c (memcmp_bytes): Likewise.
7389 * locale/programs/locarchive.c (compute_hashval): Likewise.
7390 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
7391 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
7392 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
7393 * nss/getent.c (print_rpc, print_protocols): Likewise.
7394 (print_passwd, print_group, print_aliases): Likewise.
7395 * nis/nss-nisplus.h (niserr2nss): Likewise.
7396 * nscd/connections.c (restart_p): Likewise.
7397 Change return type to bool.
7398
eab55bfb
RM
73992013-02-05 Roland McGrath <roland@hack.frob.com>
7400
7bd642f5
RM
7401 * Makeconfig (all-Depend-files): Add existing
7402 $(sorted-subdirs:=/Depend) files.
7403 (all-subdirs): Remove nss.
7404 * sysdeps/unix/inet/Subdirs: Add it here instead.
7405 * hesiod/Depend: New file.
7406
573c29b2
RM
7407 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
7408 instead of calling alloca.
7409
b2e25af0
RM
7410 * io/lseek.c (__lseek): Rename to __libc_lseek.
7411 Define __lseek as an alias.
7412
eab55bfb
RM
7413 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
7414
9a0d1941
CD
74152013-02-04 Carlos O'Donell <carlos@redhat.com>
7416
7417 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
7418 else clause and remove check for non-standard endianness.
7419
b83bbec4
DM
74202013-02-04 David S. Miller <davem@davemloft.net>
7421
7422 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7423
6277fdab
JM
74242013-02-04 Joseph Myers <joseph@codesourcery.com>
7425
7426 [BZ #13550]
7427 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
7428 (__ubp_memchr): Remove prototype.
7429 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
7430 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
7431 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
7432 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
7433 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
7434 Remove alias.
7435 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
7436 (__ubp_memchr): Likewise.
7437 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
7438 (__ubp_memchr): Likewise.
7439 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
7440 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
7441 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
7442 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
7443 CHECK_STRING.
7444 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7445 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
7446 (__getcwd): Do not use CHECK_STRING.
7447 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7448 <bp-checks.h>.
7449 (__real_chown): Do not use CHECK_STRING.
7450 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
7451 <bp-checks.h>.
7452 (fchownat): Do not use CHECK_STRING.
7453 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
7454 CHECK_STRING.
7455 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
7456 <bp-checks.h>.
7457 (__lchown): Do not use CHECK_STRING.
7458 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7459 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7460 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7461 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
7462 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7463 include <bp-checks.h>.
7464 (truncate64): Do not use CHECK_STRING.
7465 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
7466 <bp-checks.h>.
7467 (__real_chown): Do not use CHECK_STRING.
7468 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
7469 <bp-checks.h>.
7470 (__lchown): Do not use CHECK_STRING.
7471 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
7472 <bp-checks.h>.
7473 (__chown): Do not use CHECK_STRING.
7474 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
7475 <bp-checks.h>.
7476 (truncate64): Do not use CHECK_STRING.
7477 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
7478 Likewise.
7479 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
7480 (__xmknod): Do not use CHECK_STRING.
7481 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
7482 <bp-checks.h>.
7483 (__xmknodat): Do not use CHECK_STRING.
7484 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7485 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
7486
903ae060
AS
74872013-02-04 Andreas Schwab <schwab@suse.de>
7488
7489 [BZ #14142]
7490 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
7491 * include/netdb.h: Likewise for h_errno.
7492 * elf/tst-stackguard1.c: Include <tls.h>.
7493
542f9466
JK
74942013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7495
7496 * elf/link.h (struct link_map): Extend the l_addr comment.
7497 * include/link.h (struct link_map): Likewise.
7498
e782a927
JM
74992013-02-01 Joseph Myers <joseph@codesourcery.com>
7500
7501 [BZ #13550]
7502 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
7503 (BOUNDED_1): Remove macro.
7504 * debug/backtrace.c: Don't include <bp-checks.h>.
7505 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
7506 (__backtrace): Likewise.
7507 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
7508 <bp-checks.h>.
7509 (__backtrace): Don't use BOUNDED_1.
7510 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
7511 <bp-checks.h>.
7512 (__backtrace): Don't use BOUNDED_1.
7513 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
7514 (__backtrace): Don't use BOUNDED_1.
7515 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
7516 (shmat): Don't use BOUNDED_N.
7517
8cf28c5e
JM
75182013-01-31 Joseph Myers <joseph@codesourcery.com>
7519
3a7ac8a0
JM
7520 [BZ #13550]
7521 * sysdeps/generic/bp-start.h: Remove file.
7522 * csu/libc-start.c: Don't include <bp-start.h>.
7523 (LIBC_START_MAIN): Set up __environ directly instead of using
7524 INIT_ARGV_and_ENVIRON.
7525 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
7526 <bp-start.h>.
7527
f3499f95
JM
7528 [BZ #13550]
7529 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
7530 definitions.
7531 (CHECK_FCNTL): Likewise.
7532 (CHECK_N_PAGES): Likewise.
7533
32a45bea
JM
7534 [BZ #13550]
7535 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
7536 definitions.
7537 (CHECK_SIGSET_NULL_OK): Likewise.
7538 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
7539 <bp-checks.h>.
7540 (sigpending): Don't use CHECK_SIGSET.
7541 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
7542 <bp-checks.h>.
7543 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7544 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
7545 <bp-checks.h>.
7546 (do_sigsuspend): Don't use CHECK_SIGSET.
7547 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
7548 use CHECK_SIGSET.
7549 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
7550 (do_sigwait): Don't use CHECK_SIGSET.
7551 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
7552 use CHECK_SIGSET.
7553 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
7554 include <bp-checks.h>.
7555 (sigpending): Don't use CHECK_SIGSET.
7556 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
7557 include <bp-checks.h>.
7558 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7559 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
7560 <bp-checks.h>.
7561 (sigpending): Don't use CHECK_SIGSET.
7562 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
7563 <bp-checks.h>.
7564 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7565
2e8a5c8c
JM
7566 [BZ #13550]
7567 * sysdeps/generic/bp-semctl.h: Remove file.
7568 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
7569 <bp-checks.h> and <bp-semctl.h>.
7570 (__old_semctl): Don't use CHECK_SEMCTL.
7571 (__new_semctl): Likewise.
7572 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
7573 and <bp-semctl.h>.
7574 (__old_semctl): Don't use CHECK_SEMCTL.
7575 (__new_semctl): Likewise.
7576 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
7577 <bp-checks.h> and <bp-semctl.h>.
7578 (__old_semctl): Don't use CHECK_SEMCTL.
7579 (__new_semctl): Likewise.
7580 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
7581 <bp-checks.h> and <bp-semctl.h>.
7582 (semctl): Don't use CHECK_SEMCTL.
7583
c2d54929
JM
7584 [BZ #13550]
7585 * Makerules (elide-bp-thunks): Remove variable.
7586 (elide-routines.oS): Don't use $(elide-bp-thunks).
7587 (elide-routines.os): Likewise.
7588 (elide-routines.o): Likewise.
7589 (elide-routines.op): Likewise.
7590 (elide-routines.og): Likewise.
7591 (objects): Don't use $(bp-thunks).
7592 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
7593 include.
7594 (common-generated): Do not add s-proto-bp.d.
7595 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
7596 (int): Likewise.
7597 (typ): Likewise.
7598 Do not generate makefile rules for bounded-pointer thunks.
7599 * sysdeps/generic/bp-thunks.h: Remove file.
7600 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
7601 * sysdeps/unix/s-proto-bp.S: Likewise.
7602
8cf28c5e
JM
7603 [BZ #15062]
7604 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
7605 parts of result separately when argument is not close to line from
7606 -i to i and one part of argument is small.
7607 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7608 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7609 * math/libm-test.inc (cacos_test): Add more tests.
7610 (casin_test): Likewise.
7611 (casinh_test): Likewise.
7612 * sysdeps/i386/fpu/libm-test-ulps: Update.
7613 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7614
c4e33b8d
DM
76152013-01-31 David S. Miller <davem@davemloft.net>
7616
7617 * po/de.po: Update from translation team.
7618
3b60b421
MK
76192013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
7620
7621 * time/tzfile.c: Include stdint.h for SIZE_MAX.
7622
bb931195
TS
76232013-01-25 Thomas Schwinge <thomas@codesourcery.com>
7624
b5a5da23
TS
7625 * configure.in (_AC_PROG_CC_C89): New definition.
7626 * configure: Regenerate.
7627
bb931195
TS
7628 * configure.in (AC_PROG_CPP): New definition.
7629 * configure: Regenerate.
7630
8c53a12c
JM
76312013-01-23 Joseph Myers <joseph@codesourcery.com>
7632
7633 * debug/tst-backtrace.h: New file.
7634 * debug/tst-backtrace2.c: Include tst-backtrace.h.
7635 (ret): Remove variable.
7636 (x): Likewise.
7637 (FAIL): Remove macro.
7638 (NO_INLINE): Likewise.
7639 (fn1): Use match function instead of strstr.
7640 * debug/tst-backtrace3.c: Include tst-backtrace.h.
7641 (ret): Remove variable.
7642 (x): Likewise.
7643 (FAIL): Remove macro.
7644 (NO_INLINE): Likewise.
7645 (fn): Use match function instead of strstr.
7646 * debug/tst-backtrace4.c: Include tst-backtrace.h.
7647 (ret): Remove variable.
7648 (x): Likewise.
7649 (FAIL): Remove macro.
7650 (NO_INLINE): Likewise.
7651 (handle_signal): Use match function instead of strstr.
7652 * debug/tst-backtrace5.c: Include tst-backtrace.h.
7653 (ret): Remove variable.
7654 (x): Likewise.
7655 (FAIL): Remove macro.
7656 (NO_INLINE): Likewise.
7657 (handle_signal): Use match function instead of strstr.
7658
4858fa2a
RM
76592013-01-23 Roland McGrath <roland@hack.frob.com>
7660
7661 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
7662
bae8e7f5
DM
76632013-01-23 David S. Miller <davem@davemloft.net>
7664
7665 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
7666 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
7667 argument of CAS if possible.
7668 * sysdeps/sparc/sparc64/bits/atomic.h
7669 (__arch_compare_and_exchange_val_32_acq): Likewise.
7670 (__arch_compare_and_exchange_val_64_acq): Likewise.
7671
9cbbc4ae
PT
76722013-01-23 Pino Toscano <toscano.pino@tiscali.it>
7673
7674 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
7675 * sysdeps/posix/ulimit.c: ... this.
92a601b8 7676 Include <limits.h>.
67b3f58c 7677 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 7678
5655a0b5
AC
76792013-01-23 Adam Conrad <adconrad@0c3.net>
7680
7681 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
7682 (LDFLAGS-tst-array5): Likewise.
7683
052aff95
JM
76842013-01-23 Joseph Myers <joseph@codesourcery.com>
7685
7686 [BZ #15036]
7687 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
7688 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
7689 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
7690 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
7691
7c1e01aa
DM
76922013-01-21 David S. Miller <davem@davemloft.net>
7693
7694 * sysdeps/sparc/backtrace.c: New file.
7695 * sysdeps/sparc/sparc32/backtrace.h: New file.
7696 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
7697 * sysdeps/sparc/sparc64/backtrace.h: New file.
7698 * sysdeps/sparc/sparc64/backtrace.c: Delete.
7699 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
7700 -funwind-tables.
7701
ab087e0a
AS
77022013-01-21 Andreas Schwab <schwab@suse.de>
7703
7704 [BZ #15020]
7705 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
7706 closed its stdout.
7707
ed689c2f
AS
77082013-01-20 Andreas Schwab <schwab@linux-m68k.org>
7709
7710 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
7711 "mpa2.h".
7712 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7713
31d470ac
JM
77142013-01-18 Joseph Myers <joseph@codesourcery.com>
7715 Mark Mitchell <mark@codesourcery.com>
7716 Tom de Vries <tom@codesourcery.com>
7717 Paul Pluzhnikov <ppluzhnikov@google.com>
7718
7719 * debug/tst-backtrace2.c: New file.
7720 * debug/tst-backtrace3.c: Likewise.
7721 * debug/tst-backtrace4.c: Likewise.
7722 * debug/tst-backtrace5.c: Likewise.
7723 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
7724 (CFLAGS-tst-backtrace3.c): Likewise.
7725 (CFLAGS-tst-backtrace4.c): Likewise.
7726 (CFLAGS-tst-backtrace5.c): Likewise.
7727 (LDFLAGS-tst-backtrace2): Likewise.
7728 (LDFLAGS-tst-backtrace3): Likewise.
7729 (LDFLAGS-tst-backtrace4): Likewise.
7730 (LDFLAGS-tst-backtrace5): Likewise.
7731 (tests): Add new tests tst-backtrace2, tst-backtrace3,
7732 tst-backtrace4 and tst-backtrace5.
7733
90567f30 77342013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
7735 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7736
7737 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
7738 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
7739 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
7740 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
7741 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7742 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
7743 "+r" and remove output regs list as redundant. Add explicit inline
7744 asm to specify register of return val to work around compiler codegen
7745 bug. Remove (int) cast on return value. Add return type parameter to
7746 use in macro so that this macro does not truncate return value for
7747 64-bit values.
7748 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
7749 pass to INTERNAL_VSYSCALL_NCS.
7750 (INLINE_VSYSCALL): Add 'long int' as return type to
7751 INTERNAL_VSYSCALL_NCS macro invocation.
7752 (INTERNAL_VSYSCALL): Add 'long int' as return type to
7753 INTERNAL_VSYSCALL_NCS macro invocation.
7754 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7755
d3b9ea61
SP
77562013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7757
0b57daeb
SP
7758 [BZ #14496]
7759 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
7760 Fix application of SIMD FP exception mask.
7761
caa99d06
SP
7762 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
7763 mp_no from a power of two.
7764 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
7765 __mpexp_twomm1. Use __pow_mp.
7766
d3b9ea61
SP
7767 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
7768 multiplication.
7769
1dbaee3c
DM
77702013-01-17 David S. Miller <davem@davemloft.net>
7771
7772 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7773
728d7b43
JM
77742013-01-17 Joseph Myers <joseph@codesourcery.com>
7775
7776 [BZ #15023]
7777 * include/complex.h: Condition contents on [!_COMPLEX_H].
7778 (__kernel_casinhf): New prototype.
7779 (__kernel_casinh): Likewise.
7780 (__kernel_casinhl): Likewise.
7781 * math/Makefile (libm_calls): Add k_casinh.
7782 * math/k_casinh.c: New file.
7783 * math/k_casinhf.c: Likewise.
7784 * math/k_casinhl.c: Likewise.
7785 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
7786 finite nonzero arguments.
7787 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
7788 finite nonzero arguments.
7789 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
7790 finite nonzero arguments.
7791 * math/s_casinh.c: Do not include <float.h>.
7792 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
7793 * math/s_casinhf.c: Do not include <float.h>.
7794 (__casinhf): Move code for finite nonzero arguments to
7795 k_casinhf.c.
7796 * math/s_casinhl.c: Do not include <float.h>.
7797 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
7798 redefine.
7799 (__casinhl): Move code for finite nonzero arguments to
7800 k_casinhl.c.
7801 * math/libm-test.inc (cacos_test): Add more tests.
7802 * sysdeps/i386/fpu/libm-test-ulps: Update.
7803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7804
2a26ef3a
PT
78052013-01-17 Pino Toscano <toscano.pino@tiscali.it>
7806
7807 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
7808 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
7809 [!HAVE_MREMAP]: Remove [defined linux] case.
7810 * malloc/arena.c: Do not include <malloc-sysdep.h>.
7811
a897655d
SP
78122013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7813
7814 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
7815
881ebe89 78162013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
7817
7818 * elf/elf.h (R_386_SIZE32): New relocation.
7819 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
7820 R_386_SIZE32.
7821 (elf_machine_rela): Likewise.
7822 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
7823 R_X86_64_SIZE64 and R_X86_64_SIZE32.
7824
59981e9b
JM
78252013-01-17 Joseph Myers <joseph@codesourcery.com>
7826
7827 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
7828 (FP_FAST_FMA): Do not define.
7829 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
7830 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
7831 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
7832 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
7833 !_SOFT_FLOAT]: Likewise.
7834 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
7835 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
7836 value.
7837 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
7838 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
7839 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
7840 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
7841 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
7842 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
7843 file.
7844
cfa8054f
AS
78452013-01-16 Andreas Schwab <schwab@suse.de>
7846
7847 [BZ #14327]
7848 * include/stdlib.h (__mktemp): Add declaration.
7849 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
7850 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
7851
dd930cc5
SP
78522013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7853
881ebe89
SP
7854 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
7855 definitions.
7856 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
7857 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
7858 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
7859 definitions here.
7860 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
7861 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
7862 definitions.
7863 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
7864 and ONE.
7865 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
7866 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
7867 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
7868 definitions.
7869 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
7870 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
7871 definitions.
7872 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 7873
dd930cc5
SP
7874 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
7875
c19a9f89
DM
78762013-01-15 David S. Miller <davem@davemloft.net>
7877
1aa61767
DM
7878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7879 trunc{,f} to libm-sysdep_routes.
7880 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
7882 file.
7883 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
7884 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
7885 file.
7886 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
7887 file.
7888 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
7889 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
7890 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
7891 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
7892 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
7893 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
7894 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
7895 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
7896
c42d5e98
DM
7897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7898 nearbyint{,f} to libm-sysdep_routes.
7899 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
7901 New file.
7902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
7903 file.
7904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
7905 New file.
7906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
7907 file.
7908 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
7909 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
7910 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
7911 file.
7912 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
7913 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
7914 file.
7915 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
7916 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
7917 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
7918
c19a9f89
DM
7919 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
7920 libc_feholdexcept and libc_fesetenv.
7921
357679d2
MF
79222013-01-15 Mike Frysinger <vapier@gentoo.org>
7923
7924 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
7925
65a82e3d
DM
79262013-01-14 David S. Miller <davem@davemloft.net>
7927
8b954ab9
DM
7928 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
7929 (SPARC_ASM_VIS2_IFUNC): Likewise.
7930 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
7931 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
7932 use of 'siam' instruction.
7933 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
7934 Likewise.
7935 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
7936 Likewise.
7937 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
7938 Likewise.
7939 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
7940 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
7941 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
7942 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
7943 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
7944 file.
7945 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
7946 file.
7947 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
7948 file.
7949 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
7950 file.
7951 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
7952 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
7953 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
7954 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
7955 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
7956 new VIS2 routines.
7957 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
7958 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7959 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
7960 Likewise.
7961 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
7962 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
7963 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
7964 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
7965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
7966 routines to libm-sysdep_routines.
7967 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7968
65a82e3d
DM
7969 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7970 fdim/fdimf to libm-sysdep_routines.
7971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
7972 file.
7973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
7974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
7975 file.
7976 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
7977 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
7978 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
7979 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
7980 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
7981 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
7982 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
7983
e34ab705
SP
79842013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7985
2a91b573
SP
7986 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
7987 to optimize copies.
7988
1066a534
SP
7989 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
7990 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7991 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7992
e34ab705
SP
7993 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
7994 local variable MPTWO.
7995 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7996 Likewise.
7997
aba5e596
MF
79982013-01-13 Mike Frysinger <vapier@gentoo.org>
7999
8000 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
8001 GLOB_NOESCAPE.
8002
e557e9e5
MF
80032013-01-13 Mike Frysinger <vapier@gentoo.org>
8004
8005 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
8006
0428cec9
MF
80072013-01-13 Mike Frysinger <vapier@gentoo.org>
8008
8009 * manual/pattern.texi (glob_t): Document gl_flags.
8010 (glob64_t): Likewise.
8011
8794a964
DM
80122013-01-11 David S. Miller <davem@davemloft.net>
8013
66438c3f
RM
8014 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
8015 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
8016 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
8017 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
8018 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
8019 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
8020 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
8021 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
8022 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
8023 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
8024 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
8025 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
8026 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
8027
4ae4244d
DM
8028 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8029 sparc V9 rather than using V8 code.
8030 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8031 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8032
8794a964
DM
8033 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
8034 Move to...
8035 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
8036 Here.
8037
6270516e
RM
80382013-01-11 Roland McGrath <roland@hack.frob.com>
8039
8040 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
8041 not in the main loop.
8042 * configure: Regenerated.
8043
6a57d931
JM
80442013-01-11 Joseph Myers <joseph@codesourcery.com>
8045
8046 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
8047 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
8048 to just #else.
8049 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
8050 [!__GLIBC_HAVE_LONG_LONG] case.
8051 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
8052 condition to just #else.
8053 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
8054 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
8055 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
8056 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
8057 unconditional.
8058 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
8059 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8060 #elif condition to just #else.
8061 * sysdeps/unix/sysv/linux/sys/sysmacros.h
8062 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
8063 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
8064 #elif condition to just #else.
8065
0e8529e9
SE
80662013-01-11 Steve Ellcey <sellcey@mips.com>
8067
8068 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
8069 (EF_MIPS_ARCH_64): Fix value.
8070 (EF_MIPS_ARCH_32R2): New.
8071 (EF_MIPS_ARCH_64R2): New.
8072
740b3dbe
L
80732013-01-11 H.J. Lu <hongjiu.lu@intel.com>
8074
8075 * Makeconfig (+link-pie-before-libc): New.
8076 (+link-pie-after-libc): Likewise.
8077 (+link-pie-tests): Likewise.
8078 (+link-pie): Rewritten.
8079 (link-before-libc): Remove $(config-LDFLAGS).
8080 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
8081 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
8082 (config-LDFLAGS): Renamed to ...
8083 (rtld-LDFLAGS): This.
8084 (rtld-tests-LDFLAGS): New macro.
8085 (link-libc-rpath-link): Likewise.
8086 (link-libc-tests-rpath-link): Likewise.
8087 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
8088 (link-libc): Prepand $(link-libc-rpath-link).
8089 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
8090 (test-program-prefix): New macro.
8091 (test-via-rtld-prefix): Likewise.
8092 (test-program-cmd): Likewise.
8093 (host-test-program-cmd): Likewise.
8094 * Makefile ($(common-objpfx)testrun.sh): Replace
8095 $(run-program-prefix) with $(test-program-prefix).
8096 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
8097 $(rtld-LDFLAGS).
8098 ($(common-objpfx)shlib.lds): Likewise.
8099 (build-module-helper): Likewise.
8100 ($(common-objpfx)format.lds): Likewise.
8101 * Rules (binaries-pie-tests): New.
8102 (binaries-pie-notests): Likewise.
8103 (binaries-pie): Rewritten.
8104 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
8105 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
8106 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
8107 (make-test-out): Replace $(host-built-program-cmd) with
8108 $(host-test-program-cmd).
8109 * config.make.in (build-hardcoded-path-in-tests): New variable.
8110 * configure.in (--enable-hardcoded-path-in-tests): New configure
8111 option.
8112 (hardcoded_path_in_tests): New AC_SUBST.
8113 * configure: Regenerated.
8114 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
8115 $(built-program-cmd) with $(test-program-cmd).
8116 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
8117 (test_program_cmd): This.
8118 * elf/Makefile ($(objpfx)order.out): Run test with
8119 $(test-program-prefix).
8120 ($(objpfx)order2.out): Likewise.
8121 ($(objpfx)tst-initorder.out): Likewise.
8122 ($(objpfx)tst-initorder2.out): Likewise.
8123 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
8124 $(test-program-cmd).
8125 ($(objpfx)tst-array1-static.out): Likewise.
8126 ($(objpfx)tst-array2.out): Likewise.
8127 ($(objpfx)tst-array3.out): Likewise.
8128 ($(objpfx)tst-array4.out): Likewise.
8129 ($(objpfx)tst-array5.out): Likewise.
8130 ($(objpfx)tst-array5-static.out): Likewise.
8131 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
8132 $(test-program-cmd).
8133 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
8134 $(run-program-prefix) with $(test-program-prefix).
8135 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
8136 (test_program_prefix): This.
8137 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
8138 $(run-program-prefix) with $(test-program-prefix).
8139 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
8140 (test_program_prefix): This.
8141 * iconvdata/tst-tables.sh: Likewise.
8142 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
8143 $(run-program-prefix) with $(test-program-prefix).
8144 ($(objpfx)tst-translit.out): Likewise.
8145 ($(objpfx)tst-gettext2.out): Likewise.
8146 ($(objpfx)tst-gettext4.out): Likewise.
8147 ($(objpfx)tst-gettext6.out): Likewise.
8148 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
8149 (test_program_prefix): This.
8150 * intl/tst-gettext2.sh: Likewise.
8151 * intl/tst-gettext4.sh Likewise.
8152 * intl/tst-gettext6.sh: Likewise.
8153 * intl/tst-translit.sh: Likewise.
8154 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
8155 with $(test-program-cmd).
8156 * libio/Makefile ($(objpfx)test-freopen.out): Replace
8157 $(run-program-prefix) with $(test-program-prefix).
8158 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
8159 (test_program_prefix): This.
8160 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
8161 $(run-program-prefix) with $(test-program-prefix).
8162 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
8163 (test_program_prefix): This.
8164 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
8165 * posix/Makefile ($(objpfx)globtest.out): Replace
8166 $(run-via-rtld-prefix) and $(test-wrapper) with
8167 $(test-program-prefix) and $(test-via-rtld-prefix).
8168 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
8169 $(test-program-prefix).
8170 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
8171 $(host-test-program-cmd).
8172 (tst-spawn-ARGS): Likewise.
8173 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
8174 $(test-program-prefix).
8175 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
8176 (test_via_rtld_prefix): This.
8177 (test_wrapper): Renamed to ...
8178 (test_program_prefix): This.
8179 (run_program_prefix): Replaced by test_program_prefix.
8180 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
8181 (test_program_prefix): This.
8182 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
8183 with $(host-test-program-cmd).
8184 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
8185 $(run-program-prefix) with $(test-program-prefix).
8186 ($(objpfx)tst-printf.out): Likewise.
8187 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
8188 $(test-program-cmd).
8189 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
8190 (test_program_prefix): This.
8191 * stdio-common/tst-unbputc.sh: Likewise.
8192 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
8193 $(run-program-prefix) with $(test-program-prefix).
8194 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
8195 (test_program_prefix): This.
8196 * string/Makefile ($(objpfx)tst-svc.out): Replace
8197 $(built-program-cmd) with $(test-program-cmd).
8198
c6fe55cf
AJ
81992013-01-11 Andreas Jaeger <aj@suse.de>
8200
8201 [BZ #15003]
8202 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
8203 value. Sync with Linux 3.7.
8204
9e6919c8
DM
82052013-01-10 David S. Miller <davem@davemloft.net>
8206
8207 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
8208 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8209 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8210
1c9f1a02
RM
82112013-01-10 Roland McGrath <roland@hack.frob.com>
8212
8213 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
8214 never set.
8215 * configure: Regenerated.
8216
b9de2dde
DM
82172013-01-10 David S. Miller <davem@davemloft.net>
8218
8219 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
8220 sparc V9 rather than using V8 code.
8221 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8222 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8223
e7f68ef4
RM
82242013-01-10 Roland McGrath <roland@hack.frob.com>
8225
8226 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
8227 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
8228 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
8229 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
8230 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
8231 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
8232 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
8233 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
8234 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
8235 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
8236 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
8237 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
8238 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
8239 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
8240 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
8241 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
8242 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
8243 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
8244 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
8245 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
8246 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
8247 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
8248 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
8249 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
8250 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
8251 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
8252 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
8253
5a47cc9c
DM
82542013-01-10 David S. Miller <davem@davemloft.net>
8255
8256 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8257
4cf8f209
L
82582013-01-10 H.J. Lu <hongjiu.lu@intel.com>
8259
8260 * posix/Makefile (tests-static): New variable.
8261 (tests): Add $(tests-static).
8262 (tst-exec-static-ARGS): New variable.
8263 (tst-spawn-static-ARGS): Likewise.
8264 * posix/tst-exec-static.c: New file.
8265 * posix/tst-spawn-static.c: Likewise.
8266 * posix/tst-exec.c: Support run directly.
8267 * posix/tst-spawn.c: Likewise.
8268
fed0faa1
JM
82692013-01-10 Joseph Myers <joseph@codesourcery.com>
8270
828beb13
JM
8271 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
8272 long.
8273 * math/bits/mathcalls.h (llrint): Likewise.
8274 (llround): Likewise.
8275 * stdlib/stdlib.h (struct drand48_data): Likewise.
8276 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
8277 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
8278 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
8279 Likewise.
8280 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
8281 Likewise.
8282 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
8283 (elf_greg_t): Likewise.
8284 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
8285 (__jmp_buf): Likewise.
8286 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
8287 definitions.
8288 (llrint): Likewise, for all definitions.
8289 (llrintl): Likewise.
8290
fed0faa1
JM
8291 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
8292 Remove [__GNUC__] condition.
8293 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
8294 condition to just [__USE_ISOC99].
8295 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
8296
1a20cb20
L
82972013-01-10 H.J. Lu <hongjiu.lu@intel.com>
8298
8299 [BZ #14200]
8300 * sysdeps/unix/sysv/linux/x86/bits/environments.h
8301 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
8302 defined.
8303 (_POSIX_V6_ILP32_OFF32): Likewise.
8304 (_XBS5_ILP32_OFF32): Likewise.
8305 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
8306 (__ILP32_OFFBIG_LDFLAGS): Likewise.
8307
751b85f7
SP
83082013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8309
7490eb81
SP
8310 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
8311
751b85f7
SP
8312 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
8313 doubles __mpexp_twomm1. Adjust usage.
8314 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
8315 Remove.
8316
988197f0
AS
83172013-01-10 Andreas Schwab <schwab@suse.de>
8318
8319 [BZ #14964]
8320 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
8321 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
8322
e83d7298
DM
83232013-01-09 David S. Miller <davem@davemloft.net>
8324
034ed64b 8325 [BZ #15003]
e83d7298
DM
8326 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
8327 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
8328 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
8329 TCP_FASTOPEN): Define.
8330 (tcp_repair_opt): New structure.
8331 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
8332 enum values.
8333 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
8334 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
8335 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
8336 (tcp_cookie_transactions): New structure.
8337
d5e0b9bd
AB
83382013-01-09 Anton Blanchard <anton@samba.org>
8339
8340 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
8341 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
8342 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
8343 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
8344
0c07e3ea
JM
83452013-01-09 Joseph Myers <joseph@codesourcery.com>
8346
8347 * include/features.h (__USE_ANSI): Remove.
8348
232f7002
RM
83492013-01-09 Roland McGrath <roland@hack.frob.com>
8350
ad98e30c
RM
8351 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
8352
232f7002
RM
8353 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
8354
950c99ca
SP
83552013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
8356
b5792741
SP
8357 * sysdeps/s390/fpu/libm-test-ulps: Update.
8358
47cf2278
SP
8359 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8360
950c99ca
SP
8361 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
8362 (__acr): Likewise.
8363 (__cpy): Likewise.
8364 (norm): Likewise.
8365 (denorm): Likewise.
8366 (__mp_dbl): Likewise.
8367 (__dbl_mp): Likewise.
8368 (add_magnitudes): Likewise.
8369 (sub_magnitudes): Likewise.
8370 (__add): Likewise.
8371 (__sub): Likewise.
8372 (__mul): Likewise.
8373 (__inv): Likewise.
8374 (__dvd): Likewise.
8375 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
8376 (__acr): Likewise.
8377 (__cpy): Likewise.
8378 (norm): Likewise.
8379 (denorm): Likewise.
8380 (__mp_dbl): Likewise.
8381 (__dbl_mp): Likewise.
8382 (add_magnitudes): Likewise.
8383 (sub_magnitudes): Likewise.
8384 (__add): Likewise.
8385 (__sub): Likewise.
8386 (__mul): Likewise.
8387 (__inv): Likewise.
8388 (__dvd): Likewise.
8389 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
8390 (__acr): Likewise.
8391 (__cpy): Likewise.
8392 (norm): Likewise.
8393 (denorm): Likewise.
8394 (__mp_dbl): Likewise.
8395 (__dbl_mp): Likewise.
8396 (add_magnitudes): Likewise.
8397 (sub_magnitudes): Likewise.
8398 (__add): Likewise.
8399 (__sub): Likewise.
8400 (__mul): Likewise.
8401 (__inv): Likewise.
8402 (__dvd): Likewise.
8403
eede9df9
JM
84042013-01-08 Joseph Myers <joseph@codesourcery.com>
8405
8406 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
8407 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
8408 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
8409 2 && __USE_EXTERN_INLINES]: Likewise.
8410
c40ea3d9
AJ
84112013-01-08 Andreas Jaeger <aj@suse.de>
8412
8413 [BZ# 14985]
8414 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
8415 Remove.
8416 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
8417 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
8418
2ccdea26
AB
84192013-01-07 Anton Blanchard <anton@samba.org>
8420
8421 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
8422 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
8423 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
8424 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
8425 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
8426 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8427 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
8428 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8429 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8430 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8431 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8432 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8433 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8434 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8435 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
8436 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8437 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8438 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8439 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
8440 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
8441 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
8442 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
8443 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8444 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
8445 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
8446 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
8447 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8448 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
8449 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
8450 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8451 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
8452 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8453 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8454 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8455 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8456 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8457 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8458 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
8459 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
8460 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
8461 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
8462 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8463 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8464
a9708fed
JM
84652013-01-07 Joseph Myers <joseph@codesourcery.com>
8466
375607b9
JM
8467 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
8468 (__MALLOC_PMT): Likewise.
8469 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
8470 [__GNUC__], only on [_LIBC].
8471 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8472 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
8473 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8474 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
8475 forward declaration.
8476 (realloc_hook_ini): Likewise.
8477 (memalign_hook_ini): Likewise.
8478 (__libc_memalign): Do not use __MALLOC_PMT in variable
8479 declaration.
8480 (__libc_valloc): Likewise.
8481 (__libc_pvalloc): Likewise.
8482 (__libc_calloc): Likewise.
8483 (__posix_memalign): Likewise.
8484
a9708fed
JM
8485 [BZ #14996]
8486 * math/s_casinh.c: Include <float.h>.
8487 (__casinh): Do not do computation with squaring and square root
8488 for large arguments.
8489 * math/s_casinhf.c: Include <float.h>.
8490 (__casinhf): Do not do computation with squaring and square root
8491 for large arguments.
8492 * math/s_casinhl.c: Include <float.h>.
8493 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
8494 (__casinhl): Do not do computation with squaring and square root
8495 for large arguments.
8496 * math/libm-test.inc (casin_test): Add more tests.
8497 (casinh_test): Likewise.
8498 * sysdeps/i386/fpu/libm-test-ulps: Update.
8499 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8500
afec409a
L
85012013-01-04 H.J. Lu <hongjiu.lu@intel.com>
8502
8503 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
8504 (__x86_64_raw_data_cache_size): Likewise.
8505 (__x86_64_data_cache_size_half): Likewise.
8506 (__x86_64_raw_data_cache_size_half): Likewise.
8507 (__x86_64_shared_cache_size): Likewise.
8508 (__x86_64_raw_shared_cache_size): Likewise.
8509 (__x86_64_shared_cache_size_half): Likewise.
8510 (__x86_64_raw_shared_cache_size_half): Likewise.
8511 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
8512 to ...
8513 (__x86_data_cache_size): This.
8514 (__x86_64_raw_data_cache_size): Renamed to ...
8515 (__x86_raw_data_cache_size): This.
8516 (__x86_64_data_cache_size_half): Renamed to ...
8517 (__x86_data_cache_size_half): This.
8518 (__x86_64_raw_data_cache_size_half): Renamed to ...
8519 (__x86_raw_data_cache_size_half): This.
8520 (__x86_64_shared_cache_size): Renamed to ...
8521 (__x86_shared_cache_size): This.
8522 (__x86_64_raw_shared_cache_size): Renamed to ...
8523 (__x86_raw_shared_cache_size): This.
8524 (__x86_64_shared_cache_size_half): Renamed to ...
8525 (__x86_shared_cache_size_half): This.
8526 (__x86_64_raw_shared_cache_size_half): Renamed to ...
8527 (__x86_raw_shared_cache_size_half): This.
8528 * sysdeps/x86_64/memcpy.S: Updated.
8529 * sysdeps/x86_64/memset.S: Likewise.
8530 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8531 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8532 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8533
0b3986d0
DM
85342013-01-04 David S. Miller <davem@davemloft.net>
8535
8536 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8537
e47686e9
AS
85382013-01-04 Andreas Schwab <schwab@linux-m68k.org>
8539
d643bac1
AS
8540 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
8541 1 to avoid redefinition warning.
8542 (__USE_GNU): Don't define.
8543 (init_signaling_nan): Protoize.
8544
e47686e9
AS
8545 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8546
b18decba
SP
85472013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8548
fffb407f
SP
8549 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
8550 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
8551 (__cpymn): Likewise.
8552 (norm): Remove commented code.
8553 (denorm): Likewise.
8554 (__mp_dbl): Likewise.
8555 (__inv): Likewise.
8556 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
8557 (__cpymn): Likewise.
8558 (norm): Remove commented code.
8559 (denorm): Likewise.
8560 (__mp_dbl): Likewise.
8561 (__inv): Likewise.
8562
b18decba
SP
8563 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
8564 mp_no value for 1.0 and 2.0.
8565 (norm): Use RADIXI instead of radixi.d.
8566 (denorm): Likewise.
8567 (__mul): Use 0.0 instead of zero.d.
8568 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
8569 mp_no value for 1.0 and 2.0.
8570 (norm): Use RADIXI instead of radixi.d.
8571 (denorm): Likewise.
8572 (__mul): Use 0.0 instead of zero.d.
8573
cdc1c96f
JM
85742013-01-04 Joseph Myers <joseph@codesourcery.com>
8575
8576 [BZ #14994]
8577 * math/s_casinh.c (__casinh): Reduce finite argument to first
8578 quadrant then set signs of results at the end.
8579 * math/s_casinhf.c (__casinhf): Likewise.
8580 * math/s_casinhl.c (__casinhl): Likewise.
8581 * math/libm-test.inc (casin_test): Add more tests.
8582 (casinh_test): Likewise.
8583 * sysdeps/i386/fpu/libm-test-ulps: Update.
8584 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8585
302913e1
SP
85862013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8587
6420d207
SP
8588 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
8589
a9e48ab4
SP
8590 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
8591
b7837264
SP
8592 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
8593 declarations.
8594 (denorm): Likewise.
8595 (__mp_dbl): Likewise.
8596 (__inv): Likewise.
8597
f8af25d2
SP
8598 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
8599 and adjust the header comment.
8600
302913e1
SP
8601 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
8602 variable name from declaration.
8603
5d7dd1ca
L
86042013-01-03 H.J. Lu <hongjiu.lu@intel.com>
8605
8606 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8607 Initialize COMMON_CPUID_INDEX_7 element.
8608 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
8609 (CPUID_RTM): Likewise.
8610 (HAS_RTM): Likewise.
8611 (COMMON_CPUID_INDEX_7): New enum.
8612
2f5f40f4
AS
86132013-01-03 Andreas Schwab <schwab@linux-m68k.org>
8614
8615 [BZ #14981]
8616 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
8617 size is zero, record memory as freed.
8618
4056f4a0
AJ
86192013-01-03 Andreas Jaeger <aj@suse.de>
8620
8621 * po/ia.po: Add new Interlingua translation.
8622
ab15736f 86232012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
8624
8625 * locale/programs/localedef.c: Fix description of '--posix' flag.
8626
568035b7
JM
86272013-01-02 Joseph Myers <joseph@codesourcery.com>
8628
e6898b8d
JM
8629 * NEWS: Update dates in second copyright notice.
8630 * README: Update copyright dates in example.
8631 * manual/libc.texinfo: Update copyright dates.
8632 * scripts/test-installation.pl: Update copyright date in --version
8633 output.
8634
0e2f9562
JM
8635 * hurd/ctty-input.c: Fix copyright notice formatting.
8636 * hurd/ctty-output.c: Likewise.
8637 * hurd/dtable.c: Likewise.
8638 * hurd/hurd-raise.c: Likewise.
8639 * hurd/hurdprio.c: Likewise.
8640 * hurd/msgportdemux.c: Likewise.
8641 * misc/sys/file.h: Likewise.
8642 * misc/sys/ioctl.h: Likewise.
8643 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8644 * sysdeps/mach/hurd/chdir.c: Likewise.
8645 * sysdeps/mach/hurd/fchdir.c: Likewise.
8646 * sysdeps/mach/hurd/rename.c: Likewise.
8647 * sysdeps/mach/hurd/rmdir.c: Likewise.
8648 * sysdeps/mach/hurd/seekdir.c: Likewise.
8649 * sysdeps/mach/hurd/setsid.c: Likewise.
8650 * sysdeps/posix/wait3.c: Likewise.
8651
568035b7
JM
8652 * All files with FSF copyright notices: Update copyright dates
8653 using scripts/update-copyrights.
8654 * intl/plural.c: Regenerated.
8655 * locale/programs/charmap-kw.h: Likewise.
8656 * locale/programs/locfile-kw.h: Likewise.
8657
da08f647
SP
86582013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8659
0f5477af
SP
8660 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
8661 four values.
8662
44e0d4c2
SP
8663 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
8664 calculation loop and add branch prediction.
8665
4d55b4e5
SP
8666 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
8667 check access beyond bounds of m1np.
8668
da08f647
SP
8669 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8670 MPTWO.
8671 (__inv): Remove local variable MPTWO to use the global
8672 constant.
8673 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
8674 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8675 variable MPTWO.
8676 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
8677 MP3HALFS static const.
8678
8e051029
DM
86792013-01-01 David S. Miller <davem@davemloft.net>
8680
8681 * po/ca.po: Update from translation team.
8682
f4cf5f2d
JM
86832013-01-01 Joseph Myers <joseph@codesourcery.com>
8684
8685 * scripts/update-copyrights: New file.
8686 * Makeconfig: Reformat copyright notice.
8687 * ctype/ctype.h: Likewise.
8688 * debug/swprintf_chk.c: Likewise.
8689 * elf/dl-cache.c: Likewise.
8690 * elf/dl-debug.c: Likewise.
8691 * elf/dl-object.c: Likewise.
8692 * grp/initgroups.c: Likewise.
8693 * hurd/Makefile: Likewise.
8694 * hurd/hurd/signal.h: Likewise.
8695 * hurd/hurdfault.c: Likewise.
8696 * hurd/hurdioctl.c: Likewise.
8697 * hurd/hurdlookup.c: Likewise.
8698 * hurd/intr-msg.c: Likewise.
8699 * iconv/gconv_open.c: Likewise.
8700 * libio/swprintf.c: Likewise.
8701 * locale/lc-ctype.c: Likewise.
8702 * locale/nl_langinfo.c: Likewise.
8703 * mach/Machrules: Likewise.
8704 * mach/Makefile: Likewise.
8705 * malloc/obstack.h: Likewise.
8706 * manual/Makefile: Likewise.
8707 * manual/tsort.awk: Likewise.
8708 * misc/bits/stab.def: Likewise.
8709 * nis/nis_print_group_entry.c: Likewise.
8710 * nis/nis_table.c: Likewise.
8711 * nis/nss_compat/compat-pwd.c: Likewise.
8712 * nis/nss_compat/compat-spwd.c: Likewise.
8713 * po/Makefile: Likewise.
8714 * posix/fnmatch.c: Likewise.
8715 * posix/regex.h: Likewise.
8716 * resolv/Makefile: Likewise.
8717 * resolv/nss_dns/dns-network.c: Likewise.
8718 * resolv/res_hconf.c: Likewise.
8719 * scripts/gen-sorted.awk: Likewise.
8720 * soft-fp/soft-fp.h: Likewise.
8721 * stdio-common/printf.h: Likewise.
8722 * stdlib/monetary.h: Likewise.
8723 * stdlib/random.c: Likewise.
8724 * stdlib/random_r.c: Likewise.
8725 * sysdeps/generic/Makefile: Likewise.
8726 * sysdeps/gnu/Makefile: Likewise.
8727 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8728 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8729 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8730 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8731 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8732 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8733 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8734 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8735 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8736 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8737 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8738 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8739 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8740 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8741 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
8742 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8743 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8744 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8745 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8746 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8747 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8748 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8749 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8750 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
8751 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
8752 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8753 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
8754 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
8755 * sysdeps/mach/hurd/errnos.awk: Likewise.
8756 * sysdeps/mach/hurd/fork.c: Likewise.
8757 * sysdeps/mach/hurd/getcwd.c: Likewise.
8758 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
8759 * sysdeps/mach/hurd/mmap.c: Likewise.
8760 * sysdeps/mach/hurd/utimes.c: Likewise.
8761 * sysdeps/mach/hurd/xmknod.c: Likewise.
8762 * sysdeps/posix/profil.c: Likewise.
8763 * sysdeps/posix/readdir_r.c: Likewise.
8764 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8765 * sysdeps/powerpc/bits/setjmp.h: Likewise.
8766 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
8767 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8768 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8769 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
8770 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8771 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8772 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8773 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
8774 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8775 * sysdeps/pthread/lio_listio.c: Likewise.
8776 * sysdeps/sparc/dl-procinfo.h: Likewise.
8777 * sysdeps/unix/i386/sysdep.S: Likewise.
8778 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
8779 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
8780 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
8781 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
8782 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8783 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
8784 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
8785 * sysdeps/unix/sysv/linux/speed.c: Likewise.
8786 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
8787 * sysdeps/wordsize-32/divdi3.c: Likewise.
8788 * time/sys/time.h: Likewise.
8789 * wcsmbs/Makefile: Likewise.
8790
0549fbba
DM
87912013-01-01 David S. Miller <davem@davemloft.net>
8792
a141f1a7
DM
8793 * po/fr.po: Update from translation team.
8794
0549fbba
DM
8795 * catgets/gencat.c: Update copyright year.
8796 * csu/version.c: Likewise.
8797 * debug/catchsegv.sh: Likewise.
8798 * debug/pcprofiledump.c: Likewise.
8799 * debug/xtrace.sh: Likewise.
8800 * elf/ldconfig.c: Likewise.
8801 * elf/ldd.bash.in: Likewise.
8802 * elf/pldd.c: Likewise.
8803 * elf/sotruss.ksh: Likewise.
8804 * elf/sprof.c: Likewise.
8805 * iconv/iconv_prog.c: Likewise.
8806 * iconv/iconvconfig.c: Likewise.
8807 * locale/programs/locale.c: Likewise.
8808 * locale/programs/localedef.c: Likewise.
8809 * login/programs/pt_chown.c: Likewise.
8810 * malloc/memusage.sh: Likewise.
8811 * malloc/memusagestat.c: Likewise.
8812 * malloc/mtrace.pl: Likewise.
8813 * nscd/nscd.c: Likewise.
8814 * nss/getent.c: Likewise.
8815 * nss/makedb.c: Likewise.
8816 * posix/getconf.c: Likewise.
8817
18ea052c
SP
88182012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8819
8820 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
8821 numbers.
8822
9c89fca6
MF
88232012-12-30 Mike Frysinger <vapier@gentoo.org>
8824
8825 * math/bits/mathcalls.h (modf): Use __nonnull.
8826
085ec079
SP
88272012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8828
8829 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
8830 (split): Use macro CN instead of the bare value.
8831 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
8832 could be used.
8833 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
8834 instead of the bare value.
8835 (power1): Likewise.
8836
6d9f97e1
SP
88372012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8838
d63f73be
SP
8839 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
8840 __ATAN_TWOM.
8841 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8842
6d9f97e1
SP
8843 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
8844 their values.
8845 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
8846 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8847 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
8848 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
8849
4c4febf5
AJ
88502012-12-28 Andreas Jaeger <aj@suse.de>
8851
af5843ef
AJ
8852 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
8853 values are from Linux 3.7.
8854
4c4febf5
AJ
8855 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
8856 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
8857
99136f82
SP
88582012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8859
2f216c3c 8860 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
8861 TRUE case.
8862
99136f82
SP
8863 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
8864 (norm): Likewise.
8865 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
8866 variables with preprocessor constants.
8867 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8868 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
8869 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
8870
7fffbdff
BH
88712012-12-27 Bruno Haible <bruno@clisp.org>
8872
8873 [BZ #14317]
8874 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
8875 only if needed.
8876
b76eb5f0
SP
88772012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8878
31a7fe5c
SP
8879 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
8880 and use variable directly.
8881 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
8882
b76eb5f0
SP
8883 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8884 MPONE.
8885 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
8886 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8887 variable MPONE.
8888 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8889 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8890 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
8891 include directive. Remove local variable MPONE.
8892 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
8893 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
8894 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8895
2c8bfe7d
DM
88962012-12-25 David S. Miller <davem@davemloft.net>
8897
8898 * version.h (RELEASE): Set to "development".
8899 (VERSION): Set to "2.17.90".
8900 * NEWS: Add 2.18 section.
8901
147d03b0
DM
89022012-12-21 David S. Miller <davem@davemloft.net>
8903
8904 * po/hr.po: Update from translation team.
8905
a8ebb2b9
AK
89062012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8907
8908 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
8909
95b4f1b6
SE
89102012-12-19 Steve Ellcey <sellcey@mips.com>
8911
b2d94007 8912 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 8913
cedb2a90
MS
89142012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8915
8916 * manual/contrib.texi (Contributors): Spelling correction.
8917
bbf527d6
DM
89182012-12-15 David S. Miller <davem@davemloft.net>
8919
8920 * po/ru.po: Update from translation team.
8921
bc38c906
DM
89222012-12-13 David S. Miller <davem@davemloft.net>
8923
85429b1a
DM
8924 * NEWS: Mention IFUNC testsuite enhancements.
8925
d283e353
DM
8926 * po/pl.po: Update from translation team.
8927 * po/bg.po: Likewise.
8928
bc38c906
DM
8929 * manual/contrib.texi (Contributors): Update entries for Hongjiu
8930 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
8931
a181b0d7
DM
89322012-12-11 David S. Miller <davem@davemloft.net>
8933
4641d57e
DM
8934 * po/sv.po: Update from translation team.
8935
f7bc6495
DM
8936 * po/vi.po: Update from translation team.
8937
6fc9048f
DM
8938 * po/cs.po: Update from translation team.
8939
a181b0d7
DM
8940 * po/de.po: Update from translation team.
8941 * po/eo.po: Likewise.
8942 * po/nl.po: Likewise.
8943
f70bfe80
SP
89442012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8945
3c8b4190
SP
8946 [BZ #14246]
8947 * manual/argp.texi (Argp Helper Functions): Move node to follow
8948 Argp Parsing State.
8949
f70bfe80
SP
8950 [BZ #14872]
8951 * manual/conf.texi (Limits on File System Capacity): Mention if
8952 terminating null is included in the max size.
8953
188f0adf
AJ
89542012-12-10 Andreas Jaeger <aj@suse.de>
8955
8956 * po/cs.po: Update from translation team.
8957
56e7d3ad
SP
89582012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8959
8960 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
8961 void pointer and cast to uintptr_t.
8962 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
8963 path.
8964 * sysdeps/s390/s390-64/memcpy.S: Likewise.
8965 * sysdeps/s390/s390-64/memset.S: Likewise.
8966
76f2d2ea 89672012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
8968
8969 [BZ #14833]
8970 * menual/message.texi (Message Translation): Fix typos.
8971 (Helper programs for gettext): Likewise.
8972
67cbf9a2
AS
89732012-12-07 Andreas Schwab <schwab@linux-m68k.org>
8974
8975 [BZ #14898]
8976 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
8977 Change to -1.
8978
682d0e9a
DM
89792012-12-07 David S. Miller <davem@davemloft.net>
8980
8981 * po/libc.pot: Update.
8982
573cd484
RH
89832012-12-07 Richard Henderson <rth@redhat.com>
8984
7e9da188 8985 [BZ #10114]
573cd484
RH
8986 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
8987 normal/normal case to before the switch.
8988 (_FP_DIV): Likewise.
8989
e933a943
MF
89902012-12-06 Carlos O'Donell <carlos@systemhalted.org>
8991 Mike Frysinger <vapier@gentoo.org>
8992
8993 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
8994 check for __NR_fadvise64_64.
8995
82123268
CM
89962012-12-06 Chris Metcalf <cmetcalf@tilera.com>
8997
8998 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
8999 0, not just to plain "0" as a statement.
9000 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
9001 with cw.
9002
d9814526
JM
90032012-12-06 Joseph Myers <joseph@codesourcery.com>
9004
9005 * NEWS: Use sourceware.org in Bugzilla URL.
9006
7728c574
SP
90072012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
9008
f16946dd
SP
9009 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
9010 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9011
5704bbcb
SP
9012 * stdio-common/tst-put-error.c (do_test): Add newline to the
9013 padded test to ensure flush.
9014
17aa0516
JL
90152012-12-05 Jeff Law <law@redhat.com>
9016
9017 * sunrpc/etc.rpc (fedfs_admin): Add entry.
9018
363313b5
JM
90192012-12-05 Joseph Myers <joseph@codesourcery.com>
9020
effbd42a
JM
9021 * README: Don't refer to ports add-on as distributed separately.
9022 Mention AArch64 in list of systems supported in the ports add-on.
9023
87600365
JM
9024 * LICENSES: Add more non-FSF copyright and license notices.
9025
a0d7066a
JM
9026 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
9027 ((unused)).
9028
66ca5a5b
JM
9029 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
9030
363313b5
JM
9031 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
9032 10000 as width of padded output.
9033
b37984ad
JM
90342012-12-04 Joseph Myers <joseph@codesourcery.com>
9035
9003570a
JM
9036 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
9037
b37984ad
JM
9038 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
9039 variable LX with __attribute__ ((unused)).
9040 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
9041 Likewise.
9042 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
9043 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
9044 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
9045 with __attribute__ ((unused)).
9046
c8df52ec
DM
90472012-12-04 David S. Miller <davem@abraco.davemloft.net>
9048
9049 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
9050
b3b099af
JM
90512012-12-04 Joseph Myers <joseph@codesourcery.com>
9052
c33aa6e3
JM
9053 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
9054 (CFLAGS-nldbl-acos.c): New variable.
9055 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
9056 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
9057 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
9058 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
9059 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
9060 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
9061 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
9062 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
9063 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
9064 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
9065 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
9066 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
9067 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
9068 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
9069 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
9070 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
9071 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
9072 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
9073 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
9074 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
9075 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
9076 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
9077 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
9078 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
9079 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
9080 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
9081 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
9082 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
9083 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
9084 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
9085 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
9086 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
9087 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
9088 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
9089 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
9090 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
9091 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
9092 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
9093 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
9094 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
9095 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
9096 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
9097 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
9098 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
9099 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
9100 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
9101 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
9102 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
9103 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
9104 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
9105 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
9106 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
9107 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
9108 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
9109 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
9110 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
9111 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
9112 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
9113 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
9114 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
9115 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
9116 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
9117 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
9118 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
9119 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
9120 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
9121 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
9122 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
9123 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
9124 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
9125 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
9126 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
9127 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
9128 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
9129 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
9130 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
9131 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
9132 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
9133 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
9134 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
9135 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
9136 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
9137 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
9138 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
9139 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
9140 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
9141 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
9142 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
9143 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
9144 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
9145 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
9146 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
9147 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
9148 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
9149 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
9150 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
9151 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
9152
20f0018d
JM
9153 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
9154 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
9155
b3b099af
JM
9156 [BZ #14914]
9157 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
9158 whole low double instead of just low 47 bits when splitting values
9159 into two parts.
9160
029264d1
AM
91612012-12-03 Allan McRae <allan@archlinux.org>
9162
9163 * manual/stdio.texi (Predefined Printf Handlers): Remove
9164 @hsep and @vsep usage.
9165
c9d6789e
MF
91662012-12-03 Mike Frysinger <vapier@gentoo.org>
9167
9168 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
9169 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
9170
4b7634a5
JL
91712012-12-03 Jeff Law <law@redhat.com>
9172
9173 * time/sys/time.h (settimeofday): Do not mark TV argument
9174 as __nonnull.
9175
eb6cbd24
MF
91762012-12-01 Mike Frysinger <vapier@gentoo.org>
9177
9178 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
9179 when currently writing and seek to current position when not.
9180 * libio/Makefile (tests): Remove bug-fclose1.
9181 * libio/bug-fclose1.c: Delete.
9182
f638872a
JM
91832012-12-01 Joseph Myers <joseph@codesourcery.com>
9184
9185 * manual/arith.texi (feenableexcept): Fix typo.
9186 (fedisableexcept): Likewise.
9187
48085d14
RM
91882012-11-30 Roland McGrath <roland@hack.frob.com>
9189
9190 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
9191 second, differently-typed declaration, rather than a cast.
9192
1a538b9f
SP
91932012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9194
9195 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
9196 * include/rpc/svc.h: ... here.
9197
d07f2ff1 91982012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
9199
9200 [BZ #13013]
9201 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
9202 depending n and resplen2 to catch cases where answer
9203 equals answerp2.
9204
c93ec1f0
CD
92052012-11-29 Carlos O'Donell <carlos@systemhalted.org>
9206
9207 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
9208 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
9209
37db69de
MF
92102012-11-29 Mike Frysinger <vapier@gentoo.org>
9211
9212 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
9213
e10c4e4f
RM
92142012-11-29 Roland McGrath <roland@hack.frob.com>
9215
9216 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
9217
2af1b328
JL
92182012-11-28 Jeff Law <law@redhat.com>
9219
9220 [BZ #13761]
9221 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
9222 dataset_temporary. Track alloca usage into alloca_used.
9223 If dataset is large allocate and release it via malloc/free.
9224
111db5b1
FW
92252012-06-04 Florian Weimer <fweimer@redhat.com>
9226
f06cc227 9227 [BZ #14197]
111db5b1
FW
9228 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
9229
dd694abd
DM
92302012-11-28 David S. Miller <davem@davemloft.net>
9231
9232 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9233
9984dd01
JM
92342012-11-28 Joseph Myers <joseph@codesourcery.com>
9235
9236 [BZ #14803]
9237 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
9238 of pi/2 rounded to nearest to 64 bits.
9239 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
9240 nearest to 64 bits.
9241 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
9242 bits.
9243
14bc93a9
JL
92442012-11-28 Jeff Law <law@redhat.com>
9245 Martin Osvald <mosvald@redhat.com>
9246
9247 [BZ #14889]
9248 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
9249 * sunrpc/svc.c: Include time.h.
9250 (__svc_accept_failed): New function.
9251 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
9252 any reason other than EINTR, call __svc_accept_failed.
9253 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
9254 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
9255
e3c6aa3a
AS
92562012-11-28 Andreas Schwab <schwab@suse.de>
9257
9258 * scripts/abilist.awk: Also handle indirect functions in .opd
9259 section.
9260
1bead169
JM
92612012-11-28 Joseph Myers <joseph@codesourcery.com>
9262
9263 [BZ #13881]
9264 * sysdeps/x86/fpu/powl_helper.c: New file.
9265 * sysdeps/x86/fpu/Makefile: Likewise.
9266 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
9267 (p3): New object.
9268 (__ieee754_powl): Use __powl_helper for finite arguments except
9269 integer exponents below 8.
9270 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
9271 (p3): New object.
9272 (__ieee754_powl): Use __powl_helper for finite arguments except
9273 integer exponents below 8.
9274 * math/libm-test.inc (pow_test): Add more tests and enable some
9275 previously disabled tests.
9276 * sysdeps/i386/fpu/libm-test-ulps: Update.
9277 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9278
0817d63d
SP
92792012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9280 Carlos O'Donell <carlos_odonell@mentor.com>
9281
9282 * nss/makedb.c (is_prime): Assert that input is odd and greater
9283 than 4. Note that fact in a comment too.
9284 (next_prime): Add 4 to input.
9285
de2fd463
SP
92862012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9287
9288 [BZ #11741]
9289 * libio/Makefile (tests): Add test case tst-fwrite-error.
9290 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
9291 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
9292 * libio/tst-fwrite-error.c: New test case.
9293
c515fb51
L
92942012-11-26 H.J. Lu <hongjiu.lu@intel.com>
9295
9296 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
9297 before casting to void *.
9298 * include/libc-internal.h (__pointer_type): New macro.
9299 (__integer_if_pointer_type_sub): Likewise.
9300 (__integer_if_pointer_type): Likewise.
9301 (cast_to_integer): Likewise.
9302 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
9303 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
9304 before casting to atomic64_t.
9305 (atomic_exchange_acq): Likewise.
9306 (__arch_exchange_and_add_body): Likewise.
9307 (__arch_add_body): Likewise.
9308 (atomic_add_negative): Likewise.
9309 (atomic_add_zero): Likewise.
9310
4cf77aa9
JM
93112012-11-26 Joseph Myers <joseph@codesourcery.com>
9312
9313 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
9314 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
9315 (add_fdes): Likewise.
9316 (linear_search_fdes): Likewise.
9317 (binary_search_unencoded_fdes): Likewise.
9318
d260b3b4
AS
93192012-11-26 Andreas Schwab <schwab@linux-m68k.org>
9320
9321 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
9322
67060746
AC
93232012-11-24 Adam Conrad <adconrad@0c3.net>
9324
9325 * configure.in: Autodetect C++ header directories.
9326 * configure: Regenerated.
9327
800938a1
MF
93282012-11-23 Mike Frysinger <vapier@gentoo.org>
9329
9330 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
9331
4e6e34e6
AS
93322012-11-23 Andreas Schwab <schwab@linux-m68k.org>
9333
9334 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9335
7c7feb47
JM
93362012-11-22 Joseph Myers <joseph@codesourcery.com>
9337
7184dcdf
JM
9338 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
9339 LDBL_MANT_DIG == 106]: Disable some tests.
9340 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9341 Likewise.
9342 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9343 Likewise.
9344
0a42601f
JM
9345 [BZ #14871]
9346 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
9347 input for small inputs. Return +/- pi/2 for large inputs.
9348 * math/libm-test.inc (atan_test): Add more tests.
9349
79c9b9fe
JM
9350 * sysdeps/generic/unwind-dw2-fde-glibc.c
9351 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
9352 __attribute__ ((unused)).
9353
c60d3bf2
JM
9354 [BZ #14645]
9355 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
9356 x * y if x and y are nonzero and z is zero.
9357
ef1e0867
JM
9358 [BZ #14811]
9359 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
9360 nonzero exponents with absolute value below 0x1p-117 to +/-
9361 0x1p-117.
9362
1468ded3
JM
9363 [BZ #14869]
9364 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
9365 up arguments below 2**-450, not just those below 2**-500.
9366 * math/libm-test.inc (hypot_test): Add another test.
9367
8e27e3cc
JM
9368 [BZ #14868]
9369 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
9370 Return a+b for ratio over 2**120, not 2**60.
9371 * math/libm-test.inc (hypot_test): Add another test.
9372
c9c0279b
JM
9373 * math/libm-test.inc (clog_test): Use
9374 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
9375 (clog10_test): Likewise.
9376
7c7feb47
JM
9377 [BZ #6778]
9378 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
9379
fff1530e
AS
93802012-11-22 Andreas Schwab <schwab@suse.de>
9381
9382 * sysdeps/i386/fpu/libm-test-ulps: Update.
9383
94558d30
PT
93842012-11-22 Pino Toscano <toscano.pino@tiscali.it>
9385
9386 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
9387 printf output with newline.
9388
7e1be741
L
93892012-11-21 H.J. Lu <hongjiu.lu@intel.com>
9390
6bfea974
L
9391 [BZ #14865]
9392 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
9393 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
9394 -z nodlopen, -z initfirst and -z execstack support.
9395 * configure: Regenerated.
9396
7e1be741
L
9397 * elf/elf.h (DF_1_NODIRECT): New macro.
9398 (DF_1_IGNMULDEF): Likewise.
9399 (DF_1_NOKSYMS): Likewise.
9400 (DF_1_NOHDR): Likewise.
9401 (DF_1_EDITED): Likewise.
9402 (DF_1_NORELOC): Likewise.
9403 (DF_1_SYMINTPOSE): Likewise.
9404 (DF_1_GLOBAUDIT): Likewise.
9405 (DF_1_SINGLETON): Likewise.
9406 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
9407 DT_1_SUPPORTED_MASK bits.
9408 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
9409
105ce2ce
CD
94102012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
9411
9412 * sysdeps/unix/make-syscalls.sh: Document prefixes.
9413
123be9de
TS
94142012-11-20 Thomas Schwinge <thomas@codesourcery.com>
9415
d072f3f7
TS
9416 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
9417 macro.
9418
123be9de
TS
9419 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
9420 (sendmmsg): Move declarations...
9421 * socket/sys/socket.h: ... here.
9422 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
9423 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
9424 include it from...
9425 * socket/recvmmsg.c: ... this new file.
9426 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
9427 (sendmmsg): Rename to __sendmmsg, create weak alias and make
9428 definition of __sendmmsg hidden.
9429 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
9430 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
9431 Move ENOSYS stub into and include it from...
9432 * socket/sendmmsg.c: ... this new file.
9433 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
9434 (sysdep_routines): Move recvmmsg and sendmmsg...
9435 * socket/Makefile (routines): ... here.
9436 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
9437 (GLIBC_PRIVATE): Add __sendmmsg.
9438 * include/sys/socket.h (__sendmmsg): Add declarations.
9439 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
9440 sendmmsg.
9441
cf9a5d18
JM
94422012-11-20 Joseph Myers <joseph@codesourcery.com>
9443
9444 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
9445 variable I1 with __attribute__ ((unused)).
9446 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9447
ecd4caf9
JM
94482012-11-19 Joseph Myers <joseph@codesourcery.com>
9449
be14d48f
JM
9450 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
9451 DUMMY variables with __attribute__ ((unused)).
9452
ecd4caf9
JM
9453 * bits/byteswap.h: Include <bits/types.h>.
9454 (__bswap_64): Use __uint64_t instead of unsigned long long int.
9455
986cab95
PT
94562012-11-19 Pino Toscano <toscano.pino@tiscali.it>
9457
9458 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
9459 string_t. Do not manually set errno.
9460 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
9461 length with __strnlen. Make sure to both set errno and return it on
9462 failure.
9463
6d33cc9d
DM
94642012-11-19 David S. Miller <davem@davemloft.net>
9465
9466 With help from Joseph Myers.
9467 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
9468 very large arguments properly.
9469 * math/libm-test.inc (atan_test): New tests.
9470 (atan2_test): New tests.
9471 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9472 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9473
ee663277
JM
94742012-11-19 Joseph Myers <joseph@codesourcery.com>
9475
877f2d8e
JM
9476 [BZ #14856]
9477 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
9478 Define to 3.
9479
116fc08a
JM
9480 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
9481 [POSIX] (EADDRNOTAVAIL): Likewise.
9482 [POSIX] (EAFNOSUPPORT): Likewise.
9483 [POSIX] (EALREADY): Likewise.
9484 [POSIX] (ECONNABORTED): Likewise.
9485 [POSIX] (ECONNREFUSED): Likewise.
9486 [POSIX] (ECONNRESET): Likewise.
9487 [POSIX] (EDESTADDRREQ): Likewise.
9488 [POSIX] (EDQUOT): Likewise.
9489 [POSIX] (EHOSTUNREACH): Likewise.
9490 [POSIX] (EIDRM): Likewise.
9491 [POSIX] (EISCONN): Likewise.
9492 [POSIX] (ELOOP): Likewise.
9493 [POSIX] (EMULTIHOP): Likewise.
9494 [POSIX] (ENETDOWN): Likewise.
9495 [POSIX] (ENETUNREACH): Likewise.
9496 [POSIX] (ENOBUFS): Likewise.
9497 [POSIX] (ENODATA): Likewise.
9498 [POSIX] (ENOLINK): Likewise.
9499 [POSIX] (ENOMSG): Likewise.
9500 [POSIX] (ENOPROTOOPT): Likewise.
9501 [POSIX] (ENOSR): Likewise.
9502 [POSIX] (ENOSTR): Likewise.
9503 [POSIX] (ENOTCONN): Likewise.
9504 [POSIX] (ENOTSOCK): Likewise.
9505 [POSIX] (EOPNOTSUPP): Likewise.
9506 [POSIX] (EOVERFLOW): Likewise.
9507 [POSIX] (EPROTO): Likewise.
9508 [POSIX] (EPROTONOSUPPORT): Likewise.
9509 [POSIX] (EPROTOTYPE): Likewise.
9510 [POSIX] (ESTALE): Likewise.
9511 [POSIX] (ETIME): Likewise.
9512 [POSIX] (ETXTBSY): Likewise.
9513 [POSIX] (EWOULDBLOCK): Likewise.
9514 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
9515 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
9516 [POSIX] (SEEK_CUR): Likewise.
9517 [POSIX] (SEEK_END): Likewise.
9518 [POSIX || UNIX98] (mode_t): Do not require.
9519 [POSIX] (off_t): Likewise.
9520 [POSIX] (pid_t): Likewise.
9521 [POSIX] (sys/stat.h): Do not allow header.
9522 [POSIX] (unistd.h): Likewise.
9523 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
9524 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
9525 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
9526 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
9527 require.
9528 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
9529 sigevent): Specify elements.
9530 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
9531 entry.
9532 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
9533 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
9534
a483863f
JM
9535 * conform/data/cpio.h-data [POSIX]: Disable whole file.
9536 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
9537 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
9538 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
9539 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
9540 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
9541 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
9542 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
9543 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
9544 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
9545 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
9546 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
9547 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
9548 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
9549 Likewise.
9550 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
9551 Likewise.
9552 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
9553 Likewise.
9554 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
9555 Likewise.
9556 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
9557 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
9558 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
9559 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
9560 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
9561 Specify lower bound on value.
9562 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
9563 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
9564 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
9565 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
9566 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
9567 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
9568 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
9569 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
9570 value.
9571 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
9572 as optional.
9573 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
9574 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
9575 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
9576 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
9577 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
9578 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
9579 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
9580 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
9581 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
9582 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
9583 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
9584 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
9585 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
9586 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
9587 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
9588 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
9589 entry.
9590 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
9591 optional.
9592 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
9593 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
9594 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
9595 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
9596 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
9597 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
9598 Likewise.
9599 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
9600 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
9601 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
9602 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
9603 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
9604 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
9605 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
9606 as optional.
9607 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
9608 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
9609 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
9610 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
9611 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
9612 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
9613 specify as optional.
9614 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
9615 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
9616 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
9617 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
9618 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
9619 [XPG3] (NL_LANGMAX): Likewise.
9620 [POSIX || XPG3] (NL_MSGMAX): Likewise.
9621 [POSIX || XPG3] (NL_NMAX): Likewise.
9622 [POSIX || XPG3] (NL_SETMAX): Likewise.
9623 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
9624 [XPG3] (NZERO): Likewise.
9625 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
9626 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
9627 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
9628 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
9629 (REG_ERANGE): Expect.
9630 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
9631 optional-constant.
9632 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
9633 Use (void) in prototype.
9634 [POSIX] (*_t): Allow.
9635 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
9636 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
9637 (WRDE_BADVAL): Expect.
9638
5ba924e3
JM
9639 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
9640 expect.
9641 [XPG3 || XPG4] (O_RSYNC): Likewise.
9642 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
9643 Likewise.
9644 [XPG3 || XPG4] (pthread_sigmask): Likewise.
9645 [XPG3 || XPG4] (sigqueue): Likewise.
9646 [XPG3 || XPG4] (sigtimedwait): Likewise.
9647 [XPG3 || XPG4] (sigwaitinfo): Likewise.
9648 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
9649 [XPG3 || XPG4] (vsnprintf): Likewise.
9650 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
9651 Likewise.
9652 [XPG3 || XPG4] (blksize_t): Likewise.
9653 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
9654 Likewise.
9655 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
9656 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
9657 [XPG3 || XPG4] (struct itimerspec): Likewise.
9658 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
9659 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
9660 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
9661 [XPG3 || XPG4] (clockid_t): Likewise.
9662 [XPG3 || XPG4] (timer_t): Likewise.
9663 [XPG3 || XPG4] (clock_getres): Likewise.
9664 [XPG3 || XPG4] (clock_gettime): Likewise.
9665 [XPG3 || XPG4] (clock_settime): Likewise.
9666 [XPG3 || XPG4] (nanosleep): Likewise.
9667 [XPG3 || XPG4] (timer_create): Likewise.
9668 [XPG3 || XPG4] (timer_delete): Likewise.
9669 [XPG3 || XPG4] (timer_gettime): Likewise.
9670 [XPG3 || XPG4] (timer_getoverrun): Likewise.
9671 [XPG3 || XPG4] (timer_settime): Likewise.
9672 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
9673 [XPG3 || XPG4] (getlogin_r): Likewise.
9674 [XPG3 || XPG4] (pread): Likewise.
9675 [XPG3 || XPG4] (pthread_atfork): Likewise.
9676 [XPG3 || XPG4] (pwrite): Likewise.
9677
ee663277
JM
9678 [BZ #14835]
9679 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
9680 <bits/siginfo.h>.
9681
942caa16
PT
96822012-11-19 Pino Toscano <toscano.pino@tiscali.it>
9683
e19af380
PT
9684 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
9685 finalizing MALLSTREAM.
9686
942caa16
PT
9687 * sysdeps/mach/hurd/syncfs.c: New file.
9688
cfde9b46
SP
96892012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9690
9691 [BZ #14719]
9692 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
9693 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
9694 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
9695 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
9696 (_nss_dns_gethostbyname4_r): Likewise.
9697 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
9698 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
9699
f6da27e5
PH
97002012-11-19 Peng Haitao <penght@cn.fujitsu.com>
9701
9702 [BZ #13763]
9703 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
9704
6665d4a2
SM
97052012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
9706
1f51ee92
SM
9707 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
9708 * elf/cache.c (print_entry): Print ",AArch64" for
9709 FLAG_AARCH64_LIB64
9710
6665d4a2
SM
9711 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
9712 * elf/cache.c (print_entry): Print ",hard-float" for
9713 FLAG_ARM_LIBHF.
9714
05b227bd
DM
97152012-11-18 David S. Miller <davem@davemloft.net>
9716
9717 With help from Joseph Myers.
9718 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
9719 cutoff to 2**-13.
9720 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
9721 cutoff to 2**-25.
9722 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
9723 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
9724 small.
9725 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
9726 * math/libm-test.inc (y0_test): New tests.
9727 (y1_test): New tests.
9728 * sysdeps/i386/fpu/libm-test-ulps: Update.
9729 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9730 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9731
786b0b67
AS
97322012-11-18 Andreas Schwab <schwab@linux-m68k.org>
9733
9734 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
9735 64-bit targets.
9736 * configure: Regenerated.
9737
8e18b86d
DM
97382012-11-17 David S. Miller <davem@davemloft.net>
9739
9740 [BZ #14811]
9741 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
9742 nonzero exponents with absolute value below 0x1p-128 to +/-
9743 0x1p-128.
9744
531f1ae0
JM
97452012-11-17 Joseph Myers <joseph@codesourcery.com>
9746
12df29e2
JM
9747 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
9748
150dc1a0
JM
9749 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
9750
531f1ae0
JM
9751 * posix/getconf-speclist.c: New file.
9752 * posix/posix-envs.def: Likewise.
9753 * posix/confstr.c (START_ENV_GROUP): New macro.
9754 (END_ENV_GROUP): Likewise.
9755 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9756 (KNOWN_PRESENT_ENV_STRING): Likewise.
9757 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9758 (UNKNOWN_ENVIRONMENT): Likewise.
9759 (confstr): Include posix-envs.def instead of handling
9760 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
9761 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
9762 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
9763 (END_ENV_GROUP): Likewise.
9764 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9765 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9766 (UNKNOWN_ENVIRONMENT): Likewise.
9767 (__sysconf): Include posix-envs.def instead of handling associated
9768 cases directly here.
9769 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
9770 preprocessing getconf-speclist.c rather than running getconf or
9771 generating empty file.
9772
a93f9cbc
PT
97732012-11-16 Pino Toscano <toscano.pino@tiscali.it>
9774
9775 * scripts/check-local-headers.sh: Ignore 'mach' headers.
9776
d64d9f87
AL
97772012-11-16 Andrej Lajovic <natrij@gmail.com>
9778
9779 [BZ #14672]
9780 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
9781
447885eb
DM
97822012-11-16 David S. Miller <davem@davemloft.net>
9783
9784 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
9785 smaller than LDBL_EPSILON/2.0L, just return xm1.
9786
bcbf9830
L
97872012-11-16 H.J. Lu <hongjiu.lu@intel.com>
9788
9789 * elf/tst-array1.c (init): Set constructor priority to 1000.
9790 (fini): Set destructor priority to 1000.
9791 * elf/tst-array2dep.c: Likewise.
9792
2b766585
SP
97932012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9794
9795 [BZ #11741]
9796 * libio/fileops.c (_IO_new_file_write): Correctly return error.
9797 (_IO_new_file_xsputn): Also return EOF if none of the input
9798 data was written when overflow failed.
9799 * libio/iopadn.c (_IO_padn): Likewise.
9800 * libio/iowpadn.c (_IO_wpadn): Likewise.
9801 * stdio-common/tst-put-error.c: Add copyright notice.
9802 (do_test): Add case for printing padded string.
9803 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
9804 _IO_padn returned error.
9805 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
9806 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
9807 return EOF.
9808
b1848fde
SP
98092012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9810
9811 * libio/libioP.h: Add comment note that the references to C++
9812 bits are now obsolete.
9813
2fd89785
MS
98142012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9815
9816 * math/libm-test.inc (check_complex): Use asprintf.
9817
e3ea5409
JM
98182012-11-14 Joseph Myers <joseph@codesourcery.com>
9819
9820 * debug/pcprofiledump.c (print_version): Update copyright year.
9821 * malloc/memusagestat.c (print_version): Likewise.
9822
2e64d265
L
98232012-11-14 H.J. Lu <hongjiu.lu@intel.com>
9824
9825 [BZ #14831]
9826 * elf/Makefile (tests): Add tst-audit8.
9827 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
9828 ($(objpfx)tst-audit8.out): New target.
9829 (tst-audit8-ENV): New variable.
9830 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
9831 audit if l_reloc_result is NULL.
9832 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
9833 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
9834 * elf/tst-audit8.c: New file.
9835
c485e4d2
MS
98362012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9837
9838 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
9839 * misc/Makefile (CFLAGS-select.c): Define.
9840 * posix/Makefile (CFLAGS-pause.c): Define.
9841
3a0d900a
DM
98422012-11-13 David S. Miller <davem@davemloft.net>
9843
9844 * crypt/Makefile: Move test targets after toplevel Rules
9845 inclusion. Grab any necessary sysdep routines when linking.
9846 * crypt/md5.c (md5_process_block): Remove define, we will always
9847 name it __md5_process_block.
9848 (md5_finish_ctx): Update md5_process_block call.
9849 (md5_stream): Likewise.
9850 (md5_process_bytes): Likewise.
9851 (md5_process_block): Rename to __md5_process_block and move to ...
9852 * crypt/md5-block.c: ... here.
9853 * crypt/sha256.c (sha256_process_block): Move to ...
9854 * crypt/sha256-block.c: ... here.
9855 * crypt/sha512.c (sha512_process_block): Move to ...
9856 * crypt/sha512-block.c: ... here.
9857 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
9858 path.
9859 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
9860 * sysdeps/sparc/sparc64/multiarch/Makefile
9861 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
9862 crypt subdir.
9863 (localedef-aux): Add md5 crypto assembler when in locale subdir.
9864 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
9865 multiarch changes.
9866 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
9867 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
9868 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
9869 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
9870 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
9871 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
9872 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
9873 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
9874 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
9875 file.
9876 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
9877 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
9878 file.
9879 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
9880
8ca89318
JM
98812012-11-13 Joseph Myers <joseph@codesourcery.com>
9882
e27d476a
JM
9883 * timezone/tzselect.ksh: Update from tzcode git revision
9884 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
9885 * timezone/zdump.c: Likewise.
9886 * timezone/zic.c: Likewise.
9887 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
9888 in TZVERSION setting, not $(PKGVERSION).
9889 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
9890 REPORT_BUGS_TO settings.
9891
8ca89318
JM
9892 [BZ #14838]
9893 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
9894 macro.
9895
47594329
MS
98962012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9897
9898 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
9899 detection to immediately after _FP_ROUND().
9900 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
9901 bits are 0.
9902
640ac3f1
DM
99032012-11-11 David S. Miller <davem@davemloft.net>
9904
9905 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
9906 inttypes.h
9907 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
9908 __close rather than their public counterparts.
9909
3d2577bb
JM
99102012-11-10 Joseph Myers <joseph@codesourcery.com>
9911
9912 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
9913 file.
9914 [UNIX98] (sem_timedwait): Do not expect.
9915 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
9916 [XPG4 || UNIX98] (sockatmark): Do not expect.
9917 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
9918 (clock_getcpuclockid): Do not expect.
9919 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
9920 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
9921 Do not expect.
9922 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
9923 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
9924 [UNIX98] (vwscanf): Likewise.
9925 [UNIX98] (vswscanf): Likewise.
9926
fb1ae1ee
JM
99272012-11-09 Joseph Myers <joseph@codesourcery.com>
9928
9ec6f8bd
JM
9929 * timezone/version.h: Remove file.
9930 * timezone/README: Do not refer to version.h.
9931 * timezone/Makefile ($(objpfx)zic.o): New dependency on
9932 $(objpfx)version.h.
9933 ($(objpfx)zdump.o): Likewise.
c3f81911 9934 ($(objpfx)version.h): New target.
9ec6f8bd 9935
0aa8f8a1
JM
9936 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
9937 2012i.
9938 * timezone/README: Don't mention modification to tzselect.ksh.
9939 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
9940 work on unmodified tzselect.ksh. Substitute version numbers in
9941 tzselect.ksh.
9942
4e87147f
JM
9943 * Makefile (format-me): Remove.
9944 (INSTALL): Adjust indentation. Use commands directly instead of
9945 using $(format-me).
9946
8b748aed
JM
9947 * aclocal.m4 (ACX_PKGVERSION): New macro.
9948 (ACX_BUGURL): Likewise.
9949 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
9950 (PKGVERSION): New AC_DEFINE_UNQUOTED.
9951 (REPORT_BUGS_TO): Likewise.
9952 * configure: Regenerated.
9953 * config.h.in (PKGVERSION): New macro.
9954 (REPORT_BUGS_TO): Likewise.
9955 * config.make.in (PKGVERSION): New variable.
9956 (PKGVERSION_TEXI): Likewise.
9957 (REPORT_BUGS_TO): Likewise.
9958 (REPORT_BUGS_TEXI): Likewise.
9959 * Makefile (format-me): Use -I$(common-objpfx)manual.
9960 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
9961 ($(common-objpfx)manual/%): New target.
9962 (manual/%): Remove target.
9963 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
9964 (print_version): Use PKGVERSION.
9965 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
9966 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
9967 and REPORT_BUGS_TO.
9968 ($(objpfx)xtrace): Likewise.
9969 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
9970 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
9971 (print_version): Use PKGVERSION.
9972 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
9973 (do_version): Use PKGVERSION.
9974 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
9975 REPORT_BUGS_TO.
9976 (common-ldd-rewrite): Likewise.
9977 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
9978 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
9979 (print_version): Use PKGVERSION.
9980 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
9981 * elf/pldd.c (argp_program_bug_address): Remove variable.
9982 (more_help): New function.
9983 (argp): Use more_help.
9984 (print_version): Use PKGVERSION.
9985 * elf/sln.c (main): Use PKGVERSION.
9986 (usage): Use REPORT_BUGS_TO.
9987 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
9988 (top level): Use PKGVERSION.
9989 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
9990 (print_version): Use PKGVERSION.
9991 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
9992 (print_version): Use PKGVERSION.
9993 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
9994 (print_version): Use PKGVERSION.
9995 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
9996 (print_version): Use PKGVERSION.
9997 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
9998 (print_version): Use PKGVERSION.
9999 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
10000 (print_version): Use PKGVERSION.
10001 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
10002 and BUGURL.
10003 ($(objpfx)memusage): Likewise.
10004 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
10005 (do_version): Use PKGVERSION.
10006 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
10007 (print_version): Use PKGVERSION.
10008 * malloc/mtrace.pl ($PACKAGE): Remove variable.
10009 ($PKGVERSION): New variable.
10010 ($REPORT_BUGS_TO): Likewise.
10011 (usage): Use $REPORT_BUGS_TO.
10012 (top level): Use $PKGVERSION.
10013 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
10014 ($(objpfx)pkgvers.texi): New rule.
10015 ($(objpfx)stamp-pkgvers): Likewise.
10016 * manual/install.texi: Include pkgvers.texi.
10017 (--with-pkgversion): Document new configure option.
10018 (--with-bugurl): Likewise.
10019 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
10020 than necessarily for this particular distribution. Use
10021 REPORT_BUGS_TO for where to report bugs.
10022 * INSTALL: Regenerated.
10023 * manual/libc.texinfo: Include pkgvers.texi.
10024 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
10025 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
10026 (print_version): Use PKGVERSION.
10027 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
10028 (print_version): Use PKGVERSION.
10029 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
10030 (print_version): Use PKGVERSION.
10031 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
10032 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
10033 macro.
10034 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
10035 (print_version): Use PKGVERSION.
10036 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
10037 (print_version): Use PKGVERSION.
10038 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
10039 and PKGVERSION.
10040
92e4b6a9
JM
10041 * timezone/checktab.awk: Update from tzcode 2012i.
10042 * timezone/ialloc.c: Likewise.
10043 * timezone/private.h: Likewise.
10044 * timezone/scheck.c: Likewise.
10045 * timezone/tzfile.h: Likewise.
10046 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
10047 (TZVERSION): Hardcode tzcode version number.
10048 * timezone/zdump.c: Update from tzcode 2012i.
10049 * timezone/zic.c: Likewise.
10050 * timezone/version.h: New file.
10051 * timezone/README: Describe version.h. Update upstream location.
10052
9bde902c
JM
10053 [BZ #14824]
10054 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
10055 (mktemp): Enable declaration.
10056 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
10057 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
10058 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
10059 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
10060 Likewise.
10061 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
10062 Likewise.
10063 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
10064 Likewise.
10065 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
10066 Likewise.
10067 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
10068 Likewise.
10069 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
10070 Likewise.
10071
fb1ae1ee
JM
10072 [BZ #14821]
10073 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
10074 offset in buffer as u_int32_t not u_long. Consistently use memcpy
10075 for copies of such integer values.
10076 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
10077 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
10078
2c1adbcb
AJ
100792012-11-09 Andreas Jaeger <aj@suse.de>
10080
10081 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
10082 definitions and declarations that are provided by
10083 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
10084
d0f8457e
AK
100852012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10086
3a235abb 10087 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
10088 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
10089 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
10090 definition.
10091
57241e26
MS
100922012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10093
10094 * elf/elf.h: Update comment before AArch64 relocations.
10095
60e8270d
DM
100962012-11-07 David S. Miller <davem@davemloft.net>
10097
10098 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
10099 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
10100 (__start_context): Declare.
10101 (__makecontext_ret): Delete.
10102 (__makecontext): Hook up __start_context instead of
10103 __makecontext_ret.
10104 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
10105 (sysdep_routines): Add __start_context when in stdlib.
10106
0fbb0fbc
JM
101072012-11-07 Joseph Myers <joseph@codesourcery.com>
10108
10109 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
10110 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
10111 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
10112 hardcoded "nm".
10113 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
10114 (READELF): New variable. Use it instead of hardcoded "readelf".
10115
eb48db7e
L
101162012-11-07 H.J. Lu <hongjiu.lu@intel.com>
10117
10118 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
10119 * sysdeps/x86/Makefile: Here.
10120 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
10121 * sysdeps/x86/tst-xmmymm.sh: This.
10122
05bcf62a
JM
101232012-11-07 Joseph Myers <joseph@codesourcery.com>
10124
c4b6cf53
JM
10125 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
10126 expectations.
10127 [UNIX98] (pthread_barrier_t): Do not expect.
10128 [UNIX98] (pthread_barrierattr_t): Likewise.
10129 [UNIX98] (pthread_spinlock_t): Likewise.
10130 [UNIX98] (pthread_barrier_destroy): Likewise.
10131 [UNIX98] (pthread_barrier_init): Likewise.
10132 [UNIX98] (pthread_barrier_wait): Likewise.
10133 [UNIX98] (pthread_barrierattr_destroy): Likewise.
10134 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
10135 [UNIX98] (pthread_barrierattr_init): Likewise.
10136 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
10137 [UNIX98] (pthread_getcpuclockid): Likewise.
10138 [UNIX98] (pthread_mutex_timedlock): Likewise.
10139 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
10140 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
10141 [UNIX98] (pthread_sigmask): Likewise.
10142 [UNIX98] (pthread_spin_destroy): Likewise.
10143 [UNIX98] (pthread_spin_init): Likewise.
10144 [UNIX98] (pthread_spin_lock): Likewise.
10145 [UNIX98] (pthread_spin_trylock): Likewise.
10146 [UNIX98] (pthread_spin_unlock): Likewise.
10147 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
10148 Do not expect.
10149 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
10150 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
10151 [XPG3 || XPG4] (pthread_cond_t): Likewise.
10152 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
10153 [XPG3 || XPG4] (pthread_key_t): Likewise.
10154 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
10155 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
10156 [XPG3 || XPG4] (pthread_once_t): Likewise.
10157 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
10158 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
10159 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
10160 [XPG3 || XPG4] (pthread_t): Likewise.
10161
cbe6e120
JM
10162 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
10163 not expect.
10164 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
10165
1b126443
JM
10166 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
10167 Change function return type to int.
10168
b961a573
JM
10169 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
10170 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
10171 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
10172 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
10173 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
10174 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
10175 [!POSIX] (posix_madvise): Likewise.
10176 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
10177 && !UNIX98].
10178 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
10179 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
10180 (mode_t): Likewise.
10181 (posix_mem_offset): Likewise.
10182 (posix_typed_mem_get_info): Likewise.
10183 (posix_typed_mem_open): Likewise.
10184
9e188909
JM
10185 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
10186 Change condition to [XOPEN2K8].
10187
05bcf62a
JM
10188 * conform/conformtest.pl: Preprocess allow-header data with -x c
10189 instead of from stdin.
10190 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
10191 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
10192 [C99-based standards] (cerfc): Likewise.
10193 [C99-based standards] (cexp2): Likewise.
10194 [C99-based standards] (cexpm1): Likewise.
10195 [C99-based standards] (clog10): Likewise.
10196 [C99-based standards] (clog1p): Likewise.
10197 [C99-based standards] (clog2): Likewise.
10198 [C99-based standards] (clgamma): Likewise.
10199 [C99-based standards] (ctgamma): Likewise.
10200 [C99-based standards] (cerff): Likewise.
10201 [C99-based standards] (cerfcf): Likewise.
10202 [C99-based standards] (cexp2f): Likewise.
10203 [C99-based standards] (cexpm1f): Likewise.
10204 [C99-based standards] (clog10f): Likewise.
10205 [C99-based standards] (clog1pf): Likewise.
10206 [C99-based standards] (clog2f): Likewise.
10207 [C99-based standards] (clgammaf): Likewise.
10208 [C99-based standards] (ctgammaf): Likewise.
10209 [C99-based standards] (cerfl): Likewise.
10210 [C99-based standards] (cerfcl): Likewise.
10211 [C99-based standards] (cexp2l): Likewise.
10212 [C99-based standards] (cexpm1l): Likewise.
10213 [C99-based standards] (clog10l): Likewise.
10214 [C99-based standards] (clog1pl): Likewise.
10215 [C99-based standards] (clog2l): Likewise.
10216 [C99-based standards] (clgammal): Likewise.
10217 [C99-based standards] (ctgammal): Likewise.
10218 * conform/data/inttypes.h-data [C99-based standards]: Include
10219 stdint.h-data. Remove all expectations for stdint.h contents.
10220 [C99-based standards] (PRI*): Do not allow.
10221 [C99-based standards] (SCN*): Likewise.
10222 [C99-based standards] (*_t): Likewise.
10223 [C99-based-standards] (PRId8): Expect macro.
10224 [C99-based-standards] (PRIi8): Likewise.
10225 [C99-based-standards] (PRIo8): Likewise.
10226 [C99-based-standards] (PRIu8): Likewise.
10227 [C99-based-standards] (PRIx8): Likewise.
10228 [C99-based-standards] (PRIX8): Likewise.
10229 [C99-based-standards] (SCNd8): Likewise.
10230 [C99-based-standards] (SCNi8): Likewise.
10231 [C99-based-standards] (SCNo8): Likewise.
10232 [C99-based-standards] (SCNu8): Likewise.
10233 [C99-based-standards] (SCNx8): Likewise.
10234 [C99-based-standards] (PRIdLEAST8): Likewise.
10235 [C99-based-standards] (PRIiLEAST8): Likewise.
10236 [C99-based-standards] (PRIoLEAST8): Likewise.
10237 [C99-based-standards] (PRIuLEAST8): Likewise.
10238 [C99-based-standards] (PRIxLEAST8): Likewise.
10239 [C99-based-standards] (PRIXLEAST8): Likewise.
10240 [C99-based-standards] (SCNdLEAST8): Likewise.
10241 [C99-based-standards] (SCNiLEAST8): Likewise.
10242 [C99-based-standards] (SCNoLEAST8): Likewise.
10243 [C99-based-standards] (SCNuLEAST8): Likewise.
10244 [C99-based-standards] (SCNxLEAST8): Likewise.
10245 [C99-based-standards] (PRIdFAST8): Likewise.
10246 [C99-based-standards] (PRIiFAST8): Likewise.
10247 [C99-based-standards] (PRIoFAST8): Likewise.
10248 [C99-based-standards] (PRIuFAST8): Likewise.
10249 [C99-based-standards] (PRIxFAST8): Likewise.
10250 [C99-based-standards] (PRIXFAST8): Likewise.
10251 [C99-based-standards] (SCNdFAST8): Likewise.
10252 [C99-based-standards] (SCNiFAST8): Likewise.
10253 [C99-based-standards] (SCNoFAST8): Likewise.
10254 [C99-based-standards] (SCNuFAST8): Likewise.
10255 [C99-based-standards] (SCNxFAST8): Likewise.
10256 [C99-based-standards] (PRId16): Likewise.
10257 [C99-based-standards] (PRIi16): Likewise.
10258 [C99-based-standards] (PRIo16): Likewise.
10259 [C99-based-standards] (PRIu16): Likewise.
10260 [C99-based-standards] (PRIx16): Likewise.
10261 [C99-based-standards] (PRIX16): Likewise.
10262 [C99-based-standards] (SCNd16): Likewise.
10263 [C99-based-standards] (SCNi16): Likewise.
10264 [C99-based-standards] (SCNo16): Likewise.
10265 [C99-based-standards] (SCNu16): Likewise.
10266 [C99-based-standards] (SCNx16): Likewise.
10267 [C99-based-standards] (PRIdLEAST16): Likewise.
10268 [C99-based-standards] (PRIiLEAST16): Likewise.
10269 [C99-based-standards] (PRIoLEAST16): Likewise.
10270 [C99-based-standards] (PRIuLEAST16): Likewise.
10271 [C99-based-standards] (PRIxLEAST16): Likewise.
10272 [C99-based-standards] (PRIXLEAST16): Likewise.
10273 [C99-based-standards] (SCNdLEAST16): Likewise.
10274 [C99-based-standards] (SCNiLEAST16): Likewise.
10275 [C99-based-standards] (SCNoLEAST16): Likewise.
10276 [C99-based-standards] (SCNuLEAST16): Likewise.
10277 [C99-based-standards] (SCNxLEAST16): Likewise.
10278 [C99-based-standards] (PRIdFAST16): Likewise.
10279 [C99-based-standards] (PRIiFAST16): Likewise.
10280 [C99-based-standards] (PRIoFAST16): Likewise.
10281 [C99-based-standards] (PRIuFAST16): Likewise.
10282 [C99-based-standards] (PRIxFAST16): Likewise.
10283 [C99-based-standards] (PRIXFAST16): Likewise.
10284 [C99-based-standards] (SCNdFAST16): Likewise.
10285 [C99-based-standards] (SCNiFAST16): Likewise.
10286 [C99-based-standards] (SCNoFAST16): Likewise.
10287 [C99-based-standards] (SCNuFAST16): Likewise.
10288 [C99-based-standards] (SCNxFAST16): Likewise.
10289 [C99-based-standards] (PRId32): Likewise.
10290 [C99-based-standards] (PRIi32): Likewise.
10291 [C99-based-standards] (PRIo32): Likewise.
10292 [C99-based-standards] (PRIu32): Likewise.
10293 [C99-based-standards] (PRIx32): Likewise.
10294 [C99-based-standards] (PRIX32): Likewise.
10295 [C99-based-standards] (SCNd32): Likewise.
10296 [C99-based-standards] (SCNi32): Likewise.
10297 [C99-based-standards] (SCNo32): Likewise.
10298 [C99-based-standards] (SCNu32): Likewise.
10299 [C99-based-standards] (SCNx32): Likewise.
10300 [C99-based-standards] (PRIdLEAST32): Likewise.
10301 [C99-based-standards] (PRIiLEAST32): Likewise.
10302 [C99-based-standards] (PRIoLEAST32): Likewise.
10303 [C99-based-standards] (PRIuLEAST32): Likewise.
10304 [C99-based-standards] (PRIxLEAST32): Likewise.
10305 [C99-based-standards] (PRIXLEAST32): Likewise.
10306 [C99-based-standards] (SCNdLEAST32): Likewise.
10307 [C99-based-standards] (SCNiLEAST32): Likewise.
10308 [C99-based-standards] (SCNoLEAST32): Likewise.
10309 [C99-based-standards] (SCNuLEAST32): Likewise.
10310 [C99-based-standards] (SCNxLEAST32): Likewise.
10311 [C99-based-standards] (PRIdFAST32): Likewise.
10312 [C99-based-standards] (PRIiFAST32): Likewise.
10313 [C99-based-standards] (PRIoFAST32): Likewise.
10314 [C99-based-standards] (PRIuFAST32): Likewise.
10315 [C99-based-standards] (PRIxFAST32): Likewise.
10316 [C99-based-standards] (PRIXFAST32): Likewise.
10317 [C99-based-standards] (SCNdFAST32): Likewise.
10318 [C99-based-standards] (SCNiFAST32): Likewise.
10319 [C99-based-standards] (SCNoFAST32): Likewise.
10320 [C99-based-standards] (SCNuFAST32): Likewise.
10321 [C99-based-standards] (SCNxFAST32): Likewise.
10322 [C99-based-standards] (PRId64): Likewise.
10323 [C99-based-standards] (PRIi64): Likewise.
10324 [C99-based-standards] (PRIo64): Likewise.
10325 [C99-based-standards] (PRIu64): Likewise.
10326 [C99-based-standards] (PRIx64): Likewise.
10327 [C99-based-standards] (PRIX64): Likewise.
10328 [C99-based-standards] (SCNd64): Likewise.
10329 [C99-based-standards] (SCNi64): Likewise.
10330 [C99-based-standards] (SCNo64): Likewise.
10331 [C99-based-standards] (SCNu64): Likewise.
10332 [C99-based-standards] (SCNx64): Likewise.
10333 [C99-based-standards] (PRIdLEAST64): Likewise.
10334 [C99-based-standards] (PRIiLEAST64): Likewise.
10335 [C99-based-standards] (PRIoLEAST64): Likewise.
10336 [C99-based-standards] (PRIuLEAST64): Likewise.
10337 [C99-based-standards] (PRIxLEAST64): Likewise.
10338 [C99-based-standards] (PRIXLEAST64): Likewise.
10339 [C99-based-standards] (SCNdLEAST64): Likewise.
10340 [C99-based-standards] (SCNiLEAST64): Likewise.
10341 [C99-based-standards] (SCNoLEAST64): Likewise.
10342 [C99-based-standards] (SCNuLEAST64): Likewise.
10343 [C99-based-standards] (SCNxLEAST64): Likewise.
10344 [C99-based-standards] (PRIdFAST64): Likewise.
10345 [C99-based-standards] (PRIiFAST64): Likewise.
10346 [C99-based-standards] (PRIoFAST64): Likewise.
10347 [C99-based-standards] (PRIuFAST64): Likewise.
10348 [C99-based-standards] (PRIxFAST64): Likewise.
10349 [C99-based-standards] (PRIXFAST64): Likewise.
10350 [C99-based-standards] (SCNdFAST64): Likewise.
10351 [C99-based-standards] (SCNiFAST64): Likewise.
10352 [C99-based-standards] (SCNoFAST64): Likewise.
10353 [C99-based-standards] (SCNuFAST64): Likewise.
10354 [C99-based-standards] (SCNxFAST64): Likewise.
10355 [C99-based-standards] (PRIdMAX): Likewise.
10356 [C99-based-standards] (PRIiMAX): Likewise.
10357 [C99-based-standards] (PRIoMAX): Likewise.
10358 [C99-based-standards] (PRIuMAX): Likewise.
10359 [C99-based-standards] (PRIxMAX): Likewise.
10360 [C99-based-standards] (PRIXMAX): Likewise.
10361 [C99-based-standards] (SCNdMAX): Likewise.
10362 [C99-based-standards] (SCNiMAX): Likewise.
10363 [C99-based-standards] (SCNoMAX): Likewise.
10364 [C99-based-standards] (SCNuMAX): Likewise.
10365 [C99-based-standards] (SCNxMAX): Likewise.
10366 [C99-based-standards] (PRIdPTR): Likewise.
10367 [C99-based-standards] (PRIiPTR): Likewise.
10368 [C99-based-standards] (PRIoPTR): Likewise.
10369 [C99-based-standards] (PRIuPTR): Likewise.
10370 [C99-based-standards] (PRIxPTR): Likewise.
10371 [C99-based-standards] (PRIXPTR): Likewise.
10372 [C99-based-standards] (SCNdPTR): Likewise.
10373 [C99-based-standards] (SCNiPTR): Likewise.
10374 [C99-based-standards] (SCNoPTR): Likewise.
10375 [C99-based-standards] (SCNuPTR): Likewise.
10376 [C99-based-standards] (SCNxPTR): Likewise.
10377 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
10378 allow.
10379 * conform/data/stdint.h-data: Update comments to clarify
10380 requirements.
10381 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
10382 type.
10383 [C99-based standards] (INT8_MAX): Likewise.
10384 [C99-based standards] (INT16_MIN): Likewise.
10385 [C99-based standards] (INT16_MAX): Likewise.
10386 [C99-based standards] (INT32_MIN): Likewise.
10387 [C99-based standards] (INT32_MAX): Likewise.
10388 [C99-based standards] (INT64_MIN): Likewise.
10389 [C99-based standards] (INT64_MAX): Likewise.
10390 [C99-based standards] (UINT8_MAX): Likewise.
10391 [C99-based standards] (UINT16_MAX): Likewise.
10392 [C99-based standards] (UINT32_MAX): Likewise.
10393 [C99-based standards] (UINT64_MAX): Likewise.
10394 [C99-based standards] (INT_LEAST8_MIN): Likewise.
10395 [C99-based standards] (INT_LEAST8_MAX): Likewise.
10396 [C99-based standards] (INT_LEAST16_MIN): Likewise.
10397 [C99-based standards] (INT_LEAST16_MAX): Likewise.
10398 [C99-based standards] (INT_LEAST32_MIN): Likewise.
10399 [C99-based standards] (INT_LEAST32_MAX): Likewise.
10400 [C99-based standards] (INT_LEAST64_MIN): Likewise.
10401 [C99-based standards] (INT_LEAST64_MAX): Likewise.
10402 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
10403 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
10404 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
10405 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
10406 [C99-based standards] (INT_FAST8_MIN): Likewise.
10407 [C99-based standards] (INT_FAST8_MAX): Likewise.
10408 [C99-based standards] (INT_FAST16_MIN): Likewise.
10409 [C99-based standards] (INT_FAST16_MAX): Likewise.
10410 [C99-based standards] (INT_FAST32_MIN): Likewise.
10411 [C99-based standards] (INT_FAST32_MAX): Likewise.
10412 [C99-based standards] (INT_FAST64_MIN): Likewise.
10413 [C99-based standards] (INT_FAST64_MAX): Likewise.
10414 [C99-based standards] (UINT_FAST8_MAX): Likewise.
10415 [C99-based standards] (UINT_FAST16_MAX): Likewise.
10416 [C99-based standards] (UINT_FAST32_MAX): Likewise.
10417 [C99-based standards] (UINT_FAST64_MAX): Likewise.
10418 [C99-based standards] (INTPTR_MIN): Likewise.
10419 [C99-based standards] (INTPTR_MAX): Likewise.
10420 [C99-based standards] (UINTPTR_MAX): Likewise.
10421 [C99-based standards] (INTMAX_MIN): Likewise.
10422 [C99-based standards] (INTMAX_MAX): Likewise.
10423 [C99-based standards] (UINTMAX_MAX): Likewise.
10424 [C99-based standards] (PTRDIFF_MIN): Likewise.
10425 [C99-based standards] (PTRDIFF_MAX): Likewise.
10426 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
10427 [C99-based standards] (SIZE_MAX): Likewise.
10428 [C99-based standards] (WCHAR_MAX): Likewise.
10429 [C99-based standards] (WINT_MAX): Likewise.
10430 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
10431 constraint on value.
10432 [C99-based standards] (WCHAR_MIN): Likewise.
10433 [C99-based standards] (WINT_MIN): Likewise.
10434 [C99-based standards] (*_t): Allow.
10435 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
10436 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
10437 Include math.h-data and complex.h-data. Remove all expectations
10438 of math.h and complex.h contents.
10439 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
10440 at end of line.
10441 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
10442 (struct tm): Expect tag.
10443 [C99-based-standards] (wcstof): Expect function.
10444 [C99-based-standards] (wcstold): Likewise.
10445 [C99-based-standards] (wcstoll): Likewise.
10446 [C99-based-standards] (wcstoull): Likewise.
10447 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
10448 macro-int-constant. Specify type.
10449 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
10450 constraint on value.
10451 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
10452 Specify type.
10453 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
10454 Specify value.
10455 [ISO C standards]: Do not allow headers.
10456 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
10457 wcs[abcdefghijklmnopqrstuvwxyz]*.
10458 [ISO C standards] (*_t): Do not allow.
10459 * conform/data/wctype.h-data [C99-based standards] (iswblank):
10460 Expect function.
10461 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
10462 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
10463 Specify type.
10464 [ISO C standards]: Do not allow headers.
10465 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
10466 is[abcdefghijklmnopqrstuvwxyz]*.
10467 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
10468 to[abcdefghijklmnopqrstuvwxyz]*.
10469 [ISO C standards] (*_t): Do not allow.
10470 * conform/data/stdalign.h-data: New file.
10471 * conform/data/stdbool.h-data: Likewise.
10472 * conform/data/stdnoreturn.h-data: Likewise.
10473
7514feb8
RM
104742012-11-07 Roland McGrath <roland@hack.frob.com>
10475
10476 [BZ #14815]
10477 * manual/filesys.texi (Directory Entries): Typo fix.
10478 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
10479
19b2ecfc
MS
104802012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10481
10482 * elf/elf.h (EM_AARCH64): New macro.
10483 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
10484 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
10485 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
10486 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
10487 (R_AARCH64_TLSDESC): Likewise.
10488 (NT_ARM_TLS): Likewise.
10489 (NT_ARM_HW_BREAK): Likewise.
10490 (NT_ARM_HW_WATCH): Likewise.
10491
60e235ee
JM
104922012-11-07 Joseph Myers <joseph@codesourcery.com>
10493
10494 [BZ #14811]
10495 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
10496 (__ieee754_powl): Saturate nonzero exponents with absolute value
10497 below 0x1p-79 to +/- 0x1p-79.
10498 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
10499 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
10500 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
10501 nonzero exponents with absolute value below 0x1p-32 to +/-
10502 0x1p-32.
10503 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
10504 (__ieee754_powl): Saturate nonzero exponents with absolute value
10505 below 0x1p-79 to +/- 0x1p-79.
10506 * math/libm-test.inc (pow_test): Add more tests.
10507
0ab234b7
AK
105082012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10509
10510 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
10511 _dl_s390_cap_flags with kernel. Increase string length.
10512 (_dl_s390_platforms): Add z196 and zEC12.
10513
45832f74
JM
105142012-11-07 Joseph Myers <joseph@codesourcery.com>
10515
10516 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
10517 Change XOPEN21K to XOPEN2K.
10518
19218757
MK
105192012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
10520
10521 * string/memmove.c: Use memcpy when possible.
10522
c5f45721
AJ
105232012-11-06 Andreas Jaeger <aj@suse.de>
10524
10525 * po/eo.po: Update from translation team.
10526
82477c28
JM
105272012-11-06 Joseph Myers <joseph@codesourcery.com>
10528
10529 [BZ #14793]
10530 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
10531 exponent and small x and y exponents, scale x or y up. Increase
10532 by 2 the exponent used in scaling up.
10533 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10534 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10535 * math/libm-test.inc (fma_test): Add more tests.
10536 (fma_test_towardzero): Likewise.
10537 (fma_test_downward): Likewise.
10538 (fma_test_upward): Likewise.
10539
99252c8c
JM
105402012-11-05 Joseph Myers <joseph@codesourcery.com>
10541
acfa885f
JM
10542 [BZ #14805]
10543 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
10544 fenv_t *.
10545
99252c8c
JM
10546 [BZ #14801]
10547 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
10548 namespace for names of struct fields.
10549 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
10550 fenv_t fields.
10551 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
10552 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
10553
d6d98dea
ST
105542012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
10555
10556 [BZ #3665]
10557 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
10558
e10bb107
TS
105592012-11-04 Thomas Schwinge <thomas@codesourcery.com>
10560
10561 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
10562 PTR_DEMANGLE.
10563
10564 [BZ #5246]
10565 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
10566 PTR_DEMANGLE.
10567
a0c2940d
JM
105682012-11-04 Joseph Myers <joseph@codesourcery.com>
10569
10570 [BZ #14797]
10571 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
10572 definitely overflow as x * y not x * y + z.
10573 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10574 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10575 * math/libm-test.inc (fma_test): Add more tests.
10576 (fma_test_towardzero): Likewise.
10577 (fma_test_downward): Likewise.
10578 (fma_test_upward): Likewise.
10579
b830319d
TS
105802012-11-04 Thomas Schwinge <thomas@codesourcery.com>
10581
10582 [BZ #157]
10583
10584 * include/stub-tag.h: Remove file.
10585 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
10586 '#include' of it.
10587 * manual/maint.texi (Porting): Don't reference it.
10588 * Makerules ($(objpfx)stubs): Likewise.
10589 * dirent/closedir.c: Don't include <stub-tag.h>.
10590 * dirent/dirfd.c: Likewise.
10591 * dirent/fdopendir.c: Likewise.
10592 * dirent/getdents.c: Likewise.
10593 * dirent/getdents64.c: Likewise.
10594 * dirent/opendir.c: Likewise.
10595 * dirent/readdir.c: Likewise.
10596 * dirent/readdir64.c: Likewise.
10597 * dirent/readdir64_r.c: Likewise.
10598 * dirent/readdir_r.c: Likewise.
10599 * dirent/rewinddir.c: Likewise.
10600 * dirent/seekdir.c: Likewise.
10601 * dirent/telldir.c: Likewise.
10602 * gmon/profil.c: Likewise.
10603 * grp/setgroups.c: Likewise.
10604 * inet/if_index.c: Likewise.
10605 * io/access.c: Likewise.
10606 * io/chdir.c: Likewise.
10607 * io/chmod.c: Likewise.
10608 * io/chown.c: Likewise.
10609 * io/close.c: Likewise.
10610 * io/dup.c: Likewise.
10611 * io/dup2.c: Likewise.
10612 * io/dup3.c: Likewise.
10613 * io/euidaccess.c: Likewise.
10614 * io/faccessat.c: Likewise.
10615 * io/fchdir.c: Likewise.
10616 * io/fchmod.c: Likewise.
10617 * io/fchmodat.c: Likewise.
10618 * io/fchown.c: Likewise.
10619 * io/fchownat.c: Likewise.
10620 * io/fcntl.c: Likewise.
10621 * io/flock.c: Likewise.
10622 * io/fstatfs.c: Likewise.
10623 * io/fstatfs64.c: Likewise.
10624 * io/fstatvfs.c: Likewise.
10625 * io/fstatvfs64.c: Likewise.
10626 * io/futimens.c: Likewise.
10627 * io/fxstat.c: Likewise.
10628 * io/fxstat64.c: Likewise.
10629 * io/fxstatat.c: Likewise.
10630 * io/fxstatat64.c: Likewise.
10631 * io/getcwd.c: Likewise.
10632 * io/isatty.c: Likewise.
10633 * io/lchmod.c: Likewise.
10634 * io/lchown.c: Likewise.
10635 * io/link.c: Likewise.
10636 * io/linkat.c: Likewise.
10637 * io/lseek.c: Likewise.
10638 * io/lseek64.c: Likewise.
10639 * io/lxstat64.c: Likewise.
10640 * io/mkdir.c: Likewise.
10641 * io/mkdirat.c: Likewise.
10642 * io/mkfifo.c: Likewise.
10643 * io/mkfifoat.c: Likewise.
10644 * io/open.c: Likewise.
10645 * io/open64.c: Likewise.
10646 * io/openat.c: Likewise.
10647 * io/openat64.c: Likewise.
10648 * io/pipe.c: Likewise.
10649 * io/pipe2.c: Likewise.
10650 * io/poll.c: Likewise.
10651 * io/posix_fadvise.c: Likewise.
10652 * io/posix_fadvise64.c: Likewise.
10653 * io/posix_fallocate.c: Likewise.
10654 * io/posix_fallocate64.c: Likewise.
10655 * io/read.c: Likewise.
10656 * io/readlink.c: Likewise.
10657 * io/readlinkat.c: Likewise.
10658 * io/rmdir.c: Likewise.
10659 * io/sendfile.c: Likewise.
10660 * io/sendfile64.c: Likewise.
10661 * io/statfs.c: Likewise.
10662 * io/statfs64.c: Likewise.
10663 * io/statvfs.c: Likewise.
10664 * io/statvfs64.c: Likewise.
10665 * io/symlink.c: Likewise.
10666 * io/symlinkat.c: Likewise.
10667 * io/ttyname.c: Likewise.
10668 * io/ttyname_r.c: Likewise.
10669 * io/umask.c: Likewise.
10670 * io/unlink.c: Likewise.
10671 * io/unlinkat.c: Likewise.
10672 * io/utime.c: Likewise.
10673 * io/utimensat.c: Likewise.
10674 * io/write.c: Likewise.
10675 * io/xmknod.c: Likewise.
10676 * io/xmknodat.c: Likewise.
10677 * io/xstat.c: Likewise.
10678 * io/xstat64.c: Likewise.
10679 * login/getpt.c: Likewise.
10680 * login/grantpt.c: Likewise.
10681 * login/unlockpt.c: Likewise.
10682 * math/e_acoshl.c: Likewise.
10683 * math/e_acosl.c: Likewise.
10684 * math/e_asinl.c: Likewise.
10685 * math/e_atan2l.c: Likewise.
10686 * math/e_atanhl.c: Likewise.
10687 * math/e_coshl.c: Likewise.
10688 * math/e_expl.c: Likewise.
10689 * math/e_fmodl.c: Likewise.
10690 * math/e_gammal_r.c: Likewise.
10691 * math/e_hypotl.c: Likewise.
10692 * math/e_j0l.c: Likewise.
10693 * math/e_j1l.c: Likewise.
10694 * math/e_jnl.c: Likewise.
10695 * math/e_lgammal_r.c: Likewise.
10696 * math/e_log10l.c: Likewise.
10697 * math/e_log2l.c: Likewise.
10698 * math/e_logl.c: Likewise.
10699 * math/e_powl.c: Likewise.
10700 * math/e_rem_pio2l.c: Likewise.
10701 * math/e_sinhl.c: Likewise.
10702 * math/e_sqrtl.c: Likewise.
10703 * math/fclrexcpt.c: Likewise.
10704 * math/fedisblxcpt.c: Likewise.
10705 * math/feenablxcpt.c: Likewise.
10706 * math/fegetenv.c: Likewise.
10707 * math/fegetexcept.c: Likewise.
10708 * math/fegetround.c: Likewise.
10709 * math/feholdexcpt.c: Likewise.
10710 * math/fesetenv.c: Likewise.
10711 * math/fesetround.c: Likewise.
10712 * math/feupdateenv.c: Likewise.
10713 * math/fgetexcptflg.c: Likewise.
10714 * math/fraiseexcpt.c: Likewise.
10715 * math/fsetexcptflg.c: Likewise.
10716 * math/ftestexcept.c: Likewise.
10717 * math/k_cosl.c: Likewise.
10718 * math/k_rem_pio2l.c: Likewise.
10719 * math/k_sinl.c: Likewise.
10720 * math/k_tanl.c: Likewise.
10721 * math/s_asinhl.c: Likewise.
10722 * math/s_atanl.c: Likewise.
10723 * math/s_cbrtl.c: Likewise.
10724 * math/s_erfl.c: Likewise.
10725 * math/s_expm1l.c: Likewise.
10726 * math/s_log1pl.c: Likewise.
10727 * math/s_tanhl.c: Likewise.
10728 * misc/acct.c: Likewise.
10729 * misc/brk.c: Likewise.
10730 * misc/chflags.c: Likewise.
10731 * misc/chroot.c: Likewise.
10732 * misc/fchflags.c: Likewise.
10733 * misc/fgetxattr.c: Likewise.
10734 * misc/flistxattr.c: Likewise.
10735 * misc/fremovexattr.c: Likewise.
10736 * misc/fsetxattr.c: Likewise.
10737 * misc/fsync.c: Likewise.
10738 * misc/ftruncate.c: Likewise.
10739 * misc/futimes.c: Likewise.
10740 * misc/futimesat.c: Likewise.
10741 * misc/getdomain.c: Likewise.
10742 * misc/getdtsz.c: Likewise.
10743 * misc/gethostid.c: Likewise.
10744 * misc/gethostname.c: Likewise.
10745 * misc/getloadavg.c: Likewise.
10746 * misc/getpagesize.c: Likewise.
10747 * misc/getsysstats.c: Likewise.
10748 * misc/getxattr.c: Likewise.
10749 * misc/gtty.c: Likewise.
10750 * misc/ioctl.c: Likewise.
10751 * misc/lgetxattr.c: Likewise.
10752 * misc/listxattr.c: Likewise.
10753 * misc/llistxattr.c: Likewise.
10754 * misc/lremovexattr.c: Likewise.
10755 * misc/lsetxattr.c: Likewise.
10756 * misc/lutimes.c: Likewise.
10757 * misc/madvise.c: Likewise.
10758 * misc/mincore.c: Likewise.
10759 * misc/mlock.c: Likewise.
10760 * misc/mlockall.c: Likewise.
10761 * misc/mmap.c: Likewise.
10762 * misc/mprotect.c: Likewise.
10763 * misc/msync.c: Likewise.
10764 * misc/munlock.c: Likewise.
10765 * misc/munlockall.c: Likewise.
10766 * misc/munmap.c: Likewise.
10767 * misc/preadv.c: Likewise.
10768 * misc/preadv64.c: Likewise.
10769 * misc/ptrace.c: Likewise.
10770 * misc/pwritev.c: Likewise.
10771 * misc/pwritev64.c: Likewise.
10772 * misc/readv.c: Likewise.
10773 * misc/reboot.c: Likewise.
10774 * misc/remap_file_pages.c: Likewise.
10775 * misc/removexattr.c: Likewise.
10776 * misc/revoke.c: Likewise.
10777 * misc/select.c: Likewise.
10778 * misc/setdomain.c: Likewise.
10779 * misc/setegid.c: Likewise.
10780 * misc/seteuid.c: Likewise.
10781 * misc/sethostid.c: Likewise.
10782 * misc/sethostname.c: Likewise.
10783 * misc/setregid.c: Likewise.
10784 * misc/setreuid.c: Likewise.
10785 * misc/setxattr.c: Likewise.
10786 * misc/sstk.c: Likewise.
10787 * misc/stty.c: Likewise.
10788 * misc/swapoff.c: Likewise.
10789 * misc/swapon.c: Likewise.
10790 * misc/sync.c: Likewise.
10791 * misc/syncfs.c: Likewise.
10792 * misc/syscall.c: Likewise.
10793 * misc/truncate.c: Likewise.
10794 * misc/ualarm.c: Likewise.
10795 * misc/usleep.c: Likewise.
10796 * misc/ustat.c: Likewise.
10797 * misc/utimes.c: Likewise.
10798 * misc/vhangup.c: Likewise.
10799 * misc/writev.c: Likewise.
10800 * posix/_exit.c: Likewise.
10801 * posix/alarm.c: Likewise.
10802 * posix/execve.c: Likewise.
10803 * posix/fexecve.c: Likewise.
10804 * posix/fork.c: Likewise.
10805 * posix/fpathconf.c: Likewise.
10806 * posix/getaddrinfo.c: Likewise.
10807 * posix/getegid.c: Likewise.
10808 * posix/geteuid.c: Likewise.
10809 * posix/getgid.c: Likewise.
10810 * posix/getgroups.c: Likewise.
10811 * posix/getlogin.c: Likewise.
10812 * posix/getlogin_r.c: Likewise.
10813 * posix/getpgid.c: Likewise.
10814 * posix/getpid.c: Likewise.
10815 * posix/getppid.c: Likewise.
10816 * posix/getresgid.c: Likewise.
10817 * posix/getresuid.c: Likewise.
10818 * posix/getsid.c: Likewise.
10819 * posix/getuid.c: Likewise.
10820 * posix/glob64.c: Likewise.
10821 * posix/nanosleep.c: Likewise.
10822 * posix/pathconf.c: Likewise.
10823 * posix/pause.c: Likewise.
10824 * posix/posix_madvise.c: Likewise.
10825 * posix/pread.c: Likewise.
10826 * posix/pread64.c: Likewise.
10827 * posix/pwrite.c: Likewise.
10828 * posix/pwrite64.c: Likewise.
10829 * posix/sched_getaffinity.c: Likewise.
10830 * posix/sched_getp.c: Likewise.
10831 * posix/sched_gets.c: Likewise.
10832 * posix/sched_primax.c: Likewise.
10833 * posix/sched_primin.c: Likewise.
10834 * posix/sched_rr_gi.c: Likewise.
10835 * posix/sched_setaffinity.c: Likewise.
10836 * posix/sched_setp.c: Likewise.
10837 * posix/sched_sets.c: Likewise.
10838 * posix/sched_yield.c: Likewise.
10839 * posix/setgid.c: Likewise.
10840 * posix/setlogin.c: Likewise.
10841 * posix/setpgid.c: Likewise.
10842 * posix/setresgid.c: Likewise.
10843 * posix/setresuid.c: Likewise.
10844 * posix/setsid.c: Likewise.
10845 * posix/setuid.c: Likewise.
10846 * posix/sleep.c: Likewise.
10847 * posix/spawni.c: Likewise.
10848 * posix/sysconf.c: Likewise.
10849 * posix/times.c: Likewise.
10850 * posix/wait.c: Likewise.
10851 * posix/wait3.c: Likewise.
10852 * posix/wait4.c: Likewise.
10853 * posix/waitpid.c: Likewise.
10854 * resolv/gai_sigqueue.c: Likewise.
10855 * resource/getpriority.c: Likewise.
10856 * resource/getrlimit.c: Likewise.
10857 * resource/getrusage.c: Likewise.
10858 * resource/nice.c: Likewise.
10859 * resource/setpriority.c: Likewise.
10860 * resource/setrlimit.c: Likewise.
10861 * resource/ulimit.c: Likewise.
10862 * rt/aio_cancel.c: Likewise.
10863 * rt/aio_fsync.c: Likewise.
10864 * rt/aio_read.c: Likewise.
10865 * rt/aio_sigqueue.c: Likewise.
10866 * rt/aio_suspend.c: Likewise.
10867 * rt/aio_write.c: Likewise.
10868 * rt/clock_getres.c: Likewise.
10869 * rt/clock_gettime.c: Likewise.
10870 * rt/clock_nanosleep.c: Likewise.
10871 * rt/clock_settime.c: Likewise.
10872 * rt/lio_listio.c: Likewise.
10873 * rt/mq_close.c: Likewise.
10874 * rt/mq_getattr.c: Likewise.
10875 * rt/mq_notify.c: Likewise.
10876 * rt/mq_open.c: Likewise.
10877 * rt/mq_receive.c: Likewise.
10878 * rt/mq_send.c: Likewise.
10879 * rt/mq_setattr.c: Likewise.
10880 * rt/mq_timedreceive.c: Likewise.
10881 * rt/mq_timedsend.c: Likewise.
10882 * rt/mq_unlink.c: Likewise.
10883 * rt/shm_open.c: Likewise.
10884 * rt/shm_unlink.c: Likewise.
10885 * rt/timer_create.c: Likewise.
10886 * rt/timer_delete.c: Likewise.
10887 * rt/timer_getoverr.c: Likewise.
10888 * rt/timer_gettime.c: Likewise.
10889 * rt/timer_settime.c: Likewise.
10890 * setjmp/__longjmp.c: Likewise.
10891 * setjmp/setjmp.c: Likewise.
10892 * signal/kill.c: Likewise.
10893 * signal/killpg.c: Likewise.
10894 * signal/raise.c: Likewise.
10895 * signal/sigaction.c: Likewise.
10896 * signal/sigaltstack.c: Likewise.
10897 * signal/sigblock.c: Likewise.
10898 * signal/sigignore.c: Likewise.
10899 * signal/sigintr.c: Likewise.
10900 * signal/signal.c: Likewise.
10901 * signal/sigpause.c: Likewise.
10902 * signal/sigpending.c: Likewise.
10903 * signal/sigqueue.c: Likewise.
10904 * signal/sigreturn.c: Likewise.
10905 * signal/sigset.c: Likewise.
10906 * signal/sigsetmask.c: Likewise.
10907 * signal/sigstack.c: Likewise.
10908 * signal/sigsuspend.c: Likewise.
10909 * signal/sigtimedwait.c: Likewise.
10910 * signal/sigvec.c: Likewise.
10911 * signal/sigwait.c: Likewise.
10912 * signal/sigwaitinfo.c: Likewise.
10913 * signal/sysv_signal.c: Likewise.
10914 * socket/accept.c: Likewise.
10915 * socket/accept4.c: Likewise.
10916 * socket/bind.c: Likewise.
10917 * socket/connect.c: Likewise.
10918 * socket/getpeername.c: Likewise.
10919 * socket/getsockname.c: Likewise.
10920 * socket/getsockopt.c: Likewise.
10921 * socket/isfdtype.c: Likewise.
10922 * socket/listen.c: Likewise.
10923 * socket/recv.c: Likewise.
10924 * socket/recvfrom.c: Likewise.
10925 * socket/recvmsg.c: Likewise.
10926 * socket/send.c: Likewise.
10927 * socket/sendmsg.c: Likewise.
10928 * socket/sendto.c: Likewise.
10929 * socket/setsockopt.c: Likewise.
10930 * socket/shutdown.c: Likewise.
10931 * socket/sockatmark.c: Likewise.
10932 * socket/socket.c: Likewise.
10933 * socket/socketpair.c: Likewise.
10934 * stdio-common/ctermid.c: Likewise.
10935 * stdio-common/cuserid.c: Likewise.
10936 * stdio-common/remove.c: Likewise.
10937 * stdio-common/rename.c: Likewise.
10938 * stdio-common/renameat.c: Likewise.
10939 * stdio-common/tempname.c: Likewise.
10940 * stdlib/getcontext.c: Likewise.
10941 * stdlib/makecontext.c: Likewise.
10942 * stdlib/setcontext.c: Likewise.
10943 * stdlib/swapcontext.c: Likewise.
10944 * stdlib/system.c: Likewise.
10945 * streams/fattach.c: Likewise.
10946 * streams/fdetach.c: Likewise.
10947 * streams/getmsg.c: Likewise.
10948 * streams/getpmsg.c: Likewise.
10949 * streams/putmsg.c: Likewise.
10950 * streams/putpmsg.c: Likewise.
10951 * sysdeps/unix/bsd/getpt.c: Likewise.
10952 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
10953 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
10954 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
10955 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
10956 Likewise.
10957 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
10958 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
10959 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
10960 * sysvipc/msgctl.c: Likewise.
10961 * sysvipc/msgget.c: Likewise.
10962 * sysvipc/msgrcv.c: Likewise.
10963 * sysvipc/msgsnd.c: Likewise.
10964 * sysvipc/semctl.c: Likewise.
10965 * sysvipc/semget.c: Likewise.
10966 * sysvipc/semop.c: Likewise.
10967 * sysvipc/semtimedop.c: Likewise.
10968 * sysvipc/shmat.c: Likewise.
10969 * sysvipc/shmctl.c: Likewise.
10970 * sysvipc/shmdt.c: Likewise.
10971 * sysvipc/shmget.c: Likewise.
10972 * termios/tcdrain.c: Likewise.
10973 * termios/tcflow.c: Likewise.
10974 * termios/tcflush.c: Likewise.
10975 * termios/tcgetattr.c: Likewise.
10976 * termios/tcgetpgrp.c: Likewise.
10977 * termios/tcsendbrk.c: Likewise.
10978 * termios/tcsetattr.c: Likewise.
10979 * termios/tcsetpgrp.c: Likewise.
10980 * time/adjtime.c: Likewise.
10981 * time/clock.c: Likewise.
10982 * time/getitimer.c: Likewise.
10983 * time/gettimeofday.c: Likewise.
10984 * time/setitimer.c: Likewise.
10985 * time/settimeofday.c: Likewise.
10986 * time/stime.c: Likewise.
10987 * time/time.c: Likewise.
10988
109892012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 10990
a20492cf
PT
10991 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
10992 /usr/old/bin.
10993
72e182e3
PT
10994 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
10995 instead of spaces.
10996 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
10997
fbeafede
JM
109982012-11-03 Joseph Myers <joseph@codesourcery.com>
10999
5b5b04d6
JM
11000 [BZ #14796]
11001 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
11002 FE_TONEAREST before applying Dekker multiplication and Knuth
11003 addition. Clear inexact exceptions and check for exact zero
11004 results afterwards.
11005 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11006 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
11007 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11008 * math/libm-test.inc (fma_test): Add more tests.
11009 (fma_test_towardzero): Likewise.
11010 (fma_test_downward): Likewise.
11011 (fma_test_upward): Likewise.
11012 * sysdeps/generic/math_private.h (default_libc_fesetround): New
11013 function.
11014 (libc_fesetround): New macro.
11015 (libc_fesetroundf): Likewise.
11016 (libc_fesetroundl): Likewise.
11017 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
11018 function.
11019 (libc_fesetround_387): Likewise.
11020 (libc_fesetroundf): New macro.
11021 (libc_fesetround): Likewise.
11022 (libc_fesetroundl): Likewise.
11023 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
11024 function.
11025 (libc_fesetroundf): New macro.
11026 (libc_fesetround): Likewise.
11027 (libc_fesetroundl): Likewise.
11028 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
11029 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
11030 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
11031 libm_hidden_ver.
11032 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
11033 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
11034 libm_hidden_def.
11035 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
11036 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
11037 libm_hidden_ver.
11038 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
11039 libm_hidden_def.
11040
fbeafede
JM
11041 [BZ #3439]
11042 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
11043 integer constant usable in #if and use that to give value to enum
11044 constant.
11045 (FE_DIVBYZERO): Likewise.
11046 (FE_UNDERFLOW): Likewise.
11047 (FE_OVERFLOW): Likewise.
11048 (FE_INVALID): Likewise.
11049 (FE_INVALID_SNAN): Likewise.
11050 (FE_INVALID_ISI): Likewise.
11051 (FE_INVALID_IDI): Likewise.
11052 (FE_INVALID_ZDZ): Likewise.
11053 (FE_INVALID_IMZ): Likewise.
11054 (FE_INVALID_COMPARE): Likewise.
11055 (FE_INVALID_SOFTWARE): Likewise.
11056 (FE_INVALID_SQRT): Likewise.
11057 (FE_INVALID_INTEGER_CONVERSION): Likewise.
11058 (FE_TONEAREST): Likewise.
11059 (FE_TOWARDZERO): Likewise.
11060 (FE_UPWARD): Likewise.
11061 (FE_DOWNWARD): Likewise.
11062 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
11063 (FE_DIVBYZERO): Likewise.
11064 (FE_OVERFLOW): Likewise.
11065 (FE_UNDERFLOW): Likewise.
11066 (FE_INEXACT): Likewise.
11067 (FE_TONEAREST): Likewise.
11068 (FE_DOWNWARD): Likewise.
11069 (FE_UPWARD): Likewise.
11070 (FE_TOWARDZERO): Likewise.
11071 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
11072 (FE_UNDERFLOW): Likewise.
11073 (FE_OVERFLOW): Likewise.
11074 (FE_DIVBYZERO): Likewise.
11075 (FE_INVALID): Likewise.
11076 (FE_TONEAREST): Likewise.
11077 (FE_TOWARDZERO): Likewise.
11078 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
11079 (FE_OVERFLOW): Likewise.
11080 (FE_UNDERFLOW): Likewise.
11081 (FE_DIVBYZERO): Likewise.
11082 (FE_INEXACT): Likewise.
11083 (FE_TONEAREST): Likewise.
11084 (FE_TOWARDZERO): Likewise.
11085 (FE_UPWARD): Likewise.
11086 (FE_DOWNWARD): Likewise.
11087 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
11088 (FE_DIVBYZERO): Likewise.
11089 (FE_OVERFLOW): Likewise.
11090 (FE_UNDERFLOW): Likewise.
11091 (FE_INEXACT): Likewise.
11092 (FE_TONEAREST): Likewise.
11093 (FE_DOWNWARD): Likewise.
11094 (FE_UPWARD): Likewise.
11095 (FE_TOWARDZERO): Likewise.
11096
105ca950
CM
110972012-11-02 Chris Metcalf <cmetcalf@tilera.com>
11098
11099 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
11100
a542b389
AS
111012012-11-03 Andreas Schwab <schwab@linux-m68k.org>
11102
11103 * scripts/cross-test-ssh.sh (command): Use newlines to separate
11104 commands. Quote $PWD.
11105 (blacklist_exports): Don't use remove_newlines. Replace "declare
11106 -x" by "export".
11107 (remove_newlines): Remove.
11108
f62c8abc
L
111092012-11-02 H.J. Lu <hongjiu.lu@intel.com>
11110
11111 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
11112 * stdlib/stdlib.h (atof): Moved to ...
11113 * include/bits/stdlib-float.h: Here. New file.
11114 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
11115 * stdlib/bits/stdlib-float.h: New file.
11116 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
11117 -mno-sse -mno-mmx.
11118 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
11119 <xmmintrin.h>.
11120
0155d5b2
JM
111212012-11-02 Joseph Myers <joseph@codesourcery.com>
11122
a68d0680
JM
11123 * conform/conformtest.pl (@headers): Add fenv.h.
11124 * conform/data/fenv.h-data: New file.
11125 * include/fenv.h [_ISOMAC]: Disable all contents of file except
11126 include of <math/fenv.h>.
11127
caf7f573
JM
11128 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
11129 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
11130 && !UNIX98]. Enables tests for XOPEN2K8.
11131 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
11132 POSIX2008]: Likewise.
11133
6c073ad6
JM
11134 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
11135 (struct rusage): Do not expect type or its members.
11136
0155d5b2
JM
11137 [BZ #3439]
11138 * math/math.h (FP_NAN): Define macro to integer constant usable in
11139 #if and use that to give value to enum constant.
11140 (FP_INFINITE): Likewise.
11141 (FP_ZERO): Likewise.
11142 (FP_SUBNORMAL): Likewise.
11143 (FP_NORMAL): Likewise.
11144
b5dcacb4
AS
111452012-11-02 Andreas Schwab <schwab@linux-m68k.org>
11146
11147 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
11148 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
11149 arguments.
11150
f7934be8
RM
111512012-11-02 Roland McGrath <roland@hack.frob.com>
11152
11153 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
11154 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
11155 autoconf-time if not.
11156 * configure.in: Remove AC_PREREQ.
11157
d7d08bde
TMQMF
111582012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11159
11160 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
11161 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
11162 of the internal implementation.
11163
dcdae19a
JM
111642012-11-02 Joseph Myers <joseph@codesourcery.com>
11165
11166 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
11167 except include of <misc/sys/syslog.h>.
11168
d6cffd3e
AS
111692012-11-01 Andreas Schwab <schwab@linux-m68k.org>
11170
11171 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
11172 function returns with a NULL context exit with zero.
11173
b3563932
TMQMF
111742012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11175
11176 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
11177
b288a93d
L
111782012-11-01 H.J. Lu <hongjiu.lu@intel.com>
11179
11180 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
11181 (run_program_cmd): This.
11182 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
11183 (tst_langinfo): New variable. Use it.
11184
a2421a68
SAS
111852012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
11186
11187 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
11188 floating point opcodes.
11189
6f796e1b
TS
111902012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11191
7402596b
TS
11192 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
11193 variable.
11194
d0d4f868
TS
11195 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
11196
6f796e1b
TS
11197 * sysdeps/mach/hurd/powerpc: Remove directory.
11198 * sysdeps/mach/powerpc: Likewise.
11199
4da224a2
AS
112002012-11-01 Andreas Schwab <schwab@linux-m68k.org>
11201
11202 * scripts/check-local-headers.sh: Ignore c++ headers.
11203
341dd673
TS
112042012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11205
11206 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
11207 __libc_cleanup_region_start argument.
11208
473611b2
JM
112092012-11-01 Joseph Myers <joseph@codesourcery.com>
11210
11211 [BZ #14784]
11212 [BZ #14785]
11213 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
11214 x * y using scaling, not as x * y + z.
11215 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11216 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11217 * math/libm-test.inc (fma_test): Add more tests.
11218 (fma_test_towardzero): Likewise.
11219 (fma_test_downward): Likewise.
11220 (fma_test_upward): Likewise.
11221
4078da3d
TS
112222012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11223
11224 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
11225
903252aa
JM
112262012-10-31 Joseph Myers <joseph@codesourcery.com>
11227
11228 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
11229 New variable.
11230
cbc818d0
TS
112312012-10-31 Thomas Schwinge <thomas@codesourcery.com>
11232
11233 * rt/tst-shm.c (worker): Correct checking for mmap failure.
11234
5a03cb1e
AS
112352012-10-31 Andreas Schwab <schwab@linux-m68k.org>
11236
11237 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11238 Fix sort order.
11239 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11240 Likewise.
11241
90aff2ff
TMQMF
112422012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11243
11244 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11245 Fix the order of the list for glibc 2.17.
11246 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11247 Likewise.
11248
1818fcb7
AS
112492012-10-31 Andreas Schwab <schwab@linux-m68k.org>
11250
11251 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11252
ef82f4da
JM
112532012-10-31 Joseph Myers <joseph@codesourcery.com>
11254
16a0e2ec
JM
11255 [BZ #14610]
11256 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
11257 for low part of x being zero before using __atanl (y).
11258 * math/libm-test.inc (atan2_test): Add another test.
11259
0eb69512
JM
11260 * manual/install.texi (Configuring and compiling): Document
11261 general use of test-wrapper and test-wrapper-env.
11262 * INSTALL: Regenerated.
11263
ef82f4da
JM
11264 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
11265 (__fma): Do not extract and scale down low bits on after-rounding
11266 systems when result rounded to normal precision would have normal
11267 exponent.
11268 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
11269 (__fmal): Do not extract and scale down low bits on after-rounding
11270 systems when result rounded to normal precision would have normal
11271 exponent.
11272 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
11273 (__fmal): Do not extract and scale down low bits on after-rounding
11274 systems when result rounded to normal precision would have normal
11275 exponent.
11276 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
11277 macro.
11278 (fma_test): Add more tests.
11279 (fma_test_towardzero): Likewise.
11280 (fma_test_downward): Likewise.
11281 (fma_test_upward): Likewise.
11282
954ef0d9
L
112832012-10-30 H.J. Lu <hongjiu.lu@intel.com>
11284
11285 * sysdeps/i386/tininess.h: Renamed to ...
11286 * sysdeps/x86/tininess.h: This.
11287 * sysdeps/x86_64/tininess.h: Removed.
11288
df61ffb2
JM
112892012-10-30 Joseph Myers <joseph@codesourcery.com>
11290
11291 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
11292 input. Use $(build-program-cmd).
11293 ($(objpfx)tst-array1-static.out): Likewise.
11294 ($(objpfx)tst-array2.out): Likewise.
11295 ($(objpfx)tst-array3.out): Likewise.
11296 ($(objpfx)tst-array4.out): Likewise.
11297 ($(objpfx)tst-array5.out): Likewise.
11298 ($(objpfx)tst-array5-static.out): Likewise.
11299
01767843
CM
113002012-10-30 Chris Metcalf <cmetcalf@tilera.com>
11301
47cc1490
CM
11302 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
11303 if defined.
11304
01767843
CM
11305 * nss/nsswitch.h (nss_interface_function): Provide new
11306 macro for use with NSS functions.
11307 * grp/initgroups.c: Use new macro.
11308 * nss/getXXbyYY.c: Likewise.
11309 * nss/getXXbyYY_r.c: Likewise.
11310 * nss/getXXent.c: Likewise.
11311 * nss/getXXent_r.c: Likewise.
11312 * sysdeps/posix/getaddrinfo.c: Likewise.
11313
8321aa97
AJ
113142012-10-30 Andreas Jaeger <aj@suse.de>
11315
11316 * po/ru.po: Update Russion translation from translation project.
11317
2a27fd6d
JM
113182012-10-30 Joseph Myers <joseph@codesourcery.com>
11319
8627a232
JM
11320 [BZ #14152]
11321 [BZ #14783]
11322 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
11323 result and shift together with sticky bit instead of replicating
11324 round-to-nearest rounding.
11325 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11326 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11327 * math/libm-test.inc (fma_test): Add more tests. Do not permit
11328 missing underflow exceptions.
11329 (fma_test_towardzero): Add more tests.
11330 (fma_test_downward): Likewise.
11331 (fma_test_upward): Likewise.
11332
2a27fd6d
JM
11333 [BZ #14047]
11334 * sysdeps/generic/tininess.h: New file.
11335 * sysdeps/i386/tininess.h: Likewise.
11336 * sysdeps/sh/tininess.h: Likewise.
11337 * sysdeps/x86_64/tininess.h: Likewise.
11338 * stdlib/tst-strtod-underflow.c: Likewise.
11339 * stdlib/tst-tininess.c: Likewise.
11340 * stdlib/strtod_l.c: Include <tininess.h>.
11341 (round_and_return): Do not set errno for exact underflow cases.
11342 Force an underflow exception when setting errno for underflow.
11343 Determine underflow based on rounding to normal precision if
11344 TININESS_AFTER_ROUNDING.
11345 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
11346 ERANGE for exact underflow cases.
11347 * stdlib/Makefile (tests): Add tst-tininess and
11348 tst-strtod-underflow.
11349 ($(objpfx)tst-tininess): Use $(link-libm).
11350 ($(objpfx)tst-strtod-underflow): Likewise.
11351
e7170363
AJ
113522012-10-30 Andreas Jaeger <aj@suse.de>
11353
e5088dc6
AJ
11354 [BZ#14767]
11355 * elf/Makefile (tests): Remove conditional for have-initfini-array
11356 since this is now always required and the variable does not exist
11357 anymore.
11358 (tests-static): Likewise.
11359 (modules-names): Likewise.
11360
e7170363 11361 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
11362
11363 * elf/tst-array1.c (fini_array): Make writeable so that it can be
11364 merged with constructor/destructor.
11365 (init_array): Likewise.
11366 * elf/tst-array2dep.c (fini_array): Likewise.
11367 (init_array): Likewise.
11368
60457d8a
MF
113692012-10-29 Mike Frysinger <vapier@gentoo.org>
11370
11371 * manual/message.texi: Delete @cartouche tags.
11372
8bece752
PT
113732012-10-29 Pino Toscano <toscano.pino@tiscali.it>
11374
94ce799f
PT
11375 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
11376 EOPNOTSUPP.
11377 * sysdeps/mach/hurd/fsync.c: Likewise.
11378
8bece752
PT
11379 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
11380 [_POSIX_REALTIME_SIGNALS]: Change condition to
11381 [_POSIX_REALTIME_SIGNALS > 0].
11382
86ebe6b1
AJ
113832012-10-27 Andreas Jaeger <aj@suse.de>
11384
11385 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
11386 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
11387 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
11388 [__WORDSIZE != 64]: Likewise.
11389
54399c08
L
113902012-10-26 H.J. Lu <hongjiu.lu@intel.com>
11391
11392 * iconvdata/tst-table.sh: Remove ${SHELL}.
11393 * iconvdata/tst-tables.sh: Likewise.
11394
e2211bed
DM
113952012-10-25 David S. Miller <davem@davemloft.net>
11396
11397 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11398 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
11399 of strtoull.
11400
f303f97c
DM
11401 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
11402 ifunc-impl-list.c
11403 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11404 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
11405 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
11406 file.
11407
1e9d84cd
RM
114082012-10-25 Roland McGrath <roland@hack.frob.com>
11409
11410 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11411 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
11412 __getdirentries.
11413
df381762
JM
114142012-10-25 Joseph Myers <joseph@codesourcery.com>
11415 Jim Blandy <jimb@codesourcery.com>
11416
11417 * scripts/cross-test-ssh.sh: New file.
11418 * manual/install.texi (Configuring and compiling): Document use of
11419 cross-test-ssh.sh.
11420 * INSTALL: Regenerated.
11421
bff64913
PT
114222012-10-25 Pino Toscano <toscano.pino@tiscali.it>
11423
11424 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
11425 EOPNOTSUPP.
11426
25fe8932
JM
114272012-10-25 Joseph Myers <joseph@codesourcery.com>
11428
11429 * Makeconfig (run-program-prefix): Fix comment.
11430
cc1290d0
JM
114312012-10-24 Joseph Myers <joseph@codesourcery.com>
11432 Jim Blandy <jimb@codesourcery.com>
11433
11434 * Makeconfig (test-wrapper): New variable,
11435 (test-wrapper-env): Likewise.
11436 [$(cross-compiling) = yes && $(test-wrapper) != ""]
11437 (run-built-tests): Define to yes.
11438 (run-program-prefix): Use $(test-wrapper).
11439 (built-program-cmd): Likewise.
11440 * Rules (make-test-out): Use $(test-wrapper-env) and
11441 $(host-built-program-cmd).
11442 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
11443 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
11444 tst-pathopt.sh.
11445 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
11446 $(test-wrapper-env) to tst-rtld-load-self.sh.
11447 ($(objpfx)order2.out): Use $(test-wrapper).
11448 ($(objpfx)tst-initorder.out): Likewise.
11449 ($(objpfx)tst-initorder2.out): Likewise.
11450 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
11451 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
11452 (test_wrapper_env): New variable. Use it to run ld.so.
11453 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
11454 Use it to run ld.so.
11455 (test_wrapper_env): Likewise.
11456 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
11457 $(test-wrapper) to run-iconv-test.sh.
11458 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
11459 (ICONV): Use $test_wrapper.
11460 * posix/Makefile ($(objpfx)globtest.out): Pass
11461 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
11462 globtest.sh, not $(run-program-prefix).
11463 * posix/globtest.sh (run_via_rtld_prefix): New variable.
11464 (test_wrapper): Likewise.
11465 (test_wrapper_env): Likewise. Use it to run globtest with HOME
11466 set together with run_via_rtld_prefix.
11467 (run_program_prefix): Define in terms of test_wrapper and
11468 run_via_rtld_prefix.
11469
6e6249d0
RM
114702012-10-24 Roland McGrath <roland@hack.frob.com>
11471
11472 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
11473 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
11474 Targets removed.
11475
11476 [BZ #14743]
11477 * include/time.h: Remove librt_hidden_proto (clock_gettime).
11478 Declare __clock_getres, __clock_gettime, __clock_settime,
11479 __clock_nanosleep, and __clock_getcpuclockid.
11480 * rt/clock_gettime.c: Define __clock_gettime as an alias.
11481 Remove librt_hidden_def (clock_gettime).
11482 * sysdeps/unix/clock_gettime.c: Likewise.
11483 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
11484 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
11485 * rt/clock_getres.c: Define __clock_getres as an alias.
11486 * sysdeps/posix/clock_getres.c: Likewise.
11487 * rt/clock_settime.c: Define __clock_settime as an alias.
11488 * sysdeps/unix/clock_settime.c: Likewise.
11489 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
11490 * sysdeps/unix/clock_nanosleep.c: Likewise.
11491 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
11492 * rt/clock-compat.c: New file.
11493 * rt/Makefile (librt-routines): Add clock-compat and move
11494 $(clock-routines) to ...
11495 (routines): ... here, new variable.
11496 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
11497 Don't add get_clockfreq here.
11498 * rt/Versions (libc: GLIBC_2.17): New version set.
11499 Add clock_* symbols here.
11500 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
11501 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
11502 (GLIBC_2.17): Add clock_* symbols.
11503 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11504 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11505 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11506 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11507 Likewise.
11508 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11509 Likewise.
11510 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11511 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
11512 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11513 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11514 * NEWS: Mention the move.
11515
11516 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11517 Use __open, __read, __close rather than their public counterparts.
11518 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11519 (__get_clockfreq_via_cpuinfo): Likewise.
11520 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
11521 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
11522
11523 * config.h.in (HAVE_IFUNC): New #undef.
11524 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
11525 was successful.
11526 * configure: Regenerated.
11527
0cae3f4b
MF
115282012-10-24 Mike Frysinger <vapier@gentoo.org>
11529
11530 * configure.in: Move READELF check to start of file.
11531 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
11532 libc_cv_asm_gnu_indirect_function in the process.
11533 * configure: Regenerated.
11534
8175a253
MF
115352012-10-24 Mike Frysinger <vapier@gentoo.org>
11536
11537 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
11538 send the output to /dev/null.
11539 (libc_cv_cc_with_libunwind): Likewise.
11540 (libc_cv_as_noexecstack): Likewise.
11541 * configure: Regenerate.
11542
0708a7d1
JM
115432012-10-24 Joseph Myers <joseph@codesourcery.com>
11544
10b40d85
JM
11545 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
11546
0708a7d1
JM
11547 * posix/globtest.sh (TMPDIR): Do not set.
11548 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
11549 (testout): Likewise.
11550
9fddec1a
AJ
115512012-10-24 Andreas Jaeger <aj@suse.de>
11552
3a8db22f
AJ
11553 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
11554 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
11555 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
11556 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
11557 posix_fadvise64, posix_fallocate64.
11558
9fddec1a
AJ
11559 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
11560 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
11561 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
11562 Likewise.
11563 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
11564 Likewise.
11565 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
11566
11567 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
11568 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
11569 <bits/fcntl-linux.h>.
11570 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
11571
11572 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
11573 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
11574 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
11575 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
11576 [__WORDSIZE != 64]: Likewise.
11577
ebfd1bbd
JM
115782012-10-23 Joseph Myers <joseph@codesourcery.com>
11579
03ac099f
JM
11580 * Makeconfig (run-built-tests): New variable.
11581 * Rules [$(cross-compiling) = yes]: Change condition to
11582 [$(run-built-tests) = no].
11583 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
11584 to [$(run-built-tests) = yes].
11585 * elf/Makefile [$(cross-compiling) = no]: Likewise
11586 * grp/Makefile [$(cross-compiling) = no]: Likewise.
11587 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
11588 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
11589 * intl/Makefile [$(cross-compiling) = no]: Likewise.
11590 * io/Makefile [$(cross-compiling) = no]: Likewise.
11591 * libio/Makefile [$(cross-compiling) = no]: Likewise.
11592 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
11593 * misc/Makefile [$(cross-compiling) = no]: Likewise.
11594 * posix/Makefile [$(cross-compiling) = no]: Likewise.
11595 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
11596 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
11597 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
11598 * string/Makefile [$(cross-compiling) = no]: Likewise.
11599
ebfd1bbd
JM
11600 * posix/Makefile ($(objpfx)globtest.out): Pass
11601 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
11602 $(rtld-installed-name).
11603 * posix/globtest.sh (elf_objpfx): Remove variable.
11604 (rtld_installed_name): Likewise.
11605 (library_path): Likewise.
11606 (run_program_prefix): New variable. Use for running globtest
11607 binary.
11608
166bca24
JB
116092012-10-23 Jim Blandy <jimb@codesourcery.com>
11610 Joseph Myers <joseph@codesourcery.com>
11611
11612 * Makeconfig (host-built-program-cmd): New variable.
11613 * elf/Makefile (tst-stackguard1-ARGS): Use
11614 $(host-built-program-cmd).
11615 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
11616 (tst-spawn-ARGS): Likewise.
11617 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
11618
88866099
JM
116192012-10-23 Joseph Myers <joseph@codesourcery.com>
11620 Jim Blandy <jimb@codesourcery.com>
11621
11622 * Makeconfig (run-via-rtld-prefix): New variable.
11623 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
11624 (built-program-cmd): Likewise.
11625
b4b4c296
AJ
116262012-10-22 Andreas Jaeger <aj@suse.de>
11627
11628 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
11629 __O_RSYNC if it exists, otherwise to O_SYNC.
11630
6fb54a22
JB
116312012-10-22 Jim Blandy <jimb@codesourcery.com>
11632 Joseph Myers <joseph@codesourcery.com>
11633
11634 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
11635 /dev/null.
11636 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
11637 from /dev/null
11638 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
11639 /dev/null.
11640
481b90b9
AJ
116412012-10-22 Andreas Jaeger <aj@suse.de>
11642
2a0e2669
AJ
11643 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
11644 Define always.
11645 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
11646
76e38f9a
AJ
11647 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11648 bits/fcntl-linux.h.
11649
7cd37b43
AJ
11650 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
11651 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
11652
481b90b9
AJ
11653 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
11654 to __O_LARGEFILE.
11655 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
11656 to __O_LARGEFILE.
11657
aba75984
JB
116582012-10-21 Jim Blandy <jimb@codesourcery.com>
11659 Joseph Myers <joseph@codesourcery.com>
11660
11661 * config.make.in (NM): New variable.
11662
88d4247f
AJ
116632012-10-21 Andreas Jaeger <aj@suse.de>
11664
11665 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
11666 definitions and declarations that are provided by
11667 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11668
f2eed205
L
116692012-10-20 H.J. Lu <hongjiu.lu@intel.com>
11670
11671 [BZ #14683]
11672 * elf/Makefile (tests-static): Add tst-leaks1-static.
11673 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
11674 ($(objpfx)tst-leaks1-static): New rule.
11675 ($(objpfx)tst-leaks1-static-mem): Likewise.
11676 (tst-leaks1-static-ENV): New macro.
11677 * elf/dl-open.c (dl_open_worker): Check the main application
11678 only if SHARED is defined.
11679 * elf/tst-leaks1-static.c: New file.
11680
335e6931
AJ
116812012-10-20 Andreas Jaeger <aj@suse.de>
11682
11683 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
11684 generic values for Linux.
11685 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
11686 and declarations that are provided by <bits/fcntl-linux.h> and
11687 include <bits/fcntl-linux.h>.
11688 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11689 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11690
ac5c94d3
RM
116912012-10-20 Roland McGrath <roland@hack.frob.com>
11692
11693 * io/fcntl.h: Move include of <bits/types.h> to the top and
11694 include it unconditionally.
11695
de54b33a
L
116962012-10-20 H.J. Lu <hongjiu.lu@intel.com>
11697
228cfb01
L
11698 * wcsmbs/Makefile (tests-ifunc): New variable.
11699 (tests): Add $(tests-ifunc).
11700 * wcsmbs/test-wcschr-ifunc.c: New file.
11701 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
11702 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
11703 * wcsmbs/test-wcslen-ifunc.c: Likewise.
11704 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
11705 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
11706
69f07e5f
L
11707 * string/Makefile (tests-ifunc): New variable.
11708 (tests): Add $(tests-ifunc).
11709 * string/test-memccpy.c (TEST_NAME): New macro.
11710 * string/test-memchr.c (TEST_NAME): Likewise.
11711 * string/test-memcmp.c (TEST_NAME): Likewise.
11712 * string/test-memcpy.c (TEST_NAME): Likewise.
11713 * string/test-memmem.c (TEST_NAME): Likewise.
11714 * string/test-memmove.c (TEST_NAME): Likewise.
11715 * string/test-memset.c (TEST_NAME): Likewise.
11716 * string/test-rawmemchr.c (TEST_NAME): Likewise.
11717 * string/test-stpcpy.c (TEST_NAME): Likewise.
11718 * string/test-stpncpy.c (TEST_NAME): Likewise.
11719 * string/test-strcasecmp.c (TEST_NAME): Likewise.
11720 * string/test-strcasestr.c (TEST_NAME): Likewise.
11721 * string/test-strcat.c (TEST_NAME): Likewise.
11722 * string/test-strchr.c (TEST_NAME): Likewise.
11723 * string/test-strcmp.c(TEST_NAME): Likewise.
11724 * string/test-strcpy.c (TEST_NAME): Likewise.
11725 * string/test-strcspn.c (TEST_NAME): Likewise.
11726 * string/test-strlen.c (TEST_NAME): Likewise.
11727 * string/test-strncasecmp.c (TEST_NAME): Likewise.
11728 * string/test-strncmp.c (TEST_NAME): Likewise.
11729 * string/test-strncpy.c (TEST_NAME): Likewise.
11730 * string/test-strnlen.c (TEST_NAME): Likewise.
11731 * string/test-strpbrk.c (TEST_NAME): Likewise.
11732 * string/test-strrchr.c (TEST_NAME): Likewise.
11733 * string/test-strspn.c (TEST_NAME): Likewise.
11734 * string/test-strstr.c (TEST_NAME): Likewise.
11735 * string/test-bcopy-ifunc.c: New file.
11736 * string/test-bzero-ifunc.c: Likewise.
11737 * string/test-memccpy-ifunc.c: Likewise.
11738 * string/test-memchr-ifunc.c: Likewise.
11739 * string/test-memcmp-ifunc.c: Likewise.
11740 * string/test-memcpy-ifunc.c: Likewise.
11741 * string/test-memmem-ifunc.c: Likewise.
11742 * string/test-memmove-ifunc.c: Likewise.
11743 * string/test-mempcpy-ifunc.c: Likewise.
11744 * string/test-memset-ifunc.c: Likewise.
11745 * string/test-rawmemchr-ifunc.c: Likewise.
11746 * string/test-stpcpy-ifunc.c: Likewise.
11747 * string/test-stpncpy-ifunc.c: Likewise.
11748 * string/test-strcasecmp-ifunc.c: Likewise.
11749 * string/test-strcasestr-ifunc.c: Likewise.
11750 * string/test-strcat-ifunc.c: Likewise.
11751 * string/test-strchr-ifunc.c: Likewise.
11752 * string/test-strchrnul-ifunc.c: Likewise.
11753 * string/test-strcmp-ifunc.c: Likewise.
11754 * string/test-strcpy-ifunc.c: Likewise.
11755 * string/test-strcspn-ifunc.c: Likewise.
11756 * string/test-strlen-ifunc.c: Likewise.
11757 * string/test-strncasecmp-ifunc.c: Likewise.
11758 * string/test-strncat-ifunc.c: Likewise.
11759 * string/test-strncmp-ifunc.c: Likewise.
11760 * string/test-strncpy-ifunc.c: Likewise.
11761 * string/test-strnlen-ifunc.c: Likewise.
11762 * string/test-strpbrk-ifunc.c: Likewise.
11763 * string/test-strrchr-ifunc.c: Likewise.
11764 * string/test-strspn-ifunc.c: Likewise.
11765 * string/test-strstr-ifunc.c: Likewise.
11766
de54b33a
L
11767 * debug/Makefile (tests-ifunc): New variable.
11768 (tests): Add $(tests-ifunc).
11769 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
11770 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
11771 * debug/test-stpcpy_chk-ifunc.c: New file.
11772 * debug/test-strcpy_chk-ifunc.c: Likewise.
11773
88481c16
SP
117742012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11775
11776 [BZ #13601]
11777 * elf/dl-load.c (open_verify): Retry read if the entire ELF
11778 header is not read in.
11779
135948bd
JM
117802012-10-19 Joseph Myers <joseph@codesourcery.com>
11781
89f1c388
JM
11782 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
11783 script to $(SHELL) as $<. Pass $(common-objpfx) to script
11784 directly. Pass built executable to script as
11785 $(built-program-cmd).
11786 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
11787 $testprogram without using LD_LIBRARY_PATH and $ldso.
11788
e40a0d21
JM
11789 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
11790 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
11791 $(rtld-installed-name).
11792 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
11793 (rtld_installed_name): Likewise.
11794 (library_path): Likewise.
11795 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
11796 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
11797 $(run-program-prefix) to tst-tables.sh.
11798 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
11799 it to run tst-table-from and tst-table-to.
11800 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
11801 Pass it to tst-table.sh.
11802 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
11803 $(run-program-prefix) to tst-gettext.sh.
11804 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
11805 tst-translit.sh.
11806 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
11807 tst-gettext2.sh.
11808 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
11809 to run tst-gettext.
11810 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
11811 to run tst-gettext2.
11812 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
11813 to run tst-translit.
11814 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
11815 $(run-program-prefix) to tst-mtrace.sh.
11816 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
11817 to run tst-mtrace.
11818 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
11819 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
11820 $(rtld-installed-name).
11821 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
11822 (rtld_installed_name): Likewise.
11823 (run_program_prefix): New variable. Use it to run wordexp-test.
11824
728e272a
JM
11825 * Makeconfig (ARCH): Remove all definitions.
11826 (machine): Likewise.
11827 [ARCH]: Remove conditional code.
11828 [!objdir]: Give error.
11829 [!objdir] (objpfx): Remove.
11830 [!objdir] (common-objpfx): Likewise.
11831 [!objdir] (common-objdir): Likewise.
11832 * configure.in (config_makefile): Remove. Hardcode Makefile in
11833 AC_CONFIG_FILES call.
11834 * configure: Regenerated.
11835
d528cdcf
JM
11836 [BZ #13888]
11837 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
11838 or TMPDIR.
11839 (testout): Likewise.
11840
135948bd
JM
11841 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
11842 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
11843 $(rtld-installed-name).
11844 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
11845 (rtld_installed_name): Likwise.
11846 (runit): Remove function.
11847 (run_getconf): New variable, Use it for running getconf binary.
11848
38c78296
L
118492012-10-18 H.J. Lu <hongjiu.lu@intel.com>
11850
11851 [BZ #14716]
11852 * string/test-memmem.c (check_result): New function.
11853 (do_one_test): Use it.
11854 (check1): New function.
11855 (test_main): Use it.
11856
d077f65f
MT
118572012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
11858
11859 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
11860
ced52c71
JM
118612012-10-18 Joseph Myers <joseph@codesourcery.com>
11862
11863 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
11864 (_G_LSEEK64): Likewise.
11865 (_G_MMAP64): Likewise.
11866 (_G_FSTAT64): Likewise.
11867 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
11868 (_G_LSEEK64): Likewise.
11869 (_G_MMAP64): Likewise.
11870 (_G_FSTAT64): Likewise.
11871 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
11872 unconditional. Call __mmap64 directly.
11873 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
11874 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
11875 __lseek64 directly.
11876 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
11877 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
11878 __mmap64 directly.
11879 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
11880 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
11881 __lseek64 directly.
11882 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
11883 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
11884 __lseek64 directly.
11885 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
11886 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
11887 __lseek64 directly.
11888 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
11889 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
11890 __fxstat64 directly.
11891 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
11892 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
11893 unconditional.
11894 (freopen64) [!_G_OPEN64]: Remove conditional code.
11895 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
11896 unconditional.
11897 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
11898 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
11899 unconditional.
11900 (ftello64) [!_G_LSEEK64]: Remove conditional code.
11901 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
11902 unconditional.
11903 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
11904 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
11905 unconditional.
11906 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
11907 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
11908 unconditional.
11909 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
11910 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
11911 unconditional.
11912 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
11913 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
11914 unconditional.
11915 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
11916
b741de23
SP
119172012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11918
11919 [BZ #12140]
11920 * manual/memory.texi (Malloc Tunable Parameters): Add note
11921 about free list pointers overwriting some perturb bytes.
11922 Wording suggested by Roland McGrath.
11923
f9b9d9c9
JM
119242012-10-17 Joseph Myers <joseph@codesourcery.com>
11925
11926 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
11927 (lgamma_test): Likewise.
11928 (tgamma_test): Likewise.
11929
172a631a
FW
119302012-10-16 Florian Weimer <fweimer@redhat.com>
11931
11932 [BZ #14700]
11933 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
11934 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
11935
e9f37252
MK
119362012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
11937
11938 * NEWS: Mention BZ #14716.
11939 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
11940 when removing AVAILABLE1_USES_J macro.
11941
d394eb74
L
119422012-10-12 H.J. Lu <hongjiu.lu@intel.com>
11943
11944 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
11945 (__bswap_64): __uint64_t for unsigned 64-bit int.
11946
ca38dc17
AS
119472012-10-12 Andreas Schwab <schwab@linux-m68k.org>
11948
11949 * include/string.h (memmem): Declare libc hidden alias.
11950 * string/memmem.c (memmem): Define libc hidden alias.
11951 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
11952 __read, __close instead of open, read, close.
11953
9a387d1f
L
119542012-10-11 H.J. Lu <hongjiu.lu@intel.com>
11955
ac49ecaf
L
11956 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
11957 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
11958 global and hidden.
11959 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
11960 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
11961 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
11962 Likewise.
11963 (__rawmemchr_sse2): Likewise.
11964 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
11965 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
11966 (__strchr_sse2): Likewise.
11967 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
11968 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
11969 (__strcasecmp_sse2): Likewise.
11970 (__strncasecmp_sse2): Likewise.
11971 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
11972 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
11973 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
11974 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
11975 (__strrchr_sse2): Likewise.
11976 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
11977 ifunc-impl-list.c.
11978 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
11979 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11980 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11981 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11982 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11983 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11984 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11985 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11986 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
11987 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
11988 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
11989 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
11990 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
11991 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
11992 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
11993 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11994 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
11995 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
11996 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
11997 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
11998 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
11999 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
12000 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
12001 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
12002 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
12003 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12004 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
12005 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
12006 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
12007 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
12008
b090e8ea
L
12009 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
12010 global and hidden.
12011 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
12012 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
12013 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
12014 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
12015 Likewise.
12016 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
12017 Likewise.
12018 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
12019 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
12020 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
12021 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
12022 ifunc-impl-list.c.
12023 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
12024 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
12025 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
12026 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
12027 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
12028 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
12029 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
12030 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
12031 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
12032 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
12033 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
12034 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
12035 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
12036 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
12037 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
12038 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12039 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
12040 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
12041 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
12042 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
12043 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
12044 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
12045 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
12046 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
12047 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12048 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
12049 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
12050 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
12051 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
12052 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
12053 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
12054 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
12055 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
12056 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
12057 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
12058 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
12059 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
12060 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
12061 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
12062 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
12063 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
12064
11dd4af6
L
12065 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
12066 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
12067 * include/ifunc-impl-list.h: New file.
12068 * misc/ifunc-impl-list.c: Likewise.
12069 * misc/Makefile (routines): Add ifunc-impl-list.
12070 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
12071 * string/test-string.h: Include <ifunc-impl-list.h>.
12072 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
12073 impl_array): New variables.
12074 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
12075 are defined.
12076 (test_init): Call __libc_ifunc_impl_list to initialize
12077 func_list if TEST_IFUNC and TEST_NAME are defined.
12078
9a387d1f
L
12079 * string/Makefile (strop-tests): Add bcopy and bzero.
12080 * string/test-bcopy.c: New file.
12081 * string/test-bzero.c: Likewise.
12082 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
12083 defined.
12084 * string/test-memset.c: Support bzero test if TEST_BZERO is
12085 defined.
12086 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
12087 __libc_memmove.
12088 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
12089 __libc_memset.
12090 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
12091 of memset.
12092
472371b9
JM
120932012-10-10 Joseph Myers <joseph@codesourcery.com>
12094
1e4a9536
JM
12095 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
12096 * configure: Regenerated.
12097
d173d12e
JM
12098 * Makeconfig (+link-static-before-libc): Don't include
12099 $(link-static-libc).
12100
472371b9
JM
12101 * libio/libio.h (_IO_pos_t): Remove.
12102
89a3ad0b
AO
121032012-10-10 Alexandre Oliva <aoliva@redhat.com>
12104
12105 * NEWS: Add note about FIPS mode. Wording suggested by Roland
12106 McGrath.
12107
e7451425
AO
121082012-10-10 Alexandre Oliva <aoliva@redhat.com>
12109
12110 * crypt/crypt-entry.c: Include fips-private.h.
12111 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
12112 * crypt/md5c-test.c (main): Tolerate disabled MD5.
12113 * sysdeps/unix/sysv/linux/fips-private.h: New file.
12114 * sysdeps/generic/fips-private.h: New file, dummy fallback.
12115
4ba74a35
AO
121162012-10-10 Alexandre Oliva <aoliva@redhat.com>
12117
12118 * crypt/crypt-private.h: Include stdbool.h.
12119 (_ufc_setup_salt_r): Return bool.
12120 * crypt/crypt-entry.c: Include errno.h.
12121 (__crypt_r): Return NULL with EINVAL for bad salt.
12122 * crypt/crypt_util.c (bad_for_salt): New.
12123 (_ufc_setup_salt_r): Check that salt is long enough and within
12124 the specified alphabet.
12125 * crypt/badsalttest.c: New file.
12126 * crypt/Makefile (tests): Add it.
12127 ($(objpfx)badsalttest): New.
12128
f96f1242
MK
121292012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
12130
12131 * NEWS: Add entry for BZ #14602.
12132
0e8e0c1c
JM
121332012-10-09 Joseph Myers <joseph@codesourcery.com>
12134
12135 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
12136 type-generic.
12137 * math/libm-test.inc: Update comment listing what functions and
12138 macros are tested.
12139 (isgreater_test): New function.
12140 (isgreaterequal_test): Likewise.
12141 (isless_test): Likewise.
12142 (islessequal_test): Likewise.
12143 (islessgreater_test): Likewise.
12144 (isunordered_test): Likewise.
12145 (main): Call the new functions.
12146
273edc5e
RM
121472012-10-09 Roland McGrath <roland@hack.frob.com>
12148
b8493de0
RM
12149 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
12150 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
12151 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
12152 * sysdeps/i386/configure: Regenerated.
12153 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
12154 * sysdeps/mach/configure: Regenerated.
12155 * sysdeps/mach/hurd/configure: Regenerated.
12156 * sysdeps/powerpc/configure: Regenerated.
12157 * sysdeps/powerpc/powerpc32/configure: Regenerated.
12158 * sysdeps/powerpc/powerpc64/configure: Regenerated.
12159 * sysdeps/s390/s390-32/configure: Regenerated.
12160 * sysdeps/s390/s390-64/configure: Regenerated.
12161 * sysdeps/sh/configure: Regenerated.
12162 * sysdeps/sparc/configure: Regenerated.
12163 * sysdeps/unix/sysv/linux/configure: Regenerated.
12164 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
12165 * sysdeps/x86_64/configure: Regenerated.
12166
273edc5e
RM
12167 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
12168 defined. Don't check if MAP is NULL.
12169
c8450f70
JM
121702012-10-09 Joseph Myers <joseph@codesourcery.com>
12171
12172 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
12173 (_G_stat64): Likewise.
12174 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
12175 (_G_stat64): Likewise.
12176 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
12177 instead of struct _G_stat64.
12178 * libio/fileops.c (mmap_remap_check): Likewise.
12179 (decide_maybe_mmap): Likewise.
12180 (_IO_new_file_seekoff): Likewise.
12181 (_IO_file_stat): Likewise.
12182 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
12183 _G_off64_t.
12184 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
12185 instead of struct _G_stat64.
12186 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12187
57e605ba
MK
121882012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
12189
12190 [BZ #14602]
12191 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12192 Replace with ...
12193 (CHECK_EOL): New macro.
12194 (two_way_short_needle): Check beginning of haystack for EOL. Use
12195 CHECK_EOL.
12196 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12197 Replace with CHECK_EOL.
12198 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12199 Replace with CHECK_EOL.
12200
ef1bb361
JM
122012012-10-08 Joseph Myers <joseph@codesourcery.com>
12202
12203 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
12204 type-generic.
12205 * math/libm-test.inc: Update comment listing what functions and
12206 macros are tested.
12207 (finite_test): New function.
12208 (isinf_test): Likewise.
12209 (isnan_test): Likewise.
12210 (fpclassify_test): Test subnormal input.
12211 (isfinite_test): Likewise.
12212 (isnormal_test): Likewise.
12213 (main): Call the new functions.
12214
55f11534
JN
122152012-10-08 Jonathan Nieder <jrnieder@gmail.com>
12216
12217 [BZ #14660]
12218 * Makerules (%.dynsym): Force C locale when running
12219 $(OBJDUMP) --dynamic-syms.
12220
1ab29350
AS
122212012-10-08 Andreas Schwab <schwab@linux-m68k.org>
12222
12223 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
12224 <stdint.h>.
12225
f1ecb7ef
DM
122262012-10-06 David S. Miller <davem@davemloft.net>
12227
12228 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
12229 upper 32-bits of the length value in %o2 since we use branch-on-register
12230 tests which consider the entire 64-bit register.
12231
5d41d91a
L
122322012-10-06 H.J. Lu <hongjiu.lu@intel.com>
12233
12234 * string/test-strstr.c (check2): Add a test for page boundary.
12235
3baddb72
DM
122362012-10-05 David S. Miller <davem@davemloft.net>
12237
12238 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
12239 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
12240 file.
12241 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12242 sysdep_routines.
12243 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12244 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
12245 and bzero when HWCAP_SPARC_CRYPTO is present.
12246
9cee5585
L
122472012-10-05 H.J. Lu <hongjiu.lu@intel.com>
12248
d7e0dab9
L
12249 [BZ #14602]
12250 * string/test-strstr.c (check2): New function.
12251 (test_main): Call check2.
12252
03759f47
L
12253 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
12254 and bug-strchr1.
12255 * string/bug-strcasestr1.c (do_test): Moved to ...
12256 * string/test-strcasestr.c (check1): Here. New function.
12257 (do_one_test): Break out result checking code into ...
12258 (check_result): This. New function.
12259 (do_one_test): Call check_result.
12260 (test_main): Call check1.
12261 * string/bug-strchr1.c (do_test): Moved to ...
12262 * string/test-strchr.c (check1): Here. New function.
12263 (do_one_test): Break out result checking code into ...
12264 (check_result): This. New function.
12265 (do_one_test): Call check_result.
12266 (test_main): Call check1.
12267 * string/bug-strstr1.c (main): Moved to ...
046f153e 12268 * string/test-strstr.c (check1): Here. New function.
03759f47
L
12269 (do_one_test): Break out result checking code into ...
12270 (check_result): This. New function.
12271 (do_one_test): Call check_result.
12272 (test_main): Call check1.
12273 * string/bug-strcasestr1.c: Removed.
12274 * string/bug-strchr1.c: Likewise.
12275 * string/bug-strstr1.c: Likewise.
12276
53cea63e
L
12277 * elf/Makefile (dl-routines): Add hwcaps.
12278 * elf/dl-support.c (_dl_important_hwcaps): Removed.
12279 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
12280 (_dl_important_hwcaps): Moved to ...
12281 * elf/dl-hwcaps.c: Here. New file.
12282 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
12283
9cee5585 12284 [BZ #14557]
bb859b06
L
12285 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
12286 if IS_IN_rtld isn't defined.
12287
9cee5585
L
12288 * elf/dl-support.c (_dl_sysinfo_map): New.
12289 Include "get-dynamic-info.h" and "setup-vdso.h".
12290 (_dl_non_dynamic_init): Call setup_vdso.
12291 * elf/dynamic-link.h: Don't include <assert.h>.
12292 (elf_get_dynamic_info): Moved to ...
12293 * elf/get-dynamic-info.h: Here. New file.
12294 * elf/dynamic-link.h: Include "get-dynamic-info.h".
12295 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
12296 * elf/setup-vdso.h: Here. New file.
12297 * elf/rtld.c: Include "setup-vdso.h".
12298 (dl_main): Call setup_vdso.
12299
23c31b76
JM
123002012-10-05 Joseph Myers <joseph@codesourcery.com>
12301
28234b07
JM
12302 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
12303 creal in comment listing functions tested. List finite, isinf,
12304 isnan, isless, islessequal, isgreater, isgreaterequal,
12305 islessgreater, isunordered, lgamma_r and pow10 as functions and
12306 macros not tested. Mention which functions not tested are aliases
12307 for other functions. Fix typo. Note that signs of NaNs are not
12308 tested.
12309
23c31b76
JM
12310 * scripts/config.guess: Update from config.git.
12311 * scripts/config.sub: Likewise.
12312
9043e228
RM
123132012-10-04 Roland McGrath <roland@hack.frob.com>
12314
12315 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
12316 * misc/madvise.c (madvise): Renamed to __madvise.
12317 Make madvise a weak alias.
12318 * include/sys/mman.h: Declare __madvise.
12319 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
12320 * sysdeps/unix/syscalls.list
12321 (madvise): Make __madvise the strong name, and madvise a weak alias.
12322 * sysdeps/unix/sysv/linux/syscalls.list
12323 (madvise, mmap): Remove redundant entries.
12324 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
12325 * malloc/malloc.c (mtrim): Likewise.
12326 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
12327
f57f8055
RM
123282012-10-03 Roland McGrath <roland@hack.frob.com>
12329
12330 * sysdeps/mach/hurd/dl-cache.c: File removed.
12331 * config.h.in (USE_LDCONFIG): New #undef.
12332 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
12333 * configure: Regenerated.
12334 * elf/Makefile (dl-routines): Add dl-cache only under
12335 [$(use-ldconfig) = yes].
12336 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
12337 cache on [USE_LDCONFIG].
12338 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
12339 [USE_LDCONFIG].
12340 * elf/rtld.c (dl_main): Likewise.
12341
5bb0c10a
PT
123422012-10-03 Pino Toscano <toscano.pino@tiscali.it>
12343
12344 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
12345 _SC_LEVEL4_CACHE_LINESIZE.
12346
010188c6
RM
123472012-10-03 Roland McGrath <roland@hack.frob.com>
12348
12349 * sysdeps/unix/bsd/confstr.h: File removed.
12350
b6c5ec07
AO
123512012-10-02 Alexandre Oliva <aoliva@redhat.com>
12352
12353 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
12354 sys/sdt-config.h.
12355
408223d4
RM
123562012-10-02 Roland McGrath <roland@hack.frob.com>
12357
12358 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
12359 Make 'mapoff' field ElfW(Off) rather than off_t.
12360
bb9510dc
DL
123612012-10-02 Dmitry V. Levin <ldv@altlinux.org>
12362
fc997c6e
DL
12363 * nscd/Makefile: Remove nscd-cflags and all its users.
12364 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
12365 (CFLAGS-nonlib): Add compiler flags for nscd modules.
12366
bb9510dc
DL
12367 [BZ #10631]
12368 * malloc.c (malloc_printerr): Clarify error message.
12369
05699367
L
123702012-10-02 H.J. Lu <hongjiu.lu@intel.com>
12371
12372 [BZ #14648]
12373 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12374 Set bit_FMA_Usable if FMA is supported.
12375 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
12376 macro.
12377 (bit_FMA4_Usable): Updated.
12378 (index_FMA_Usable): New macro.
12379 (CPUID_FMA): Likewise
12380 (HAS_FMA): Defined with bit_FMA_Usable.
12381
51367701
RM
123822012-10-01 Roland McGrath <roland@hack.frob.com>
12383
12384 * bits/types.h (__swblk_t): Type removed.
12385 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
12386 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
12387 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12388 (__SWBLK_T_TYPE): Likewise.
12389 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
12390 (__SWBLK_T_TYPE): Likewise.
12391 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12392 (__SWBLK_T_TYPE): Likewise.
12393 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12394 (__SWBLK_T_TYPE): Likewise.
12395
4d57bf63 123962012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 12397 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
12398
12399 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
12400 (xdr_mapname): Use YPMAXMAP as maxsize.
12401 (xdr_peername): Use YPMAXPEER as maxsize.
12402 (xdr_keydat): Use YPAXRECORD as maxsize.
12403 (xdr_valdat): Use YPMAXRECORD as maxsize.
12404
93c65d43
RM
124052012-10-01 Roland McGrath <roland@hack.frob.com>
12406
497a03d6
RM
12407 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
12408
93c65d43
RM
12409 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
12410 * csu/init-first.c: ... here.
12411 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
12412 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
12413 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
12414 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
12415 * sysdeps/i386/init-first.c: File removed.
12416 * sysdeps/sh/init-first.c: File removed.
12417
bec749fd
JM
124182012-10-01 Joseph Myers <joseph@codesourcery.com>
12419
12420 [BZ #14645]
12421 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
12422 if x * y might underflow to zero and z is zero.
12423 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12424 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12425 * math/libm-test.inc (min_subnorm_value): New variable.
12426 (fma_test): Add more tests.
12427 (fma_test_towardzero): Likewise.
12428 (fma_test_downward): Likewise
12429 (fma_test_upward): Likewise.
12430 (initialize): Set min_subnorm_value.
12431
8ec5b013
JM
124322012-09-29 Joseph Myers <joseph@codesourcery.com>
12433
12434 [BZ #14638]
12435 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
12436 0 + 0.
12437 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
12438 mode for addition resulting in exact zero.
12439 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
12440 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
12441 exact 0 + 0.
12442 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12443 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12444 * math/libm-test.inc (fma_test): Add more tests.
12445 (fma_test_towardzero): New function.
12446 (fma_test_downward): Likewise.
12447 (fma_test_upward): Likewise.
12448 (main): Call the new functions.
12449
b1fa802e
DM
124502012-09-28 David S. Miller <davem@davemloft.net>
12451
12452 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
12453
d3b9fd9e
RM
124542012-09-28 Roland McGrath <roland@hack.frob.com>
12455
ea4d37b3
RM
12456 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
12457 instead of SIGALRM.
12458
ac51c949
RM
12459 * sysdeps/gnu/_G_config.h: Moved to ...
12460 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
12461 * sysdeps/mach/hurd/_G_config.h: Moved to ...
12462 * sysdeps/generic/_G_config.h: ... here.
12463
28c195f7
RM
12464 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
12465
848917f9
RM
12466 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
12467
6bacf05b
RM
12468 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
12469 Conditionalize target on [libnss_test1.so-version].
12470
91363dbb
RM
12471 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
12472
cc87f7d8
RM
12473 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
12474 (elfobjdir): Move out of conditionals.
12475
b1c608fe
RM
12476 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
12477 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
12478 (__nss_lookup_function): Conditionalize label remove_from_tree on
12479 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 12480
1d9a6d96
DM
124812012-09-28 David S. Miller <davem@davemloft.net>
12482
12483 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
12484 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
12485 file.
12486 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12487 sysdep_routines.
12488 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12489 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
12490 when HWCAP_SPARC_CRYPTO is present.
12491
72581615
PT
124922012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12493
12494 * io/tst-mknodat.c: Create a FIFO instead of a socket.
12495
715a900c
JL
124962012-09-28 Andreas Schwab <schwab@linux-m68k.org>
12497
12498 [BZ #6530]
12499 * stdio-common/vfprintf.c (process_string_arg): Revert
12500 2000-07-22 change.
12501
125022011-09-28 Jonathan Nieder <jrnieder@gmail.com>
12503
12504 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
12505 for testcase.
12506 * stdio-common/tst-sprintf.c: Include <locale.h>
12507 (main): Test sprintf's handling of incomplete multibyte
12508 characters.
12509
9bac1d86
L
125102012-09-28 H.J. Lu <hongjiu.lu@intel.com>
12511
12512 * elf/dl-runtime.c (VERSYMIDX): Removed.
12513 * elf/dl-version.c (VERSYMIDX): Likewise.
12514 * elf/do-rel.h (VERSYMIDX): Likewise.
12515 (VALIDX): Likewise.
12516 * elf/dynamic-link.h (VERSYMIDX): Likewise.
12517 * elf/rtld.c (VALIDX): Likewise.
12518 (ADDRIDX): Likewise.
9bac1d86
L
12519 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
12520 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
12521 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
12522 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
12523 (VALIDX): Likewise.
12524 (ADDRIDX): Likewise.
9bac1d86 12525
b31606c0
PT
125262012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12527
12528 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
12529
11541177
JL
125302012-09-28 Dmitry V. Levin <ldv@altlinux.org>
12531
12532 [BZ #11438]
12533 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
12534 to global scope.
12535 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
12536 addresses are in the same scope as 192.0.2/24.
12537 * posix/gai.conf: Document new scope table defaults.
12538
adb26fae
SP
125392012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12540
12541 [BZ #5298]
12542 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
12543 for ftell. Compute offsets from write pointers instead.
12544 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12545
4573c6b0
SP
125462012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12547
12548 [BZ #14543]
12549 * libio/Makefile (tests): New test case tst-fseek.
12550 * libio/tst-fseek.c: New test case to verify that fseek/ftell
12551 combination works in wide mode.
12552 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
12553 state when the external buffer state changes.
12554
aa9bbfe6
DM
125552012-09-27 David S. Miller <davem@davemloft.net>
12556
12557 [BZ #14376]
12558 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
12559 pass reloc->r_addend in as the 'high' argument to
12560 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
12561
784421e7
DM
12562 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12563
c39bc8b8
PT
125642012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12565
12566 * rt/tst-aio2.c: Include <pthread.h>.
12567 * rt/tst-aio3.c: Likewise.
12568
1ccc2399
SE
125692012-09-27 Steve Ellcey <sellcey@mips.com>
12570
12571 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
12572
31ed4153
L
125732012-09-27 H.J. Lu <hongjiu.lu@intel.com>
12574
25f5f885
L
12575 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
12576 contents on [SHARED].
31ed4153 12577
b7bfe116
MP
125782012-09-26 Marek Polacek <polacek@redhat.com>
12579
12580 [BZ #14530]
12581 [BZ #13741]
12582 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
12583 for C++ and GCC <4.3 as well as for non GCC compilers.
12584
43c4edba
MT
125852012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
12586
12587 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12588
6a1bf82f
RM
125892012-09-25 Roland McGrath <roland@hack.frob.com>
12590
12591 * Makefile.in (all, install): Declare with .PHONY.
12592 Reported by Michael Hope <michael.hope@linaro.org>.
12593
8ad11b9a
TMQMF
125942012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12595
12596 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
12597 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
12598 system header.
12599 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
12600 Likewise.
12601 (sydep_routines): Add the new and the internal functions.
12602 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
12603 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
12604 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
12605 (GLIBC_2.17): Add the new function.
12606 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12607 (GLIBC_2.17): Likewise.
12608 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
12609 (GLIBC_2.17): Likewise.
12610 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
12611 (GLIBC_2.17): Likewise.
12612 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
12613
7e2fca8d
AM
126142012-09-25 Alan Modra <amodra@gmail.com>
12615
12616 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
12617 Add release barrier before setting once_control to say
12618 initialisation is done. Add hints on lwarx. Use macro in
12619 place of isync.
12620 (clear_once_control): Add release barrier.
12621
b87c4b24
JM
126222012-09-25 Joseph Myers <joseph@codesourcery.com>
12623
d032e0d2
JM
12624 [BZ #13629]
12625 * math/s_clog.c (__clog): Handle more values close to |z| = 1
12626 specially.
12627 * math/s_clog10.c (__clog10): Likewise.
12628 * math/s_clog10f.c (__clog10f): Likewise.
12629 * math/s_clog10l.c (__clog10l): Likewise.
12630 * math/s_clogf.c (__clogf): Likewise.
12631 * math/s_clogl.c (__clogl): Likewise.
12632 * math/Makefile (libm-calls): Add x2y2m1.
12633 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
12634 (__x2y2m1): Likewise.
12635 (__x2y2m1l): Likewise.
12636 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
12637 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
12638 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
12639 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12640 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
12641 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
12642 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
12643 * sysdeps/i386/fpu/libm-test-ulps: Update.
12644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12645
b87c4b24
JM
12646 [BZ #14621]
12647 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
12648 int as type of variable DEPTH.
12649 (glob): Use size_t instead of int as type of variables NEWCOUNT
12650 and OLD_PATHC.
12651
6d3bf199
LD
126522012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12653
22bf5c17
LD
12654 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
12655 Add s_sincosf-sse2.
12656 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
12657 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
12658 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
12659 macros for using routine as __sincosf_ia32.
12660 Use macro for function declaration and weak_alias.
12661 * sysdeps/i386/fpu/libm-test-ulps: Update.
12662
12663 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
12664 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12665
12666 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
12667 subnormal argument.
12668 * math/s_cexpf.c (__cexpf): Likewise.
12669 * math/s_csinf.c (__csinf): Likewise.
12670 * math/s_csinhf.c (__csinhf): Likewise.
12671 * math/s_ctanf.c (__ctanf): Likewise.
12672 * math/s_ctanhf.c (__ctanhf): Likewise.
12673 * math/s_ccosh.c (__ccoshf): Likewise.
12674 * math/s_cexp.c (__cexpl): Likewise.
12675 * math/s_csin.c (__csin): Likewise.
12676 * math/s_csinh.c (__csinh): Likewise.
12677 * math/s_ctan.c (__ctan): Likewise.
12678 * math/s_ctanh.c (ctanh): Likewise.
12679 * math/s_ccoshl.c (__ccoshl): Likewise.
12680 * math/s_cexpl.c (__cexpl): Likewise.
12681 * math/s_csinl.c (__csinl): Likewise.
12682 * math/s_csinhl.c (__csinhl): Likewise.
12683 * math/s_ctanl.c (__ctanl): Likewise.
12684 * math/s_ctanhl.c (__ctanhl): Likewise.
12685
203e5603
JM
126862012-09-25 Joseph Myers <joseph@codesourcery.com>
12687
12688 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
12689 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
12690 (_IO_off_t): Define to __off_t, not _G_off_t.
12691 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
12692 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
12693 (_IO_wint_t): Define to wint_t, not _G_wint_t.
12694 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
12695 type of __dummy and __dummy2 fields.
12696 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
12697 (_G_ssize_t): Likewise.
12698 (_G_off_t): Likewise.
12699 (_G_pid_t): Likewise.
12700 (_G_uid_t): Likewise.
12701 (_G_wchar_t): Likewise.
12702 (_G_wint_t): Likewise.
12703 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
12704 (_G_ssize_t): Likewise.
12705 (_G_off_t): Likewise.
12706 (_G_pid_t): Likewise.
12707 (_G_uid_t): Likewise.
12708 (_G_wchar_t): Likewise.
12709 (_G_wint_t): Likewise.
12710 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
12711 (_G_ssize_t): Likewise.
12712 (_G_off_t): Likewise.
12713 (_G_pid_t): Likewise.
12714 (_G_uid_t): Likewise.
12715 (_G_wchar_t): Likewise.
12716 (_G_wint_t): Likewise.
12717
9fab36eb
SP
127182012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12719
12720 * malloc/arena.c: Include malloc-sysdep.h.
12721 (shrink_heap): Use check_may_shrink_heap to decide if madvise
12722 is sufficient to shrink the heap or an unmap is needed.
12723 * sysdeps/generic/malloc-sysdep.h: New file. Define
12724 new function check_may_shrink_heap.
12725 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
12726 new function check_may_shrink_heap.
12727
2b4f00d1
SP
127282012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12729
12730 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
12731 comments.
12732
9a9028b1
DL
127332012-09-24 Dmitry V. Levin <ldv@altlinux.org>
12734
57c69bef
DL
12735 * catgets/test-gencat.sh: Add "set -e".
12736 * elf/tst-pathopt.sh: Likewise.
12737 * grp/tst_fgetgrent.sh: Likewise.
12738 * iconvdata/run-iconv-test.sh: Likewise.
12739 * intl/tst-gettext.sh: Likewise.
12740 * intl/tst-gettext2.sh: Likewise.
12741 * intl/tst-gettext4.sh: Likewise.
12742 * intl/tst-gettext6.sh: Likewise.
12743 * intl/tst-translit.sh: Likewise.
12744 * io/ftwtest-sh: Likewise.
12745 * libio/test-freopen.sh: Likewise.
12746 * malloc/tst-mtrace.sh: Likewise.
12747 * posix/globtest.sh: Likewise.
12748 * posix/tst-getconf.sh: Likewise.
12749 * posix/wordexp-tst.sh: Likewise.
12750 * stdio-common/tst-printf.sh: Likewise.
12751 * stdio-common/tst-unbputc.sh: Likewise.
12752 * stdlib/tst-fmtmsg.sh: Likewise.
12753 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12754 * catgets/Makefile: Do not specify -e option when running
12755 testsuite shell scripts.
12756 * elf/Makefile: Likewise.
12757 * grp/Makefile: Likewise.
12758 * iconvdata/Makefile: Likewise.
12759 * intl/Makefile: Likewise.
12760 * io/Makefile: Likewise.
12761 * libio/Makefile: Likewise.
12762 * malloc/Makefile: Likewise.
12763 * posix/Makefile: Likewise.
12764 * stdio-common/Makefile: Likewise.
12765 * stdlib/Makefile: Likewise.
12766 * sysdeps/x86_64/Makefile: Likewise.
12767
9a9028b1
DL
12768 * io/ftwtest-sh: Add copyright header.
12769 * posix/globtest.sh: Likewise.
12770 * posix/tst-getconf.sh: Likewise.
12771 * posix/wordexp-tst.sh: Likewise.
12772 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12773
ced6f16e
L
127742012-09-24 H.J. Lu <hongjiu.lu@intel.com>
12775
94b32c39
L
12776 [BZ #13679]
12777 * Makeconfig (+link): Defined as $(+link-static) if
12778 $(build-shared) isn't yes.
12779 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
12780 isn't yes.
12781 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
12782
189e935b
L
12783 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
12784
ced6f16e
L
12785 [BZ #14562]
12786 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
12787 new chunk size with MALLOC_ALIGN_MASK.
12788
a9f8e53a
JM
127892012-09-24 Joseph Myers <joseph@codesourcery.com>
12790
12791 [BZ #5044]
12792 * stdio-common/printf_fphex.c: Include <stdbool.h> and
12793 <rounding-mode.h>.
12794 (__printf_fphex): Determine rounding using get_rounding_mode and
12795 round_away.
12796 * stdio-common/tst-printf-round.c (struct hex_test): New
12797 structure.
12798 (hex_tests): New variable.
12799 (test_hex_in_one_mode): New function.
12800 (do_test): Also run tests for hex float output.
12801
43153109
JM
128022012-09-21 Joseph Myers <joseph@codesourcery.com>
12803
12804 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12805 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12806 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
12807 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12808 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12809 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
12810 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12811 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12812
8a26625d
JM
128132012-09-20 Joseph Myers <joseph@codesourcery.com>
12814
12815 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
12816 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
12817 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
12818 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
12819
f3fd569c
DL
128202012-09-19 Dmitry V. Levin <ldv@altlinux.org>
12821
12822 [BZ #14579]
12823 * elf/rtld.c (dl_main): Limit the check for self loading to normal
12824 mode only.
12825 * elf/tst-rtld-load-self.sh: New test.
12826 * elf/Makefile: Run it.
12827
63bbedd4
JM
128282012-09-18 Joseph Myers <joseph@codesourcery.com>
12829
12830 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
12831 (tst-writev-ENV): Remove.
12832 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
12833
626f8b6a
CM
128342012-09-17 Chris Metcalf <cmetcalf@tilera.com>
12835
12836 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
12837
b7aaa4d6
JM
128382012-09-17 Joseph Myers <joseph@codesourcery.com>
12839
12840 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
12841 unconditional.
12842 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
12843 Likewise.
12844 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
12845 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
12846 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
12847 Likewise.
12848
65513990
L
128492012-09-14 H.J. Lu <hongjiu.lu@intel.com>
12850
12851 [BZ #14587]
12852 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
12853 * config.make.in (have-cpp-asm-debuginfo): Removed.
12854 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
12855 * configure: Regenerated.
12856
784761be
JM
128572012-09-14 Joseph Myers <joseph@codesourcery.com>
12858
12859 [BZ #5044]
12860 * stdio-common/printf_fp.c: Include <stdbool.h> and
12861 <rounding-mode.h>.
12862 (___printf_fp): Determine rounding using get_rounding_mode and
12863 round_away.
12864 * stdio-common/tst-printf-round.c: New file.
12865 * stdio-common/Makefile (tests): Add tst-printf-round.
12866 (link-libm): New variable.
12867 ($(objpfx)tst-printf-round): Depend in $(link-libm).
12868
9503345f
L
128692012-09-13 H.J. Lu <hongjiu.lu@intel.com>
12870
12871 [BZ #14576]
12872 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
12873 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
12874 Likewise.
12875 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
12876 Likewise.
12877
ad35fc00
JM
128782012-09-13 Joseph Myers <joseph@codesourcery.com>
12879
12880 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
12881 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12882 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12883 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12884
6c9b0f68
JM
128852012-09-12 Joseph Myers <joseph@codesourcery.com>
12886
12887 [BZ #14518]
12888 * include/rounding-mode.h: New file.
12889 * sysdeps/generic/get-rounding-mode.h: Likewise.
12890 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
12891 * stdlib/strtod_l.c: Include <rounding-mode.h>.
12892 (MAX_VALUE): New macro.
12893 (MIN_VALUE): Likewise.
12894 (overflow_value): New function.
12895 (underflow_value): Likewise.
12896 (round_and_return): Use overflow_value and underflow_value to
12897 determine return values in overflow and underflow cases. Use
12898 round_away to determine rounding depending on rounding mode.
12899 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
12900 determine return values in overflow and underflow cases.
12901 * stdlib/tst-strtod-round.c: Include <fenv.h>.
12902 (struct test_results): New structure.
12903 (struct test): Use struct test_results to store expected results
12904 for all rounding modes.
12905 (TEST): Include expected results for all rounding modes.
12906 (test_in_one_mode): New function.
12907 (do_test): Use test_in_one_mode to compute and check results.
12908 Check results for all rounding modes.
12909 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
12910 $(link-libm).
12911
19fcedd5
AM
129122012-12-09 Allan McRae <allan@archlinux.org>
12913
1e9d84cd 12914 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 12915
8bbfd2f1
JM
129162012-09-11 Joseph Myers <joseph@codesourcery.com>
12917
12918 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
12919 (_G_int32_t): Likewise.
12920 (_G_uint16_t): Likewise.
12921 (_G_uint32_t): Likewise.
12922 (_G_HAVE_BOOL): Likewise.
12923 (_G_HAVE_ATEXIT): Likewise.
12924 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12925 (_G_HAVE_IO_FILE_OPEN): Likewise.
12926 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
12927 (_G_int32_t): Likewise.
12928 (_G_uint16_t): Likewise.
12929 (_G_uint32_t): Likewise.
12930 (_G_HAVE_BOOL): Likewise.
12931 (_G_HAVE_ATEXIT): Likewise.
12932 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12933 (_G_HAVE_IO_FILE_OPEN): Likewise.
12934 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
12935 (_G_int32_t): Likewise.
12936 (_G_uint16_t): Likewise.
12937 (_G_uint32_t): Likewise.
12938 (_G_HAVE_BOOL): Likewise.
12939 (_G_HAVE_ATEXIT): Likewise.
12940 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12941 (_G_HAVE_IO_FILE_OPEN): Likewise.
12942
b1dc5912
L
129432012-09-11 H.J. Lu <hongjiu.lu@intel.com>
12944
12945 * csu/libc-tls.c: Update copyright years.
12946
0e886ef9
JM
129472012-09-10 Joseph Myers <joseph@codesourcery.com>
12948
28361c5e
JM
12949 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
12950 [!_G_USING_THUNKS]: Remove conditional code.
12951 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
12952 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
12953
0e886ef9
JM
12954 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
12955 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
12956 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12957 (_G_VTABLE_LABEL_PREFIX): Likewise.
12958 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12959 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12960 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12961 (_G_VTABLE_LABEL_PREFIX): Likewise.
12962 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
12963 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12964 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12965 (_G_VTABLE_LABEL_PREFIX): Likewise.
12966 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
12967
bcba7aa2
L
129682012-09-10 H.J. Lu <hongjiu.lu@intel.com>
12969
12970 * libio/Makefile: Include ../Makeconfig before tests.
12971 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
12972 only if $(build-shared) is yes.
12973
06585ee8
L
12974 * iconv/gconv_db.c: Update copyright years.
12975
80ccd52c
LD
129762012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12977
12978 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
12979 unwind info if defined PIC. Fix special cases description.
12980 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
12981
12982 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
12983 DP_HI_MASK entry.
12984 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
12985
691bc9c1
L
129862012-09-07 H.J. Lu <hongjiu.lu@intel.com>
12987
3d9b46b3
L
12988 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
12989
de2139a9
L
12990 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
12991 is NULL.
12992
5ca78dd0
L
12993 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
12994 (LDLIBS-tst-chk4): This.
12995 (LDFLAGS-tst-chk5): Renamed to ...
12996 (LDLIBS-tst-chk5): This.
12997 (LDFLAGS-tst-chk6): Renamed to ...
12998 (LDLIBS-tst-chk6): This.
12999 (LDFLAGS-tst-lfschk4): Renamed to ...
13000 (LDLIBS-tst-lfschk4): This.
13001 (LDFLAGS-tst-lfschk5): Renamed to ...
13002 (LDLIBS-tst-lfschk5): This.
13003 (LDFLAGS-tst-lfschk6): Renamed to ...
13004 (LDLIBS-tst-lfschk6): This.
13005
691bc9c1
L
13006 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
13007 on $(common-objpfx)soversions.mk.
13008
65cafb1c
JM
130092012-09-07 Joseph Myers <joseph@codesourcery.com>
13010
13011 [BZ #10014]
13012 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
13013 example host name.
13014
c78ab094
SP
130152012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
13016
13017 * malloc/arena.c (arena_get_retry): New function that gets
13018 another arena for the caller to try its request on.
13019 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
13020 current arena cannot fulfill the request.
13021 (__libc_memalign): Likewise.
13022 (__libc_memalign): Likewise.
13023 (__libc_pvalloc): Likewise.
13024 (__libc_calloc): Likewise.
13025
01f49f59
JT
130262012-09-05 John Tobey <john.tobey@gmail.com>
13027
13028 [BZ #13542]
13029 * manual/arith.texi (Operations on Complex): Fix description
13030 of carg branch cut.
13031
4c23fed5
JM
130322012-09-06 Joseph Myers <joseph@codesourcery.com>
13033
1d3c8572
JM
13034 [BZ #10014]
13035 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
13036 host name.
13037
4c23fed5
JM
13038 [BZ #10038]
13039 * manual/memory.texi (Memory): Make order of menu items match
13040 order of sections.
13041
04570aaa
L
130422012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13043
13044 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
13045 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
13046 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
13047
b80af2f4
L
130482012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13049
13050 * csu/libc-tls.c (static_dtv): Renamed to ...
13051 (_dl_static_dtv): This. Make it global.
13052 (_dl_initial_dtv): Removed.
13053 (__libc_setup_tls): Updated.
13054 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
13055 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
13056 DL_INITIAL_DTV.
13057
2abe9f15
PM
130582012-09-06 Petr Machata <pmachata@redhat.com>
13059
13060 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
13061 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
13062 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
13063 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
13064
0948c3af
L
130652012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13066
13067 [BZ #14545]
13068 * csu/libc-tls.c (_dl_initial_dtv): New variable.
13069 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
13070 freeing dtv[-1].
13071
a5055ad1
L
130722012-09-06 H.J. Lu <hongjiu.lu@intel.com>
13073
13074 [BZ #14544]
13075 * Makeconfig (link-static-before-libc): Replace $(+prector)
13076 with $(+prectorT).
13077 (link-static-after-libc): Replace $(+postctor) with
13078 $(+postctorT).
13079 (link-bounded): Replace $(+prector)/$(+postctor) with
13080 $(+prectorT)/$(+postctorT).
13081 (+prectorT): New macro.
13082 (+postctorT): Likewise.
13083
ed8c2ecd
JM
130842012-09-06 Joseph Myers <joseph@codesourcery.com>
13085
13086 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
13087 (round_str): Handle values above the maximum for IBM long double
13088 as inexact.
13089 * stdlib/tst-strtod-round.c (tests): Regenerated.
13090
14c996c8
AK
130912012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13092
13093 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
13094 assembler flag.
13095 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
13096 zarch_nohighgprs around the zarch optimized routines.
13097 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
13098 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
13099 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
13100 for zarch.
13101
430d6ce6
DM
131022012-09-05 David S. Miller <davem@davemloft.net>
13103
13104 * sysdeps/sparc/fpu/libm-test-ulps: Update.
13105
ff04dda4
DM
13106 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
13107 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
13108 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
13109 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
13110 entries.
13111
24d4e01b
AO
131122012-09-05 Alexandre Oliva <aoliva@redhat.com>
13113
13114 * malloc/arena.c: Fold copyright years.
13115 * malloc/mcheck.c, malloc/memusage.c: Likewise.
13116
61d58174
AO
131172012-09-05 Alexandre Oliva <aoliva@redhat.com>
13118
13119 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
13120
20196a5e
AO
131212012-09-05 Alexandre Oliva <aoliva@redhat.com>
13122
13123 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
13124
5c447383
AO
131252012-09-05 Alexandre Oliva <aoliva@redhat.com>
13126
13127 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
13128 change internal state upon failure.
13129
fad64255
AO
131302012-09-05 Alexandre Oliva <aoliva@redhat.com>
13131
13132 * malloc/mcheck.c (mcheck_check_all): Fix typo.
13133 * malloc/memusage.c (mmap): Likewise.
13134 (mmap64, mremap): Likewise. Adjust name in comment.
13135
1ffb8c90
SP
131362012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13137
13138 * libio/fileops.c: Fix typos in comments.
13139 * libio/oldfileops.c: Likewise.
13140 * libio/wfileops.c: Likewise.
13141
6ef9cc37
SP
131422012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
13143
13144 [BZ #1349]
13145 * malloc/Makefile (tests): Add tst-malloc-usable test case.
13146 (tst-malloc-usable-ENV): Set environment for test case.
13147 * malloc/hooks.c (malloc_check_get_size): New function to get
13148 requested size.
13149 * malloc/malloc.c (musable): Use malloc_check_get_size.
13150 * malloc/tst-malloc-usable.c: New test case.
13151
4d038ae3
AS
131522012-09-05 Andreas Schwab <schwab@linux-m68k.org>
13153
13154 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
13155
c4e85184
AM
131562012-09-05 Allan McRae <allan@archlinux.org>
13157
b9dafc56 13158 [BZ #13966]
c4e85184
AM
13159 * configure.in (CXX_SYSINCLUDES): Use compiler output to
13160 determine header location.
13161 * configure: Regenerated.
13162
e1343020
AS
131632012-09-05 Andreas Schwab <schwab@linux-m68k.org>
13164
13165 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
13166 float format.
13167 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
13168 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
13169 format.
e1343020
AS
13170 (test): Regenerate.
13171
0a9f1987
DM
131722012-09-04 David S. Miller <davem@davemloft.net>
13173
13174 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
13175 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
13176 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
13177
29237804
FW
131782012-09-04 Florian Weimer <fweimer@redhat.com>
13179
13180 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
13181 failures.
13182
edb3cb88
FW
13183 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
13184
60160d83
JM
131852012-09-04 Joseph Myers <joseph@codesourcery.com>
13186
13187 [BZ #9914]
13188 * libio/iogetdelim.c: Include <limits.h>.
13189 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
13190 + len + 1 would overflow.
13191
bcd6c8dc
AJ
131922012-09-03 Andreas Jaeger <aj@suse.de>
13193
13194 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13195 * sysdeps/i386/fpu/libm-test-ulps: Update.
13196
4ffffbd2
LD
131972012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13198
13199 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13200 Add s_sinf-sse2, s_conf-sse2.
13201
13202 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
13203 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
13204 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
13205 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
13206
13207 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
13208 for using routine as __sinf_ia32.
13209 Use macro for function declaration and weak_alias.
13210 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
13211 for using routine as __cosf_ia32.
13212 Use macro for function declaration and weak_alias.
13213
13214 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
13215 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
13216
13217 * sysdeps/x86_64/fpu/s_sinf.S: New file.
13218 * sysdeps/x86_64/fpu/s_cosf.S: New file.
13219 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13220
13221 * math/libm-test.inc (cos_test): Add more test cases.
13222 (sin_test): Likewise.
13223 (sincos_test): Likewise.
13224
511fa286
AK
132252012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13226
13227 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
13228 (IFUNC_RESOLVE): Make pointers to the specialized implementations
13229 hidden.
13230 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
13231
5f30cfec
L
132322012-09-02 H.J. Lu <hongjiu.lu@intel.com>
13233
13234 [BZ #14538]
13235 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
13236 first element of the GOT.
13237 (elf_machine_load_address): Return the difference between
13238 the runtime address of _DYNAMIC and elf_machine_dynamic ().
13239
0786794f
AM
132402012-09-01 Allan McRae <allan@archlinux.org>
13241
5f30cfec
L
13242 [BZ #13412]
13243 * configure.in (AWK): Require gawk version 3.0 or later.
13244 * configure: Regenerated.
0786794f 13245
26889eac
JM
132462012-09-01 Joseph Myers <joseph@codesourcery.com>
13247
13248 * sysdeps/unix/sysv/linux/kernel-features.h
13249 (__ASSUME_POSIX_CPU_TIMERS): Remove.
13250 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13251 [__NR_clock_getres]: Make code unconditional.
13252 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
13253 (clock_getcpuclockid): Remove code left unreachable by removal of
13254 conditionals.
13255 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
13256 code unconditional.
13257 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13258 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13259 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
13260 Make code unconditional.
13261 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13262 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13263 * sysdeps/unix/sysv/linux/clock_settime.c
13264 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
13265 conditional code.
13266 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
13267 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13268
d22e28b0
L
132692012-08-29 H.J. Lu <hongjiu.lu@intel.com>
13270
13271 [BZ #14476]
13272 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
13273 scripts/test-installation.pl.
13274
13275 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
13276 and $ld_so_version if it is set.
13277
050af9c4
SP
132782012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13279
13280 [BZ #14516]
13281 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
13282 failure if reading from procfs failed.
13283 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
13284
ad845c0b
JM
132852012-08-27 Joseph Myers <joseph@codesourcery.com>
13286
13287 * sysdeps/unix/sysv/linux/kernel-features.h
13288 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
13289 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13290 Remove conditional code.
13291 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13292 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
13293 Remove conditional code.
13294 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13295 * sysdeps/unix/sysv/linux/i386/fxstat.c
13296 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13297 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13298 * sysdeps/unix/sysv/linux/i386/fxstatat.c
13299 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13300 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13301 * sysdeps/unix/sysv/linux/i386/lxstat.c
13302 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13303 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13304 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
13305 Remove conditional code.
13306 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13307 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13308 Remove conditional code.
13309 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13310 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
13311 <kernel-features.h>.
13312 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
13313 Remove.
13314 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
13315 Remove conditional code.
13316 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13317 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
13318 Remove conditional.
13319
5dbf56af
MF
133202012-08-27 Mike Frysinger <vapier@gentoo.org>
13321
13322 [BZ #5400]
13323 * NEWS: Add fixed bug number.
13324
d6e70f43
JM
133252012-08-27 Joseph Myers <joseph@codesourcery.com>
13326
7efb4737
JM
13327 [BZ #14519]
13328 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
13329 underflowing exponent in case of negative sign.
13330 * stdlib/tst-strtod-round-data: Add more tests.
13331 * stdlib/tst-strtod-round.c (tests): Regenerated.
13332
af92131a
JM
13333 [BZ #3479]
13334 * stdlib/strtod_l.c (NDIG): Remove.
13335 (HEXNDIG): Likewise.
13336 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
13337 smallest representable value.
13338 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
13339 lie within an exact representation of 1/2 ulp of the result.
13340 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
13341 unconditionally.
13342 (TENS_P9_IDX): Define unconditionally.
13343 (TENS_P9_SIZE): Likewise.
13344 (TENS_P10_IDX): Likewise.
13345 (TENS_P10_SIZE): Likewise.
13346 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
13347 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
13348 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
13349 entries for 10^2^13 and 10^2^14.
13350 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
13351 (TENS_P13_IDX): Define.
13352 (TENS_P13_SIZE): Likewise.
13353 (TENS_P14_IDX): Likewise.
13354 (TENS_P14_SIZE): Likewise.
13355 (_fpioconst_pow10): Change array size to
13356 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
13357 unconditional.
13358 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
13359 1024]: Add entries for 10^2^13 and 10^2^14.
13360 [LAST_POW10 > _LAST_POW10]: Remove #error.
13361 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
13362 (_fpioconst_pow10): Change array size to
13363 FPIOCONST_POW10_ARRAY_SIZE.
13364 * stdlib/gen-fpioconst.c: New file.
13365 * stdlib/gen-tst-strtod-round.c: Likewise.
13366 * stdlib/tst-strtod-round-data: Likewise.
13367 * stdlib/tst-strtod-round.c: Likewise.
13368 * stdlib/Makefile (tests): Add tst-strtod-round.
13369
d6e70f43
JM
13370 [BZ #14459]
13371 * stdlib/strtod_l.c: Include <stdint.h>.
13372 (NDEBUG): Do not define.
13373 (round_and_return): Change EXPONENT parameter to type intmax_t.
13374 Rearrange calculations to avoid internal overflow possibilities.
13375 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
13376 Rearrange calculations to avoid internal overflow possibilities.
13377 Assert that number fits inside MPNSIZE limbs.
13378 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
13379 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
13380 calculations and add assertions to avoid internal overflow
13381 possibilities. Add casts to avoid signed/unsigned operations.
13382 * stdlib/tst-strtod-overflow.c: New file.
13383 * stdlib/Makefile (tests): Add tst-strtod-overflow.
13384
1f529f7d
MP
133852012-08-25 Marek Polacek <polacek@redhat.com>
13386
13387 * time/time.h: Fix some typos in comments.
13388
59a629f1
RM
133892012-08-23 Roland McGrath <roland@hack.frob.com>
13390
13391 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
13392 * posix/tst-rfc3484-2.c: Likewise.
13393 * posix/tst-rfc3484-3.c: Likewise.
13394
d3bafbc9
SM
133952012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
13396
13397 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
13398 (EF_ARM_ABI_FLOAT_HARD): Likewise.
13399
4efcc022
JM
134002012-08-23 Joseph Myers <joseph@codesourcery.com>
13401
13402 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
13403 #include of fxstatat64.c.
13404
3cc3ef96
RM
134052012-08-22 Roland McGrath <roland@hack.frob.com>
13406
f04e2132
RM
13407 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
13408 * shadow/getspent_r.c: Likewise.
13409 * shadow/getspnam.c: Likewise.
13410 * shadow/getspnam_r.c: Likewise.
13411 * gshadow/getsgent.c: Likewise.
13412 * gshadow/getsgent_r.c: Likewise.
13413 * gshadow/getsgnam.c: Likewise.
13414 * gshadow/getsgnam_r.c: Likewise.
13415 * inet/getnetbyad.c: Likewise.
13416 * inet/getnetbyad_r.c: Likewise.
13417 * inet/getnetbynm.c: Likewise.
13418 * inet/getnetbynm_r.c: Likewise.
13419 * inet/getnetent.c: Likewise.
13420 * inet/getnetent_r.c: Likewise.
13421 * inet/getproto.c: Likewise.
13422 * inet/getproto_r.c: Likewise.
13423 * inet/getprtent.c: Likewise.
13424 * inet/getprtent_r.c: Likewise.
13425 * inet/getprtname.c: Likewise.
13426 * inet/getprtname_r.c: Likewise.
13427 * inet/getrpcbyname.c: Likewise.
13428 * inet/getrpcbyname_r.c: Likewise.
13429 * inet/getrpcbynumber.c: Likewise.
13430 * inet/getrpcbynumber_r.c: Likewise.
13431 * inet/getrpcent.c: Likewise.
13432 * inet/getrpcent_r.c: Likewise.
13433 * inet/getaliasent.c: Likewise.
13434 * inet/getaliasent_r.c: Likewise.
13435 * inet/getaliasname.c: Likewise.
13436 * inet/getaliasname_r.c: Likewise.
13437 * nscd/getgrgid_r.c: Likewise.
13438 * nscd/getgrnam_r.c: Likewise.
13439 * nscd/gethstbyad_r.c: Likewise.
13440 * nscd/gethstbynm3_r.c: Likewise.
13441 * nscd/getpwnam_r.c: Likewise.
13442 * nscd/getpwuid_r.c: Likewise.
13443 * nscd/getsrvbynm_r.c: Likewise.
13444 * nscd/getsrvbypt_r.c: Likewise.
13445 * nscd/gai.c: Likewise.
13446
c53d909c
RM
13447 * configure.in (build_nscd): New substituted variable, set
13448 by --disable-build-nscd and defaults to $use_nscd.
13449 * configure: Regenerated.
13450 * config.make.in (build-nscd): New substituted variable.
13451 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
13452 Change conditional to require [$(build-nscd) = yes] as well.
13453 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
13454
3cc3ef96
RM
13455 [BZ# 13696]
13456 * configure.in (use_nscd): New substituted variable, set by
13457 --disable-nscd. If enabled, define USE_NSCD.
13458 * configure: Regenerated.
13459 * config.h.in: Add USE_NSCD.
13460 * config.make.in (use-nscd): New substituted variable.
13461 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
13462 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
13463 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
13464 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
13465 (CFLAGS-getgrnam_r.c): Likewise.
13466 (CFLAGS-initgroups.c): Likewise.
13467 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
13468 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
13469 Variables removed.
13470 * inet/getnetgrent_r.c
13471 (nscd_setnetgrent): New function, broken out of ...
13472 (setnetgrent): ... here. Call it.
13473 (innetgr): Conditionalize nscd bits on [USE_NSCD].
13474 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
13475 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
13476 * nscd/Makefile (routines, aux): Move definitions after include of
13477 Makeconfig. Conditionalize on [$(use-nscd) != no].
13478 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
13479 Conditionalize on [USE_NSCD].
13480 (is_nscd, nscd_init_cb): Likewise.
13481 (nss_load_library): Conditionalize init callback on [USE_NSCD].
13482 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
13483 * nss/nss_db/db-init.c: Likewise.
13484 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
13485 [USE_NSCD].
13486 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
13487 (make_request): Use it.
13488 (cache_valid_p): New function.
13489 (__check_pf): Use it.
13490 * NEWS: Add item for --disable-nscd.
13491
07e51550
DL
134922012-08-22 Dmitry V. Levin <ldv@altlinux.org>
13493
13494 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
13495 to support sed >= 4.2.1-20-ga9bf076.
13496 * configure: Regenerated.
13497
35a5b08b
RM
134982012-08-22 Roland McGrath <roland@hack.frob.com>
13499
13500 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
13501 Conditionalize whole body on [IREL].
13502
8479f23a
JL
135032012-08-22 Jeff Law <law@redhat.com>
13504
13505 [BZ #14505]
13506 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
13507 if the family is PF_UNSPEC.
13508
48da0b21
MF
135092012-08-22 Mike Frysinger <vapier@gentoo.org>
13510
13511 * Makerules (lib-version): Rename from V.
13512 (install-lib-nosubdir): Change V to lib-version.
13513
15d0da8c
WS
135142012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
13515
13516 [BZ #14252]
13517 * powerpc32/power6/wcschr.c: New file.
13518 * powerpc32/power6/wcscpy.c: New file.
13519 * powerpc32/power6/wcsrchr.c: New file.
13520 * powerpc64/power6/wcschr.c: New file.
13521 * powerpc64/power6/wcscpy.c: New file.
13522 * powerpc64/power6/wcsrchr.c: New file.
13523
bcca0895
MK
135242012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
13525
13526 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
13527 (two_way_short_needle): Use it.
5a4aaa33
RM
13528 * string/strstr.c (AVAILABLE1_USES_J): Define.
13529 * string/strcasestr.c: Likewise.
99677e57
MK
13530
13531 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
13532 array references.
13533 * string/strcasestr.c (TOLOWER): Make side-effect safe.
13534
400726de
MK
13535 [BZ #11607]
13536 * NEWS: Add an entry.
13537 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
13538 define their defaults.
13539 (two_way_short_needle): Detect end-of-string on-the-fly.
13540 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
13541 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
13542 * string/bug-strcasestr1.c: New test.
13543 * string/Makefile: Run it.
13544
20a71f2c
MK
135452012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
13546
13547 [BZ #11607]
13548 * string/str-two-way.h (two_way_short_needle): Optimize matching of
13549 the first character.
13550
21ad0558
RM
135512012-08-21 Roland McGrath <roland@hack.frob.com>
13552
13553 * csu/elf-init.c (__libc_csu_irel): Function removed.
13554 * csu/libc-start.c (apply_irel): New function.
13555 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
13556
0e1d9911
JM
135572012-08-21 Joseph Myers <joseph@codesourcery.com>
13558
13559 * sysdeps/unix/sysv/linux/kernel-features.h
13560 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
13561 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
13562 <kernel-features.h>.
13563 [__NR_fadvise64_64]: Make code unconditional.
13564 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
13565 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13566 !__NR_fadvise64_64)]: Likewise.
13567 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13568 !__NR_fadvise64_64))]: Likewise.
13569 [__NR_fadvise64]: Make code unconditional.
13570 [!__NR_fadvise64]: Remove conditional code.
13571 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
13572 <kernel-features.h>.
13573 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13574 unconditional.
13575 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13576 conditional code.
13577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
13578 not include <kernel-features.h>.
13579 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13580 unconditional.
13581 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13582 conditional code.
13583 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
13584 include <kernel-features.h>.
13585 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13586 unconditional.
13587 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13588 conditional code.
13589
14a50c9d
WS
135902012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
13591
13592 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
13593 slight instruction rearrangements per scrollpipe analysis.
13594 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
13595
c0f4faf0
RM
135962012-08-20 Roland McGrath <roland@hack.frob.com>
13597
696da859
RM
13598 * manual/syslog.texi (syslog; vsyslog, closelog):
13599 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
13600 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
13601
c0f4faf0
RM
13602 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
13603 DSOCAPS to match condition on defining it.
13604
348363b2
JM
136052012-08-20 Joseph Myers <joseph@codesourcery.com>
13606
a35cbf28
JM
13607 * sysdeps/unix/sysv/linux/kernel-features.h
13608 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
13609 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
13610 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13611 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13612 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
13613 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13614 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
13616 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13617 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13618
445f7ecd
JM
13619 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
13620 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
13621
348363b2
JM
13622 * sysdeps/unix/sysv/linux/kernel-features.h
13623 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
13624 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
13625 unconditional.
13626 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13627 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
13628 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13629 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13630 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
13631 Make code unconditional.
13632 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13633 (__mmap64) [!__NR_mmap2]: Likewise.
13634 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
13635 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13636 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13637 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
13638 [__NR_mmap2]: Make code unconditional.
13639 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13640 (__mmap64) [!__NR_mmap2]: Likewise.
13641
bc5bc0e5
AK
136422012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13643
13644 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
13645
88d506de
AJ
136462012-08-18 Andreas Jaeger <aj@suse.de>
13647
13648 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
13649
493387d2
MF
136502012-08-18 Mike Frysinger <vapier@gentoo.org>
13651
13652 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
13653 * include/unistd.h (__have_sock_cloexec): Likewise.
13654 (__have_pipe2): Likewise.
13655 (__have_dup3): Likewise.
13656
a277af22
MF
136572012-08-18 Mike Frysinger <vapier@gentoo.org>
13658
13659 [BZ #9685]
13660 * include/unistd.h (__have_pipe2): Change define into an extern int.
13661 (__have_dup3): Likewise.
13662 * socket/have_sock_cloexec.c: Include fcntl.h.
13663 (__have_pipe2): New variable.
13664 (__have_dup3): Likewise.
13665
fdab8fd3
MF
136662012-08-17 Mike Frysinger <vapier@gentoo.org>
13667
13668 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
13669
31035e80
MP
136702012-08-17 Marek Polacek <polacek@redhat.com>
13671
13672 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
13673 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
13674
3bd9e993
RM
136752012-08-17 Roland McGrath <roland@hack.frob.com>
13676
c91c505f
RM
13677 * configure.in: Add AC_SUBST for sysheaders.
13678 * configure: Regenerated.
13679 * config.make.in (sysheaders): New substituted variable.
13680
7c6f9d53
RM
13681 * sysdeps/unix/mkfifo.c: Moved ...
13682 * sysdeps/posix/mkfifo.c: ... here.
13683 * sysdeps/unix/mkfifoat.c: Moved ...
13684 * sysdeps/posix/mkfifoat.c: ... here.
13685
13686 * sysdeps/unix/utime.c: Moved ...
13687 * sysdeps/posix/utime.c: ... here.
13688
13689 * sysdeps/unix/time.c: Moved ...
13690 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
13691 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
13692 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
13693
13694 * sysdeps/unix/nice.c: Moved ...
13695 * sysdeps/posix/nice.c: ... here.
13696
13697 * sysdeps/unix/alarm.c: Moved ...
13698 * sysdeps/posix/alarm.c: ... here.
13699
3bd9e993
RM
13700 * intl/Makefile ($(codeset_mo)): Depend on the input file.
13701
d1f09384
JL
137022012-08-17 Jeff Law <law@redhat.com>
13703
13704 * intl/Makefile (codeset_mo): New variable.
13705 ($(codeset_mo)): New target.
13706 (tst-codeset.out): Depend on that. Remove explicit rule.
13707 (tst-gettext3.out, tst-gettext5.out): Likewise.
13708 (LOCPATH-ENV, tst-codeset-ENV): New variables.
13709 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
13710 * intl/tst-codeset.sh: Remove.
13711 * intl/tst-gettext3.sh: Likewise.
13712 * intl/tst-gettext5.sh: Likewise.
13713
2ae1ae5c
RM
137142012-08-17 Roland McGrath <roland@hack.frob.com>
13715
c31fdb83
RM
13716 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
13717 * sysdeps/unix/syscalls.list: ... here.
13718
a0844057
RM
13719 * sysdeps/posix/getaddrinfo.c
13720 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
13721 (gaiconf_init, gaiconf_reload): Use them.
13722 [!_STATBUF_ST_NSEC]
13723 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
13724 Define using time_t rather than struct timespec.
13725
750c1f2a
RM
13726 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
13727 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
13728 Macros removed.
13729 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
13730 [!NO_THREADS].
13731 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
13732 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
13733 Likewise.
13734
2ae1ae5c
RM
13735 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
13736 __libc_cleanup_push argument.
13737
e66a42f5
RM
13738 * bits/param.h: New file.
13739 * misc/sys/param.h: New file.
13740 * include/sys/param.h: New file.
13741 * misc/Makefile (headers): Add bits/param.h.
13742 * sysdeps/generic/sys/param.h: File removed.
13743 * sysdeps/unix/sysv/linux/bits/param.h: New file.
13744 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
13745 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 13746 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 13747
b7c08a66
RM
13748 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
13749 last change.
13750
b2e1c562
RM
13751 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
13752 [_IO_MTSAFE_IO].
13753 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
13754 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
13755 New macros.
13756
c75ccd4c
RM
13757 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
13758 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
13759 rather than -D_IO_MTSAFE_IO conditionally.
13760 * stdio-common/Makefile (CPPFLAGS): Likewise.
13761 * wcsmbs/Makefile (CPPFLAGS): Likewise.
13762 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
13763 Use $(libio-mtsafe).
13764 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
13765 of -D_IO_MTSAFE_IO.
13766 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
13767 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
13768 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
13769 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
13770 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
13771 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
13772 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
13773 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
13774 (CFLAGS-fread_u_chk.c): Likewise.
13775 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
13776 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
13777 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
13778 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
13779 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
13780 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
13781 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
13782 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
13783 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
13784
13785 * libio/Makefile: Test [$(libc-reentrant) = yes]
13786 instead of [$(filter %REENTRANT, $(defines)) nonempty].
13787
13788 * Makeconfig
13789 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
13790 * sysdeps/pthread/configure: File removed.
13791 * sysdeps/pthread/Makeconfig: New file.
13792 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
13793 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
13794
d9195db8
GB
137952012-08-16 Gary Benson <gbenson@redhat.com>
13796
13797 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
13798 unmapping the first object in a namespace.
13799
86466cd9
RM
138002012-08-16 Roland McGrath <roland@hack.frob.com>
13801
13802 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
13803 (__internal_setnetgrent): ... this. Add internal_function to
13804 definition. Add libc_hidden_def.
13805 (setnetgrent): Update caller.
13806 (internal_endnetgrent): Renamed to ...
13807 (__internal_endnetgrent): ... this. Add internal_function to
13808 definition. Add libc_hidden_def.
13809 (endnetgrent): Update caller.
13810 (internal_getnetgrent_r): Renamed to ...
13811 (__internal_getnetgrent_r): ... this. Add internal_function to
13812 definition. Add libc_hidden_def.
13813 (__getnetgrent_r): Update caller.
13814 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
13815
c3c8283c
JM
138162012-08-16 Joseph Myers <joseph@codesourcery.com>
13817
13818 * stdlib/longlong.h: Update from GCC.
13819
db1ee0a8
RM
138202012-08-16 Roland McGrath <roland@hack.frob.com>
13821
13822 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
13823 on _QL, which is set by umul_ppmm but never used.
13824 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
13825 variables, which are set by GMP macros but never used.
13826 * stdio-common/_itowa.c (_itowa): Likewise.
13827 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
13828 * stdlib/mod_1.c (mpn_mod_1): Likewise.
13829
30f69637
CD
138302012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
13831
13832 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
13833 struct La_sh_regs is not constant.
13834 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
13835 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
13836 and struct La_sparc64_regs are not constant.
13837
93a78ac4
JM
138382012-08-16 Joseph Myers <joseph@codesourcery.com>
13839
13840 * sysdeps/unix/sysv/linux/kernel-features.h
13841 (__ASSUME_POSIX_TIMERS): Remove.
13842 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13843 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13844 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
13845 Make code unconditional.
13846 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13847 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
13848 Make code unconditional.
13849 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13850 * sysdeps/unix/sysv/linux/clock_nanosleep.c
13851 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
13852 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13853 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
13854 Make code unconditional.
13855 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13856 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
13857 (__libc_missing_posix_timers): Remove.
13858
dd924cd7
RM
138592012-08-15 Roland McGrath <roland@hack.frob.com>
13860
4b4f2771
RM
13861 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
13862 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
13863
601c888b
RM
13864 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
13865
176790a7
RM
13866 * elf/dl-sym.c: Include <stdlib.h>.
13867
329bc018
RM
13868 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
13869 constants, which avoids warnings in 32-bit builds.
13870
e04e272d
RM
13871 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
13872 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
13873
952bf94a
RM
13874 * misc/lseek.c: File moved to ...
13875 * io/lseek.c: ... here.
13876
7c99b50a
RM
13877 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
13878
dd924cd7
RM
13879 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
13880 shifting LEN more than 31 bits at once.
13881
b3f479a8
LD
138822012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13883
13884 [BZ #14195]
8c4ae0d4
RM
13885 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
13886 segmentation fault for a case of two empty input strings.
b3f479a8
LD
13887 * string/test-strncasecmp.c (check1): Renamed to...
13888 (bz12205): ...this.
13889 (bz14195): Add new testcase for two empty input strings and N > 0.
13890 (test_main): Call new testcase, adapt for renamed function.
13891
9c55864e
AJ
138922012-08-15 Andreas Jaeger <aj@suse.de>
13893
13894 [BZ #14090]
13895 * crypt/md5test2.c: New test, based on test supplied by Serge
13896 Belyshev <belyshev@depni.sinp.msu.ru>.
13897 * crypt/Makefile (xtests): Add md5test-giant..
13898 * crypt/Makefile ($(objpfx)md5test-giant): Add.
13899
02dcb6c5
PE
139002012-08-15 Paul Eggert <eggert@cs.ucla.edu>
13901
13902 [BZ #14090]
13903 * crypt/md5.c (md5_process_block): Don't assume the buffer
13904 length is less than 2**32.
13905 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
13906 length is less than 2**64.
13907
a3f95dcc
RM
139082012-08-15 Roland McGrath <roland@hack.frob.com>
13909
be75d758
RM
13910 * string/str-two-way.h: Include <sys/param.h>.
13911 (MAX): Macro removed.
13912
7312ca90
RM
13913 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
13914 Move #define and #undef of memmove to just before and after
13915 including <string.h>.
13916
9a0a5486
RM
13917 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
13918 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
13919 and after including <string.h>. Move declarations of
13920 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
13921 to before #include "string/memmove.c".
13922
67cc348d
RM
13923 * include/dirent.h: Declare __getdirentries.
13924
a3f95dcc
RM
13925 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
13926 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
13927
ca98e171
MF
139282012-08-14 Mike Frysinger <vapier@gentoo.org>
13929
13930 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
13931 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
13932 * sysdeps/i386/configure: Regenerated.
13933 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
13934 STABS_CURRENT_FILE, and STABS_FUN.
13935 (END): Remove call to STABS_FUN_END.
13936 (STABS_CURRENT_FILE1): Delete.
13937 (STABS_CURRENT_FILE): Likewise.
13938 (STABS_FUN): Likewise.
13939 (STABS_FUN_END): Likewise.
13940 (STABS_FUN2): Likewise.
13941 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
13942 * sysdeps/x86_64/configure: Regenerated.
13943
5908bf46
RM
139442012-08-14 Roland McGrath <roland@hack.frob.com>
13945
13946 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 13947 * elf/dl-lookup.c: Likewise.
5908bf46 13948
f2c05b9e
JM
139492012-08-14 Joseph Myers <joseph@codesourcery.com>
13950
13951 * sysdeps/unix/sysv/linux/kernel-features.h
13952 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
13953 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
13954 unconditionally.
13955 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
13956 unconditionally.
13957 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
13958 condition on __ASSUME_CLONE_THREAD_FLAGS.
13959
e11f5155
AJ
139602012-08-14 Andreas Jaeger <aj@suse.de>
13961
13962 * sysdeps/i386/fpu/libm-test-ulps: Update.
13963
51a9ba86
MK
139642012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
13965
2fdd4f78
AJ
13966 * include/atomic.h (atomic_exchange_and_add): Split into ...
13967 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
13968 New atomic macros.
51a9ba86 13969
ba6cba9e
MT
139702012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
13971
13972 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13973
42443a47
JL
139742012-08-13 Jeff Law <law@redhat.com>
13975
13976 * manual/stdio.texi (snprintf): Clarify handling of the trailing
13977 null byte in the output string.
13978
121dce05
JM
139792012-08-10 Joseph Myers <joseph@codesourcery.com>
13980
13981 * sysdeps/unix/sysv/linux/kernel-features.h
13982 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
13983 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
13984 (__ASSUME_ARG_MAX_STACK_BASED): Define.
13985 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
13986 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
13987 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
13988 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
13989
bf51f568
JL
139902012-08-09 Jeff Law <law@redhat.com>
13991
13992 [BZ #13939]
13993 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
13994 When avoid_arena is set, don't retry in the that arena. Pick the
13995 next one, whatever it might be.
13996 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
13997 (arena_lock): Pass in new parameter to arena_get2.
13998 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
13999 arena_get2.
14000 (__libc_malloc): Unify retrying after main arena failure with
14001 __libc_memalign version.
14002 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
14003
f85fa270
L
140042012-08-09 H.J. Lu <hongjiu.lu@intel.com>
14005
14006 [BZ #14166]
14007 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
14008 to __redirect_strstr.
14009 (__strstr_sse42): Use typeof __redirect_strstr.
14010 (__strstr_ia32): Likewise.
14011 (__libc_strstr): New prototype.
14012 (strstr): Renamed to ...
14013 (__libc_strstr): This.
14014 (strstr): New strong alias of __libc_strstr.
14015 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
14016 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
14017 __redirect_time.
14018 Include <time.h>.
14019 (__libc_time): New prototype.
14020 (time_ifunc): Replace time with __libc_time.
14021 (time): New strong alias and hidden definition of __libc_time.
14022 (__GI_time): Remove strong alias.
14023 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
14024 Include <stddef.h>.
14025 (memmove): Redefined to __redirect_memmove.
14026 (__memmove_sse2): Use typeof __redirect_memmove.
14027 (__memmove_ssse3): Likewise.
14028 (__memmove_ssse3_back): Likewise.
14029 (__libc_memmove): New prototype.
14030 (memmove): Renamed to ...
14031 (__libc_memmove): This.
14032 (memmove): New strong alias of __libc_memmove.
14033
33b4a91e
MS
140342012-08-08 Mark Salter <msalter@redhat.com>
14035
14036 * elf/elf.h
14037 (R_MN10300_TLS_GD): Define.
14038 (R_MN10300_TLS_LD): Likewise.
14039 (R_MN10300_TLS_LDO): Likewise.
14040 (R_MN10300_TLS_GOTIE): Likewise.
14041 (R_MN10300_TLS_IE): Likewise.
14042 (R_MN10300_TLS_LE): Likewise.
14043 (R_MN10300_TLS_DTPMOD): Likewise.
14044 (R_MN10300_TLS_DTPOFF): Likewise.
14045 (R_MN10300_TLS_TPOFF): Likewise.
14046 (R_MN10300_SYM_DIFF): Likewise.
14047 (R_MN10300_ALIGN): Likewise.
14048 (R_MN10300_NUM): Update.
14049
b36137f1
JM
140502012-08-08 Joseph Myers <joseph@codesourcery.com>
14051
14052 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
14053 Remove.
14054
cdd915fd
RM
140552012-08-08 Roland McGrath <roland@hack.frob.com>
14056
a2433aac
RM
14057 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
14058
cdd915fd
RM
14059 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
14060 sysdeps/unix -> sysdeps/posix move.
14061 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
14062
bf9b740a
AM
140632012-08-07 Allan McRae <allan@archlinux.org>
14064
14065 [BZ #14303]
14066 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
14067 (SUNOS_CPP): Likewise.
14068 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
14069 not found.
14070 (open_input): Call CPP using execvp.
14071
93df14ee
JM
140722012-08-07 Joseph Myers <joseph@codesourcery.com>
14073
14074 * sysdeps/unix/sysv/linux/kernel-features.h
14075 (__ASSUME_PROT_GROWSUPDOWN): Remove.
14076 (__ASSUME_NO_CLONE_DETACHED): Likewise.
14077 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14078 (__ASSUME_WAITID_SYSCALL): Likewise.
14079 * sysdeps/unix/sysv/linux/dl-execstack.c
14080 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
14081 code unconditional.
14082 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
14083 conditional code.
14084 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
14085 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
14086 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
14087 code.
14088 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
14089 unconditional.
14090 [__ASSUME_WAITID_SYSCALL]: Likewise.
14091 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
14092
d34689de
RM
140932012-08-07 Roland McGrath <roland@hack.frob.com>
14094
a281decc
RM
14095 * sysdeps/unix/closedir.c: Renamed to ...
14096 * sysdeps/posix/closedir.c: ... here.
14097 * sysdeps/unix/dirfd.c: Renamed to ...
14098 * sysdeps/posix/dirfd.c: ... here.
14099 * sysdeps/unix/dirstream.h: Renamed to ...
14100 * sysdeps/posix/dirstream.h: ... here.
14101 * sysdeps/unix/fdopendir.c: Renamed to ...
14102 * sysdeps/posix/fdopendir.c: ... here.
14103 * sysdeps/unix/opendir.c: Renamed to ...
14104 * sysdeps/posix/opendir.c: ... here.
14105 * sysdeps/unix/readdir.c: Renamed to ...
14106 * sysdeps/posix/readdir.c: ... here.
14107 * sysdeps/unix/readdir_r.c: Renamed to ...
14108 * sysdeps/posix/readdir_r.c: ... here.
14109 * sysdeps/unix/rewinddir.c: Renamed to ...
14110 * sysdeps/posix/rewinddir.c: ... here.
14111 * sysdeps/unix/seekdir.c: Renamed to ...
14112 * sysdeps/posix/seekdir.c: ... here.
14113 * sysdeps/unix/telldir.c: Renamed to ...
14114 * sysdeps/posix/telldir.c: ... here.
14115 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
14116 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
14117 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
14118 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
14119
22895b47
RM
14120 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
14121 * bits/fcntl.h: ... here.
14122
707a53b6
RM
14123 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
14124 not 0.
14125 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
14126 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
14127 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
14128 (struct flock): Move l_start, l_len to the beginning.
14129 Use __pid_t for l_pid.
14130 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
14131 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
14132 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
14133 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
14134 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
14135 [__USE_LARGEFILE64] (struct flock64): New type.
14136 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
14137
f0bd3e25
RM
14138 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
14139 * bits/dirent.h: ... here.
14140
d34689de
RM
14141 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
14142 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
14143
6dad2c06
JM
141442012-08-07 Joseph Myers <joseph@codesourcery.com>
14145
14146 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14147 Change from 2.6.0 to 2.6.16.
14148 * sysdeps/unix/sysv/linux/configure: Regenerated.
14149 * sysdeps/unix/sysv/linux/kernel-features.h
14150 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
14151 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
14152 version.
14153 (__ASSUME_UTIMES): Likewise.
14154 (__ASSUME_CLONE_STOPPED): Remove.
14155 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
14156 architectures, not kernel version.
14157 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
14158 (__ASSUME_NO_CLONE_DETACHED): Likewise.
14159 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
14160 (__ASSUME_WAITID_SYSCALL): Likewise.
14161 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
14162 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
14163 * README: State 2.6.16 as minimum Linux kernel version. Do not
14164 refer to older versions.
14165
03af9520
RM
141662012-08-06 Roland McGrath <roland@hack.frob.com>
14167
8e49df1d
RM
14168 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
14169 Define alphasort64 as an alias.
14170 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
14171 Define versionsort64 as an alias.
14172 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
14173 Define scandir64 as an alias.
14174 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
14175 Define scandirat64 as an alias.
14176 * dirent/alphasort64.c (alphasort64):
14177 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
14178 * dirent/versionsort64.c: Likewise.
14179 * dirent/scandir64.c: Likewise.
14180 * dirent/scandirat64.c: Likewise.
14181 * sysdeps/wordsize-64/alphasort.c: File removed.
14182 * sysdeps/wordsize-64/alphasort64.c: File removed.
14183 * sysdeps/wordsize-64/scandir.c: File removed.
14184 * sysdeps/wordsize-64/scandir64.c: File removed.
14185 * sysdeps/wordsize-64/scandirat.c: File removed.
14186 * sysdeps/wordsize-64/scandirat64.c: File removed.
14187 * sysdeps/wordsize-64/versionsort.c: File removed.
14188 * sysdeps/wordsize-64/versionsort64.c: File removed.
14189 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
14190 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
14191 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
14192 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
14193 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
14194 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
14195 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
14196 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
14197
14198 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
14199 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14200 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
14201 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14202 [defined __arch64__ || defined __sparcv9]
14203 (__INO_T_MATCHES_INO64_T): New macro.
14204 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14205 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
14206 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
14207 * sysdeps/unix/sysv/linux/bits/dirent.h
14208 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
14209 (_DIRENT_MATCHES_DIRENT64): New macro.
14210
03af9520
RM
14211 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
14212 Define lockf64 as an alias.
14213 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
14214 Define fseeko64 as an alias.
14215 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
14216 Define ftello64 as an alias.
14217 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
14218 Define _IO_fgetpos64 and fgetpos64 as aliases.
14219 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
14220 Define _IO_fsetpos64 and fsetpos64 as aliases.
14221 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
14222 Conditionalize body on this.
14223 * libio/fseeko64.c: Likewise.
14224 * libio/ftello64.c: Likewise.
14225 * libio/iofgetpos64.c: Likewise.
14226 * libio/iofsetpos64.c: Likewise.
14227 * sysdeps/wordsize-64/lockf.c: File removed.
14228 * sysdeps/wordsize-64/lockf64.c: File removed.
14229 * sysdeps/wordsize-64/fseeko.c: File removed.
14230 * sysdeps/wordsize-64/fseeko64.c: File removed.
14231 * sysdeps/wordsize-64/ftello.c: File removed.
14232 * sysdeps/wordsize-64/ftello64.c: File removed.
14233 * sysdeps/wordsize-64/iofgetpos.c: File removed.
14234 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
14235 * sysdeps/wordsize-64/iofsetpos.c: File removed.
14236 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
14237 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
14238 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
14239 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
14240 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
14241 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
14242 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
14243 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
14244 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
14245 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
14246 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
14247
14248 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14249 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14250 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
14251 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14252 [defined __arch64__ || defined __sparcv9]
14253 (__OFF_T_MATCHES_OFF64_T): New macro.
14254 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14255 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14256 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14257 (__OFF_T_MATCHES_OFF64_T): New macro.
14258
c5757acd
L
142592012-08-06 H.J. Lu <hongjiu.lu@intel.com>
14260
14261 * stdlib/secure-getenv.c (__secure_getenv): Replace
14262 GLIBC_2_16 with GLIBC_2_17.
14263
3a31811e
L
142642012-08-06 H.J. Lu <hongjiu.lu@intel.com>
14265
14266 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
14267 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
14268
faa2bccb
DM
142692012-08-03 David S. Miller <davem@davemloft.net>
14270
14271 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14272
85fe1997
JM
142732012-08-03 Joseph Myers <joseph@codesourcery.com>
14274
14275 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
14276 Remove.
14277 (__ASSUME_CORRECT_SI_PID): Likewise.
14278 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
14279 (__ASSUME_TMPFS_NAME): Likewise.
14280 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
14281 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
14282 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
14283 (HAVE_AUX_SECURE): Make definition unconditional.
14284 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
14285 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
14286
4f75b7a0
RM
142872012-08-03 Roland McGrath <roland@hack.frob.com>
14288
14289 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
14290 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
14291 * sysdeps/mach/hurd/eloop-threshold.h: New file.
14292 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14293 __eloop_threshold instead of SYMLOOP_MAX.
14294
14295 * sysdeps/generic/eloop-threshold.h: New file.
14296 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
14297 of MAXSYMLINKS.
14298 * elf/chroot_canon.c (chroot_canon): Likewise.
14299
7aab07e4
JM
143002012-08-03 Joseph Myers <joseph@codesourcery.com>
14301
14302 [BZ #13717]
14303 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14304 Change to 2.6.0 everywhere.
14305 * sysdeps/unix/sysv/linux/configure: Regenerated.
14306 * sysdeps/unix/sysv/linux/kernel-features.h
14307 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
14308 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
14309 kernel versions.
14310 (__ASSUME_POSIX_TIMERS): Define unconditionally.
14311 (__ASSUME_FUTEX_REQUEUE): Remove.
14312 (__ASSUME_STATFS64): Define unconditionally.
14313 (__ASSUME_AT_SECURE): Likewise.
14314 (__ASSUME_CORRECT_SI_PID): Likewise.
14315 (__ASSUME_TGKILL): Define without depending on kernel version for
14316 i386.
14317 (__ASSUME_UTIMES): Likewise.
14318 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
14319 kernel version.
14320 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
14321 (__ASSUME_TMPFS_NAME): Likewise.
14322 * README: Update reference to Linux kernel versions.
14323
b67e9372
MP
143242012-08-02 Marek Polacek <polacek@redhat.com>
14325
1f529f7d 14326 [BZ# 14150]
b67e9372
MP
14327 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
14328 libc_cv_asm_type_prefix with %.
14329 * configure: Regenerated.
d2441631
RM
14330 * include/libc-symbols.h: Remove comment about
14331 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
14332 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
14333 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
14334 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
14335 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
14336 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
14337 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
14338 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
14339 * elf/tst-unique2mod1.c: Likewise.
14340 * elf/tst-unique1mod2.c: Likewise.
14341 * elf/tst-unique1mod1.c: Likewise.
14342 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
14343 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
14344 Replace ASM_TYPE_DIRECTIVE with .type.
14345 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14346 * sysdeps/i386/sysdep.h: Likewise.
14347 * sysdeps/x86_64/sysdep.h: Likewise.
14348 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
14349 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14350 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 14351 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
14352 * sysdeps/powerpc/powerpc32/sysdep.h:
14353 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
14354 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
14355 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14356 * sysdeps/i386/fpu/e_powf.S: Likewise.
14357 * sysdeps/i386/fpu/e_expl.S: Likewise.
14358 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14359 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14360 * sysdeps/i386/fpu/e_pow.S: Likewise.
14361 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
14362 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14363 * sysdeps/i386/fpu/s_expm1.S: Likewise.
14364 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
14365 * sysdeps/i386/fpu/e_log2.S: Likewise.
14366 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14367 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14368 * sysdeps/i386/fpu/e_powl.S: Likewise.
14369 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14370 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
14371 * sysdeps/i386/fpu/e_logl.S: Likewise.
14372 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
14373 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
14374 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
14375 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14376 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14377 * sysdeps/i386/fpu/e_log.S: Likewise.
14378 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14379 * sysdeps/i386/fpu/e_logf.S: Likewise.
14380 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14381 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14382 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
14383 * sysdeps/i386/fpu/e_log10.S: Likewise.
14384 * sysdeps/i386/fpu/s_frexp.S: Likewise.
14385 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14386 * sysdeps/i386/fpu/s_asinh.S: Likewise.
14387 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
14388 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14389 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
14390 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
14391 * sysdeps/i386/i686/strtok.S: Likewise.
14392 * sysdeps/i386/i386-mcount.S: Likewise.
14393 * sysdeps/i386/strtok.S: Likewise.
14394 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
14395 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14396 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14397 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14398 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
14399 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14400 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
14401 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
14402 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14403 * sysdeps/x86_64/_mcount.S: Likewise.
14404 * sysdeps/x86_64/strtok.S: Likewise.
14405 * sysdeps/sh/_mcount.S: Likewise.
14406
2747bf9a
RM
144072012-08-01 Roland McGrath <roland@hack.frob.com>
14408
14409 * libio/iofopen.c: Include <fcntl.h>.
14410 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
14411 (_IO_fopen64, fopen64): Define as aliases.
14412 * libio/iofopen64.c: Include <fcntl.h>.
14413 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
14414 Conditionalize body on this.
14415 * sysdeps/wordsize-64/iofopen.c: File removed.
14416 * sysdeps/wordsize-64/iofopen64.c: File removed.
14417
3fb791b8
MP
144182012-08-01 Marek Polacek <polacek@redhat.com>
14419
14420 * libc/Makeconfig: Use elf in place of binfmt-subdir.
14421 Use dlfcn directly instead of a variable.
14422 (binfmt-subdir): Do not define.
14423 (dlfcn): Likewise.
14424
a9f1039f
JM
144252012-08-01 Joseph Myers <joseph@codesourcery.com>
14426
23bddc06
JM
14427 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
14428 Remove all definitions.
14429 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
14430 <kernel-features.h>.
14431 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
14432 (miss_F_GETOWN_EX): Remove all definitions.
14433 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
14434 macro definition.
14435 [!__ASSUME_FCNTL64]: Remove conditional code.
14436 [__ASSUME_FCNTL64]: Make code unconditional.
14437 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
14438 <kernel-features.h>.
14439 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
14440 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
14441 (lockf64) [__NR_fcntl64]: Make code unconditional.
14442 (lockf64) [__ASSUME_FCNTL64]: Likewise.
14443
a9f1039f
JM
14444 * sysdeps/unix/sysv/linux/kernel-features.h
14445 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
14446 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
14447 Make code unconditional.
14448 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14449 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14450 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
14451 [__NR_vfork]: Make code unconditional.
14452 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14453 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14454 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
14455 [__NR_vfork]: Make code unconditional.
14456 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14457 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14458
09c0ee5f
RM
144592012-08-01 Roland McGrath <roland@hack.frob.com>
14460
48aec5b9
RM
14461 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
14462 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
14463
cd97c966
RM
14464 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14465 Define mkstemp64 as an alias.
3f55550c
RM
14466 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14467 Define mkstemps64 as an alias.
cd97c966
RM
14468 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14469 Define mkostemp64 as an alias.
b8625cfc
RM
14470 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14471 Define mkostemps64 as an alias.
cd97c966
RM
14472 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
14473 Conditionalize body on this.
14474 * misc/mkostemp64.c: Likewise.
b8625cfc 14475 * misc/mkostemps64.c: Likewise.
3f55550c 14476 * misc/mkstemps64.c: Likewise.
cd97c966
RM
14477 * sysdeps/wordsize-64/mkstemp64.c: File removed.
14478 * sysdeps/wordsize-64/mkostemp64.c: File removed.
14479 * sysdeps/wordsize-64/mkostemp.c: File removed.
14480 * sysdeps/wordsize-64/mkstemp.c: File removed.
14481 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
14482 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
14483 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
14484 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
14485
09c0ee5f
RM
14486 [BZ #14138]
14487 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
14488 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
14489 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
14490 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
14491
14492 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
14493 compat_symbol macros from <shlib-compat.h> rather than the underlying
14494 default_symbol_version and symbol_version macros, so that DEFAULT
14495 lines in shlib-versions are respected.
14496 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
14497
7e66ee51
FW
144982012-08-01 Florian Weimer <fweimer@redhat.com>
14499
14500 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
14501 Declare with warn_unused_result.
14502 (setgid, setregid, setegid, setresgid): Likewise.
14503 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
14504 Likewise.
14505 * WUR-REPORT: Remove set*id functions.
14506
d2a54255
PT
145072012-07-31 Pino Toscano <toscano.pino@tiscali.it>
14508
14509 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
14510
7ecdb005
RM
145112012-07-31 Roland McGrath <roland@hack.frob.com>
14512
b4180a5e 14513 [BZ #10191]
789bd351
RM
14514 * include/sys/socket.h (__libc_accept, __libc_accept4):
14515 Add attribute_hidden.
14516 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
14517
40ce302d
RM
14518 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
14519 use of PTR_MANGLE.
14520 * inet/getnetgrent_r.c (setup): Likewise.
14521
7ecdb005
RM
14522 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
14523
e2eabb2c
DM
145242012-07-31 David S. Miller <davem@davemloft.net>
14525
14526 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14527
d0419dbf
JM
145282012-07-31 Joseph Myers <joseph@codesourcery.com>
14529
14530 [BZ #13629]
14531 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
14532 value between 1.0 and 2.0 and smaller part has absolute value less
14533 than 1.0.
14534 * math/s_clog10.c (__clog10): Likewise.
14535 * math/s_clog10f.c (__clog10f): Likewise.
14536 * math/s_clog10l.c (__clog10l): Likewise.
14537 * math/s_clogf.c (__clogf): Likewise.
14538 * math/s_clogl.c (__clogl): Likewise.
14539 * math/libm-test.inc (clog_test): Add more tests.
14540 (clog10_test): Likewise.
14541 * sysdeps/i386/fpu/libm-test-ulps: Update.
14542 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14543
2bc13872
FW
145442012-07-31 Florian Weimer <fweimer@redhat.com>
14545
14546 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
14547 Exit with zero in case no suitable GID is found, and write a
14548 message to standard error.
14549
bea9b193
RM
145502012-07-30 Roland McGrath <roland@hack.frob.com>
14551
14552 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
14553 rather than to 1.
14554 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
14555 (MAXPATHLEN): Removed.
14556 (NOGROUP, NODEV): New macros.
14557 (setbit, clrbit, isset, isclr): New macros.
14558 (howmany, roundup, powerof2): New macros.
14559 (DEV_BSIZE): New macro.
14560
14561 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
14562 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
14563
14564 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
14565 definition on [!__NO_LONG_DOUBLE_MATH].
14566
14567 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
14568 PTR_MANGLE and PTR_DEMANGLE.
14569
14570 * socket/accept4.c (accept4): Rename to __libc_accept4.
14571 Define accept4 as a weak alias.
14572
14573 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
14574 on [_DIRENT_HAVE_D_TYPE].
14575 * io/ftw.c (ftw_dir): Likewise.
14576
14577 * io/xmknod.c (__xmknod): Don't check PATH for being null.
14578
14579 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
14580
14581 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
14582 Use the BSD numbers rather than the arbitrary ones we had.
14583 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
14584 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
14585 (SIGXCPU, SIGXFSZ): New macros.
14586 (_NSIG): Now 32.
14587
14588 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
14589 initializer on [_LIBC_REENTRANT].
14590
14591 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
14592 definitions inside [_POSIX_MAPPED_FILES].
14593
14594 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
14595
14596 * dirent/opendir.c: Include <fcntl.h>.
14597
14598 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
14599 (__libc_getspecific): Likewise.
14600 (__libc_key_create): Likewise.
14601
14602 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
14603 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
14604 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
14605 (tmpfile64): Define as alias.
14606 * sysdeps/wordsize-64/tmpfile.c: File removed.
14607 * sysdeps/wordsize-64/tmpfile64.c: File removed.
14608 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
14609 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
14610
14611 * stdio-common/vfscanf.c: Include <stdbool.h>.
14612 * nss/makedb.c: Likewise.
14613 * stdio-common/_i18n_number.h: Likewise.
14614 * argp/argp-help.c: Likewise.
14615 * posix/wordexp.c: Likewise.
14616 * sysdeps/posix/spawni.c: Likewise.
14617 * nss/nss_files/files-initgroups.c: Likewise.
14618 * stdio-common/reg-modifier.c: Include <stdlib.h>.
14619 * nss/nss_files/files-initgroups.c: Likewise.
14620 * nss/nss_db/db-netgrp.c: Likewise.
14621 * nss/nss_db/db-initgroups.c: Likewise.
14622 * io/fchmodat.c: Include <sys/stat.h>.
14623
14624 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
14625 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
14626
14627 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
14628 [HAVE_MMAP].
14629
14630 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
14631 Add multiple inclusion protection.
14632
e5abc686
DM
146332012-07-27 David S. Miller <davem@davemloft.net>
14634
14635 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14636
815e6fa3
GB
146372012-07-27 Gary Benson <gbenson@redhat.com>
14638
14639 [BZ #14298]
14640 * elf/rtld.c: Include <stap-probe.h>.
14641 (dl_main): Added static probes "init_start" and "init_complete".
14642 * elf/dl-load.c: Include <stap-probe.h>.
14643 (lose): Take new parameter "nsid".
14644 Added static probe "map_failed".
14645 (_dl_map_object_from_fd): Pass namespace id to lose.
14646 Added static probe "map_start".
14647 (open_verify): Pass namespace id to lose.
14648 * elf/dl-open.c: Include <stap-probe.h>.
14649 (dl_open_worker) Added static probes "map_complete", "reloc_start"
14650 and "reloc_complete".
14651 * elf/dl-close.c: Include <stap-probe.h>.
14652 (_dl_close_worker): Added static probes "unmap_start" and
14653 "unmap_complete".
14654 * elf/rtld-debugger-interface.txt: New file documenting the above.
14655
9f98c16c
RM
146562012-07-26 Roland McGrath <roland@hack.frob.com>
14657
14658 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
14659 rather than a string variable.
14660 * sunrpc/rpc_main.c (h_output): Likewise.
14661 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
14662
f3c22df3
PT
146632012-07-26 Pino Toscano <toscano.pino@tiscali.it>
14664
14665 * inet/check_native.c: New file.
14666
3129cfc6
JM
146672012-07-26 Joseph Myers <joseph@codesourcery.com>
14668
da865e95
JM
14669 [BZ #13629]
14670 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
14671 if larger part has absolute value 1.0.
14672 * math/s_clog10.c (__clog10): Likewise.
14673 * math/s_clog10f.c (__clog10f): Likewise.
14674 * math/s_clog10l.c (__clog10l): Likewise.
14675 * math/s_clogf.c (__clogf): Likewise.
14676 * math/s_clogl.c (__clogl): Likewise.
14677 * math/libm-test.inc (clog_test): Add more tests.
14678 (clog10_test): Likewise.
14679 * sysdeps/i386/fpu/libm-test-ulps: Update.
14680 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14681
3129cfc6
JM
14682 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
14683 (pltexit): Likewise.
14684 (La_regs): Likewise.
14685 (La_retval): Likewise.
14686 (int_retval): Likewise.
14687 Update #error for removed macros to refer only to definitions in
14688 tst-audit.h.
14689 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
14690 macro.
14691 (pltexit): Likewise.
14692 (La_regs): Likewise.
14693 (La_retval): Likewise.
14694 (int_retval): Likewise.
14695 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
14696 macro.
14697 (pltexit): Likewise.
14698 (La_regs): Likewise.
14699 (La_retval): Likewise.
14700 (int_retval): Likewise.
14701 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
14702 macro.
14703 (pltexit): Likewise.
14704 (La_regs): Likewise.
14705 (La_retval): Likewise.
14706 (int_retval): Likewise.
14707 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
14708 macro.
14709 (pltexit): Likewise.
14710 (La_regs): Likewise.
14711 (La_retval): Likewise.
14712 (int_retval): Likewise.
14713 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
14714 macro.
14715 (pltexit): Likewise.
14716 (La_regs): Likewise.
14717 (La_retval): Likewise.
14718 (int_retval): Likewise.
14719 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
14720 macro.
14721 (pltexit): Likewise.
14722 (La_regs): Likewise.
14723 (La_retval): Likewise.
14724 (int_retval): Likewise.
14725 * sysdeps/generic/tst-audit.h: Update comment to refer only to
14726 macro definitions in tst-audit.h.
14727 * sysdeps/i386/tst-audit.h: New file.
14728 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
14729 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
14730 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
14731 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
14732 * sysdeps/sh/tst-audit.h: Likewise.
14733 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
14734 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
14735 * sysdeps/x86_64/tst-audit.h: Likewise.
14736
bfc07087
AJ
147372012-07-26 Andreas Jaeger <aj@suse.de>
14738
b1b2aaf8
AJ
14739 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
14740 ptrace.
14741
14742 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
14743 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
14744 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
14745 PTRACE_O_MASK.
14746 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
14747 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
14748 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
14749
bfc07087
AJ
14750 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
14751 value.
14752
14753 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
14754 _sigsys.
14755 (si_call_addr, si_syscall, si_arch): Define new macro.
14756 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
14757 _sigsys.
14758 (si_call_addr, si_syscall, si_arch): Define new marcro.
14759 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
14760 _sigsys.
14761 (si_call_addr, si_syscall, si_arch): Define new macro.
14762 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
14763 _sigsys.
14764 (si_call_addr, si_syscall, si_arch): Define new macro.
14765
89b4b02f
JM
147662012-07-25 Joseph Myers <joseph@codesourcery.com>
14767
14768 [BZ #13717]
14769 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14770 Change to 2.4.21 where previously 2.4.1.
14771 * sysdeps/unix/sysv/linux/configure: Regenerated.
14772 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
14773 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
14774 Linux kernel version.
14775 (__ASSUME_STD_AUXV): Remove.
14776 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
14777 kernel version.
14778 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
14779 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
14780 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
14781 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
14782 (__ASSUME_NETLINK_SUPPORT): Likewise.
14783 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
14784 (__no_netlink_support): Remove conditional definition.
14785 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
14786 Remove.
14787 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14788 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
14789 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
14790 (if_nameindex_ioctl): Remove.
14791 (if_nameindex_netlink): Do not handle __no_netlink_support.
14792 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14793 code.
14794 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
14795 Remove conditional code.
14796 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14797 code.
14798 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
14799 unconditional.
14800 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14801 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
14802 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
14803 Remove.
14804 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
14805 [!__ASSUME_STD_AUXV]: Remove conditional code.
14806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
14807 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
14808 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
14809 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
14810 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
14811 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14812 code.
14813 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14814 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14815 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
14816 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14817 conditional code.
14818 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14819 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14820 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14821 code.
14822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14823 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14824 conditional code.
14825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
14826 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14827 code unconditional.
14828 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14829 conditional code.
14830 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14831 unconditional.
14832 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14833 conditional code.
14834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14835 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14836 unconditional.
14837 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14838 conditional code.
14839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
14840 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14841 code unconditional.
14842 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14843 conditional code.
14844 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14845 unconditional.
14846 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14847 conditional code.
14848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
14849 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14850 code unconditional.
14851 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14852 conditional code.
14853 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14854 unconditional.
14855 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14856 conditional code.
14857
842a39cd
AS
148582012-07-25 Andreas Schwab <schwab@linux-m68k.org>
14859
14860 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
14861 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
14862 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
14863 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
14864 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
14865 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
14866 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
14867 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
14868 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
14869 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
14870 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
14871 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
14872 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
14873 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
14874 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
14875 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
14876 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
14877 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
14878 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
14879 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
14880 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
14881 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
14882 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14883
84b3fd84
FW
148842012-07-25 Florian Weimer <fweimer@redhat.com>
14885
14886 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
14887 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
14888 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
14889 Introduce __libc_secure_getenv.
0c7936d5
FW
14890 * stdlib/Versions (2.17): Add secure_getenv
14891 (GLIBC_PRIVATE): Add __libc_secure_getenv.
14892 * stdlib/secure-getenv.c: Rename __secure_getenv to
14893 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
14894 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
14895 * stdlib/tst-secure-getenv.c: New.
14896 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
14897 * manual/startup.texi (Environment Access): Document
14898 secure_getenv.
84b3fd84
FW
14899 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
14900 __libc_secure_getenv.
14901 * inet/ruserpass.c (ruserpass): Likewise.
14902 * malloc/mtrace.c (mtrace): Likewise.
14903 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 14904 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
14905 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
14906 * sysdeps/posix/tempname.c: Likewise. Evaluate
14907 HAVE_SECURE_GETENV.
14908 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 14909 __secure_getenv to __libc_secure_getenv.
84b3fd84 14910 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
14911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14912 Likewise.
14913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14914 Likewise.
14915 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
14916 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
14917 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14918 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
14919 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
14920 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14921 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 14922
56e49b71
JM
149232012-07-25 Joseph Myers <joseph@codesourcery.com>
14924
14925 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
14926 (struct La_i86_retval): Likewise.
14927 (struct La_x86_64_regs): Likewise.
14928 (struct La_x86_64_retval): Likewise.
14929 (struct La_x32_regs): Likewise.
14930 (struct La_x32_retval): Likewise.
14931 (struct La_ppc32_regs): Likewise.
14932 (struct La_ppc32_retval): Likewise.
14933 (struct La_ppc64_regs): Likewise.
14934 (struct La_ppc64_retval): Likewise.
14935 (struct La_sh_regs): Likewise.
14936 (struct La_sh_retval): Likewise.
14937 (struct La_s390_32_regs): Likewise.
14938 (struct La_s390_32_retval): Likewise.
14939 (struct La_s390_64_regs): Likewise.
14940 (struct La_s390_64_retval): Likewise.
14941 (struct La_sparc32_regs): Likewise.
14942 (struct La_sparc32_retval): Likewise.
14943 (struct La_sparc64_regs): Likewise.
14944 (struct La_sparc64_retval): Likewise.
14945 (struct audit_ifaces): Remove architecture-specific pltenter and
14946 pltexit members.
14947 * sysdeps/i386/ldsodefs.h: New file.
14948 * sysdeps/powerpc/ldsodefs.h: Likewise.
14949 * sysdeps/s390/ldsodefs.h: Likewise.
14950 * sysdeps/sh/ldsodefs.h: Likewise.
14951 * sysdeps/sparc/ldsodefs.h: Likewise.
14952 * sysdeps/x86_64/ldsodefs.h: Likewise.
14953
354691b7
MP
149542012-07-25 Marek Polacek <polacek@redhat.com>
14955
14956 [BZ #6808]
14957 * math/libm-test.inc (yn_test): Add another test.
14958 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
14959 to ERANGE when the result is +-Inf.
14960 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
14961 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
14962 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
14963 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
14964
bf9e2071
JM
149652012-07-24 Joseph Myers <joseph@codesourcery.com>
14966
14967 * conform/data/time.h-data (NULL): Use macro-constant. Require
14968 equal to 0.
14969 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
14970 clock_t.
14971 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
14972
57633811
TS
149732012-07-23 Thomas Schwinge <thomas@codesourcery.com>
14974
14975 * configure.in <sysdeps resolving>: Correct printing
14976 Implies_before.
14977 * configure: Regenerate.
14978
c23c33b0
TS
149792012-07-22 Thomas Schwinge <thomas@codesourcery.com>
14980
14981 * math/w_ilogb.c: Include <limits.h>.
14982 * math/w_ilogbl.c: Likewise.
14983
b5982523
JM
149842012-07-20 Joseph Myers <joseph@codesourcery.com>
14985
14986 * manual/lang.texi (__va_copy): Document primarily as ISO C99
14987 va_copy. Document allowing for unavailable va_copy only as
14988 pre-C99 compatibility.
14989 * manual/string.texi (Copying and Concatenation): Use va_copy
14990 instead of __va_copy in concat example.
14991
ac4ea442
PT
149922012-07-20 Pino Toscano <toscano.pino@tiscali.it>
14993
14994 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
14995 (__sendto): Use create_address_port. Initialize APORT and deallocate
14996 it if not null.
14997
f98eafbd
PT
14998 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
14999 with O_NOLINK passed to __file_name_lookup.
15000
898c7aab
PT
15001 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
15002 with O_NOLINK passed to __file_name_lookup.
15003
0ced335a
PT
15004 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
15005 negative N or less than NGIDS.
15006
b3404dbd
PT
15007 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
15008 type to string_t. Set ERANGE as errno and return it if NAME is not big
15009 enough. Use memcpy instead of strncpy.
15010
0f48659e
JM
150112012-07-20 Joseph Myers <joseph@codesourcery.com>
15012
15013 * elf/Makefile (check-data): Remove.
15014 (localplt.data): New vpath directive.
15015 ($(objpfx)check-localplt.out): Use localplt.data from vpath
15016 instead of $(check-data).
15017 * scripts/data/localplt-generic.data: Move to ...
15018 * sysdeps/generic/localplt.data: ... here.
15019 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
15020 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
15021 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
15022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
15023 ... here.
15024 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
15025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
15026 ... here.
15027 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
15028 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
15029 ... here.
15030 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
15031 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
15032 ... here.
15033 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
15034 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
15035 ... here.
15036 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
15037 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
15038 ... here.
15039
d37cbdaa
AZ
150402012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15041
15042 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
15043 PPC32 and PPC64 files.
15044 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
15045 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
15046
46f85fc2
AK
150472012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15048
15049 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
15050 __makecontext_ret to ...
15051 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
15052 ... here and call exit if uc_link is NULL. New file.
15053 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
15054 __makecontext_ret.S.
15055 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
15056 __makecontext_ret to ...
15057 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
15058 ... here and call exit if uc_link is NULL. New file.
15059 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
15060 __makecontext_ret.S.
15061
08f43f9b
AK
150622012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15063
15064 * elf/elf.h (R_390_IRELATIVE): New definition.
15065 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
15066 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
15067 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
15068 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
15069 (elf_machine_lazy_rel): Likewise.
15070 * sysdeps/s390/dl-irel.h: New file.
15071 * sysdeps/s390/s390-64/memcpy.S: New asm code.
15072 * sysdeps/s390/s390-64/memset.S: New asm code.
15073 * sysdeps/s390/s390-64/memcmp.S: New asm code.
15074 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
15075 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
15076 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
15077 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
15078 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
15079 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
15080 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
15081 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
15082 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
15083 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
15084 * sysdeps/s390/s390-32/memcpy.S: New asm code.
15085 * sysdeps/s390/s390-32/memset.S: New asm code.
15086 * sysdeps/s390/s390-32/memcmp.S: New asm code.
15087
3b05db33
MP
150882012-07-17 Marek Polacek <polacek@redhat.com>
15089
15090 [BZ #14349]
15091 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
15092 * sysdeps/s390/s390-64/configure.in: Likewise.
15093 * sysdeps/sparc/configure.in: Likewise.
15094 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
15095 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
15096 * sysdeps/i386/configure.in: Likewise.
15097 * sysdeps/x86_64/configure.in: Likewise.
15098 * sysdeps/sh/configure.in: Likewise.
15099 * sysdeps/s390/s390-32/configure: Regenerated.
15100 * sysdeps/s390/s390-64/configure: Likewise.
15101 * sysdeps/x86_64/configure: Likewise.
15102 * sysdeps/sh/configure: Likewise.
15103 * sysdeps/powerpc/powerpc64/configure: Likewise.
15104 * sysdeps/powerpc/powerpc32/configure: Likewise.
15105 * sysdeps/sparc/configure: Likwise.
15106 * sysdeps/i386/configure: Likewise.
15107
a66877c6
MP
15108 * elf/dl-open.c: Comment fixes.
15109
cfc82fd8
JM
151102012-07-17 Joseph Myers <joseph@codesourcery.com>
15111
bd29910a
JM
15112 * Makefile [CXX] (check-data): Remove.
15113 [CXX] (c++-types.data): New vpath directive.
15114 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
15115 vpath. Do not allow for C++ type data being missing.
15116 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
15117 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
15118 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
15119 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
15120 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
15121 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
15122 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
15123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
15124 ... here.
15125 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
15126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
15127 ... here.
15128 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
15129 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
15130 ... here.
15131 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
15132 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
15133 ... here.
15134 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
15135 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
15136 ... here.
15137 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
15138 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
15139 ... here.
15140 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
15141 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
15142 ... here.
15143 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
15144 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
15145
cfc82fd8
JM
15146 * elf/tls-macros.h (TLS_LE): Move architecture-specific
15147 definitions to architecture-specific files.
15148 (TLS_IE): Likewise.
15149 (TLS_LD): Likewise.
15150 (TLS_GD): Likewise.
15151 * sysdeps/i386/tls-macros.h: New file.
15152 * sysdeps/powerpc/tls-macros.h: Likewise.
15153 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
15154 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
15155 * sysdeps/sh/tls-macros.h: Likewise.
15156 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
15157 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
15158 * sysdeps/x86_64/tls-macros.h: Likewise.
15159
f7db3170
TS
151602012-07-17 Thomas Schwinge <thomas@codesourcery.com>
15161
07cbfc23
TS
15162 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
15163 zero value for regular exit case.
15164
f7db3170
TS
15165 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
15166 (__start_context): Preserve zero value for regular exit case.
15167
dc97c227
TS
151682012-07-17 Thomas Schwinge <thomas@codesourcery.com>
15169 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
15170
15171 * manual/setjmp.texi (setcontext): Clarify normal process
15172 termination when uc_link is the null pointer.
15173 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
15174 exit call.
15175
d0cd7d02
AS
151762012-07-16 Andreas Schwab <schwab@linux-m68k.org>
15177
15178 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
15179 preprocessor. Test for each exception mask separately.
15180
dd318934
AJ
151812012-07-16 Andreas Jaeger <aj@suse.de>
15182
15183 * po/ru.po: Update from translation team.
15184
8048311a
JM
151852012-07-15 Joseph Myers <joseph@codesourcery.com>
15186
15187 * conform/data/string.h-data (NULL): Use macro-constant. Require
15188 equal to 0.
15189 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
15190 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
15191 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
15192 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
15193 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15194
b637d46e
AJ
151952012-07-13 Andreas Jaeger <aj@suse.de>
15196
15197 * po/fr.po: Update from translation team.
15198
541428fe
MP
151992012-07-12 Marek Polacek <polacek@redhat.com>
15200
15201 [BZ #14173]
15202 * math/libm-test.inc (yn_test): Add test for BZ #14173.
15203 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
15204 loop condition.
15205
ec332e94
JM
152062012-07-12 Joseph Myers <joseph@codesourcery.com>
15207
15208 [BZ #13717]
15209 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15210 Change to 2.4.1 where previously 2.4.0.
15211 * sysdeps/unix/sysv/linux/configure: Regenerated.
15212 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
15213 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
15214 version.
15215 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
15216 (__ASSUME_AT_CLKTCK): Remove.
15217 (__ASSUME_AT_PAGESIZE): Likewise.
15218 (__ASSUME_AT_XID): Likewise.
15219 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
15220 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
15221 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
15222 unconditionally.
15223 (HAVE_AUX_PAGESIZE): Likewise.
15224 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
15225 [__ASSUME_AT_CLKTCK]: Make code unconditional.
15226 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
15227
7b6e99be
JB
152282012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
15229
15230 [BZ #14307]
15231 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
15232 the temporary buffer used to invoke __gethostbyname2_r,
15233 __gethostbyaddr_r and gethostbyname4_r to make room for struct
15234 host_data / struct gaih_addrtuple.
15235 * resolv/nss_dns/dns-host.c (global scope): Move definition of
15236 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
15237 header file nss/nsswitch.h.
15238 * nss/nsswitch.h (global scope): Add definition of implementation
15239 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
15240 resolv/nss_dns/dns-host.c).
15241
608404eb
AJ
152422012-07-11 Andreas Jaeger <aj@suse.de>
15243
15244 * po/fr.po: Update from translation team.
15245
71220aca
AJ
15246 * po/sv.po: Update from translation team
15247 * po/fr.po: Another update from translation team.
15248
28cfe843
AZ
152492012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15250
15251 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
15252 for subnormals or multiply small sinh result by itself.
15253 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15254 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15255
6b90f981
DM
152562012-07-11 David S. Miller <davem@davemloft.net>
15257
15258 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15259
c6825772
AS
152602012-07-10 Andreas Schwab <schwab@linux-m68k.org>
15261
15262 [BZ #14347]
15263 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
15264 (INTERNAL_MARK): Shift it here.
15265
7b8e0d49
MP
152662012-07-10 Marek Polacek <polacek@redhat.com>
15267
15268 [BZ #14151]
15269 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
15270 libc_cv_asm_global_directive with .globl.
15271 * configure: Regenerated.
15272 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
15273 with .globl.
15274 * sysdeps/i386/configure: Regenerated.
15275 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
15276 with .globl.
15277 * sysdeps/x86_64/configure: Regenerated.
15278 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
15279 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
15280 * elf/tst-unique2mod2.c: Likewise.
15281 * elf/tst-unique2mod1.c: Likewise.
15282 * elf/tst-unique1mod2.c: Likewise.
15283 * elf/tst-unique1mod1.c: Likewise.
15284 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15285 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15286 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15287 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15288 * sysdeps/mach/sysdep.h: Likewise.
15289 * sysdeps/i386/sysdep.h: Likewise.
15290 * sysdeps/i386/i386-mcount.S: Likewise.
15291 * sysdeps/x86_64/_mcount.S: Likewise.
15292 * sysdeps/x86_64/sysdep.h: Likewise.
15293 * sysdeps/sh/_mcount.S: Likewise.
15294 * sysdeps/sh/sysdep.h: Likewise.
15295 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
15296 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
15297 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
15298 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15299 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
15300 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
15301 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
15302 * locale/localeinfo.h: Likewise.
15303 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
15304 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
15305
6c55cda3
RM
153062012-07-09 Roland McGrath <roland@hack.frob.com>
15307
15308 [BZ #14336]
15309 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
15310 system".
15311 * manual/message.texi (The Uniforum approach): Likewise.
15312 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
15313 (glibc iconv Implementation): Likewise.
15314
638a572e
JM
153152012-07-09 Joseph Myers <joseph@codesourcery.com>
15316
15317 [BZ #14337]
15318 * math/s_clog.c (__clog): Avoid scaling a value down where that
15319 could result in underflow.
15320 * math/s_clog10.c (__clog10): Likewise.
15321 * math/s_clog10f.c (__clog10f): Likewise.
15322 * math/s_clog10l.c (__clog10l): Likewise.
15323 * math/s_clogf.c (__clogf): Likewise.
15324 * math/s_clogl.c (__clogl): Likewise.
15325 * math/libm-test.inc (clog_test): Add more tests.
15326 (clog10_test): Likewise.
15327 * sysdeps/i386/fpu/libm-test-ulps: Update.
15328 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15329
261f4859
AS
153302012-07-06 Andreas Schwab <schwab@linux-m68k.org>
15331
0abaf3e4
AS
15332 [BZ #14283]
15333 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
15334 by 7 not 8 to examine high bit of fractional part.
15335
261f4859
AS
15336 [BZ #14042]
15337 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
15338 for call to __mcount_internal.
15339 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
15340 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
15341 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
15342
f17ac40d
JM
153432012-07-06 Joseph Myers <joseph@codesourcery.com>
15344
9ad63c23
JM
15345 [BZ #14154]
15346 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
15347 approximation for values within 0x1p-13f of an odd multiple of
15348 pi/4.
15349 * math/libm-test.inc (tan_test): Do not allow spurious underflow
15350 exception. Add more tests.
15351 * sysdeps/i386/fpu/libm-test-ulps: Update.
15352
f17ac40d
JM
15353 [BZ #6778]
15354 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
15355 inputs and return -1 for them. Do not check for +Inf in case not
15356 reachable for +Inf.
15357 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
15358 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
15359 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
15360 and return -1 for them. Do not check for +Inf in case not
15361 reachable for +Inf.
15362 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
15363 define.
15364 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
15365 and return -1 for them. Do not check for +Inf in case not
15366 reachable for +Inf.
15367 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
15368 spurious underflow.
15369 * sysdeps/i386/fpu/libm-test-ulps: Update.
15370 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15371
fb21f89b
MF
153722012-07-06 Mike Frysinger <vapier@gentoo.org>
15373
15374 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
15375
cdfe2c5e
JM
153762012-07-05 Joseph Myers <joseph@codesourcery.com>
15377
15378 [BZ #14157]
15379 [BZ #14331]
15380 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
15381 could result in spurious underflow. Scale down values above
15382 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
15383 * math/s_csqrtf.c (__csqrtf): Likewise.
15384 * math/s_csqrtl.c (__csqrtl): Likewise.
15385 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
15386 spurious underflow.
15387 * sysdeps/i386/fpu/libm-test-ulps: Update.
15388 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15389
70d35b67
AS
153902012-07-04 Andreas Schwab <schwab@linux-m68k.org>
15391
704bc459
AS
15392 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
15393 xopen-msg.sed.
15394 * catgets/xopen-msg.awk: New file.
15395 * catgets/xopen-msg.sed: Removed.
15396
70d35b67
AS
15397 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
15398 po2text.sed.
15399 * intl/po2test.awk: New file.
15400 * intl/po2test.sed: Removed.
15401
ca61cf32
JM
154022012-07-04 Joseph Myers <joseph@codesourcery.com>
15403
15404 [BZ #14328]
15405 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
15406 or multiply small sinh result by itself.
15407 * math/s_ctanf.c (__ctanf): Likewise.
15408 * math/s_ctanh.c (__ctanh): Likewise.
15409 * math/s_ctanhf.c (__ctanhf): Likewise.
15410 * math/s_ctanhl.c (__ctanhl): Likewise.
15411 * math/s_ctanl.c (__ctanl): Likewise.
15412 * math/libm-test.inc (ctan_test_tonearest): New function.
15413 (ctan_test_towardzero): Likewise.
15414 (ctan_test_downward): Likewise.
15415 (ctan_test_upward): Likewise.
15416 (ctanh_test_tonearest): Likewise.
15417 (ctanh_test_towardzero): Likewise.
15418 (ctanh_test_downward): Likewise.
15419 (ctanh_test_upward): Likewise.
15420 (main): Call these new functions.
15421 * sysdeps/i386/fpu/libm-test-ulps: Update.
15422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15423
ca48a46a
MF
154242012-07-03 Mike Frysinger <vapier@gentoo.org>
15425
15426 * .gitignore: Delete /ports entry.
15427
9d63d37d
AJ
154282012-07-03 Andreas Jaeger <aj@suse.de>
15429
15430 * po/bg.po: Update from translation team.
15431 * po/cs.po: Likewise.
15432 * po/de.po: Likewise.
15433 * po/hr.po: Likewise.
15434 * po/nl.pl: Likewise.
15435 * po/pl.po: Likewise.
15436 * po/vi.po: Likewise.
15437
370ca3d2
JM
154382012-07-03 Joseph Myers <joseph@codesourcery.com>
15439
95f5a9a8
JM
15440 * Makeconfig [!+link] (+link-before-libc): New variable.
15441 [!+link] (+link-after-libc): Likewise.
15442 [!+link] (+link-tests): Likewise.
15443 [!+link] (+link): Define in terms of $(+link-before-libc) and
15444 $(+link-after-libc).
15445 [!+link-static] (+link-static-before-libc): New variable.
15446 [!+link-static] (+link-static-after-libc): Likewise.
15447 [!+link-static] (+link-static-tests): Likewise.
15448 [!+link-static] (+link-static): Define in terms of
15449 $(+link-static-before-libc) and $(+link-static-after-libc).
15450 [build-shared] (link-libc-before-gnulib): New variable.
15451 [build-shared] (link-libc-tests): Likewise.
15452 [build-shared] (link-libc): Define in terms of
15453 $(link-libc-before-gnulib).
15454 [!build-shared] (link-libc-tests): New variable.
15455 (link-libc-static-tests): New variable.
15456 [!gnulib] (gnulib-arch): New variable.
15457 [!gnulib] (gnulib-tests): Likewise.
15458 [!gnulib] (static-gnulib-arch): Likewise.
15459 [!gnulib] (static-gnulib-tests): Likewise.
15460 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
15461 Define with "=" instead of ":=".
15462 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
15463 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
15464 * Rules (binaries-all-notests): New variable.
15465 (binaries-all-tests): Likewise.
15466 (binaries-static-notests): Likewise.
15467 (binaries-static-tests): Likewise.
15468 (binaries-all): Define using $(binaries-all-notests) and
15469 $(binaries-all-tests).
15470 (binaries-static): Define using $(binaries-static-notests) and
15471 $(binaries-static-tests).
15472 (binaries-shared-tests): New variable.
15473 (binaries-shared-notests): Likewise.
15474 (binaries-shared): Remove variable.
15475 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
15476 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
15477 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
15478 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
15479 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
15480 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
15481 * elf/Makefile (sln-modules): New variable.
15482 (extra-objs): Add $(sln-modules:=.o).
15483 (ldconfig-modules): Add static-stubs.
15484 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
15485 * elf/static-stubs.c: New file.
15486
7a845b2c
JM
15487 [BZ #14283]
15488 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
15489 by 7 not 8 to examine high bit of fractional part. Use volatile
15490 variables when splitting into final array of floats if
15491 __FLT_EVAL_METHOD__ != 0.
15492 * math/libm-test.inc (cos_test): Add another test.
15493 (sin_test): Likewise.
15494 * sysdeps/i386/fpu/libm-test-ulps: Update.
15495
e2283f38
JM
15496 [BZ #14273]
15497 * math/libm-test.inc (cosh_test): Add more tests.
15498
370ca3d2
JM
15499 * version.h (RELEASE): Set to "development".
15500 (VERSION): Set to "2.16.90".
15501
ee9247c3
CD
155022012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
15503
15504 * NEWS: Update copyright. Remove last-updated date.
15505 Mention math library bug fixes and timezone data changes.
15506 * README: Mention GNU/Hurd, x32, and HPPA support status.
15507
4648c381
TS
155082012-06-28 Thomas Schwinge <thomas@codesourcery.com>
15509
15510 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
15511
aac78a43
AJ
155122012-06-27 Andreas Jaeger <aj@suse.de>
15513
15514 * manual/contrib.texi (Contributors): Add Samuel Thibault.
15515
ed3dbfad
AJ
155162012-06-25 Andreas Jaeger <aj@suse.de>
15517
15518 * sysdeps/s390/fpu/libm-test-ulps: Update.
15519
4d0ee855
AS
155202012-06-23 Andreas Schwab <schwab@linux-m68k.org>
15521 Thomas Schwinge <thomas@codesourcery.com>
15522
15523 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
15524 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
15525 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
15526 fanotify_mark.
15527
af1bce34
TS
155282012-06-23 Thomas Schwinge <thomas@codesourcery.com>
15529
a9fa33ba
TS
15530 * sysdeps/mach/start.c: Remove file.
15531 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
15532 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
15533 * sysdeps/sh/init-first.c: Likewise.
15534
58f902b8
TS
15535 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
15536 registers for frame unwinding purposes, add CFI directives.
15537 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15538 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
15539 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
15540 Likewise.
15541
1518f58b
TS
15542 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
15543 __fortify_fail returning.
15544 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15545
db9b5059
TS
15546 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
15547 sysdeps/sh/____longjmp_chk.S.
15548 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
15549 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
15550 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
15551 (gen-as-const-headers): Append sigaltstack-offsets.sym.
15552
967705fe
TS
15553 * sysdeps/sh/abort-instr.h: New file.
15554 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
15555 process in case exit returns.
15556
a9def8c4
TS
15557 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
15558 initialize the GOT register before use.
15559
2a649725
TS
15560 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
15561 calculation of ARGC > 4.
15562
af1bce34
TS
15563 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
15564 meaningful names to some local labels.
15565
d230f50a
KK
155662012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15567 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15568
15569 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
15570 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
15571 (__arch_compare_and_exchange_val_16_acq): Likewise.
15572 (__arch_compare_and_exchange_val_32_acq): Likewise.
15573 (atomic_exchange_and_add): Fix gUSA sequence.
15574 (atomic_add): Likewise.
15575 (atomic_add_negative): Likewise.
15576 (atomic_add_zero): Likewise.
15577 (atomic_bit_test_set): Likewise.
15578
0479b305
AS
155792012-06-22 Andreas Schwab <schwab@redhat.com>
15580
15581 [BZ #13579]
15582 * include/link.h (struct link_map): Add l_free_initfini.
15583 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
15584 l_initfini.
15585 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
15586 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
15587 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
15588 set.
15589
0e3933b9
CD
155902012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
15591
15592 * configure.in: Use AC_LANG_SOURCE.
15593 * configure: Regenerate.
15594
4248b1b1
RM
155952012-06-22 Roland McGrath <roland@hack.frob.com>
15596
15597 * configure.in (libc_cv_localstatedir): New substituted variable.
15598 * configure: Regenerated.
15599 * config.make.in (localstatedir): New variable, substituted from
15600 libc_cv_localstatedir.
15601 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
15602 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
15603 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
15604 * sysdeps/gnu/configure: Regenerated.
15605
006dd861
JL
156062012-06-21 Jeff Law <law@redhat.com>
15607
15608 [BZ #14277]
15609 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
15610 free. Simplify list management for _LIBC case.
15611
79662d42
JM
156122012-06-21 Joseph Myers <joseph@codesourcery.com>
15613
b7abb4bf
JM
15614 [BZ #14273]
15615 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
15616 Clear sign bit of 64-bit integer value before comparing against
15617 overflow value.
15618
79662d42
JM
15619 * sysdeps/mach/configure: Regenerated.
15620
1f150908
L
156212012-06-21 H.J. Lu <hongjiu.lu@intel.com>
15622
15623 [BZ #14278]
15624 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
15625
28363bbf
JL
156262012-06-21 Jeff Law <law@redhat.com>
15627
15628 [BZ #13882]
15629 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
15630 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 15631 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
15632 * elf/dl-open.c (dl_open_worker): Likewise.
15633
09615db4
CD
156342012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
15635
15636 * scripts/list-sources.sh: Scan PORTS for translations.
15637 * po/libc.pot: Regenerated.
15638
2174c6dd
AJ
156392012-06-21 Andreas Jaeger <aj@suse.de>
15640
15641 [BZ #12194]
15642 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
15643 warning.
15644 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
15645 * bits/byteswap-16.h (__bswap_16): Likewise.
15646 * bits/byteswap.h (__bswap_constant_16): Likewise.
15647
3ee947b1
L
156482012-06-18 H.J. Lu <hongjiu.lu@intel.com>
15649
15650 [BZ #14117]
a2f34833
L
15651 * sysdeps/i386/fpu_control.h: Removed.
15652 * sysdeps/x86_64/fpu_control.h: Moved to ...
15653 * sysdeps/x86/fpu_control.h: Here.
15654
3ee947b1
L
15655 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
15656 (_FPU_SETCW): Likewise.
15657
ed1825f8
L
156582012-06-15 H.J. Lu <hongjiu.lu@intel.com>
15659
25f1282a
L
15660 [BZ #14117]
15661 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
15662 * sysdeps/x86/fpu/bits/mathinline.h: This.
15663 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
15664
ed1825f8
L
15665 [BZ #14050]
15666 [BZ #14117]
15667 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
15668 functions if __x86_64__ is defined.
15669
36d54b74
CLT
156702012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
15671
15672 * string/endian.h: Add !__ASSEMBLER__ condition for including
15673 conversion interfaces.
15674
10285c21
JM
156752012-06-15 Joseph Myers <joseph@codesourcery.com>
15676
15677 [BZ #14241]
15678 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
15679 of ABS(x) in calculating zero to negative powers other than odd
15680 integers.
15681 * math/libm-test.inc (pow_test): Add more tests.
15682
06c5abbd
AJ
156832012-06-15 Andreas Jaeger <aj@suse.de>
15684
15685 * manual/contrib.texi (Contributors): Update entry of Liubov
15686 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
15687 Machado Filho.
15688
a3aeac40
CH
156892012-06-15 Cyril Hrubis <metan@ucw.cz>
15690
15691 * string/string.h: Add __wur to GNU version of strerror_r.
15692
49bdf4c1
L
156932012-06-14 H.J. Lu <hongjiu.lu@intel.com>
15694
15695 [BZ #14229]
15696 * string/Makefile (tests): Add tst-strtok_r.
15697 * string/tst-strtok_r.c: New file.
15698 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
15699 RAX_LP/RDX_LP on SAVE_PTR.
15700
834f9b8d
RM
157012012-06-14 Roland McGrath <roland@hack.frob.com>
15702
15703 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
15704
75fa1921
JM
157052012-06-14 Joseph Myers <joseph@codesourcery.com>
15706
15707 * libm_test.inc (csqrt_test): Allow more spurious underflow
15708 exceptions.
15709 (j0_test): Likewise.
15710 (j1_test): Likewise.
15711 (y0_test): Likewise.
15712 (y1_test): Likewise.
15713
771766df
CD
157142012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
15715
15716 * po/Makefile (libc.pot): Use UTF-8 charset.
15717
ceb9e56b
PP
157182012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
15719
15720 [BZ #14210]
15721 Suppress sign-conversion warning from FD_SET.
15722 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
15723 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
15724 not unsigned long int.
15725 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
15726
ddb28975
L
157272012-06-12 H.J. Lu <hongjiu.lu@intel.com>
15728
15729 [BZ #14050]
15730 [BZ #14117]
15731 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
15732 __extern_always_inline instead of __extern_inline.
15733 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
15734 (__signbit): Likewise.
15735 (__signbitl): Support C++ namespace.
15736 (lrintf): New inline function.
15737 (lrint): Likewise.
15738 (llrintf): Likewise.
15739 (llrint): Likewise.
15740 (fmaxf): Likewise.
15741 (fmax): Likewise.
15742 (fminf): Likewise.
15743 (fmin): Likewise.
15744 (rint): Likewise.
15745 (rintf): Likewise.
15746 (ceil): Likewise.
15747 (ceilf): Likewise.
15748 (floor): Likewise.
15749 (floorf): Likewise.
15750 (nearbyint): Likewise.
15751 (nearbyintf): Likewise.
15752
d7b4fb26
TS
157532012-06-12 Thomas Schwinge <thomas@codesourcery.com>
15754
15755 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
15756 non-default versions.
15757
eb55f5c2
RM
157582012-06-11 Roland McGrath <roland@hack.frob.com>
15759
15760 [BZ #14218]
15761 * manual/argp.texi (Argp): Reword argp_parse description slightly.
15762
366af02c
TS
157632012-06-09 Thomas Schwinge <thomas@codesourcery.com>
15764
99ff6e5c
TS
15765 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
15766 (FE_UPWARD, FE_DOWNWARD): Don't define.
15767 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
15768 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15769
366af02c
TS
15770 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
15771 reading it.
15772 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
15773 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15774
793ea851
KK
157752012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15776
15777 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15778 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
15779 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
15780 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
15781
a728a38f
L
157822012-06-06 H.J. Lu <hongjiu.lu@intel.com>
15783
15784 [BZ #14117]
c08010c7
L
15785 * sysdeps/i386/fpu/bits/fenv.h: Removed.
15786 * sysdeps/i386/fpu/Implies: New file.
15787 * sysdeps/x86_64/fpu/Implies: Likewise.
15788 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
15789 * sysdeps/x86/fpu/bits/fenv.h: This.
15790
a728a38f
L
15791 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
15792 __SSE_MATH__.
15793
6e230d11
SP
157942012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15795
15796 [BZ #14134]
15797 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
15798 character 0xffff that matches the last element of the
15799 conversion table.
15800
1b671feb
AZ
158012012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15802
15803 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
15804 fmodl commit.
15805
6043738b
AZ
158062012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15807
15808 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
15809 values higher than 25.6283.
15810
34ae0b32
AZ
158112012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15812
15813 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
15814 subnormal exponent extraction and add some __builtin_expect.
15815 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
15816 Fix for subnormal mantissa calculation.
15817
1214ec8f
MF
158182012-06-04 Mike Frysinger <vapier@gentoo.org>
15819
15820 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
15821 cpu2 is -1 and errno is not ENOSYS.
15822
f3d1f93c
L
158232012-06-04 H.J. Lu <hongjiu.lu@intel.com>
15824
15825 [BZ #14117]
0e4a3cd7
L
15826 * sysdeps/i386/i486/bits/string.h: Renamed to ...
15827 * sysdeps/x86/bits/string.h: This.
15828 * sysdeps/x86_64/bits/string.h: Removed.
15829
6704c645
L
15830 * sysdeps/i386/i486/bits/string.h: Define inline functions only
15831 if not compiling for x86-64, but compiling for >= i486.
15832
48495318
L
15833 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
15834 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
15835
14adcbfc
L
15836 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
15837 New macro from Linux kernel 3.4.0.
15838 (FP_XSTATE_MAGIC2): Likewise.
15839 (FP_XSTATE_MAGIC2_SIZE): Likewise.
15840 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
15841 (struct _fpx_sw_bytes): New struct.
15842 (struct _xsave_hdr): Likewise.
15843 (struct _ymmh_state): Likewise.
15844 (struct _xstate): Likewise.
15845
68e408ab
L
15846 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
15847 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
15848 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
15849 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
15850 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
15851 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
15852
f3d1f93c
L
15853 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
15854 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
15855 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
15856 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
15857 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
15858 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
15859
d9dc34cd
TMQMF
158602012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15861
15862 [BZ #13743]
15863 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
15864 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
15865 (sysdep_headers): Include sys/platform/ppc.h.
15866 * sysdeps/powerpc/test-gettimebase.c: Test for
15867 __ppc_get_timebase() to catch future ISA opcode/insn changes.
15868 * manual/Makefile (appendices): Include platform.texi.
15869 * manual/contrib.texi (Contributors): Update @node pointers.
15870 * manual/maint.texi (Maintenance): Likewise.
15871 (Platform): New node.
15872 * manual/platform.texi: New file. Document the new features.
15873
4af3879c
SP
158742012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15875 Jakub Jelinek <jakub@redhat.com>
15876
15877 [BZ #14188]
15878 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
15879 where __builtin_expect is unavailable.
15880
2fd6ff13
DM
158812012-06-03 David S. Miller <davem@davemloft.net>
15882
15883 * stdlib/longlong.h: Updated from GCC.
15884
173f7220
AS
158852012-06-02 Andreas Schwab <schwab@linux-m68k.org>
15886
15887 [BZ #14042]
15888 * sysdeps/powerpc/powerpc32/mcount.c: New file.
15889 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
15890 __mcount_internal.
15891 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
15892 (GLIBC_2.16): Likewise.
15893
f34a1c6f
L
158942012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15895
15896 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
15897
88a4576f
JM
158982012-06-01 Joseph Myers <joseph@codesourcery.com>
15899
ea32bcdd
JM
15900 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
15901 (default-abi): New variable.
15902 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
15903 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
15904 variable.
15905 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
15906 Likewise.
15907 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
15908 Likewise.
15909 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
15910 Likewise.
15911
88a4576f
JM
15912 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
15913 definition. Document in comment.
15914
402fe938
DM
159152012-06-01 David S. Miller <davem@davemloft.net>
15916
15917 * stdlib/longlong.h: Updated from GCC.
15918
3553723f
L
159192012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15920
15921 [BZ #14117]
3bd872c4
L
15922 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
15923 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
15924 sys/debugreg.h sys/io.h here.
15925 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
15926 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
15927 sys/io.h.
15928 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
15929 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
15930 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
15931 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
15932 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
15933 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
15934
3553723f
L
15935 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
15936 Define only if __x86_64__ is defined.
15937
4842e4fe
JM
159382012-06-01 Joseph Myers <joseph@codesourcery.com>
15939
c5bfe3d5
JM
15940 [BZ #14048]
15941 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
15942 Use int64_t for variable i.
15943 * math/libm-test.inc (fmod_test): Add more tests.
15944
4842e4fe
JM
15945 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
15946 z computation is not scheduled after fetestexcept.
15947 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
15948 Use math_force_eval instead of asm to ensure calculation scheduled
15949 before exception test.
15950 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
15951 Ensure a1 + u.d computation is not scheduled after fetestexcept.
15952
efb73488
AJ
159532012-06-01 Aurelien Jarno <aurelien@aurel32.net>
15954
15955 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
15956 computation is not scheduled after fetestexcept.
15957
29bcce7c
L
159582012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15959
15960 [BZ #14117]
15961 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
15962 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
15963
73a68f94
AZ
159642012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15965
15966 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
15967 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
15968
67b6df78
L
159692012-05-31 H.J. Lu <hongjiu.lu@intel.com>
15970
edf2933a 15971 [BZ #14117]
ebc64a18
L
15972 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
15973 <bits/wordsize.h>.
15974 (__WCHAR_MIN): Support __WORDSIZE == 64.
15975 (__WCHAR_MAX): Likewise.
15976
edf2933a
L
15977 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
15978 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
15979
57c6cf40
L
15980 [BZ #14183]
15981 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
15982 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
15983
67b6df78 15984 [BZ #14117]
8eb6281e
L
15985 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
15986 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
15987
aac639f4
L
15988 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
15989 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
15990
67b6df78
L
15991 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
15992 Defined to 1 if __x86_64__ isn't defined.
15993 (_STAT_VER_LINUX_OLD): New.
15994 (st_atime): Remove duplicate.
15995 (st_mtime): Likewise.
15996 (st_ctime): Likewise.
15997
1c2cfe81
DM
159982012-05-31 David S. Miller <davem@davemloft.net>
15999
16000 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
16001 entries.
16002
5be8418c
AS
160032012-06-01 Andreas Schwab <schwab@linux-m68k.org>
16004
e7725326
AS
16005 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
16006 gen-libm-test.pl.
16007
5be8418c
AS
16008 [BZ #14132]
16009 * elf/dl-reloc.c: Include <_itoa.h>.
16010 (_dl_reloc_bad_type): Remove use of INTUSE.
16011 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
16012 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
16013 * stdio-common/psiginfo.c (psiginfo): Likewise.
16014 * stdio-common/psignal.c (psignal): Likewise.
16015 * string/strsignal.c (strsignal): Likewise.
16016 * include/signal.h (_sys_siglist): Declare hidden proto.
16017 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
16018 INTVARDEF with libc_hidden_data_def.
16019 * stdio-common/itoa-udigits.c: Likewise.
16020 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
16021 (_itoa_lower_digits_internal): Remove declaration.
16022 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
16023 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
16024 (_sys_sigabbrev_internal): Remove aliases.
16025 (_sys_siglist): Define hidden alias.
16026
507352f1
MT
160272012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
16028
16029 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16030 bits/sysctl.h.
16031
42bbb1c3
L
160322012-05-31 H.J. Lu <hongjiu.lu@intel.com>
16033
16034 [BZ #14117]
6bd784b6
L
16035 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
16036 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
16037
8bca20f0
L
16038 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
16039 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
16040 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
16041 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
16042 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
16043 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
16044
f9e890a9
L
16045 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
16046 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
16047 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
16048
471101a1
L
16049 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
16050 with __addr.
16051 (insw): Likewise.
16052 (insl): Likewise.
16053 (outsb): Likewise.
16054 (outsw): Likewise.
16055 (outsl): Likewise.
16056
6451c862
L
16057 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
16058 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
16059 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
16060
a254b8c9
L
16061 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
16062 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
16063 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
16064 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
16065 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
16066 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
16067
b8dfdd92
L
16068 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
16069 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
16070
578cd270
L
16071 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
16072 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
16073
de662f5f
L
16074 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
16075 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
16076 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
16077
25653439
L
16078 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
16079 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
16080 to ...
16081 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
16082
6bad24a0
L
16083 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
16084 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
16085 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
16086
42bbb1c3
L
16087 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
16088 for x86-64.
16089 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
16090
2d10d547
JM
160912012-05-31 Joseph Myers <joseph@codesourcery.com>
16092
16093 * math/math.h (M_El): Use two more decimal places.
16094 (M_LOG2El): Likewise.
16095 (M_LOG10El): Likewise.
16096 (M_LN2l): Likewise.
16097 (M_LN10l): Likewise.
16098 (M_PIl): Likewise.
16099 (M_PI_2l): Likewise.
16100 (M_PI_4l): Likewise.
16101 (M_1_PIl): Likewise.
16102 (M_2_PIl): Likewise.
16103 (M_2_SQRTPIl): Likewise.
16104 (M_SQRT2l): Likewise.
16105 (M_SQRT1_2l): Likewise.
16106
f230c29b
DM
161072012-05-31 David S. Miller <davem@davemloft.net>
16108
16109 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
16110 values between float registers.
16111 * sysdeps/sparc/sparc64/memset.S: Likewise.
16112 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
16113
fed806c3
MF
161142012-05-31 Mike Frysinger <vapier@gentoo.org>
16115
16116 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
16117 -D_FORTIFY_SOURCE=1.
16118 (CPPFLAGS-tst-longjmp_chk.c): Define.
16119 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
16120 (CPPFLAGS-tst-longjmp_chk2.c): Define.
16121 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
16122 CFLAGS-tst-wchar-h.c.
16123
30917259
MP
161242012-05-31 Marek Polacek <polacek@redhat.com>
16125
16126 [BZ #14132]
16127 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
16128 __endmntent_internal): Remove declaration.
16129 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
16130 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
16131 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
16132
1c58d5dc
DM
161332012-05-30 David S. Miller <davem@davemloft.net>
16134
16135 * sysdeps/sparc/sparc32/soft-fp/q_util.c
16136 (___Q_simulate_exceptions): Use real FP ops rather than writing
16137 into the %fsr.
16138 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
16139 Likewise.
16140
7dc00e0d
L
161412012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16142
16143 [BZ #14117]
0bd53985
L
16144 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
16145 * sysdeps/x86/bits/xtitypes.h: This.
16146
3a257e66
L
16147 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
16148 * sysdeps/x86/bits/wordsize.h: This.
16149
62f62904
L
16150 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
16151 * sysdeps/x86/bits/huge_vall.h: This.
16152
404fe9d9
L
16153 * sysdeps/i386/bits/select.h: Removed.
16154 * sysdeps/x86_64/bits/select.h: Renamed to ...
16155 * sysdeps/x86/bits/select.h: This.
16156
d48d0446
L
16157 * sysdeps/i386/bits/setjmp.h: Removed.
16158 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
16159 * sysdeps/x86/bits/setjmp.h: This.
16160
7dc00e0d
L
16161 * sysdeps/i386/bits/mathdef.h: Removed.
16162 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
16163 * sysdeps/x86/bits/mathdef.h: This.
16164
03277f8f
AS
161652012-05-30 Andreas Schwab <schwab@linux-m68k.org>
16166
16167 [BZ #14132]
16168 * include/sys/socket.h (__connect_internal)
16169 (__libc_sa_len_internal): Remove declaration.
16170 (__connect, __libc_sa_len): Declare hidden_proto.
16171 (SA_LEN): Remove use of INTUSE.
16172 * socket/connect.c: Add libc_hidden_def.
16173 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
16174 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
16175 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
16176 alias.
16177 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
16178 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
16179 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
16180 of adding _internal alias.
16181
13764867
L
161822012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16183
16184 [BZ #14117]
6bd97696
L
16185 * sysdeps/i386/bits/link.h: Removed.
16186 * sysdeps/i386/bits/linkmap.h: Likewise.
16187 * sysdeps/x86_64/bits/link.h: Renamed to ...
16188 * sysdeps/x86/bits/link.h: This.
16189 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
16190 * sysdeps/x86/bits/linkmap.h: This.
16191
f726f0bb
L
16192 * sysdeps/i386/bits/endian.h: Removed.
16193 * sysdeps/x86_64/bits/endian.h: Renamed to ...
16194 * sysdeps/x86/bits/endian.h: This.
16195
13764867
L
16196 * sysdeps/i386/bits/byteswap.h: Removed.
16197 * sysdeps/i386/bits/byteswap-16.h: Likewise.
16198 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
16199 * sysdeps/x86/bits/byteswap.h: This.
16200 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
16201 * sysdeps/x86/bits/byteswap-16.h: This.
16202 * sysdeps/i386/Implies: Add x86.
16203 * sysdeps/x86_64/Implies: Likewise.
16204
ae251b0b
DM
162052012-05-30 David S. Miller <davem@davemloft.net>
16206
16207 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
16208 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
16209 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
16210 (FP_TRAPPING_EXCEPTIONS): Define.
16211 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
16212 (FP_TRAPPING_EXCEPTIONS): Define.
16213 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
16214 subnormals only when inexact has been signalled or underflow
16215 exceptions are enabled.
16216 (_FP_PACK_CANONICAL): Likewise.
16217
d5c90867
L
162182012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16219
16220 [BZ #14183]
16221 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
16222 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
16223
63f1549e
RH
162242012-05-30 Richard Henderson <rth@twiddle.net>
16225
8d8f2279
RH
16226 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
16227 with #ifndef NOT_IN_libc.
16228
63f1549e
RH
16229 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
16230 marked to avoid plt entry.
16231
0ab0291b
L
162322012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16233
16234 [BZ #14112]
16235 * Makeconfig (default-abi): New macro.
16236 (abi-includes): Likewise.
16237 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
16238 $(abi-$(default-abi)-lib-soname) for soname if defined.
16239 ($(common-objpfx)gnu/lib-names.stmp): Generate from
16240 abi-variants.
16241 * Makefile (installed-stubs): Likewise.
16242 * include/stubs-biarch.h: Removed.
16243 * scripts/lib-names.awk: Only handle one library at a time.
16244 * scripts/soversions.awk: Remove WORDSIZE support.
16245 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
16246 entries.
16247 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
16248 Removed.
16249 (syscall-list-default-condition): Likewise.
16250 (syscall-list-default-condition): Likewise.
16251 (syscall-list-includes): Likewise.
16252 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
16253 syscall-list-* with abi-*. Handle undefined abi-variants.
16254 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
16255 * sysdeps/unix/sysv/linux/i386/Implies: New file.
16256 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
16257 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
16258 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
16259 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
16260 Removed.
16261 (syscall-list-32-options): Likewise.
16262 (syscall-list-32-condition): Likewise.
16263 (syscall-list-64-options): Likewise.
16264 (syscall-list-64-condition): Likewise.
16265 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
16266 macro.
16267 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
16268 Renamed to ...
16269 (abi-*): This.
16270 (abi-64-ld-soname): New macro.
16271 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
16272 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
16273 Renamed to ...
16274 (abi-*): This.
16275 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
16276 * sysdeps/x86_64/x32/shlib-versions: Likewise.
16277
4da0431d
JM
162782012-05-30 Joseph Myers <joseph@codesourcery.com>
16279
3a85279c
JM
16280 * sysdeps/unix/sysv/linux/kernel-features.h
16281 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
16282 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
16283 include <kernel-features.h>.
16284 [!__NR_ftruncate64]: Remove conditional code.
16285 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16286 [__NR_ftruncate64]: Make code unconditional.
16287 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16288 * sysdeps/unix/sysv/linux/truncate64.c: Do not
16289 include <kernel-features.h>.
16290 [!__NR_ftruncate64]: Remove conditional code.
16291 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16292 [__NR_ftruncate64]: Make code unconditional.
16293 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16294 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
16295 include <kernel-features.h>.
16296 [!__NR_ftruncate64]: Remove conditional code.
16297 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16298 [__NR_ftruncate64]: Make code unconditional.
16299 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16300 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
16301 include <kernel-features.h>.
16302 [!__NR_ftruncate64]: Remove conditional code.
16303 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16304 [__NR_ftruncate64]: Make code unconditional.
16305 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16306
4da0431d
JM
16307 * configure.in (libc_cv_fpie): Weaken to a compile test using
16308 LIBC_TRY_CC_OPTION.
16309 * configure: Regenerated.
16310
11ef492c
AK
163112012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16312
16313 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
16314 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
16315 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
16316 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16317 Refreshed.
16318 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
16319 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
16320 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
16321 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
16322 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
16323 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16324 Refreshed.
16325
d66ef399
DM
163262012-05-27 David S. Miller <davem@davemloft.net>
16327
16328 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
16329 (___Q_zero): New.
16330 (__Q_simulate_exceptions): Return void. Change to simulate
16331 exceptions by writing into the %fsr.
16332 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
16333 (__Qp_handle_exceptions): Likewise.
16334 (numbers): Delete.
16335 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
16336 __Qp_handle_exceptions.
16337 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
16338 __Qp_handle_exceptions.
16339 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
16340 as unused and give dummy FP_RND_NEAREST initializer.
16341 (FP_INHIBIT_RESULTS): Define.
16342 (___Q_simulate_exceptions): Update declaration.
16343 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
16344 formatting.
16345 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
16346 as unused and give dummy FP_RND_NEAREST initializer.
16347 (__Qp_handle_exceptions): Update declaration.
16348 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
16349 formatting.
16350
04fb54b5
TS
163512012-05-27 Thomas Schwinge <thomas@codesourcery.com>
16352
16353 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
16354 the temporary FPU control word.
16355 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
16356 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
16357 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
16358 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
16359 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
16360 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
16361 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
16362 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16363 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
16364 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
16365 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16366
3f99608f
KK
163672012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16368
16369 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
16370 fields.
16371
65a4de4e
CLT
163722012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
16373
16374 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
16375 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
16376 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
16377 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
16378 Likewise.
16379 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
16380 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
16381 Likewise.
16382
15749d40
UD
163832012-05-27 Ulrich Drepper <drepper@gmail.com>
16384
16385 * po/h.po: Update from translation team.
16386
25dbcb27
AS
163872012-05-26 Andreas Schwab <schwab@linux-m68k.org>
16388
3d3f8e55
AS
16389 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
16390
25dbcb27
AS
16391 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
16392 handling of denormals.
16393 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16394 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
16395 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
16396 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
16397 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16398 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
16399 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
16400 Likewise.
16401
7ad47a80 164022012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
16403
16404 [BZ #14152]
16405 * math/libm-test.inc (fma_test): Don't always expect underflow
16406 exception.
16407
9c6ea9fa
SP
164082012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16409
16410 [BZ #12416]
16411 * elf/tst-execstack.c: Include stackinfo.h.
16412 (do_test): Adjust test case to ensure that pthread_getattr_np
16413 behaviour remains the same after marking stack executable.
16414
a8239222
JM
164152012-05-25 Joseph Myers <joseph@codesourcery.com>
16416
16417 * sysdeps/unix/sysv/linux/kernel-features.h
16418 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
16419 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
16420 kernel-features.h.
16421 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
16422 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
16423 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
16424 kernel-features.h.
16425 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
16426 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
16427
918b5606
L
164282012-05-25 H.J. Lu <hongjiu.lu@intel.com>
16429
16430 * configure.in: Define the default includes to being none.
16431 * configure: Regenerated.
16432
3a097cc7
RM
164332012-05-25 Roland McGrath <roland@hack.frob.com>
16434
8422c9a5
RM
16435 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
16436 * sysdeps/x86_64/setjmp.S: Likewise.
16437 * sysdeps/i386/bsd-setjmp.S: Likewise.
16438 * sysdeps/i386/bsd-_setjmp.S: Likewise.
16439 * sysdeps/i386/setjmp.S: Likewise.
16440 * sysdeps/i386/__longjmp.S: Likewise.
16441 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
16442 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
16443
3a097cc7
RM
16444 * include/stap-probe.h: New file.
16445 * configure.in: Handle --enable-systemtap.
16446 * configure: Regenerated.
16447 * config.h.in (USE_STAP_PROBE): New #undef.
16448 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
16449 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
16450 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
16451
21708942
JM
164522012-05-25 Joseph Myers <joseph@codesourcery.com>
16453
16454 [BZ #13717]
16455 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
16456 to 2.4.0 where earlier.
16457 * sysdeps/unix/sysv/linux/configure: Regenerated.
16458 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
16459 <kernel-features.h>.
16460 [__ASSUME_32BITUIDS]: Make code unconditional.
16461 [!__ASSUME_32BITUIDS]: Remove conditional code.
16462 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
16463 <kernel-features.h>.
16464 [__ASSUME_32BITUIDS]: Make code unconditional.
16465 [!__ASSUME_32BITUIDS]: Remove conditional code.
16466 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
16467 [__ASSUME_32BITUIDS]: Make code unconditional.
16468 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
16469 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
16470 <kernel-features.h>.
16471 [__ASSUME_32BITUIDS]: Make code unconditional.
16472 [!__ASSUME_32BITUIDS]: Remove conditional code.
16473 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
16474 <kernel-features.h>.
16475 [__ASSUME_32BITUIDS]: Make code unconditional.
16476 [!__ASSUME_32BITUIDS]: Remove conditional code.
16477 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
16478 <kernel-features.h>.
16479 [__ASSUME_32BITUIDS]: Make code unconditional.
16480 [!__ASSUME_32BITUIDS]: Remove conditional code.
16481 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
16482 <kernel-features.h>.
16483 [__ASSUME_32BITUIDS]: Make code unconditional.
16484 [!__ASSUME_32BITUIDS]: Remove conditional code.
16485 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
16486 <kernel-features.h>.
16487 [__ASSUME_32BITUIDS]: Make code unconditional.
16488 [!__ASSUME_32BITUIDS]: Remove conditional code.
16489 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
16490 <kernel-features.h>.
16491 [__ASSUME_32BITUIDS]: Make code unconditional.
16492 [!__ASSUME_32BITUIDS]: Remove conditional code.
16493 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
16494 <kernel-features.h>.
16495 [__ASSUME_32BITUIDS]: Make code unconditional.
16496 [!__ASSUME_32BITUIDS]: Remove conditional code.
16497 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
16498 <kernel-features.h>.
16499 [__ASSUME_32BITUIDS]: Make code unconditional.
16500 [!__ASSUME_32BITUIDS]: Remove conditional code.
16501 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
16502 <kernel-features.h>.
16503 [__ASSUME_32BITUIDS]: Make code unconditional.
16504 [!__ASSUME_32BITUIDS]: Remove conditional code.
16505 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
16506 <kernel-features.h>.
16507 [__ASSUME_32BITUIDS]: Make code unconditional.
16508 [!__ASSUME_32BITUIDS]: Remove conditional code.
16509 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
16510 <kernel-features.h>.
16511 [__NR_setresgid] (__setresgid): Do not declare.
16512 [__ASSUME_32BITUIDS]: Make code unconditional.
16513 [!__ASSUME_32BITUIDS]: Remove conditional code.
16514 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
16515 <kernel-features.h>.
16516 [__NR_setresuid] (__setresuid): Do not declare.
16517 [__ASSUME_32BITUIDS]: Make code unconditional.
16518 [!__ASSUME_32BITUIDS]: Remove conditional code.
16519 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
16520 <kernel-features.h>.
16521 [__ASSUME_32BITUIDS]: Make code unconditional.
16522 [!__ASSUME_32BITUIDS]: Remove conditional code.
16523 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
16524 <kernel-features.h>.
16525 [__ASSUME_32BITUIDS]: Make code unconditional.
16526 [!__ASSUME_32BITUIDS]: Remove conditional code.
16527 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
16528 <kernel-features.h>.
16529 [__ASSUME_32BITUIDS]: Make code unconditional.
16530 [!__ASSUME_32BITUIDS]: Remove conditional code.
16531 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
16532 <kernel-features.h>.
16533 [__ASSUME_32BITUIDS]: Make code unconditional.
16534 [!__ASSUME_32BITUIDS]: Remove conditional code.
16535 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
16536 <kernel-features.h>.
16537 [__ASSUME_32BITUIDS]: Make code unconditional.
16538 [!__ASSUME_32BITUIDS]: Remove conditional code.
16539 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
16540 <kernel-features.h>.
16541 [__ASSUME_32BITUIDS]: Make code unconditional.
16542 [!__ASSUME_32BITUIDS]: Remove conditional code.
16543 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
16544 <kernel-features.h>.
16545 [__ASSUME_32BITUIDS]: Make code unconditional.
16546 [!__ASSUME_32BITUIDS]: Remove conditional code.
16547 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
16548 <kernel-features.h>.
16549 [__ASSUME_32BITUIDS]: Make code unconditional.
16550 [!__ASSUME_32BITUIDS]: Remove conditional code.
16551 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
16552 <kernel-features.h>.
16553 [__ASSUME_32BITUIDS]: Make code unconditional.
16554 [!__ASSUME_32BITUIDS]: Remove conditional code.
16555 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
16556 <kernel-features.h>.
16557 [__ASSUME_32BITUIDS]: Make code unconditional.
16558 [!__ASSUME_32BITUIDS]: Remove conditional code.
16559 * sysdeps/unix/sysv/linux/kernel-features.h
16560 (__ASSUME_SETRESUID_SYSCALL): Remove.
16561 (__ASSUME_SETRESGID_SYSCALL): Likewise.
16562 (__ASSUME_32BITUIDS): Likewise.
16563 (__ASSUME_LDT_WORKS): Likewise.
16564 (__ASSUME_O_DIRECTORY): Likewise.
16565 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
16566 architecture but not kernel version.
16567 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
16568 (__ASSUME_MMAP2_SYSCALL): Likewise.
16569 (__ASSUME_STAT64_SYSCALL): Likewise.
16570 (__ASSUME_IPC64): Likewise.
16571 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
16572 <kernel-features.h>.
16573 [__ASSUME_32BITUIDS]: Make code unconditional.
16574 [!__ASSUME_32BITUIDS]: Remove conditional code.
16575 * sysdeps/unix/sysv/linux/opendir.c: Do not include
16576 <kernel-features.h>.
16577 [__ASSUME_O_DIRECTORY]: Make code unconditional.
16578 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
16579 132096]: Remove conditional code.
16580 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
16581 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
16582 <kernel-features.h>.
16583 [__ASSUME_32BITUIDS]: Make code unconditional.
16584 [!__ASSUME_32BITUIDS]: Remove conditional code.
16585 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
16586 <kernel-features.h>.
16587 [__ASSUME_32BITUIDS]: Make code unconditional.
16588 [!__ASSUME_32BITUIDS]: Remove conditional code.
16589 * sysdeps/unix/sysv/linux/setegid.c: Do not include
16590 <kernel-features.h>.
16591 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
16592 unconditional.
16593 (__setresgid): Do not declare.
16594 [__ASSUME_32BITUIDS]: Make code unconditional.
16595 [!__ASSUME_32BITUIDS]: Remove conditional code.
16596 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
16597 <kernel-features.h>.
16598 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
16599 unconditional.
16600 (__setresuid): Do not declare.
16601 [__ASSUME_32BITUIDS]: Make code unconditional.
16602 [!__ASSUME_32BITUIDS]: Remove conditional code.
16603 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
16604 <kernel-features.h>.
16605 [__ASSUME_32BITUIDS]: Make code unconditional.
16606 [!__ASSUME_32BITUIDS]: Remove conditional code.
16607 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
16608 <kernel-features.h>.
16609 [__ASSUME_32BITUIDS]: Make code unconditional.
16610 [!__ASSUME_32BITUIDS]: Remove conditional code.
16611
a386f1cc
RH
166122012-05-25 Richard Henderson <rth@twiddle.net>
16613
16614 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
16615 dl_hwcap to ifunc resolver.
16616 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
16617 elf_ifunc_invoke.
16618 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
16619 dl_hwcap to ifunc resolver.
16620 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
16621
b6550497
JM
166222012-05-24 Joseph Myers <joseph@codesourcery.com>
16623
16624 [BZ #14153]
16625 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
16626 for |x| <= 2**-26, not 2**-57.
16627 * math/libm-test.inc (acos_test): Do not allow spurious underflow
16628 exception.
16629
b0bc23a1
JL
166302012-05-24 Jeff Law <law@redhat.com>
16631
16632 * stdio-common/Makefile (tests): Add bug25.
16633 * stdio-common/bug25.c: New test.
16634
347c92e9
L
166352012-05-24 H.J. Lu <hongjiu.lu@intel.com>
16636
16637 [BZ #13576]
16638 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
16639 multiple of MALLOC_ALIGNMENT in size.
16640 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
16641
6bcc8b3f
JM
166422012-05-24 Joseph Myers <joseph@codesourcery.com>
16643
16644 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
16645 Require >= 256.
16646 (FILENAME_MAX): Use macro-int-constant.
16647 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
16648 (_IOFBF): Use macro-int-constant.
16649 (_IOLBF): Likewise.
16650 (_IONBF): Likewise.
16651 (SEEK_CUR): Likewise.
16652 (SEEK_END): Likewise.
16653 (SEEK_SET): Likewise.
16654 (TMP_MAX): Likewise.
16655 (EOF): Use macro-int-constant. Require < 0.
16656 (NULL): Use macro-constant. Require == 0.
16657 (stdin): Require type to be FILE *.
16658 (stdout): Likewise.
16659 (stderr): Likewise.
16660 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
16661 macro-int-constant.
16662 (EXIT_SUCCESS): Likewise.
16663 (NULL): Use macro-constant. Require == 0.
16664 (RAND_MAX): Use macro-int-constant.
16665 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
16666 [C99-based standards] (strtof): Require function.
16667 [C99-based standards] (strtold): Likewise.
16668 [C99-based standards] (strtoll): Likewise.
16669 [C99-based standards] (strtoull): Likewise.
16670 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16671 [ISO || ISO99 || ISO11] (limits.h): Likewise.
16672 [ISO || ISO99 || ISO11] (math.h): Likewise.
16673 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
16674 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16675 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16676
d18ea0c5
AS
166772012-05-24 Andreas Schwab <schwab@linux-m68k.org>
16678
16679 [BZ #14132]
56d25bb8
AS
16680 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
16681 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
16682 * intl/dgettext.c (DCGETTEXT): Likewise.
16683 * intl/gettext.c (DCGETTEXT): Likewise.
16684 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
16685 * posix/regex_internal.h (gettext): Likewise.
16686 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
16687 Remove declaration.
16688 * include/argz.h (__argz_count_internal)
16689 (__argz_stringify_internal): Remove declaration.
16690 (__argz_count, __argz_stringify): Declare hidden proto.
16691 * intl/dcgettext.c: Remove use of INTDEF.
16692 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
16693 * string/argz-stringify.c: Likewise.
16694 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16695 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16696 Declare hidden proto.
d18ea0c5
AS
16697 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16698 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16699 Declare hidden proto.
16700 * include/stdio.h (__asprintf_internal): Don't declare.
16701 (__asprintf): Don't define as macro. Declare hidden proto.
16702 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
16703 (__fsetlocking): Declare hidden proto.
16704 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
16705 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
16706 hidden proto.
16707 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
16708 (_IO_setlinebuf): Remove use of INTUSE.
16709 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
16710 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
16711 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
16712 Remove declaration.
16713 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
16714 (_IO_do_flush): Remove use of INTUSE.
16715 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
16716 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
16717 (_IO_adjust_column, _IO_least_wmarker)
16718 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
16719 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
16720 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
16721 (_IO_default_doallocate, _IO_wdefault_doallocate)
16722 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
16723 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
16724 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
16725 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
16726 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
16727 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
16728 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
16729 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
16730 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
16731 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
16732 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
16733 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
16734 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
16735 proto.
16736 (_IO_flush_all_internal, _IO_adjust_column_internal)
16737 (_IO_default_uflow_internal, _IO_default_finish_internal)
16738 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
16739 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
16740 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
16741 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
16742 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
16743 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
16744 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
16745 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
16746 (_IO_file_close_internal, _IO_file_close_it_internal)
16747 (_IO_file_underflow_internal, _IO_file_overflow_internal)
16748 (_IO_file_init_internal, _IO_file_attach_internal)
16749 (_IO_file_fopen_internal, _IO_file_read_internal)
16750 (_IO_file_sync_internal, _IO_file_seek_internal)
16751 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
16752 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
16753 (_IO_str_underflow_internal, _IO_str_overflow_internal)
16754 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
16755 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
16756 (_IO_list_all_internal, _IO_link_in_internal)
16757 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
16758 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
16759 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
16760 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
16761 (_IO_do_write_internal, _IO_padn_internal)
16762 (_IO_getline_info_internal, _IO_getline_internal)
16763 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
16764 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
16765 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
16766 (_IO_vfscanf_internal, _IO_vfprintf_internal)
16767 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
16768 (_IO_init_internal, _IO_un_link_internal): Don't declare.
16769 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
16770 with libc_hidden_ver, remove use of INTUSE.
16771 * libio/genops.c: Likewise.
16772 * libio/freopen.c: Likewise.
16773 * libio/freopen64.c: Likewise.
16774 * libio/iofclose.c: Likewise.
16775 * libio/iofdopen.c: Likewise.
16776 * libio/iofflush.c: Likewise.
16777 * libio/iofflush_u.c: Likewise.
16778 * libio/iofgets.c: Likewise.
16779 * libio/iofgets_u.c: Likewise.
16780 * libio/iofopen.c: Likewise.
16781 * libio/iofopncook.c: Likewise.
16782 * libio/iofread.c: Likewise.
16783 * libio/iofread_u.c: Likewise.
16784 * libio/ioftell.c: Likewise.
16785 * libio/iofwrite.c: Likewise.
16786 * libio/iogetline.c: Likewise.
16787 * libio/iogets.c: Likewise.
16788 * libio/iogetwline.c: Likewise.
16789 * libio/iopadn.c: Likewise.
16790 * libio/iopopen.c: Likewise.
16791 * libio/ioseekoff.c: Likewise.
16792 * libio/ioseekpos.c: Likewise.
16793 * libio/iosetbuffer.c: Likewise.
16794 * libio/iosetvbuf.c: Likewise.
16795 * libio/ioungetc.c: Likewise.
16796 * libio/ioungetwc.c: Likewise.
16797 * libio/iovdprintf.c: Likewise.
16798 * libio/iovsprintf.c: Likewise.
16799 * libio/iovsscanf.c: Likewise.
16800 * libio/memstream.c: Likewise.
16801 * libio/obprintf.c: Likewise.
16802 * libio/oldfileops.c: Likewise.
16803 * libio/oldiofclose.c: Likewise.
16804 * libio/oldiofdopen.c: Likewise.
16805 * libio/oldiofopen.c: Likewise.
16806 * libio/oldiopopen.c: Likewise.
16807 * libio/oldstdfiles.c: Likewise.
16808 * libio/putc.c: Likewise.
16809 * libio/setbuf.c: Likewise.
16810 * libio/setlinebuf.c: Likewise.
16811 * libio/stdfiles.c: Likewise.
16812 * libio/strops.c: Likewise.
16813 * libio/vasprintf.c: Likewise.
16814 * libio/vscanf.c: Likewise.
16815 * libio/vsnprintf.c: Likewise.
16816 * libio/vswprintf.c: Likewise.
16817 * libio/wfiledoalloc.c: Likewise.
16818 * libio/wfileops.c: Likewise.
16819 * libio/wgenops.c: Likewise.
16820 * libio/wmemstream.c: Likewise.
16821 * libio/wstrops.c: Likewise.
16822 * libio/__fpurge.c: Likewise.
16823 * libio/__fsetlocking.c: Likewise.
16824 * assert/assert.c: Likewise.
16825 * debug/fgets_chk.c: Likewise.
16826 * debug/fgets_u_chk.c: Likewise.
16827 * debug/fread_chk.c: Likewise.
16828 * debug/fread_u_chk.c: Likewise.
16829 * debug/gets_chk.c: Likewise.
16830 * debug/obprintf_chk.c: Likewise.
16831 * debug/vasprintf_chk.c: Likewise.
16832 * debug/vdprintf_chk.c: Likewise.
16833 * debug/vsnprintf_chk.c: Likewise.
16834 * debug/vsprintf_chk.c: Likewise.
16835 * malloc/mtrace.c: Likewise.
16836 * misc/error.c: Likewise.
16837 * misc/syslog.c: Likewise.
16838 * stdio-common/asprintf.c: Likewise.
16839 * stdio-common/fxprintf.c: Likewise.
16840 * stdio-common/getw.c: Likewise.
16841 * stdio-common/isoc99_fscanf.c: Likewise.
16842 * stdio-common/isoc99_scanf.c: Likewise.
16843 * stdio-common/isoc99_vfscanf.c: Likewise.
16844 * stdio-common/isoc99_vscanf.c: Likewise.
16845 * stdio-common/isoc99_vsscanf.c: Likewise.
16846 * stdio-common/printf-prs.c: Likewise.
16847 * stdio-common/printf_fp.c: Likewise.
16848 * stdio-common/printf_fphex.c: Likewise.
16849 * stdio-common/printf_size.c: Likewise.
16850 * stdio-common/putw.c: Likewise.
16851 * stdio-common/scanf.c: Likewise.
16852 * stdio-common/sprintf.c: Likewise.
16853 * stdio-common/tmpfile.c: Likewise.
16854 * stdio-common/vfprintf.c: Likewise.
16855 * stdio-common/vfscanf.c: Likewise.
16856 * stdlib/strfmon_l.c: Likewise.
16857 * sunrpc/openchild.c: Likewise.
16858 * sunrpc/xdr_stdio.c: Likewise.
16859 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
16860 * sysdeps/mach/hurd/tmpfile.c: Likewise.
16861
d6c33fda
RM
168622012-05-24 Roland McGrath <roland@hack.frob.com>
16863
c1487492
RM
16864 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
16865
16866 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
16867 in the third column, to generate for the shared library an IFUNC
16868 that uses _dl_vdso_vsym.
16869 * Makerules (COMPILE.c, compile-stdin.c): New variables.
16870 * Makeconfig (object-suffixes-noshared): New variable.
16871
16872 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
16873 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
16874 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
16875 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
16876
d6c33fda
RM
16877 [BZ #14132]
16878 * include/sys/time.h (__gettimeofday): Remove macro.
16879 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
16880 * time/gettimeofday.c (__gettimeofday): Remove #undef.
16881 Remove INTDEF.
16882 (__gettimeofday): Add libc_hidden_def.
16883 (gettimeofday): Add libc_hidden_weak.
16884 * sysdeps/mach/gettimeofday.c: Likewise.
16885 * sysdeps/posix/gettimeofday.c: Likewise.
16886 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
16887 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
16888 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
16889 (__gettimeofday_internal): Remove strong_alias.
16890 (__gettimeofday): Add libc_hidden_def.
16891 (gettimeofday): Add libc_hidden_weak.
16892 * sysdeps/unix/syscalls.list (gettimeofday):
16893 Remove __gettimeofday_internal alias.
16894
b5a2bbe6
L
168952012-05-24 Daniel Jacobowitz <drow@false.org>
16896 H.J. Lu <hongjiu.lu@intel.com>
16897
16898 [BZ #12495]
16899 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
16900 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
16901 (largebin_index_32_big): New.
16902 (largebin_index): Use it for 16-byte alignment.
16903 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
16904 correction with front_misalign.
16905
cfba4fda
L
169062012-05-24 H.J. Lu <hongjiu.lu@intel.com>
16907
7f907421
L
16908 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
16909 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
16910 Likewise.
16911 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
16912 Likewise.
16913 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
16914 Likewise.
16915 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
16916 Likewise.
16917 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
16918 Likewise.
16919 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
16920 Likewise.
16921 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
16922 Likewise.
16923 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16924 Likewise.
16925 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
16926 Likewise.
16927 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
16928 Likewise.
16929 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
16930 Likewise.
16931 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
16932 Likewise.
16933
cfba4fda
L
16934 * scripts/data/c++-types-x32-linux-gnu.data: New file.
16935 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
16936
80bad0cc
JM
169372012-05-24 Joseph Myers <joseph@codesourcery.com>
16938
7a25eb06
JM
16939 [BZ #10846]
16940 [BZ #14036]
16941 * math/libm-test.inc (exp_test): Add test from bug 14036.
16942 (pow_test): Add test from bug 10846.
16943
795405f9
JM
16944 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
16945 and other flags.
16946 (special_function): Do not include flags in test name.
16947 (parse_args): Likewise.
16948 * sysdeps/i386/fpu/libm-test-ulps: Update.
16949 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16950 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16951 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16952 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16953
80bad0cc
JM
16954 * math/gen-libm-test.pl (%beautify): Add entries for underflow
16955 exceptions.
16956 * math/libm-test.inc ("Philosophy"): Update comment about
16957 exception testing.
16958 (UNDERFLOW_EXCEPTION): New macro.
16959 (UNDERFLOW_EXCEPTION_OK): Likewise.
16960 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
16961 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
16962 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
16963 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
16964 (INVALID_EXCEPTION_OK): Update value.
16965 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16966 (OVERFLOW_EXCEPTION_OK): Likewise.
16967 (IGNORE_ZERO_INF_SIGN): Likewise.
16968 (test_exceptions): Handle underflow exceptions.
16969 (acos_test): Update for underflow exception expectations.
16970 (cexp_test): Likewise.
16971 (clog_test): Likewise.
16972 (clog10_test): Likewise.
16973 (csqrt_test): Likewise.
16974 (ctan_test): Likewise.
16975 (ctanh_test): Likewise.
16976 (exp_test): Likewise.
16977 (exp10_test): Likewise.
16978 (exp2_test): Likewise.
16979 (expm1_test): Likewise.
16980 (fma_test): Likewise.
16981 (j0_test): Likewise.
16982 (jn_test): Likewise.
16983 (nexttoward_test): Likewise.
16984 (pow_test): Likewise.
16985 (scalbn_test): Likewise.
16986 (scalbln_test): Likewise.
16987 (tan_test): Likewise.
16988 (y1_test): Likewise.
16989 * sysdeps/i386/fpu/libm-test-ulps: Update.
16990 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16991
9e0e3d0b
DM
169922012-05-23 David S. Miller <davem@davemloft.net>
16993
16994 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
16995 (__libc_sigaction): Remove unused local variables.
16996
ccd0a08f
L
169972012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16998
16999 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
17000
62bdf9a6
PE
170012012-05-23 Paul Eggert <eggert@cs.ucla.edu>
17002
f8591f80
PE
17003 mktime: avoid signed integer overflow
17004 * time/mktime.c (__mktime_internal): Do not mishandle the case
17005 where diff == INT_MIN.
17006
94c7d826
PE
17007 mktime: simplify computation of average
17008 * time/mktime.c (ranged_convert): Use new time_t_avg function
17009 instead of rolling our own (probably-slower) code.
17010
ce73d683
PE
17011 mktime: do not assume signed right shift propagates sign bit
17012 * time/mktime.c (isdst_differ): New static function.
17013 (__mktime_internal): No need to normalize tm_isdst now.
17014 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
17015 tm_isdst values.
17016
72a22e59
PE
17017 mktime: merge another wrapv change from gnulib
17018 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
17019 from some compilers.
17020
68605433
PE
17021 mktime: remove incorrect attempt at unusual arithmetics
17022 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
17023 The code didn't really work on such machines anyway.
17024 (TYPE_MINIMUM): Assume two's complement.
17025 (twos_complement_arithmetic): Verify that long_int and time_t
17026 are two's complement (or unsigned, in the latter case).
17027
03cf7fe3
PE
17028 mktime: check signed shifts on long_int and time_t, too
17029 * time/mktime.c (SHR): Check that shifts work as desired
17030 on the types long_int and time_t too, as SHR is used on
17031 such types.
17032
f04dfbc2
PE
17033 mktime: do not assume 'long' is wide enough
17034 * time/mktime.c (verify): Move decl up.
17035 (long_int): New type.
17036 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
17037 to remove assumption in the code that 'long' is wide enough to
17038 store year values. This assumption is not true on x32 and on
17039 some non-glibc platforms.
17040
62bdf9a6
PE
17041 mktime: merge wrapv change from gnulib
17042 * time/mktime.c (WRAPV): New macro.
17043 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
17044 (guess_time_tm, __mktime_internal): Do not assume that signed
17045 integer overflow wraps around; modern compilers generate code
17046 where this assumption is no longer valid.
17047
5e292e4f
L
170482012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17049
17050 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17051 Replace "jmp L(pseudo_end)" with "ret".
17052 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
17053 Likewise.
17054
8caf8c87
AJ
170552012-05-23 Andreas Jaeger <aj@suse.de>
17056
17057 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
17058 * sysdeps/unix/sysv/linux/poll.c: Remove file.
17059
1a09dc56
AJ
170602012-05-23 Andreas Jaeger <aj@suse.de>
17061 Maximilian Attems <max@stro.at>
17062
17063 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
17064 New macros.
17065
1c87aba0
L
170662012-05-23 H.J. Lu <hongjiu.lu@intel.com>
17067
17068 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
17069 code so that pseudo_end is just ret and the stack pointer is
17070 correct also for static library in error case.
17071
40e45bd5
JM
170722012-05-23 Joseph Myers <joseph@codesourcery.com>
17073
c2670533
JM
17074 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
17075 move to syscalls.list.
17076 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
17077 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
17078 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
17079 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
17080
40e45bd5
JM
17081 * manual/install.texi (Running make install): Do not mention Linux
17082 kernel version for which pt_chown is not needed.
17083 (Linux): Do not mention problems with nscd with 2.0 kernels.
17084 * INSTALL: Regenerated.
17085
be08eda5
AJ
170862012-05-23 Andreas Jaeger <aj@suse.de>
17087
17088 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
17089 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
17090 macro.
17091 * sysdeps/unix/sysv/linux/s390/bits/mman.h
17092 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17093 * sysdeps/unix/sysv/linux/sh/bits/mman.h
17094 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17095 * sysdeps/unix/sysv/linux/i386/bits/mman.h
17096 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17097 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
17098 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17099 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
17100 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
17101 * sysdeps/unix/sysv/linux/bits/in.h
17102 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
17103
a6a056bb
RM
171042012-05-22 Roland McGrath <roland@hack.frob.com>
17105
17106 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
17107 (PREPARE_VERSION): Just use assert instead, it will be elided
17108 under [NDEBUG] anyway.
17109
c9009328
L
171102012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17111
17112 * sysdeps/unix/sysv/linux/Makefile: Include
17113 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 17114 (sysdep_routines): Remove sysctl.
c9009328
L
17115 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
17116 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
17117 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
17118 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
17119 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
17120
73338355
AJ
171212012-05-22 Andreas Jaeger <aj@suse.de>
17122
17123 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
17124 that pseudo_end is just ret and the stack pointer is correct also
17125 for static library in error case.
17126
d44638b0
PP
171272012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
17128
17129 [BZ #14122]
17130 * nss/nsswitch.c (defconfig_entries): New variable.
17131 (__nss_database_lookup): Don't leak defconfig entries.
17132 (nss_parse_service_list): Don't leak on error paths.
17133 (free_database_entries): New function.
17134 (free_defconfig): New function.
17135 (free_mem): Move common code to free_database_entries.
17136
31a39bd8
L
171372012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17138
da0331a8
L
17139 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
17140 Add arch_prctl.
17141 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
17142
31a39bd8
L
17143 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17144 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
17145 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
17146 New macro.
17147 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
17148 (INTERNAL_SYSCALL_TYPES): Likewise.
17149 (LOAD_ARGS_TYPES_[1-6]): Likewise.
17150 (LOAD_REGS_TYPES_[1-6]): Likewise.
17151 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
17152 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
17153
45470df3
AZ
171542012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17155
17156 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
17157 copysignl for GLIBC_2_0.
17158 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
17159 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
17160 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
17161 logbl for GLIBC_2_0.
17162 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
17163 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
17164
98a61bcb
L
171652012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17166
a4f6e481
L
17167 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
17168 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17169
f63d5db6
L
17170 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
17171 Use "neg %eax".
17172
98a61bcb
L
17173 * time/mktime.c: Update copyright years.
17174
95770f14
PE
171752012-05-22 Paul Eggert <eggert@cs.ucla.edu>
17176
6226efbd
PE
17177 mktime: merge comment-quoting-style change from gnulib
17178 * time/mktime.c: Quote 'like this' in comments.
17179 The GNU coding standards suggest that we no longer quote `like this',
17180 as "`" and "'" are typically rendered asymmetrically nowadays.
17181 The typical gnulib style is to quote 'like this' when quoting
17182 code, and "like this" when quoting English.
17183
b99e4f78
PE
17184 * time/mktime.c (compile-command): Add "-I.".
17185
643e01e6
PE
17186 mktime: merge mktime-internal.h change from gnulib
17187 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
17188
2554247d
PE
17189 mktime: merge time_r change from gnulib
17190 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
17191
826dd0ab
PE
17192 mktime: merge DEBUG change from gnulib
17193 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
17194 case system <time.h> has a #define.
17195
bd83aabe
PE
17196 mktime: merge <sys/types.h> change from gnulib
17197 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
17198 since <time.t> is now guaranteed to define time_t.
17199
95770f14
PE
17200 mktime: merge HAVE_CONFIG_H change from gnulib
17201 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
17202
5e1a27a9
L
172032012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17204
0e44a77e
L
17205 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17206 Use "neg %eax".
17207
5e1a27a9
L
17208 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
17209 __rlim_t cast.
17210 (struct rusage): Use anonymous union to pad each field to
17211 __syscall_slong_t.
17212
46259bec
DM
172132012-05-21 David S. Miller <davem@davemloft.net>
17214
17215 * Makefules (o-iterator): Remove .s cases.
17216 (compile-command.s): Delete.
17217 (COMPILE.s): Delete.
17218 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
17219
59f0c22e
JM
172202012-05-21 Joseph Myers <joseph@codesourcery.com>
17221
17222 * configure.in (libc_cv_predef_stack_protector): Only consider
17223 "foobar" and "__stack_chk_fail" lines in libc_undefs.
17224 * configure: Regenerated.
17225
20c07380
L
172262012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17227
bbb3154b
L
17228 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17229 New macro. Use R*LP on int and pointer.
17230 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
17231 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
17232 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
17233 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
17234
20c07380
L
17235 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
17236 [__WORDSIZE_TIME64_COMPAT32] instead of
17237 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
17238 (struct utmp): Likewise.
17239 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
17240 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
17241 Renamed to ...
17242 (__WORDSIZE_TIME64_COMPAT32): This.
17243 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
17244 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
17245 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
17246 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
17247 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
17248 (__WORDSIZE_TIME64_COMPAT32): New macro.
17249
d8d1017e
AJ
172502012-05-21 Andreas Jaeger <aj@suse.de>
17251
17252 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
17253 only if [SHARED]. Add prototype for __wcschr_ia32.
17254
6c7fb145
RM
172552012-05-21 Roland McGrath <roland@hack.frob.com>
17256
17257 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
17258 of %rbp unmolested in the jmp_buf while mangling the low bits.
17259 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
17260 unmolested high bits of %rbp while demangling the low bits.
17261 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17262
66274218
AJ
172632012-05-21 Andreas Jaeger <aj@suse.de>
17264
07c58f8f
AJ
17265 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
17266 * sunrpc/svc_simple.c: Use it for registerrpc.
17267 * sunrpc/xcrypt.c: Use it for passwd2des.
17268
66274218
AJ
17269 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
17270
61f65140
L
172712012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17272
17273 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
17274 Don't define if [__SYSCALL_WORDSIZE != 32].
17275 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
17276 New macro.
17277
5fefb436
AJ
172782012-05-21 Bruno Haible <bruno@clisp.org>
17279 Andreas Jaeger <aj@suse.de>
17280
17281 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
17282 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
17283 inptr and inend for must_buffer_ch.
17284 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
17285 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
17286 * stdio-common/Makefile (tests): Remove bug15.
17287 (bug15-ENV): Remove macro.
17288 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
17289 anymore.
17290
d8e272ab
AJ
172912012-05-19 Andreas Jaeger <aj@suse.de>
17292 Roland McGrath <roland@hack.frob.com>
17293
17294 * manual/contrib.texi: Completely rewritten. It contains now an
17295 alphabetical list of contributors and their contributions.
17296
4a56a162
RH
172972012-05-21 Richard Henderson <rth@twiddle.net>
17298
17299 * misc/getauxval.c (__getauxval): Use unsigned long int.
17300 * misc/sys/auxv.h: Include <sys/cdefs.h>.
17301 (getauxval): Use unsigned long int.
17302
d024d23c
L
173032012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17304
17305 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
17306
cbc00a03
RM
173072012-05-21 Roland McGrath <roland@hack.frob.com>
17308
17309 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
17310 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
17311 __alignof__ (long double).
17312
478143fa
AZ
173132012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17314
17315 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17316
c7683a6d
RH
173172012-05-20 Richard Henderson <rth@twiddle.net>
17318
17319 * misc/getauxval.c: New file.
17320 * misc/sys/auxv.h: New file.
17321 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
17322 (routines): Add getauxval.
17323 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
17324 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
17325 * elf/dl-sysdep.c (_dl_auxv): Remove.
17326 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
17327 * elf/dl-support.c (_dl_auxv): New variable.
17328 (_dl_aux_init): Initialize it.
17329 * manual/startup.texi (Auxiliary Vector): New node.
17330 * sysdeps/generic/bits/hwcap.h: New file.
17331 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
17332 * sysdeps/powerpc/sysdep.h: ... here. Include it.
17333 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
17334 * sysdeps/sparc/sysdep.h: ... here. Include it.
17335 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
17336 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
17337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17338 Update.
c7683a6d
RH
17339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
17340 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
17341 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
17342 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
17343 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
17344 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
17345 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
17346 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
17347
a6f1845d
AZ
173482012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17349
17350 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17351
cbcbe830
DM
173522012-05-19 David S. Miller <davem@davemloft.net>
17353
17354 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17355
e0b16cc2
JM
173562012-05-19 Joseph Myers <joseph@codesourcery.com>
17357
17358 [BZ #14123]
17359 * math/s_ccosh.c: Include <float.h>
17360 (__ccosh): Avoid internal overflow calculating sinh and cosh
17361 values before multiplying by sin and cos values.
17362 * math/s_ccoshf.c: Likewise.
17363 * math/s_ccoshl.c: Likewise.
17364 * math/s_csin.c: Likewise.
17365 * math/s_csinf.c: Likewise.
17366 * math/s_csinl.c: Likewise.
17367 * math/s_csinh.c: Likewise.
17368 * math/s_csinhf.c: Likewise.
17369 * math/s_csinhl.c: Likewise.
17370 * math/libm-test.inc (ccos_test): Add more tests.
17371 (ccosh_test): Likewise.
17372 (csin_test): Likewise.
17373 (csinh_test): Likewise.
17374 * sysdeps/i386/fpu/libm-test-ulps: Update.
17375 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17376
6ad13e08
L
173772012-05-19 H.J. Lu <hongjiu.lu@intel.com>
17378
f66f0ce8
L
17379 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
17380 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
17381
6ad13e08
L
17382 * sysdeps/x86_64/x32/_itoa.h: Add comment.
17383
b1d072a7
JM
173842012-05-19 Joseph Myers <joseph@codesourcery.com>
17385
17386 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
17387 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
17388 * sysdeps/powerpc/soft-fp/Versions: Likewise.
17389 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
17390 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
17391 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
17392 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
17393 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
17394 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
17395 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
17396 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
17397 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
17398 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
17399 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
17400 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
17401 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
17402 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
17403 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
17404 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
17405 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
17406 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
17407 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
17408 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
17409 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
17410 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
17411 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
17412 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
17413 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
17414 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
17415 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
17416 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
17417
9eae47cb
AJ
174182012-05-18 Andreas Jaeger <aj@suse.de>
17419
17420 * csu/.gitignore: Delete.
17421
bb07f69f
L
174222012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17423
17424 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
17425 (timex): Use __syscall_slong_t.
17426
e6bdb741
AJ
174272012-05-18 Andreas Jaeger <aj@suse.de>
17428 Carlos O'Donell <carlos_odonell@mentor.com>
17429
17430 * manual/install.texi (Configuring and compiling): Update
17431 description about files modified in the source directory.
d6c33fda 17432 * INSTALL: Regenerated.
e6bdb741 17433
1b74487e
L
174342012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17435
17436 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
17437 value. Use "or" to set return value to -1.
17438 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
17439 negate return value.
17440
a88b64b9
TMQMF
174412012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17442
17443 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
17444 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
17445 failure if the compiler has Graphite support disabled.
17446 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
17447 Likewise.
17448 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
17449 CFLAGS-memmove.c): Likewise.
17450 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
17451 Likewise.
17452
3707636e
L
174532012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17454
610b8622
L
17455 * sysdeps/x86_64/x32/_itoa.h: New file.
17456
7cd195df
L
17457 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
17458 getdents system call only if kernel and user dirents have the
17459 same d_ino and d_off.
17460
94b07d20
L
17461 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17462 LLONG_MAX != LONG_MAX.
17463 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17464 (_fitoa_word): Likewise.
17465
18298070
L
17466 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
17467 years.
17468 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
17469 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
17470 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
17471
553c7ea4
L
17472 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
17473 include <bits/wordsize.h>. Check __x86_64__ instead of
17474 __WORDSIZE.
17475 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
17476 if __x86_64__ is defined. Use anonymous union on fpstate.
17477
3707636e
L
17478 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
17479 anonymous union.
17480
b53ef01a
AS
174812012-05-18 Andreas Schwab <schwab@linux-m68k.org>
17482
37fb1dc0
AS
17483 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
17484 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
17485 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
17486 Refer to _rtld_local_ro instead of _rtld_global_ro.
17487 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
17488 Likewise.
17489 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
17490 Likewise.
17491 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
17492 Likewise.
17493 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
17494 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
17495 of _rtld_global, and rtld_progname instead of _dl_argv[0].
17496
b53ef01a
AS
17497 * sysdeps/powerpc/powerpc32/dl-machine.c
17498 (__elf_machine_runtime_setup) [PROF]: Don't reference
17499 _dl_prof_resolve.
17500
7a185db2
AJ
175012012-05-18 Andreas Jaeger <aj@suse.de>
17502
17503 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
17504 function only available for GCCs before 3.4 since GCC 3.4
17505 introduced a builtin.
17506 (lrint): Likewise.
17507 (llrintf): Likewise.
17508 (llrint): Likewise.
17509 (fmaxf): Likewise.
17510 (fmax): Likewise.
17511 (fminf): Likewise.
17512 (fmin): Likewise.
17513 (rint): Likewise.
17514 (rintf): Likewise.
17515 (nearbyint): Likewise.
17516 (nearbyintf): Likewise.
17517 (ceil): Likewise.
17518 (ceilf): Likewise.
17519 (floor): Likewise.
17520 (floorf): Likewise.
17521
3e5aef87
L
175222012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17523
428bd707
L
17524 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
17525 on both fields and cast pointer to __syscall_ulong_t.
17526
3e5aef87
L
17527 * bits/types.h (__fsword_t): New type.
17528 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
17529 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
17530 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17531 (__FSWORD_T_TYPE): Likewise.
17532 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17533 (__FSWORD_T_TYPE): Likewise.
17534 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17535 (__FSWORD_T_TYPE): Likewise.
17536 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
17537 (__FSWORD_T_TYPE): Likewise.
17538 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
17539 __SWORD_TYPE with __fsword_t.
17540 (statfs64): Likewise.
17541
1ba7c3dc
DM
175422012-05-17 David S. Miller <davem@davemloft.net>
17543
17544 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
17545
59910343
AJ
175462012-05-17 Andreas Jaeger <aj@suse.de>
17547
17548 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
17549 warning.
17550
2e4c1e9e
L
175512012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17552
17553 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
17554
de7f5ce7
AJ
175552012-05-17 Andreas Jaeger <aj@suse.de>
17556
17557 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
17558 when it is used.
17559
286abc3d
CM
175602012-05-17 Chris Metcalf <cmetcalf@tilera.com>
17561
17562 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
17563
477cc68e
L
175642012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17565
17566 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
17567 * sysdeps/x86_64/tst-mallocalign1.c: New file.
17568
1a0994f5
CD
175692012-05-17 Andreas Jaeger <aj@suse.de>
17570 Carlos O'Donell <carlos_odonell@mentor.com>
17571
17572 [BZ #14059]
17573 * sysdeps/x86_64/multiarch/init-arch.h
17574 (bit_YMM_Usable): Rename to...
17575 (bit_AVX_Usable): ... this.
17576 (bit_FMA4_Usable): New macro.
17577 (bit_XMM_state): New macro.
17578 (bit_YMM_state): New macro.
17579 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
17580 [__ASSEMBLER__] (index_AVX_Usable): ... this.
17581 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
17582 (CPUID_OSXSAVE): New macro.
17583 (CPUID_AVX): New macro.
17584 (CPUID_FMA4): New macro.
17585 (index_YMM_Usable): Rename to...
17586 (index_AVX_Usable): ... this.
17587 (HAS_AVX): Use HAS_ARCH_FEATURE.
17588 (HAS_FMA4): Likewise.
17589 (HAS_YMM_USABLE): Remove.
17590 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17591 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
17592 are present.
17593 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
17594 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
17595 * sysdeps/x86_64/multiarch/Makefile: Likewise.
17596 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
17597 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
17598
0af797de
CM
175992012-05-17 Chris Metcalf <cmetcalf@tilera.com>
17600
17601 * math/libm-test.c: Support platforms without multiple rounding modes.
17602 * math/bug-nextafter.c: Support platforms without FP exceptions.
17603 * math/bug-nexttoward.c: Likewise.
17604 * math/test-fenv.c: Likewise.
17605 * math/test-misc.c: Likewise.
17606 * stdlib/bug-getcontext.c: Likewise.
17607
e39745ff
AJ
176082012-05-17 Andreas Jaeger <aj@suse.de>
17609
17610 * manual/examples/search.c (critter_cmp): Change signature to
17611 avoid warnings.
17612 * manual/string.texi (Collation Functions): Likewise.
17613
48970aba
L
176142012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17615
17616 * bits/types.h: Fold copyright years.
17617 * bits/typesizes.h: Likewise.
17618 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
17619 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
17620 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
17621 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
17622 * time/time.h: Likewise.
17623
bedee953
PP
176242012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
17625
17626 [BZ #208]
17627 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
17628 in instead of returning them. Return void.
17629 (__libc_mallinfo): Accumulate over all arenas.
17630 (__malloc_stats): Adjust for change in int_mallinfo interface.
17631
61653dfb
RM
176322012-05-16 Roland McGrath <roland@hack.frob.com>
17633
30b99d79
RM
17634 [BZ #10375]
17635 * configure.in (NM): Add AC_CHECK_TOOL for it.
17636 (libc_extra_cflags): New substituted variable.
17637 Check for -fstack-protector being used implicitly.
17638 * configure: Regenerated.
17639 * config.make.in (config-extra-cflags): New variable,
17640 gets @libc_extra_cflags@.
17641 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
17642
61653dfb
RM
17643 [BZ #10375]
17644 * configure.in: Check for _FORTIFY_SOURCE being predefined.
17645 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
17646 * configure: Regenerated.
17647 * config.make.in (CPPUNDEFS): New substituted variable.
17648 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
17649 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
17650 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
17651
661768bb
L
176522012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17653
17654 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
17655 (mq_attr): Use __syscall_slong_t.
17656
d4261567
L
176572012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17658
17659 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
17660 Check __x86_64__ instead of __WORDSIZE.
17661 (_STAT_VER_LINUX): Likewise.
17662 (stat): Check __x86_64__ instead of __WORDSIZE. Use
17663 __syscall_ulong_t and __syscall_slong_t.
17664 (stat64): Likewise.
17665
cf3ff365
L
176662012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17667
17668 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
17669
76cf3e4d
L
176702012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17671
17672 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
17673
a637753a
L
176742012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17675
17676 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
17677 __syscall_ulong_t.
17678
d5e05119
L
17679 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
17680 include <bits/wordsize.h>. Check __x86_64__ instead of
17681 __WORDSIZE.
17682 (greg_t): Use "__extension__ long long int" if __x86_64__ is
17683 defined.
17684 (mcontext_t): Replace "unsigned long" with "unsigned long long".
17685
f62ee380
L
17686 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
17687 include <bits/wordsize.h>. Check __x86_64__ instead of
17688 __WORDSIZE.
17689 (user_regs_struct): Use "__extension__ unsigned long long"
17690 instead of "unsigned long" if __x86_64__ is defined.
17691 (user): Likewise. Pad after pointer field if __ILP32__ is
17692 defined.
17693
4e124ced
JM
176942012-05-16 Joseph Myers <joseph@codesourcery.com>
17695
6a3951a0
JM
17696 * configure.in (makeinfo): Require version 4.5 or later. Allow
17697 versions 5 to 9.
17698 * configure: Regenerated.
17699 * manual/install.texi (texinfo): Increase version requirement to
17700 4.5 or later.
17701 * INSTALL: Regenerated.
17702
4e124ced
JM
17703 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
17704
953ca31a
L
177052012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17706
17707 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
17708
617aca05
L
17709 * sysdeps/x86_64/x32/ffs.c: New file.
17710
5762f7ae
L
17711 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
17712 __syscall_ulong_t.
17713 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
17714 defined. Use __syscall_ulong_t.
17715 (shminfo): Use __syscall_ulong_t.
17716 (shm_info): Likewise.
17717
a26b6856
L
17718 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
17719 __syscall_ulong_t.
17720
cb2b9ef7
L
17721 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
17722 <bits/wordsize.h>.
17723 (msgqnum_t): Use __syscall_ulong_t.
17724 (msglen_t): Likewise.
17725 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
17726 __syscall_ulong_t.
17727
34683bb0
L
17728 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
17729 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17730
84a68786
L
17731 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
17732
48baa5f1
L
17733 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
17734 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
17735
180be88b
L
17736 * sysvipc/sys/msg.h (msgbuf): Replace long int with
17737 __syscall_slong_t.
17738
5e90c8ad
L
17739 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
17740 include <bits/wordsize.h>. Check __x86_64__ instead of
17741 __WORDSIZE.
17742
23dfb58b
L
17743 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
17744 "unsigned long long int" if __x86_64__ is defined.
17745 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
17746
ce5d54b0
L
17747 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
17748 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17749 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
17750
13dc9eac
L
17751 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
17752 <stdint.h>.
17753 (GET_PC): Cast to uintptr_t first.
17754 (GET_FRAME): Likewise.
17755 (GET_STACK): Likewise.
17756
a7895d15
L
17757 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
17758 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
17759 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
17760 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
17761 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
17762 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
17763 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
17764 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
17765 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
17766 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
17767 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
17768 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
17769 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17770 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
17771 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
17772 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
17773 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
17774 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
17775 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
17776 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
17777 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
17778 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
17779 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
17780 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
17781 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
17782 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
17783 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
17784 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
17785 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
17786
656416c9
AS
177872012-05-16 Andreas Schwab <schwab@linux-m68k.org>
17788
5bd66283
AS
17789 * Makerules (+depfiles): Also collect depfiles from .oS in
17790 $(extra-objs).
17791 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
17792 .oS, $(libnldbl-routines)).
17793
656416c9
AS
17794 * Makerules (native-compile-mkdep-flags): Define.
17795 * sunrpc/Makefile (extra-objs): Add $(addprefix
17796 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
17797 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
17798 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
17799 calling $(make-target-directory).
17800
a46f2169
L
178012012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17802
17803 * bits/types.h (__snseconds_t): Removed.
17804 * time/time.h (struct timespec): Replace __snseconds_t with
17805 __syscall_slong_t.
17806 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
17807 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
17808 Likewise.
17809 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17810 (__SNSECONDS_T_TYPE): Likewise.
17811 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17812 (__SNSECONDS_T_TYPE): Likewise.
17813 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17814 (__SNSECONDS_T_TYPE): Likewise.
17815
6af6528b
L
178162012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17817
17818 * sysdeps/mach/hurd/bits/typesizes.h
17819 (__SYSCALL_SLONG_TYPE): New macro.
17820 (__SYSCALL_ULONG_TYPE): Likewise.
17821
de986b56
L
178222012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17823
17824 * bits/types.h (__syscall_slong_t): New type.
17825 (__syscall_ulong_t): Likewise.
17826
17827 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
17828 (__SYSCALL_ULONG_TYPE): Likewise.
17829 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17830 (__SYSCALL_SLONG_TYPE): Likewise.
17831 (__SYSCALL_ULONG_TYPE): Likewise.
17832 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17833 (__SYSCALL_SLONG_TYPE): Likewise.
17834 (__SYSCALL_ULONG_TYPE): Likewise.
17835 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17836 (__SYSCALL_SLONG_TYPE): Likewise.
17837 (__SYSCALL_ULONG_TYPE): Likewise.
17838
85736dc7
L
178392012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17840
17841 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
17842 Add sigaltstack-offsets.sym.
17843 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
17844 <sigaltstack-offsets.h>.
17845 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
17846 longjmp_msg pointer.
17847 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
17848 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
17849 signal stack.
17850 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
17851
cc03b296
JM
178522012-05-15 Joseph Myers <joseph@codesourcery.com>
17853
a9538892
JM
17854 * elf/stackguard-macros.h: Remove file.
17855 * sysdeps/generic/stackguard-macros.h: New file.
17856 * sysdeps/i386/stackguard-macros.h: Likewise.
17857 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17858 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17859 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17860 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17861 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17862 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17863 * sysdeps/x86_64/stackguard-macros.h: Likewise.
17864 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
17865 <elf/stackguard-macros.h>.
17866
cc03b296
JM
17867 [BZ #14109]
17868 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
17869 __aligned__ in attribute.
17870 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
17871 (gregset_t): Likewise.
17872
93171016
L
178732012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17874
17875 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
17876 * sysdeps/x86_64/64/Implies-after: Here. New file.
17877 * sysdeps/x86_64/x32/Implies-after: New file.
17878
d86813a0
L
178792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17880
17881 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
17882 and access return value for _dl_profile_fixup. Use R10_LP to
17883 load frame size.
17884
2953ec75
L
178852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17886
17887 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
17888
3b550e9e
L
178892012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17890
17891 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
17892 * sysdeps/x86_64/x32/sysdep.h: New file.
17893
eda41706
L
178942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17895
17896 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
17897 * sysdeps/x86_64/setjmp.S: Likewise.
17898
9ea01d93
AZ
178992012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17900
17901 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
17902 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
17903 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
17904 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
17905 remove unused global constant.
17906
02a91938
CM
179072012-05-15 Chris Metcalf <cmetcalf@tilera.com>
17908
17909 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
17910 include of <not-cancel.h>.
17911
6540185f
RM
179122012-05-15 Roland McGrath <roland@hack.frob.com>
17913
17914 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
17915
509072a0
AJ
179162012-05-15 Jeff Law <law@redhat.com>
17917 Andreas Jaeger <aj@suse.de>
17918
17919 [BZ #13594]
17920 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
17921 out from...
17922 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
17923 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
17924 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
17925 code changing __hst_map_handle.map.
17926
ba75122d
RM
179272012-05-15 Roland McGrath <roland@hack.frob.com>
17928
17929 * configure.in (sysnames): Look for Implies-before and Implies-after
17930 files.
17931 * configure: Regenerated.
17932
890d8bd8
L
179332012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17934
17935 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
17936 8-byte data alignment with LP_SIZE alignment.
17937
f6ee6623
L
179382012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17939
17940 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
17941 into R10_LP.
17942
ea2626f6
L
179432012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17944
17945 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
17946
085f715e
L
179472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17948
17949 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
17950 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
17951 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
17952 Likewise.
17953 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17954
be8498fc
L
179552012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17956
17957 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
17958 (stackinfo_sub_sp): Likewise.
17959
70bc83b9
L
179602012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17961
17962 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
17963 RAX_LP.
17964
9bc0b730
L
179652012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17966
17967 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
17968 into R*_LP.
17969
6d2850e7
L
179702012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17971
17972 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
17973 sizes into R*_LP.
17974
3cb84561
L
179752012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17976
17977 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
17978
54e2ed81
L
179792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17980
17981 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
17982 into R11_LP and load __x86_64_shared_cache_size_half into
17983 R8_LP.
17984
8a17f349
L
179852012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17986
17987 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
17988 R8_LP.
17989
777b1eea
AZ
179902012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17991
17992 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
17993 logb for POWER7.
17994 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
17995 logbf for POWER7.
17996 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
17997 logbl for POWER7.
17998 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
17999 powerpc32/power7/fpu/s_logb.c via #include.
18000 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
18001 powerpc32/power7/fpu/s_logbf.c via #include.
18002 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
18003 powerpc32/power7/fpu/s_logbl.c via #include.
18004
d20d4ac2
JM
180052012-05-15 Joseph Myers <joseph@codesourcery.com>
18006
18007 * README.libm: Remove file.
18008
6cdef1ab
L
180092012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18010
18011 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
18012 count for x32. Use R*_LP and omit operand-size suffix.
18013
0b254d8f
L
180142012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18015
18016 * shlib-versions: Move x86_64-.*-linux.* entries to ...
18017 * sysdeps/x86_64/64/shlib-versions: Here. New file.
18018 * sysdeps/x86_64/x32/shlib-versions: New file.
18019
ceb809dc
RM
180202012-05-14 Roland McGrath <roland@hack.frob.com>
18021
18022 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
18023 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
18024 Use _dl_fatal_printf instead.
18025
37f1abd4
JM
180262012-05-14 Joseph Myers <joseph@codesourcery.com>
18027
18028 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
18029 set if not set by the user. Do not allow for being unset.
18030 * sysdeps/unix/sysv/linux/configure: Regenerated.
18031
11de3a33
L
180322012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18033
18034 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
18035 the `q' suffix from lea and replace .quad with ASM_ADDR.
18036
e02f153a
L
180372012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18038
18039 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
18040 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
18041 instead of $17.
18042 (PTR_DEMANGLE): Likewise.
18043
520ae0fd
L
180442012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18045
18046 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
18047 (LP_OP): Likewise.
18048 (ASM_ADDR): Likewise.
18049 (RAX_LP): Likewise.
18050 (RBP_LP): Likewise.
18051 (RBX_LP): Likewise.
18052 (RCX_LP): Likewise.
18053 (RDI_LP): Likewise.
18054 (RSI_LP): Likewise.
18055 (RSP_LP): Likewise.
18056 (R8_LP): Likewise.
18057 (R9_LP): Likewise.
18058 (R10_LP): Likewise.
18059 (R10_LP): Likewise.
18060 (R11_LP): Likewise.
18061 (R12_LP): Likewise.
18062 (R13_LP): Likewise.
18063 (R14_LP): Likewise.
18064 (R15_LP): Likewise.
18065
b985be81
L
180662012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18067
18068 * sysdeps/x86_64/x32/dl-machine.h: New file.
18069
6a4888ff
AJ
180702012-05-14 Andreas Jaeger <aj@suse.de>
18071
18072 * manual/Makefile (subdir): Remove export of subdir.
18073 (all): Remove target.
18074 (.PHONY): Remove all from list.
18075 (mkinstalldirs): Remove.
18076 (.PHONY): Remove installdirs from list.
18077 ($(inst_infodir)/libc.info): Use make-target-directory.
18078 (installdirs): Remove.
18079 (subdir_%): Remove.
18080 (glibc-targets): Remove.
18081 (lib): Remove.
18082 (stubs): Remove.
18083 ($(objpfx)stubs ../po/manual.pot): Remove.
18084 ($(objpfx)stamp%): Remove.
18085 (make-target-directory): Remove.
18086 (subdir_install): Remove.
18087 (routines): Remove.
18088 (aux): Remove.
18089 (sources): Remove.
18090 (objects): Remove.
18091 (headers): Remove.
18092
18093 [BZ #13750]
18094 * manual/.gitignore: Remove, it's not needed anymore.
18095 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
18096 all files in it.
18097 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
18098 directory.
18099 (texis): Renamed to $(objpfx)texis.
18100 (texis-path): New, contains path to generated files.
18101 (chapters.%): Use texis-path for complete path, add extra argument
18102 libc-texinfo.sh.
18103 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
18104 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
18105 (summary,texi, stamp-summary): Use complete path of
18106 files. Generate files in build dir.
18107 (dir-add.texi): Build in build dir.
18108 (libm-err.texi,stamp-libm-err): Likewise.
18109 (version.texi, stamp-version): Likewise.
18110 (.%c.texi): Likewise.
18111 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
18112 (mostlyclean): Remove target.
18113 (realclean): Remove target.
18114 (generated): Add new variable with contents from mostlyclean and
18115 realclean, remove entries duplicated in common-mostlyclean, add
18116 stamp-libm-err and stamp-version.
18117 (generated-dirs): Add libc directory.
18118 ($(inst_infodir)/libc.info): Install files from build dir.
18119
18120 * manual/install.texi (Configuring and compiling): Adjust since
18121 the info files are not part of the tar ball anymore.
18122
7ac77294
AJ
181232012-05-14 Andreas Jaeger <aj@suse.de>
18124
18125 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
18126 variable.
18127
ffb7875d
JM
181282012-05-14 Joseph Myers <joseph@codesourcery.com>
18129
18130 [BZ #13717]
18131 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
18132 to 2.2.0 where earlier.
18133 * sysdeps/unix/sysv/linux/configure: Regenerated.
18134 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
18135 Remove conditional code.
18136 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
18137 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
18138 Remove conditional code.
18139 [!__NR_lchown]: Likewise.
18140 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18141 [__NR_lchown]: Likewise.
18142 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
18143 comment referencing __ASSUME_LCHOWN_SYSCALL.
18144 * sysdeps/unix/sysv/linux/i386/sigaction.c
18145 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18146 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18147 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
18148 Remove conditional code.
18149 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
18150 (__protocol_available): Remove #if 0 code.
18151 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
18152 conditional code.
18153 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
18154 * sysdeps/unix/sysv/linux/kernel-features.h
18155 (__ASSUME_GETCWD_SYSCALL): Don't define.
18156 (__ASSUME_REALTIME_SIGNALS): Likewise.
18157 (__ASSUME_PREAD_SYSCALL): Likewise.
18158 (__ASSUME_PWRITE_SYSCALL): Likewise.
18159 (__ASSUME_POLL_SYSCALL): Likewise.
18160 (__ASSUME_LCHOWN_SYSCALL): Likewise.
18161 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
18162 non-SPARC.
18163 (__ASSUME_SIOCGIFNAME): Don't define.
18164 (__ASSUME_MSG_NOSIGNAL): Likewise.
18165 (__ASSUME_SENDFILE): Define unconditionally.
18166 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
18167 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
18168 conditional code.
18169 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
18170 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
18171 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18172 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18173 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
18174 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
18175 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
18176 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
18177 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18178 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
18180 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18181 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
18183 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18184 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
18186 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18187 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18188 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
18189 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18190 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18191 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
18192 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18193 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
18195 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18196 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18197 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
18198 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18199 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18200 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
18201 Remove conditional code.
18202 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18203 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18204 Remove conditional code.
18205 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18206 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
18207 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
18208 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18209 Remove conditional code.
18210 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18211 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
18212 Remove conditional code.
18213 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18214 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
18215 Remove conditional code.
18216 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18217 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18218 Remove conditional code.
18219 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18220 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18221 Remove conditional code.
18222 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18223 * sysdeps/unix/sysv/linux/sh/pwrite64.c
18224 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18225 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18226 * sysdeps/unix/sysv/linux/sigaction.c
18227 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18228 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18229 * sysdeps/unix/sysv/linux/sigpending.c
18230 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18231 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18232 * sysdeps/unix/sysv/linux/sigprocmask.c
18233 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18234 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18235 * sysdeps/unix/sysv/linux/sigsuspend.c
18236 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18237 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18238 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
18239 (__libc_missing_rt_sigs): Remove.
18240 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
18241 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
18242 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
18243 Remove conditional code.
18244 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
18245 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
18246 return 1.
18247 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
18248 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
18249 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
18250 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
18251
1bfb7291
AJ
182522012-05-14 Andreas Jaeger <aj@suse.de>
18253
caae5a81
AJ
18254 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
18255 it's not used in glibc.
18256 (__coshm1): Likewise.
18257 (__acosh1p): Likewise.
18258 (__sgn): Likewise.
18259
1bfb7291
AJ
18260 * manual/string.texi (Copying and Concatenation): Add missing
18261 variable in concat example.
18262 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
18263
c044d724
L
182642012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18265
144c5467 18266 [BZ #14103]
c044d724
L
18267 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
18268 __builtin_clzl with __builtin_clzll.
18269
2523c62b
L
182702012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18271
18272 [BZ #14104]
18273 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
18274 libc_freeres_ptr.
18275
d7bb4c42
LD
182762012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18277
18278 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
18279 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
18280 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
18281 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
18282
9dc4e1fb
MF
182832012-05-14 Mike Frysinger <vapier@gentoo.org>
18284
18285 * NEWS: Update ia64 info.
18286
c7df0112
AS
182872012-05-12 Andreas Schwab <schwab@linux-m68k.org>
18288
18289 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
18290 used as bcopy.
18291
dc70356c
TS
182922012-05-12 Thomas Schwinge <thomas@codesourcery.com>
18293
18294 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
18295 * sysdeps/unix/syscalls.list (dup3): Likewise.
18296 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
18297 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
18298
9fb1a21f
L
182992012-05-11 H.J. Lu <hongjiu.lu@intel.com>
18300
18301 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
18302 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
18303
4822a2a5
L
183042012-05-11 H.J. Lu <hongjiu.lu@intel.com>
18305
18306 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
18307 thread pointer.
18308 (TLS_IE): Use mov/add instead of movq/addq to load thread
18309 pointer.
18310 (TLS_GD_PREFIX): New.
18311 (TLS_GD): Use it.
18312
842b81d6
DM
183132012-05-11 David S. Miller <davem@davemloft.net>
18314
18315 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
18316 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
18317 (_FPU_SETCW): Likewise.
18318
1cf463cd
L
183192012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18320
18321 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
18322 is 32-byte aligned.
18323
60cc4a18
AS
183242012-05-11 Andreas Schwab <schwab@linux-m68k.org>
18325
18326 [BZ #11837]
18327 * iconvdata/gb18030.c: Update tables.
18328 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
18329 characters specially.
18330 (BODY for TO_LOOP): Add encoding of missing ranges.
18331
febb44a4
TS
183322012-05-11 Thomas Schwinge <thomas@codesourcery.com>
18333
18334 [BZ #13673]
18335 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
18336 * sysdeps/mach/hurd/dup3.c: Likewise.
18337 * sysdeps/mach/hurd/readlinkat.c: Likewise.
18338 * sysdeps/powerpc/memmove.c:: Likewise.
18339
0a10fb9e
L
183402012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18341
18342 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
18343 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
18344
df8a552f
L
183452012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18346
18347 * elf/elf.h (R_X86_64_RELATIVE64): New.
18348 (R_X86_64_NUM): Updated.
18349 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18350 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
18351 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
18352 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
18353 tst-quad1pie tst-quad2pie
18354 (modules-names): Add tst-quadmod1 tst-quadmod2.
18355 ($(objpfx)tst-quad1): New dependency.
18356 ($(objpfx)tst-quad2): Likewise.
18357 ($(objpfx)tst-quad1pie): Likewise.
18358 ($(objpfx)tst-quad2pie): Likewise.
18359 * sysdeps/x86_64/tst-quad1.c: New file.
18360 * sysdeps/x86_64/tst-quad1pie.c: New file.
18361 * sysdeps/x86_64/tst-quad2.c: Likewise.
18362 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
18363 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
18364 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
18365 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
18366 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
18367
f34d6f84
ST
183682012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18369
f42d41d1
ST
18370 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
18371 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
18372 * streams/stropts.h (t_scalar_t): Define type.
18373
3c3571fc
ST
18374 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
18375 (_PATH_PRESERVE): Set to "/var/lib".
18376 (_PATH_RWHODIR): Set to "/var/spool/rwho".
18377
61f06bd3
ST
18378 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
18379 instead of int.
18380
918d4d71
ST
18381 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
18382 if __dir_mkfile succeeded.
18383
f34d6f84
ST
18384 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
18385 checking for _hurd_dtablesize. Unlock it right after having
18386 finished _hurd_dtable allocation.
18387
10589b4a
TS
183882012-05-10 Thomas Schwinge <thomas@schwinge.name>
18389
674cdbc7
TS
18390 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
18391 * sysdeps/mach/hurd/configure: Regenerated.
18392 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
18393 special-casing to...
18394 * sysdeps/gnu/configure.in: ... this new file.
18395 * sysdeps/unix/sysv/linux/configure: Regenerated.
18396 * sysdeps/gnu/configure: New generated file.
18397
8e41b99f
TS
18398 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
18399 for Linux: use nsec instead of usec, as well as:
18400 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
18401 members of type struct timespec.
18402 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
18403 New macros.
18404 (struct stat64): Likewise.
18405 (_STATBUF_ST_NSEC): New macro.
18406 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
18407
10589b4a
TS
18408 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
18409 __strtoul_internal rather than strtoul.
18410
63643c85
PT
184112012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18412
18413 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
18414 and reject them.
18415
3faebe6a
ST
184162012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18417
18418 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
18419 which preserves existing values.
18420 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
18421
c6474b07
PT
184222012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18423
18424 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
18425 TIMEOUT values. Return EINVAL for NFDS values either negative or
18426 greater than FD_SETSIZE.
18427
1043890b
ST
184282012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18429
18430 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
18431 allocated, call __vm_protect to finish enabling the existing space, and
18432 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
18433 allocate the remainder.
18434
37ed8b9b
PT
184352012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18436
18437 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
18438 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
18439
db653660
ST
184402012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18441
37ed8b9b
PT
18442 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
18443 sysdeps/mach/hurd/readlink.c.
b29d4053 18444
db653660
ST
18445 * posix/tst-sysconf.c (posix_options): Only use
18446 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
18447 _POSIX_SYNCHRONIZED_IO when they are defined
18448 * sysdeps/mach/hurd/bits/posix_opt.h:
18449 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
18450 (_XOPEN_REALTIME): Undefine macro.
18451 (_XOPEN_REALTIME_THREADS): Undefine macro.
18452 (_XOPEN_SHM): Undefine macro.
18453 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
18454 macro to -1.
18455 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
18456 macro to -1.
18457 (_POSIX_ASYNC_IO): Undefine macro.
18458 (_POSIX_PRIORITIZED_IO): Undefine macro.
18459 (_POSIX_SPIN_LOCKS): Define macro to -1.
18460
ee16e894
ST
18461 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
18462 SA_NODEFER, SA_RESETHAND.
18463 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
18464 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
18465 F_DUPFD_CLOEXEC.
18466
6103ae3b
TS
184672012-05-10 Thomas Schwinge <thomas@schwinge.name>
18468
18469 * elf/Makefile (pldd-modules): Define unconditionally.
18470
80b4e5f3
TS
184712012-05-10 Thomas Schwinge <thomas@schwinge.name>
18472
18473 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
18474
edadcbd6
ST
184752012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18476
18477 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
18478 Return ENOENT when name is empty.
18479 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
18480
80694780
TS
184812012-05-10 Thomas Schwinge <thomas@schwinge.name>
18482
1792c087
TS
18483 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
18484
80694780
TS
18485 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
18486
6b645f0d
ST
184872012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18488
80694780
TS
18489 Fix mlock in all cases except non-readable pages.
18490 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
18491 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 18492
6b645f0d
ST
18493 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
18494 (__mkdir): When path is `/', just fail with EEXIST.
18495 * sysdeps/mach/hurd/mkdirat.c: Likewise.
18496
e468f8a3
TS
184972012-05-10 Thomas Schwinge <thomas@schwinge.name>
18498
18499 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
18500 <sys/uio.h> (for writev).
18501 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
18502 and <sys/param.h> (for MIN).
18503
a4186cff
PT
185042012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18505
18506 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
18507 REQUESTED_TIME. Properly set the remaining time and return EINTR
18508 if interrupted.
18509
510bbf14
TS
185102012-05-10 Thomas Schwinge <thomas@schwinge.name>
18511
18512 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
18513 Depend on against $(link-rpcuserlibs).
18514
5d5722e8
ST
185152012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18516
a4186cff
PT
18517 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
18518 (__libc_stack_end): Do not use attribute_relro.
18519 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
18520 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 18521 to libthread-provided value.
a4186cff
PT
18522 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
18523 attribute_relro.
5d5722e8 18524
37233df9
TS
185252012-05-10 Thomas Schwinge <thomas@schwinge.name>
18526
be971a2b
TS
18527 [BZ #3748]
18528 * bits/libc-lock.h (__libc_once_get): New macro.
18529 * sysdeps/mach/bits/libc-lock.h: Likewise.
18530 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
18531 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
18532 instead of using implementation details.
18533
37233df9
TS
18534 * libio/fileops.c: Unconditionally include <kernel-features.h>.
18535 * libio/freopen.c: Likewise.
18536 * libio/freopen64.c: Likewise.
18537 * misc/syslog.c: Likewise.
18538 * nscd/connections.c: Likewise.
18539 * nscd/netgroupcache.c: Likewise.
18540 * sysdeps/posix/getcwd.c: Likewise.
18541
38de94a5
RM
185422012-05-10 Roland McGrath <roland@hack.frob.com>
18543
18544 * math/w_ilogbf.c: Add #include <limits.h>.
18545
67530489
ST
185462012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18547
a4186cff 18548 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
18549 path instead of returning without unlocking.
18550
67530489
ST
18551 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
18552 immediate-write ioctls.
18553 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
18554
5aa3a74a
TS
185552012-05-10 Thomas Schwinge <thomas@schwinge.name>
18556
18bad2ae
TS
18557 * sysdeps/mach/hurd/i386/init-first.c (init): Use
18558 __builtin_frame_address instead of making assumptions about the
18559 location of the return address relative to DATA. Force early load of
18560 the return address.
18561 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
18562 __builtin_frame_address.
18563
5aa3a74a
TS
18564 dup3 for GNU Hurd.
18565 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
18566 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
18567 implement dup3 and do some further code clean-ups.
18568 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
18569 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
18570
ecd0de9a
ST
185712012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18572
cd9fa985
ST
18573 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
18574
a4186cff
PT
18575 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
18576 HURD_CRITICAL_END around holding _hurd_dtable_lock.
18577 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
18578 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
18579 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
18580 d->port.lock.
802ca5a5 18581
a4186cff
PT
18582 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
18583 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
18584 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 18585
bcf55240
TS
185862012-05-10 Thomas Schwinge <thomas@schwinge.name>
18587
6960eb42
TS
18588 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
18589 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
18590 definitions.
18591
eb43375f
TS
18592 accept4 for GNU Hurd.
18593 * include/sys/socket.h (__libc_accept4): New prototype.
18594 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
18595 to implement __libc_accept4.
18596 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
18597 __libc_accept4.
18598 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
18599
bcf55240
TS
18600 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
18601 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
18602 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
18603 signal-defines.sym.
18604
6178c55b
ST
186052012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18606
a4186cff 18607 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 18608
6f080c2f
TS
186092012-05-10 Thomas Schwinge <thomas@schwinge.name>
18610
18611 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
18612 assertion on O_CLOEXEC flag.
18613 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
18614 * hurd/intern-fd.c: Likewise.
18615 * hurd/port2fd.c: Likewise.
18616
bcfe3a54
ST
186172012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18618
18619 [BZ #3906]
18620 * bits/in.h (IPV6_PKTINFO): Define new macro.
18621 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
18622
89c9aa49
AZ
186232012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18624
18625 [BZ #13954]
18626 [BZ #13955]
18627 [BZ #13956]
18628 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
18629 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18630 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
18631 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
18632 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18633 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
18634 * math/libm-test.inc (logb_test) : Additional logb tests.
18635
021db4be
AJ
186362012-05-09 Andreas Schwab <schwab@linux-m68k.org>
18637 Andreas Jaeger <aj@suse.de>
18638
18639 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
18640 * configure: Regenerated.
18641 * config.h.in (LINK_OBSOLETE_RPC): New macro.
18642 * config.make.in (link-obsolete-rpc): New substituted variable.
18643 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
18644 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
18645 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18646 (shared-only-routines): Don't set it under [link-obsolete-rpc],
18647 so that libc.a contains the symbols.
18648 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18649 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
18650 * sunrpc/auth_none.c: Likewise.
18651 * sunrpc/auth_unix.c: Likewise.
18652 * sunrpc/authdes_prot.c: Likewise.
18653 * sunrpc/authuxprot.c: Likewise.
18654 * sunrpc/clnt_gen.c: Likewise.
18655 * sunrpc/clnt_perr.c: Likewise.
18656 * sunrpc/clnt_raw.c: Likewise.
18657 * sunrpc/clnt_simp.c: Likewise.
18658 * sunrpc/clnt_tcp.c: Likewise.
18659 * sunrpc/clnt_udp.c: Likewise.
18660 * sunrpc/clnt_unix.c: Likewise.
18661 * sunrpc/des_crypt.c: Likewise.
18662 * sunrpc/des_soft.c: Likewise.
18663 * sunrpc/get_myaddr.c: Likewise.
18664 * sunrpc/key_call.c: Likewise.
18665 * sunrpc/key_prot.c: Likewise.
18666 * sunrpc/netname.c: Likewise.
18667 * sunrpc/pm_getmaps.c: Likewise.
18668 * sunrpc/pm_getport.c: Likewise.
18669 * sunrpc/pmap_clnt.c: Likewise.
18670 * sunrpc/pmap_prot.c: Likewise.
18671 * sunrpc/pmap_prot2.c: Likewise.
18672 * sunrpc/pmap_rmt.c: Likewise.
18673 * sunrpc/publickey.c: Likewise.
18674 * sunrpc/rpc_cmsg.c: Likewise.
18675 * sunrpc/rpc_common.c: Likewise.
18676 * sunrpc/rpc_dtable.c: Likewise.
18677 * sunrpc/rpc_prot.c: Likewise.
18678 * sunrpc/rpc_thread.c: Likewise.
18679 * sunrpc/rtime.c: Likewise.
18680 * sunrpc/svc.c: Likewise.
18681 * sunrpc/svc_auth.c: Likewise.
18682 * sunrpc/svc_raw.c: Likewise.
18683 * sunrpc/svc_run.c: Likewise.
18684 * sunrpc/svc_tcp.c: Likewise.
18685 * sunrpc/svc_udp.c: Likewise.
18686 * sunrpc/svc_unix.c: Likewise.
18687 * sunrpc/svcauth_des.c: Likewise.
18688 * sunrpc/xcrypt.c: Likewise.
18689 * sunrpc/xdr.c: Likewise.
18690 * sunrpc/xdr_array.c: Likewise.
18691 * sunrpc/xdr_float.c: Likewise.
18692 * sunrpc/xdr_intXX_t.c: Likewise.
18693 * sunrpc/xdr_mem.c: Likewise.
18694 * sunrpc/xdr_rec.c: Likewise.
18695 * sunrpc/xdr_ref.c: Likewise.
18696 * sunrpc/xdr_sizeof.c: Likewise.
18697 * sunrpc/xdr_stdio.c: Likewise.
18698
b5c086a2
RM
186992012-05-10 Roland McGrath <roland@hack.frob.com>
18700
18701 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
18702 change. Update copyright years.
18703
6d74dd09
JM
187042012-05-10 Joseph Myers <joseph@codesourcery.com>
18705
18706 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
18707
28e72501
MK
187082012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
18709 Joseph Myers <joseph@codesourcery.com>
18710 Paul Pluzhnikov <ppluzhnikov@google.com>
18711
18712 [BZ #14012]
18713 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
18714 requiring rpcgen.
18715 [cross-compiling] (extra-libs): Likewise.
18716 [cross-compiling] (extra-libs-others): Likewise.
18717 [cross-compiling] (librpcsvc-routines): Likewise.
18718 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
18719 [cross-compiling] (omit-deps): Likewise.
18720 (sunrpc-CPPFLAGS): New variable.
18721 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
18722 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
18723 (cross-rpcgen-objs): New variable.
18724 (extra-objs): Append $(cross-rpcgen-objs).
18725 ($(cross-rpcgen-objs)): New rule.
18726 ($(objpfx)cross-rpcgen): Likewise.
18727 (rpcgen-cmd): Define to use $(built-program-file). Expand
18728 comment.
18729 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
18730 ($(objpfx)x%.stmp): Likewise.
18731 * sunrpc/proto.h [IS_IN_build] (_): Define.
18732 [IS_IN_build] (_libc_intl_domainname): Likewise.
18733
c8c59454
L
187342012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18735
18736 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
18737 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
18738 and R_X86_64_TPOFF64.
18739
6f27cd16
JM
187402012-05-10 Joseph Myers <joseph@codesourcery.com>
18741
18742 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
18743 sysdeps/unix/sysv/syscalls.list.
18744 (stime): Likewise.
18745 (utime): Likewise.
18746 * sysdeps/unix/sysv/syscalls.list: Remove file.
18747
02467e1c
PE
187482012-05-10 Paul Eggert <eggert@cs.ucla.edu>
18749
18750 [BZ #3440]
18751 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
18752 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
18753 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
18754 (__LC_IDENTIFICATION): Make these macros useful in #if
18755 expressions, as required by C99.
18756
da392631
AS
187572012-05-10 Andreas Schwab <schwab@linux-m68k.org>
18758
18759 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
18760 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
18761 after this.
18762
8115f29b
L
187632012-05-09 H.J. Lu <hongjiu.lu@intel.com>
18764
18765 * stdlib/longlong.h: Updated from GCC.
18766
bdd74070
AJ
187672012-05-09 Andreas Jaeger <aj@suse.de>
18768
edfe0dbe
AJ
18769 * nscd/nscd.c (run_modes): Make named enum, reorder so that
18770 default is first entry.
18771 (run_mode): Set type.
18772 (main): Remove informal message about syslog.
18773 (options): Fix typo.
18774
bcfe3a54
ST
18775 [BZ #14053]
18776 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 18777 to asm.
bcfe3a54
ST
18778 (lrint): Likewise.
18779 (llrintf): Likewise.
18780 (llrint): Likewise.
18781 (rint): Likewise.
18782 (rintf): Likewise.
18783 (nearbyint): Likewise.
18784 (nearbyintf): Likewise.
bdd74070 18785
91d8d69e
AJ
187862012-05-09 Andreas Jaeger <aj@suse.de>
18787 Pedro Alves <palves@redhat.com>
18788
18789 * nscd/nscd.c (run_mode): Use enum.
18790 (main): Cleanup coding style issue.
18791
bb90b80b
AJ
187922012-05-09 Alexandre Oliva <aoliva@redhat.com>
18793 Andreas Jaeger <aj@suse.de>
18794
bcfe3a54
ST
18795 * nscd/nscd.c (go_background): Replaced with...
18796 (run_mode): ... this.
bb90b80b 18797 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
18798 (options): Add -F --foreground.
18799 (main): Implement it.
18800 (parse_opt): Parse it.
bb90b80b 18801
1a4b75a1
AJ
188022012-05-09 Andreas Jaeger <aj@suse.de>
18803
18804 [BZ #14083]
18805 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
18806 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
18807 -Wconversion warning.
18808 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
18809 Likewise.
18810
b1cc2472
JM
188112012-05-09 Joseph Myers <joseph@codesourcery.com>
18812
18813 * conform/data/locale.h-data (NULL): Use macro-constant. Require
18814 == 0.
18815 (LC_ALL): Use macro-int-constant.
18816 (LC_COLLATE): Likewise.
18817 (LC_CTYPE): Likewise.
18818 (LC_MESSAGES): Likewise.
18819 (LC_MONETARY): Likewise.
18820 (LC_NUMERIC): Likewise.
18821 (LC_TIME): Likewise.
18822 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
18823 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18824 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18825 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
18826 Specify type.
18827 [C99-based standards] (float_t): Expect type.
18828 [C99-based standards] (double_t): Expect type.
18829 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
18830 type.
18831 [C99-based standards] (HUGE_VALL): Likewise.
18832 [C99-based standards] (INFINITY): Likewise.
18833 [C99-based standards] (NAN): Likewise.
18834 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
18835 [C99-based standards] (FP_NAN): Likewise.
18836 [C99-based standards] (FP_NORMAL): Likewise.
18837 [C99-based standards] (FP_SUBNORMAL): Likewise.
18838 [C99-based standards] (FP_ZERO): Likewise.
18839 [C99-based standards] (FP_FAST_FMA): Use
18840 optional-macro-int-constant. Specify type. Require == 1.
18841 [C99-based standards] (FP_FAST_FMAF): Likewise.
18842 [C99-based standards] (FP_FAST_FMAL): Likewise.
18843 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
18844 [C99-based standards] (FP_ILOGBNAN): Likewise.
18845 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
18846 Specify type.
18847 [C99-based standards] (MATH_ERREXCEPT): Likewise.
18848 [C99-based standards] (math_errhandling): Specify type.
18849 [ISO99 || ISO11] (signgam): Do not allow.
18850 [non-C99-based standards] (copysignf): Do not allow.
18851 [non-C99-based standards] (exp2f): Likewise.
18852 [non-C99-based standards] (log2f): Likewise.
18853 [non-C99-based standards] (modff): Allow.
18854 [non-C99-based standards] (erff): Do not allow.
18855 [non-C99-based standards] (erfcf): Likewise.
18856 [non-C99-based standards] (gammaf): Likewise.
18857 [non-C99-based standards] (hypotf): Likewise.
18858 [non-C99-based standards] (j0f): Likewise.
18859 [non-C99-based standards] (j1f): Likewise.
18860 [non-C99-based standards] (jnf): Likewise.
18861 [non-C99-based standards] (lgammaf): Likewise.
18862 [non-C99-based standards] (tgammaf): Likewise.
18863 [non-C99-based standards] (y0f): Likewise.
18864 [non-C99-based standards] (y1f): Likewise.
18865 [non-C99-based standards] (ynf): Likewise.
18866 [non-C99-based standards] (isnanf): Likewise.
18867 [non-C99-based standards] (acoshf): Likewise.
18868 [non-C99-based standards] (asinhf): Likewise.
18869 [non-C99-based standards] (atanhf): Likewise.
18870 [non-C99-based standards] (cbrtf): Likewise.
18871 [non-C99-based standards] (expm1f): Likewise.
18872 [non-C99-based standards] (ilogbf): Likewise.
18873 [non-C99-based standards] (log1pf): Likewise.
18874 [non-C99-based standards] (logbf): Likewise.
18875 [non-C99-based standards] (nextafterf): Likewise.
18876 [non-C99-based standards] (remainderf): Likewise.
18877 [non-C99-based standards] (rintf): Likewise.
18878 [non-C99-based standards] (scalbf): Likewise.
18879 [non-C99-based standards] (copysignl): Likewise.
18880 [non-C99-based standards] (exp2l): Likewise.
18881 [non-C99-based standards] (log2l): Likewise.
18882 [non-C99-based standards] (modfl): Allow.
18883 [non-C99-based standards] (erfl): Do not allow.
18884 [non-C99-based standards] (erfcl): Likewise.
18885 [non-C99-based standards] (gammal): Likewise.
18886 [non-C99-based standards] (hypotl): Likewise.
18887 [non-C99-based standards] (j0l): Likewise.
18888 [non-C99-based standards] (j1l): Likewise.
18889 [non-C99-based standards] (jnl): Likewise.
18890 [non-C99-based standards] (lgammal): Likewise.
18891 [non-C99-based standards] (tgammal): Likewise.
18892 [non-C99-based standards] (y0l): Likewise.
18893 [non-C99-based standards] (y1l): Likewise.
18894 [non-C99-based standards] (ynl): Likewise.
18895 [non-C99-based standards] (isnanl): Likewise.
18896 [non-C99-based standards] (acoshl): Likewise.
18897 [non-C99-based standards] (asinhl): Likewise.
18898 [non-C99-based standards] (atanhl): Likewise.
18899 [non-C99-based standards] (cbrtl): Likewise.
18900 [non-C99-based standards] (expm1l): Likewise.
18901 [non-C99-based standards] (ilogbl): Likewise.
18902 [non-C99-based standards] (log1pl): Likewise.
18903 [non-C99-based standards] (logbl): Likewise.
18904 [non-C99-based standards] (nextafterl): Likewise.
18905 [non-C99-based standards] (remainderl): Likewise.
18906 [non-C99-based standards] (rintl): Likewise.
18907 [non-C99-based standards] (scalbl): Likewise.
18908 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18909 [non-C99-based standards] (FP_*): Do not allow.
18910 [C99-based standards] (FP_*): Change to
18911 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18912 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18913 allow.
18914 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
18915 (SIG_ERR): Likewise.
18916 [X/Open-based standards] (SIG_HOLD): Likewise.
18917 (SIG_IGN): Likewise.
18918 (SIGABRT): Use macro-int-constant. Specify type. Require
18919 positive value.
18920 (SIGFPE): Likewise.
18921 (SIGILL): Likewise.
18922 (SIGINT): Likewise.
18923 (SIGSEGV): Likewise.
18924 (SIGTER): Likewise.
18925 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
18926 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
18927 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
18928 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
18929 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
18930 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
18931 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
18932 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
18933 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
18934 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
18935 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
18936 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
18937 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
18938 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
18939 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
18940 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
18941 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
18942 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
18943 [X/Open-based standards] (SIGTRAP): Likewise.
18944 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
18945 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
18946 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
18947 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
18948 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18949 allow.
18950
b9f1922d
IW
189512012-05-08 Ian Wienand <ianw@vmware.com>
18952
18953 [BZ #14080]
18954 * time/tzset.c (__tzset_parse_tz): Update default rules for
18955 daylight time changes in the Energy Policy Act of 2005.
18956
1db86e88
AJ
189572012-05-09 Andreas Jaeger <aj@suse.de>
18958
18959 [BZ #13983]
18960 * elf/ldconfig.c (parse_conf): Change string to make clear that
18961 ldconfig only issued a warning if ld.so.conf does not exist.
18962
dee4a4e3
DM
189632012-05-08 David S. Miller <davem@davemloft.net>
18964
ee0db190
DM
18965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
18966 movxtod instead of popping the value on the stack.
18967
dee4a4e3
DM
18968 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18969
6a43ec98
CD
189702012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
18971
18972 * config.h.in: Add HAVE_ARM_PCS_VFP.
18973
05c2c961
RMG
189742012-05-08 Roland Mc Grath <roland@hack.frob.com>
18975
bcfe3a54
ST
18976 [BZ #13979]
18977 * include/features.h: Warn if user requests __FORTIFY_SOURCE
18978 checking but the checks are disabled for any reason.
05c2c961 18979
4b30f61a
L
189802012-05-08 H.J. Lu <hongjiu.lu@intel.com>
18981
18982 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
18983 and ELF64_R_TYPE with ELFW(R_TYPE).
18984
eee2bc67
JM
189852012-05-08 Joseph Myers <joseph@codesourcery.com>
18986
7ea5391a
JM
18987 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
18988 (ulimit): Likewise.
18989
eee2bc67
JM
18990 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
18991 (settimeofday): Likewise.
18992
abb66a67
MF
189932012-05-08 Mike Frysinger <vapier@gentoo.org>
18994
18995 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
18996 a struct th_u2 inside the union, and move tu_block/tu_code into
18997 a new th_u3 union of tu_block/tu_code inside of that. Move
18998 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
18999 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
19000 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
19001 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
19002 (th_stuff): Change to th_u1.tu_stuff.
19003 (th_data): Define.
19004 (th_msg): Change to th_u1.th_u2.tu_data.
19005
7f18b530
DM
190062012-05-07 David S. Miller <davem@davemloft.net>
19007
05760585
DM
19008 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19009
7f18b530
DM
19010 [BZ #14074]
19011 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
19012 (SETUP_PIC_REG): Use it.
19013 (SETUP_PIC_REG_LEAF): Use it.
19014
495fd99f
JM
190152012-05-07 Joseph Myers <joseph@codesourcery.com>
19016
19017 [BZ #13885]
19018 [BZ #13923]
19019 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19020 USE_AS_EXPM1L.
19021 (EXPL_FINITE): Likewise.
19022 (FLDLOG): Likewise.
19023 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19024 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19025 e_expl.S.
19026 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19027 USE_AS_EXPM1L.
19028 (EXPL_FINITE): Likewise.
19029 (FLDLOG): Likewise.
19030 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
19031 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
19032 e_expl.S.
19033 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
19034 test of -max_value argument for long double.
19035 * sysdeps/i386/fpu/libm-test-ulps: Update.
19036 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19037
6693d694
DM
190382012-05-06 David S. Miller <davem@davemloft.net>
19039
19040 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
19041 quad soft-float symbols whose references which are compiler
19042 generated.
19043 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
19044
6c23e11c
JM
190452012-05-06 Joseph Myers <joseph@codesourcery.com>
19046
d8b82cad
JM
19047 [BZ #13884]
19048 [BZ #13914]
19049 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19050 USE_AS_EXP10L.
19051 (EXPL_FINITE): Likewise.
19052 (FLDLOG): Likewise.
19053 (c0): Likewise.
19054 (c1): Likewise.
19055 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
19056 Adjust comments for base varying.
19057 (__expl_finite): Change alias to EXPL_FINITE.
19058 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
19059 e_expl.S.
19060 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
19061 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
19062 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
19063 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
19064 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
19065 USE_AS_EXP10L.
19066 (EXPL_FINITE): Likewise.
19067 (FLDLOG): Likewise.
19068 (c0): Likewise.
19069 (c1): Likewise.
19070 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
19071 Adjust comments for base varying.
19072 (__expl_finite): Change alias to EXPL_FINITE.
19073 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
19074 tests for bugs.
19075 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19076
6c23e11c
JM
19077 [BZ #14064]
19078 * math/libm-test.inc (check_float_internal): Correct ulp
19079 calculation for subnormal expected results.
19080
29ba805c
AJ
190812012-05-06 Andreas Jaeger <aj@suse.de>
19082
19083 * Makeconfig (+math-flags): New, set to -frounding-math.
19084 (+cflags): Add +math-flags so that all of glibc gets compiled with
19085 it.
19086
19087 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
19088
7b17aeda
JM
190892012-05-05 Joseph Myers <joseph@codesourcery.com>
19090
5779f134
JM
19091 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
19092 Disable one test.
19093
41498f4d
JM
19094 [BZ #13787]
19095 [BZ #13922]
19096 [BZ #14036]
19097 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
19098 (__ieee754_expl): Allow for and saturate large arguments.
19099 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
19100 (u_threshold): Likewise.
19101 (__exp): Call __ieee754_exp before checking for overflow and
19102 underflow.
19103 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
19104 (u_threshold): Likewise.
19105 (__expf): Call __ieee754_expf before checking for overflow and
19106 underflow.
19107 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
19108 (u_threshold): Likewise.
19109 (__expl): Call __ieee754_expl before checking for overflow and
19110 underflow.
19111 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
19112 (__ieee754_expl): Allow for and saturate large arguments.
19113 * math/libm-test.inc (exp_test): Add another test. Do not allow
19114 missing overflow exception on overflow.
19115 (expm1_test): Do not allow missing overflow exception on overflow.
19116
6698b8bf
JM
19117 * sysdeps/i386/fpu/e_expl.c: Move to ...
19118 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
19119 rather than using inline asm.
19120 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
19121 * sysdeps/x86_64/fpu/e_expl.S: Copy from
19122 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
19123
7b17aeda
JM
19124 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
19125 (nice): Likewise.
19126 (poll): Likewise.
19127 (signal): Likewise.
19128 (time): Likewise.
19129 (times): Likewise.
19130
f7c85819
JM
191312012-05-04 Joseph Myers <joseph@codesourcery.com>
19132
19133 * sysdeps/unix/syscalls.list (adjtime): Add entry from
19134 sysdeps/unix/common/syscalls.list.
19135 (fchmod): Likewise.
19136 (fchown): Likewise.
19137 (ftruncate): Likewise.
19138 (getrusage): Likewise.
19139 (gettimeofday): Likewise.
19140 (setpgid): Likewise.
19141 (setregid): Likewise.
19142 (setreuid): Likewise.
19143 (sigaction): Likewise.
19144 (truncate): Likewise.
19145 (vhangup): Likewise.
19146 * sysdeps/unix/common/syscalls.list: Remove file.
19147 * sysdeps/unix/bsd/Implies: Don't include unix/common.
19148 * sysdeps/unix/sysv/linux/Implies: Likewise.
19149
336270d0
L
191502012-05-04 H.J. Lu <hongjiu.lu@intel.com>
19151
19152 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
19153 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
19154 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
19155 Moved to ...
19156 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
19157 Here.
19158 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
19159 to ...
19160 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
19161 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
19162 to ...
19163 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
19164 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
19165 to ...
19166 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
19167 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
19168 to ...
19169 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
19170 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
19171 to ...
19172 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
19173 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
19174 to ...
19175 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
19176 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
19177 to ...
19178 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
19179 Here.
19180 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
19181 to ...
19182 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
19183 Here.
19184 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
19185 to ...
19186 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
19187 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
19188 Moved to ...
19189 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
19190 Here.
19191 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
19192 to ...
19193 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
19194
d128e450
JM
191952012-05-04 Joseph Myers <joseph@codesourcery.com>
19196
fa8ee516
JM
19197 * sysdeps/unix/common/bits/dirent.h: Remove file.
19198 * sysdeps/unix/common/bits/fcntl.h: Likewise.
19199
d128e450
JM
19200 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
19201 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
19202 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
19203 * sysdeps/unix/bsd/isatty.c: Likewise.
19204 * sysdeps/unix/bsd/tcdrain.c: Likewise.
19205 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
19206 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
19207
ff8faaf0 192082012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 19209
62881be4 19210 [BZ #13563]
31dc8730
AZ
19211 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
19212 long double comparison inaccuracies.
19213 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
19214 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19215
6fef930c
AS
192162012-05-04 Andreas Schwab <schwab@linux-m68k.org>
19217
19218 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
19219 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
19220
8f203e6c
JM
192212012-05-04 Joseph Myers <joseph@codesourcery.com>
19222
19223 [BZ #14049]
19224 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
19225 nonzero digits before rounding a hex value.
19226 * stdlib/tst-strtod.c (tests): Add another test.
19227
5197d9c2
AK
192282012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19229
19230 * sysdeps/s390/fpu/libm-test-ulps: Update.
19231
f0c1dedf
AJ
192322012-05-03 Andreas Jaeger <aj@suse.de>
19233
19234 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
19235 does not get optimized out.
19236 (malloc_opt_barrier): New.
19237
a65ef2ae 192382012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 19239 Roland McGrath <roland@hack.frob.com>
a65ef2ae 19240
2b942cb7 19241 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 19242 intermediate file deletion.
2b942cb7 19243 (generated): Add .symlist files.
a65ef2ae 19244
54b71e02
JM
192452012-05-03 Joseph Myers <joseph@codesourcery.com>
19246
19247 [BZ #13775]
19248 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
19249 Redirect under this condition.
19250 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19251 [__USE_GNU] (__dprintf_chk): Not under this condition.
19252 [__USE_GNU] (__vdprintf_chk): Likewise.
19253 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
19254 under this condition.
19255 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19256 [__USE_XOPEN2K8] (dprintf): Define under this condition.
19257 [__USE_XOPEN2K8] (vdprintf): Likewise.
19258 [__USE_GNU] (__dprintf_chk): Not under this condition.
19259 [__USE_GNU] (__vdprintf_chk): Likewise.
19260 [__USE_GNU] (dprintf): Likewise.
19261 [__USE_GNU] (vdprintf): Likewise.
19262
d3dfcc41
RM
192632012-05-03 Roland McGrath <roland@hack.frob.com>
19264
19265 * elf/Makefile (common-generated): Set this instead of generated for
19266 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
19267 $(all-built-dso)-derived lists.
19268
7ac30cc5
AJ
192692012-05-03 Andreas Jaeger <aj@suse.de>
19270
0c51e550
AJ
19271 * sysdeps/i386/fpu/libm-test-ulps: Update.
19272
7ac30cc5
AJ
19273 * FAQ: Removed.
19274 * FAQ.in: Likewise.
19275 * scripts/gen-FAQ.pl: Likewise.
19276 * manual/install.texi (Installation): Point to online location of
19277 FAQ.
19278 * Makefile (files-for-dist): Remove FAQ.
19279 (FAQ): Remove.
19280
d4c2917f
AM
192812012-05-02 Allan McRae <allan@archlinux.org>
19282
19283 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
19284 (LDFLAGS-reldepmod5.so): Likewise.
19285 (LDFLAGS-reldep6mod1.so): Likewise.
19286 (LDFLAGS-reldep6mod4.so): Likewise.
19287 (LDFLAGS-reldep8mod3.so): Likewise.
19288 (LDFLAGS-unload4mod1.so): Likewise.
19289 (LDFLAGS-unload4mod2.so): Likewise.
19290 (LDFLAGS-tst-initorder): Likewise.
19291 (LDFLAGS-tst-initordera2.so): Likewise.
19292 (LDFLAGS-tst-initordera3.so): Likewise.
19293 (LDFLAGS-tst-initordera4.so): Likewise.
19294 (LDFLAGS-tst-initorderb2.so): Likewise.
19295 (LDFLAGS-noload): Likewise.
19296 (LDFLAGS-next): Likewise.
19297 (LDFLAGS-order2mod1.so): Likewise.
19298 (LDFLAGS-order2mod2.so): Likewise.
19299 (LDFLAGS-tst-initorder2): Likewise.
19300 (LDFLAGS-tst-initorder2a.so): Likewise.
19301 (LDFLAGS-tst-initorder2b.so): Likewise.
19302 (LDFLAGS-tst-initorder2c.so): Likewise.
19303 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
19304
d77f993f
DM
193052012-05-02 David S. Miller <davem@davemloft.net>
19306
19307 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19308
171a70b4
PP
193092012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
19310
19311 [BZ #14055]
19312 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
19313
0be196ad
AJ
193142012-05-02 Andreas Jaeger <aj@suse.de>
19315
19316 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
19317 since we manipulate rounding mode.
19318 (CPPFLAGS-test-idouble.c): Likewise.
19319 (CPPFLAGS-test-ifloat.c): Likewise.
19320 (CFLAGS-test-ldouble.c): Likewise.
19321 (CFLAGS-test-double.c): Likewise.
19322 (CFLAGS-test-float.c): Likewise.
19323 (CFLAGS-test-misc.c): Likewise.
19324 (CFLAGS-test-test-fenv.c): Likewise.
19325
4f9d04aa
AZ
193262012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19327
2b942cb7
RM
19328 [BZ #2550]
19329 [BZ #2570]
19330 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
19331 comparisons to determine direction to adjust input.
4f9d04aa 19332
82a79e7d
RM
193332012-05-01 Roland McGrath <roland@hack.frob.com>
19334
f5a01ca9
RM
19335 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
19336 output to the target.
19337
90fe4186
RM
19338 * scripts/localplt.awk: New file.
19339 * elf/Makefile ($(objpfx)check-localplt): Target removed.
19340 (check-localplt-CFLAGS): Variable removed.
19341 ($(all-built-dso:=.jmprel)): New static pattern rule.
19342 (generated): Add those targets.
19343 (localplt-built-dso): New variable.
19344 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
19345
19346 * elf/check-localplt.c: File removed.
19347
82397ed6
RM
19348 * scripts/check-execstack.awk: New file.
19349 * elf/Makefile ($(objpfx)check-execstack): Target removed.
19350 (check-execstack-CFLAGS): Variable removed.
19351 ($(objpfx)check-execstack.h): Target removed.
19352 ($(objpfx)execstack-default): New target.
19353 (generated): Add that instead of check-execstack.h.
19354 ($(all-built-dso:=.phdr)): New static pattern rule.
19355 (generated): Add those targets.
19356 * elf/check-execstack.c: File removed.
19357
82a79e7d
RM
19358 * scripts/check-textrel.awk: New file.
19359 * elf/Makefile ($(objpfx)check-textrel): Target removed.
19360 (check-textrel-CFLAGS): Variable removed.
19361 (all-built-dso): Use := to define.o
19362 ($(all-built-dso:=.dyn)): New static pattern rule.
19363 (generated): Add those targets.
19364 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
19365 * config.make.in (READELF): New substituted variable.
19366 * elf/check-textrel.c: File removed.
19367
62fde54f 193682012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 19369
615605c9
JM
19370 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19371 allow.
19372 * conform/data/ctype.h-data [C99-based standards] (isblank):
19373 Expect function.
19374 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
19375 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
19376 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19377 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
19378 Specify type. Require positive value.
19379 (EILSEQ): Likewise.
19380 (ERANGE): Likewise.
19381 [ISO || POSIX] (EILSEQ): Do not expect.
19382 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
19383 Specify type. Require positive value.
19384 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
19385 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
19386 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
19387 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
19388 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
19389 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
19390 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
19391 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
19392 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
19393 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
19394 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
19395 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
19396 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
19397 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
19398 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
19399 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
19400 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
19401 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
19402 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
19403 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
19404 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
19405 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
19406 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
19407 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
19408 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
19409 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
19410 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
19411 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
19412 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
19413 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
19414 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
19415 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
19416 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
19417 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
19418 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
19419 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
19420 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
19421 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
19422 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
19423 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
19424 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
19425 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
19426 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
19427 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
19428 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
19429 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
19430 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
19431 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
19432 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
19433 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
19434 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
19435 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
19436 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
19437 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
19438 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
19439 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
19440 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
19441 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
19442 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
19443 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
19444 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
19445 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
19446 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
19447 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
19448 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
19449 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
19450 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
19451 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
19452 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
19453 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
19454 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
19455 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
19456 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
19457 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
19458 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
19459 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
19460 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
19461 Require >= 2.
19462 (FLT_ROUNDS): Expect as macro, not constant.
19463 (FLT_MANT_DIG): Use macro-int-constant.
19464 (DBL_MANT_DIG): Likewise.
19465 (LDBL_MANT_DIG): Likewise.
19466 (FLT_DIG): Likewise.
19467 (DBL_DIG): Likewise.
19468 (LDBL_DIG): Likewise.
19469 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
19470 (DBL_MIN_EXP): Likewise.
19471 (LDBL_MIN_EXP): Likewise.
19472 (FLT_MAX_EXP): Use macro-int-constant.
19473 (DBL_MAX_EXP): Likewise.
19474 (LDBL_MAX_EXP): Likewise.
19475 (FLT_MAX_10_EXP): Likewise.
19476 (DBL_MAX_10_EXP): Likewise.
19477 (LDBL_MAX_10_EXP): Likewise.
19478 (FLT_MAX): Use macro-constant.
19479 (DBL_MAX): Likewise.
19480 (LDBL_MAX): Likewise.
19481 (FLT_EPSILON): Use macro-constant. Give upper bound.
19482 (DBL_EPSILON): Likewise.
19483 (LDBL_EPSILON): Likewise.
19484 (FLT_MIN): Likewise.
19485 (DBL_MIN): Likewise.
19486 (LDBL_MIN): Likewise.
19487 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
19488 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
19489 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
19490 [ISO11] (FLT_HAS_SUBNORM): Likewise.
19491 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
19492 [ISO11] (DBL_DECIMAL_DIG): Likewise.
19493 [ISO11] (FLT_DECIMAL_DIG): Likewise.
19494 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
19495 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
19496 [ISO11] (FLT_TRUE_MIN): Likewise.
19497 [ISO11] (LDBL_TRUE_MIN): Likewise.
19498 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19499 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
19500 (SCHAR_MIN): Use macro-int-constant. Specify type.
19501 (SCHAR_MAX): Likewise.
19502 (UCHAR_MAX): Likewise.
19503 (CHAR_MIN): Likewise.
19504 (CHAR_MAX): Likewise.
19505 (MB_LEN_MAX): Use macro-int-constant.
19506 (SHRT_MIN): Use macro-int-constant. Specify type.
19507 (SHRT_MAX): Likewise.
19508 (USHRT_MAX): Likewise.
19509 (INT_MAX): Likewise.
19510 (INT_MIN): Use macro-int-constant. Specify type. Make upper
19511 bound negative.
19512 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
19513 bound with "U".
19514 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
19515 bound with "L".
19516 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
19517 bound negative. Suffix upper bound with "L".
19518 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
19519 bound with "UL".
19520 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
19521 Specify type.
19522 [C99-based standards] (LLONG_MAX): Likewise.
19523 [C99-based standards] (ULLONG_MAX): Likewise.
19524 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
19525 == 0.
19526 [ISO11] (max_align_t): Require type.
19527 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19528
c9140a62
JM
19529 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
19530 from $CFLAGS, without defining away __attribute__ calls.
19531 (checknamespace): Use $CFLAGS_namespace.
19532
9af0bf29
JM
19533 * conform/conformtest.pl (@keywords): Only include C99 keywords
19534 for standards based on C99 or C11.
19535
343222a2
JM
19536 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
19537 Disable tests.
19538 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
19539 UNIX98]: Likewise.
19540
661f8cf0
JM
19541 * conform/conformtest.pl: Handle "macro-int-constant" and test for
19542 usability of symbols in #if.
19543
ee74b9cb
JM
19544 * conform/conformtest.pl: If macro or constant types start
19545 "promoted:", expect the symbol to be of the following type
19546 promoted by the integer promotions.
62fde54f 19547
aafc49b3
JM
19548 * conform/conformtest.pl: Parse all "constant" and "macro" lines
19549 in one place. Also handle "macro-constant".
19550
fefdf574
JM
19551 * conform/conformtest.pl: Only accept expected macro values with
19552 "==". Parse all "macro" lines in one place.
19553 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
19554
f2d922fe
JM
19555 * conform/conformtest.pl: Handle braced types on "constant" lines
19556 instead of handling "typed-constant".
19557 * conform/data/signal.h-data: Use "constant" instead of
19558 "typed-constant".
19559
d22956c9
JM
19560 * conform/conformtest.pl: Handle "optional-" at start of lines in
19561 one place rather than duplicating several cases. Handle each
19562 format of "macro" line with initial "optional-".
19563
028e2e38
JM
19564 * conform/conformtest.pl: Only accept expected constant or
19565 optional-constant values with "==". Parse all "constant" lines in
19566 one place. Parse all "optional-constant" lines in one place.
19567 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
19568 * conform/data/fmtmsg.h-data: Likewise.
19569 * conform/data/netinet/in.h-data: Likewise.
19570 * conform/data/tar.h-data: Likewise.
19571 * conform/data/limits.h-data: Use "==" form on "constant" and
19572 "optional-constant" lines.
19573
1b8f2850
JM
19574 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
19575 Use -std=c99 for XOPEN2K.
19576 (@knownproblems): Remove.
19577 (newtoken): Don't check %isknown.
19578
a05a144b
JM
19579 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
19580 Do not expect macro.
19581 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
19582 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
19583 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
19584 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
19585 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
19586 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
19587 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
19588 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
19589 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
19590 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
19591 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
19592 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
19593 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
19594 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
19595 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
19596 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
19597 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
19598 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
19599 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
19600 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
19601 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
19602 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
19603 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
19604 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
19605 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
19606 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
19607 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
19608 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
19609 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
19610 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
19611 [XPG3] (acosh): Likewise.
19612 [XPG3] (asinh): Likewise.
19613 [XPG3] (atanh): Likewise.
19614 [XPG3] (cbrt): Likewise.
19615 [XPG3] (expm1): Likewise.
19616 [XPG3] (ilogb): Likewise.
19617 [XPG3] (log1p): Likewise.
19618 [XPG3] (logb): Likewise.
19619 [XPG3] (nextafter): Likewise.
19620 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
19621 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
19622 [XPG3] (remainder): Likewise.
19623 [XPG3] (rint): Likewise.
19624 [XPG3 || XPG4 || UNIX98] (round): Likewise.
19625 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
19626 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
19627 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
19628 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
19629 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
19630 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
19631 [UNIX98 || XOPEN2K] (scalb): Expect.
19632 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
19633 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
19634 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
19635 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
19636 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
19637 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
19638 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
19639 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
19640 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
19641 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
19642 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
19643 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
19644 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
19645 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
19646 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
19647 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
19648 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
19649 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
19650 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
19651 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
19652 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
19653 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
19654 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
19655 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
19656 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
19657 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
19658 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
19659 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
19660 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
19661 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
19662 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
19663 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
19664 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
19665 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
19666 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
19667 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
19668 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
19669 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
19670 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
19671 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
19672 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
19673 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
19674 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
19675 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
19676 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
19677 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
19678 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
19679 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
19680 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
19681 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
19682 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
19683 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
19684 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
19685 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
19686 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
19687 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
19688 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
19689 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
19690 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
19691 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
19692 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
19693 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
19694 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
19695 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
19696 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
19697 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
19698 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
19699 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
19700 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
19701 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
19702 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
19703 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
19704 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
19705 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
19706 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
19707 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
19708 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
19709 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
19710 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
19711 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
19712 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
19713 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
19714 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
19715 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
19716 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
19717 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
19718 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
19719 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
19720 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
19721 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
19722 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
19723 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
19724 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
19725 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
19726 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
19727 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
19728 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
19729 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
19730 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
19731 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
19732 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
19733 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
19734 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
19735 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
19736 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
19737 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
19738 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
19739 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
19740 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
19741 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
19742 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
19743 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
19744 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
19745 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
19746 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
19747 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
19748 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
19749 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
19750 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
19751 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
19752 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
19753 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
19754 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
19755 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
19756 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
19757 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
19758 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
19759 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
19760 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
19761 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
19762 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
19763 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
19764 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
19765 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
19766 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
19767 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
19768 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
19769
73c5ebe3
JM
19770 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
19771 _XOPEN_SOURCE_EXTENDED for XPG4.
19772
39c33b6c
JM
19773 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
19774
62fde54f
JM
19775 * Makeconfig (localtime): Remove variable.
19776 (inst_localtime-file): Likewise.
19777
0741d64c
AS
197782012-05-01 Andreas Schwab <schwab@linux-m68k.org>
19779
19780 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
19781 Update.
19782 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19783 Update.
19784 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
19785 Update.
19786 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19787 Update.
19788 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
19789 Update.
19790 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
19791 Update.
19792 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19793 Update.
19794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
19795 Update.
19796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19797 Update.
19798
7cb029ee
JM
197992012-05-01 Joseph Myers <joseph@codesourcery.com>
19800
19801 [BZ #2550]
19802 [BZ #2570]
19803 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
19804 comparisons to determine direction to adjust input.
19805 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
19806 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
19807 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
19808 Likewise.
19809 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
19810 Likewise.
19811 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19812 Likewise.
19813 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
19814 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
19815 Likewise.
19816 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
19817 Likewise.
19818 * math/libm-test.inc (nexttoward_test): Add more tests.
19819
412bd966
AS
198202012-05-01 Andreas Schwab <schwab@linux-m68k.org>
19821
19822 [BZ #14040]
19823 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
19824 in version GLIBC_2.1, not GLIBC_2.0.
19825 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
19826 Likewise.
19827
9568c0c2
JM
198282012-04-30 Joseph Myers <joseph@codesourcery.com>
19829
adfbc8ac
JM
19830 [BZ #13942]
19831 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
19832 (1 - x) * (1 + x).
19833 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19834 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
19835 * math/libm-test.inc (acos_test): Add more tests.
19836 (asin_test): Likewise.
19837 * sysdeps/i386/fpu/libm-test-ulps: Update.
19838 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19839
5ba3cc69
JM
19840 [BZ #14034]
19841 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
19842 of square root.
19843 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
19844 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19845 * math/libm-test.inc (acos_test_tonearest): New function.
19846 (acos_test_towardzero): Likewise.
19847 (acos_test_downward): Likewise.
19848 (acos_test_upward): Likewise.
19849 (asin_test_tonearest): Likewise.
19850 (asin_test_towardzero): Likewise.
19851 (asin_test_downward): Likewise.
19852 (asin_test_upward): Likewise.
19853 (main): Call the new functions.
19854 * sysdeps/i386/fpu/libm-test-ulps: Update.
19855 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19856
9568c0c2
JM
19857 [BZ #13884]
19858 [BZ #13924]
19859 * math/e_exp10.c: Include <float.h>.
19860 (__ieee754_exp10): Handle underflow here rather than multiplying
19861 large negative argument by M_LN10.
19862 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
19863 of __ieee754_expf.
19864 * math/e_exp10l.c: Include <float.h>.
19865 (__ieee754_exp10l): Handle underflow here rather than multiplying
19866 large negative argument by M_LN10l.
19867 * math/libm-test.inc (exp10_test): Add another test. Do not allow
19868 spurious overflow exception on underflow.
19869
5ac3ea17
MP
198702012-04-29 Marek Polacek <polacek@redhat.com>
19871
19872 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
19873 (__fortify_function): New macro.
19874 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
19875 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
19876 __extern_always_inline.
19877 * libio/bits/stdio2.h: Likewise.
19878 * libio/bits/stdio.h: Likewise.
19879 * string/string.h: Likewise.
19880 * string/bits/string3.h: Likewise.
19881 * include/stdio.h: Likewise.
19882 * stdlib/bits/stdlib.h: Likewise.
19883 * stdlib/stdlib.h: Likewise.
19884 * rt/bits/mqueue2.h: Likewise.
19885 * rt/mqueue.h: Likewise.
19886 * posix/bits/unistd.h: Likewise.
19887 * posix/unistd.h: Likewise.
19888 * io/bits/poll2.h: Likewise.
19889 * io/bits/fcntl2.h: Likewise.
19890 * io/fcntl.h: Likewise.
19891 * io/sys/poll.h: Likewise.
19892 * misc/bits/syslog.h: Likewise.
19893 * misc/bits/syslog-ldbl.h: Likewise.
19894 * misc/sys/syslog.h: Likewise.
19895 * socket/bits/socket2.h: Likewise.
19896 * socket/sys/socket.h: Likewise.
19897 * debug/tst-chk1.c: Likewise.
19898 * wcsmbs/bits/wchar2.h: Likewise.
19899 * wcsmbs/bits/wchar-ldbl.h: Likewise.
19900 * wcsmbs/wchar.h: Likewise.
19901
ecf0ebfb
AJ
199022012-04-29 Andreas Jaeger <aj@suse.de>
19903
19904 * Makerules (tests): Remove enable-check-abi protection.
19905 (check-abi-warn): Remove.
19906 (check-abi-%): Remove check-abi-warn usage.
19907
19908 * configure.in: Remove check-abi configure option.
19909 * configure: Regenerated.
19910 * config.make.in (enable-check-abi): Remove.
19911
6d5c57fa
AS
199122012-04-28 Andreas Schwab <schwab@linux-m68k.org>
19913
24c5d07e 19914 [BZ #14033]
ded5180a
AS
19915 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
19916 double functions to double *_finite functions.
19917
7e0d315d
AS
19918 [BZ #13941]
19919 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
19920 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
19921 LDBL_MIN_EXP.
19922 * stdio-common/Makefile (tests): Add tst-sprintf3.
19923 * stdio-common/tst-sprintf3.c: New file.
19924
6d5c57fa
AS
19925 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
19926 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
19927
0749ff8b
JM
199282012-04-28 Joseph Myers <joseph@codesourcery.com>
19929
19930 * conform/conformtest.pl: Remove duplicate typed-constant
19931 handling.
19932
8dbd5d7b
DM
199332012-04-28 David S. Miller <davem@davemloft.net>
19934
19935 * Makerules (%.abilist): Add vpath on sysdep_dirs.
19936 (check-abi-%): Remove AWK script prerequisite and explicit
19937 abilist directory.
19938 (check-abi): Rewrite to just diff the symlist with the abilist.
19939 (config-tls, config-abi-config): Delete, no longer used.
19940 (update-abi-%): Remove AWK script and explicit abilist directory.
19941 (update-abi): Rewrite to simply compare and conditionally copy the
19942 symlist and the sysdep abilist file. Remove update-abi-config
19943 checks.
19944 * abilist/ld.abilist: Remove.
19945 * abilist/libBrokenLocale.abilist: Remove.
19946 * abilist/libanl.abilist: Remove.
19947 * abilist/libcrypt.abilist: Remove.
19948 * abilist/libdl.abilist: Remove.
19949 * abilist/librt.abilist: Remove.
19950 * abilist/libthread_db.abilist: Remove.
19951 * abilist/libutil.abilist: Remove.
19952 * scripts/extract-abilist.awk: Remove.
19953 * scripts/merge-abilist.awk: Remove.
19954 * sysdeps/generic/libcidn.abilist: New file.
19955 * sysdeps/generic/libnss_compat.abilist: New file.
19956 * sysdeps/generic/libnss_db.abilist: New file.
19957 * sysdeps/generic/libnss_dns.abilist: New file.
19958 * sysdeps/generic/libnss_files.abilist: New file.
19959 * sysdeps/generic/libnss_hesiod.abilist: New file.
19960 * sysdeps/generic/libnss_nis.abilist: New file.
19961 * sysdeps/generic/libnss_nisplus.abilist: New file.
19962 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
19963 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
19964 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
19965 file.
19966 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
19967 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
19968 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
19969 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
19970 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
19971 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
19972 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
19973 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
19974 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
19975 file.
19976 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
19977 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
19978 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
19979 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
19980 file.
19981 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
19982 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
19983 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
19984 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
19985 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
19986 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
19987 file.
19988 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
19989 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
19990 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
19991 file.
19992 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
19993 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
19994 New file.
19995 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
19996 New file.
19997 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
19998 New file.
19999 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
20000 New file.
20001 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
20002 New file.
20003 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
20004 New file.
20005 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
20006 New file.
20007 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
20008 New file.
20009 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
20010 New file.
20011 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
20012 New file.
20013 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
20014 New file.
20015 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
20016 New file.
20017 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
20018 New file.
20019 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
20020 file.
20021 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
20022 New file.
20023 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
20024 New file.
20025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
20026 file.
20027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
20028 New file.
20029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
20030 New file.
20031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
20032 file.
20033 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
20034 New file.
20035 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
20036 New file.
20037 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
20038 New file.
20039 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
20040 New file.
20041 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
20042 New file.
20043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
20044 New file.
20045 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
20046 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
20047 file.
20048 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
20049 New file.
20050 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
20051 file.
20052 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
20053 file.
20054 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
20055 file.
20056 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
20057 file.
20058 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
20059 file.
20060 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
20061 New file.
20062 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
20063 file.
20064 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
20065 file.
20066 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
20067 New file.
20068 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
20069 file.
20070 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
20071 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
20072 file.
20073 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
20074 New file.
20075 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
20076 file.
20077 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
20078 file.
20079 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
20080 file.
20081 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
20082 file.
20083 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
20084 file.
20085 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
20086 New file.
20087 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
20088 file.
20089 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
20090 file.
20091 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
20092 New file.
20093 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
20094 file.
20095 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
20096 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
20097 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
20098 file.
20099 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
20100 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
20101 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
20102 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
20103 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
20104 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
20105 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
20106 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
20107 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
20108 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
20109 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
20110 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
20111 file.
20112 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
20113 New file.
20114 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
20115 file.
20116 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
20117 file.
20118 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
20119 file.
20120 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
20121 file.
20122 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
20123 file.
20124 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
20125 New file.
20126 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
20127 New file.
20128 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
20129 file.
20130 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
20131 New file.
20132 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
20133 file.
20134 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
20135 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
20136 file.
20137 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
20138 New file.
20139 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
20140 file.
20141 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
20142 file.
20143 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
20144 file.
20145 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
20146 file.
20147 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
20148 file.
20149 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
20150 New file.
20151 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
20152 New file.
20153 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
20154 file.
20155 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
20156 New file.
20157 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
20158 file.
20159
41d73a1b
JM
201602012-04-28 Joseph Myers <joseph@codesourcery.com>
20161
20162 * conform/conformtest.pl: Fix typo in handling typed-constant from
20163 allow-header.
20164
28aeeda4
JM
201652012-04-27 Joseph Myers <joseph@codesourcery.com>
20166
adae8f5e
JM
20167 * README: Cut down references to pre-2.6 Linux kernels and
20168 Linuxthreads. Update lists of configurations in libc and ports
20169 and sort alphabetically. Say "or newer" with Linux kernel version
20170 requirements.
20171
28aeeda4
JM
20172 * config.h.in [IS_IN_build]: Allow compiling without optimization.
20173
a462cb63
RA
201742012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
20175
20176 [BZ #887]
20177 * math/libm-test.inc (logb_test_downward): New test to expose
20178 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
20179 rounding mode.
20180
6ad3493e
JM
201812012-04-27 Joseph Myers <joseph@codesourcery.com>
20182
20183 [BZ #14027]
20184 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
20185 to be done.
20186 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
20187 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
20188
2ce4f015
JM
201892012-04-26 Joseph Myers <joseph@codesourcery.com>
20190
5aeb141a
JM
20191 * sysdeps/unix/i386/brk.S: Remove file.
20192 * sysdeps/unix/i386/dl-brk.S: Likewise.
20193 * sysdeps/unix/i386/pipe.S: Likewise.
20194 * sysdeps/unix/i386/sigreturn.S: Likewise.
20195 * sysdeps/unix/i386/syscall.S: Likewise.
20196 * sysdeps/unix/i386/vfork.S: Likewise.
20197 * sysdeps/unix/i386/wait.S: Likewise.
20198
7143acae
JM
20199 * sysdeps/unix/common/tcsendbrk.c: Move to ...
20200 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
20201
2ce4f015
JM
20202 * configure.in (arm*-none*): Do not allow without
20203 --enable-hacker-mode.
20204 (netbsd*): Remove case setting base_os.
20205 (386bsd*): Likewise.
20206 (freebsd*): Likewise.
20207 (bsdi*): Likewise.
20208 (osf*): Likewise.
20209 (sunos*): Likewise.
20210 (ultrix*): Likewise.
20211 (newsos*): Likewise.
20212 (dynix*): Likewise.
20213 (*bsd*): Likewise.
20214 (sysv*): Likewise.
20215 (isc*): Likewise.
20216 (esix*): Likewise.
20217 (sco*): Likewise.
20218 (minix*): Likewise.
20219 (irix4*): Likewise.
20220 (irix6*): Likewise.
20221 (solaris[2-9]*): Likewise.
20222 (none): Likewise.
20223 * configure: Regenerated.
20224
0ac229c8
AZ
202252012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20226
20227 [BZ #11521]
20228 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
20229 overflow or cancellation in calculating denominator.
20230 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
20231 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
20232 down expression to avoid unexpected rounding in newer GCCs.
20233 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
20234
33f244f4
DM
202352012-04-26 David S. Miller <davem@davemloft.net>
20236
20237 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
20238 long-double compat symbols.
20239 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20240 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
20241 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
20242 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
20243 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
20244 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
20245 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
20246 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
20247 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
20248 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
20249 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
20250 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
20251 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
20252
cfa1f3e8
DM
202532012-04-25 David S. Miller <davem@davemloft.net>
20254
20255 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
20256 HWCAP_* values only after the memory barriers have been defined.
20257 (atomic_full_barrier): Define.
20258 (atomic_read_barrier): Define.
20259 (atomic_write_barrier): Define.
20260
6e236b92
SP
202612012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20262
20263 * shlib-versions: Add libgcc_s version information.
20264 * sysdeps/generic/libgcc_s.h: Remove.
20265 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
20266 libgcc_s.h.
20267 * sysdeps/gnu/unwind-resume.c: Likewise.
20268 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
20269
aab39a09
DM
202702012-04-25 David S. Miller <davem@davemloft.net>
20271
20272 * sysdeps/unix/sparc/brk.S: Delete.
20273 * sysdeps/unix/sparc/dl-brk.S: Delete.
20274 * sysdeps/unix/sparc/pipe.S: Delete.
20275 * sysdeps/unix/sparc/sysdep.S: Delete.
20276 * sysdeps/unix/sparc/sysdep.h: Delete.
20277 * sysdeps/unix/sparc/vfork.S: Delete.
20278 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
20279 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
20280 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
20281 ret_ERRVAL, r0, r1, MOVE): Define.
20282 (JUMPTARGET): Remove.
20283 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
20284 sysdeps/unix/sparc/sysdep.h
20285 (ENTRY, END): Remove.
20286 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20287
a3cc4f48
JM
202882012-04-25 Joseph Myers <joseph@codesourcery.com>
20289
2ed8cda2
JM
20290 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
20291 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
20292 -DIS_IN_build.
20293
35d76d59
JM
20294 * timezone/README: Update upstream location and email address for
20295 tzcode and tzdata.
20296 * timezone/zdump.c: Update from tzcode 2012b.
20297 * timezone/zic.c: Likewise.
20298
a3cc4f48
JM
20299 * configure.in (libc_cv_as_needed): Remove test.
20300 * configure: Regenerated.
20301 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
20302 conditional definition.
20303 [$(have-as-needed) != yes] (no-as-needed): Likewise.
20304 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
20305 * config.make.in (have-as-needed): Remove variable.
20306
ceab42c3
SP
203072012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20308 Paul Pluzhnikov <ppluzhnikov@google.com>
20309
20310 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
20311 strings correctly.
20312
3ce2865f
CLT
203132012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
20314
20315 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
20316 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
20317 * sysdeps/sh/strlen.S: Likewise.
20318
f37e0d68
JM
203192012-04-24 Joseph Myers <joseph@codesourcery.com>
20320
ae186e9a
JM
20321 * sysdeps/unix/fork.S: Remove file.
20322 * sysdeps/unix/i386/fork.S: Likewise.
20323 * sysdeps/unix/sparc/fork.S: Likewise.
20324
b96914af
JM
20325 * sysdeps/unix/system.c: Remove file.
20326 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
20327
f37e0d68
JM
20328 * sysdeps/unix/getegid.S: Remove file.
20329 * sysdeps/unix/geteuid.S: Likewise.
20330
87ef29ca
RM
203312012-04-24 Roland McGrath <roland@hack.frob.com>
20332
83bcd236
RM
20333 * scripts/check-localplt.awk: New file.
20334 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
20335 of diff.
20336 * scripts/data/localplt-generic.data: Add a comment.
20337
87ef29ca
RM
20338 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
20339 NODE when __dir_mkfile failed.
20340 * sysdeps/mach/hurd/symlinkat.c: Likewise.
20341 Reported by Ludovic Courtès <ludo@gnu.org>.
20342
e5a6e567
AJ
203432012-04-24 Andreas Jaeger <aj@suse.de>
20344
20345 * Makerules (common-clean): Also remove gen-as-const-headers
20346 files.
20347
c1820385
JM
203482012-04-24 Joseph Myers <joseph@codesourcery.com>
20349
20350 * Makerules (native-compile): Do not change working directory for
20351 build. Use $(OUTPUT_OPTION) in command.
20352 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
20353
94e02fc4
AZ
203542012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20355
20356 [BZ #13886]
20357 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
20358 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
20359 * math/libm-test.inc (floor_test): Add more tests.
20360 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
20361
3a533ca3
JM
203622012-04-24 Joseph Myers <joseph@codesourcery.com>
20363
940ab4b3
JM
20364 * sysdeps/unix/getdents.c: Remove file.
20365 * sysdeps/unix/sysv/getdents.c: Likewise.
20366 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
20367
90e037bd
JM
20368 * sysdeps/unix/syscalls.list (madvise): Add syscall from
20369 sysdeps/unix/mman/syscalls.list.
20370 (mmap): Likewise.
20371 (mprotect): Likewise.
20372 (msync): Likewise.
20373 (munmap): Likewise.
20374 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
20375 * sysdeps/unix/mman/syscalls.list: Remove.
20376 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
20377
3a533ca3
JM
20378 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
20379 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
20380 * configure: Regenerated.
20381 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
20382 $(libgcc_s_suffix).
20383 * config.make.in (libgcc_s_suffix): Remove variable.
20384
1ad743de
JM
203852012-04-23 Joseph Myers <joseph@codesourcery.com>
20386
4ad451e2
JM
20387 * sysdeps/unix/sysv/gethostname.c: Move to ...
20388 * sysdeps/posix/gethostname.c: ... here.
20389
5e37ce39
JM
20390 * sysdeps/unix/execve.S: Remove file.
20391
1ad743de
JM
20392 * sysdeps/unix/_exit.S: Remove file.
20393
4e681b5b
AJ
203942012-04-23 Andreas Jaeger <aj@suse.de>
20395
20396 [BZ #13739]
20397 * manual/Makefile: Remove make dist support, there's no
20398 need for a stand-alone documentation tar ball.
20399 (TEXI2DVI): Define always, it's not in Makeconfig.
20400 (dist): Removed.
20401 (tar-it): Removed.
20402 (edition): Removed.
20403 (glibc-doc-$(edition).tar): Removed
20404 (%.Z): Removed.
20405 (%.gz): Removed.
20406 (%.uu): Removed.
20407 (ETAGS): Remove, it's in Makeconfig.
20408 (move-if-change): Remove, it's in Makeconfig.
20409
38686a03 204102012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
20411
20412 [BZ #13970]
20413 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
20414 (strtod, strtof, strtold, strtol, strtoul, strtoq)
20415 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
20416 (strtod_l, strtof_l, strtold_l): Remove __wur.
20417 It is not necessarily an error to ignore strtol's return value.
20418 One can reliably look at the stored endptr to decide whether
20419 the number had valid syntax.
20420
7c0616fa
AJ
204212012-04-21 Andreas Jaeger <aj@suse.de>
20422
803cb6b7 20423 [BZ #13739]
7c0616fa
AJ
20424 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
20425
b0fe253f
JM
204262012-04-21 Joseph Myers <joseph@codesourcery.com>
20427
20428 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
20429 * sysdeps/unix/sysv/Versions: Remove file.
20430
8280f22d
MT
204312012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
20432
20433 [BZ #13927]
20434 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20435
75ce411f 204362012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
20437
20438 [BZ #7064]
20439 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
20440 version from __vm86.
20441
097d59fa
JM
204422012-04-20 Joseph Myers <joseph@codesourcery.com>
20443
a90f3bcb
JM
20444 * sysdeps/unix/common/lxstat.c: Remove file.
20445 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
20446
edc7ea78
JM
20447 * sysdeps/unix/sysv/Makefile: Remove file.
20448
cb78c221
JM
20449 * sysdeps/unix/sysv/direct.h: Remove file.
20450
efa6a45f
JM
20451 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
20452 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
20453 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
20454 * sysdeps/unix/sysv/bits/signum.h: Likewise.
20455 * sysdeps/unix/sysv/bits/stat.h: Likewise.
20456 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
20457 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
20458
9c9f2d0c
JM
20459 * sysdeps/unix/sysv/setrlimit.c: Remove file.
20460
4541c83b
JM
20461 * sysdeps/unix/xmknod.c: Remove file.
20462 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
20463
f5d153a0
JM
20464 * sysdeps/unix/sysv/settimeofday.c: Remove file.
20465
aa746595
JM
20466 * sysdeps/unix/sysv/i386/time.S: Remove file.
20467
cce5905e
JM
20468 * sysdeps/unix/fxstat.c: Remove file.
20469 * sysdeps/unix/xstat.c: Likewise.
20470 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
20471
37fa3841
JM
20472 * sysdeps/unix/sysv/sigaction.c: Remove file.
20473
ff1962a3
JM
20474 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
20475 (sysdep_headers): Remove variable.
20476 [termio.h not in sysdep_headers] (generated): Likewise.
20477 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
20478 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
20479 * sysdeps/unix/sysv/tcdrain.c: Likewise.
20480 * sysdeps/unix/sysv/tcflow.c: Likewise.
20481 * sysdeps/unix/sysv/tcflush.c: Likewise.
20482 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
20483 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
20484 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
20485 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
20486 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
20487
e7740d31
JM
20488 * sysdeps/unix/siglist.c: Remove file.
20489
ee06f18b
JM
20490 * sysdeps/unix/getppid.S: Remove file.
20491
097d59fa
JM
20492 * sysdeps/unix/mkdir.c: Remove file.
20493 * sysdeps/unix/rmdir.c: Likewise.
20494
ff3d51ec
AS
204952012-04-19 Andreas Schwab <schwab@linux-m68k.org>
20496
20497 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
20498 ERR_MAX value.
20499 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
20500 errlist-compat value.
20501
50f81fd7
DM
205022012-04-18 David S. Miller <davem@davemloft.net>
20503
20504 * sysdeps/generic/memcopy.h (reg_char): Delete.
20505 * debug/strcat_chk.c: Use char, not reg_char.
20506 * debug/strcpy_chk.c: Likewise.
20507 * debug/strncat_chk.c: Likewise.
20508 * debug/strncpy_chk.c: Likewise.
20509 * string/memchr.c: Likewise.
20510 * string/memrchr.c: Likewise.
20511 * string/rawmemchr.c: Likewise.
20512 * string/strcat.c: Likewise.
20513 * string/strchr.c: Likewise.
20514 * string/strchrnul.c: Likewise.
20515 * string/strcmp.c: Likewise.
20516 * string/strcpy.c: Likewise.
20517 * string/strncat.c: Likewise.
20518 * string/strncmp.c: Likewise.
20519 * string/strncpy.c: Likewise.
20520
8ff41c46
WS
205212012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20522
20523 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
20524 __builtin_memcopy is called when src and dest ranges are known to not
20525 overlap.
20526
6b652f46
WS
205272012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20528
20529 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
20530 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
20531 fwd_align_merge macro call.
20532 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
20533 bwd_align_merge macro call.
20534 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20535
b282631e
WS
205362012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20537
20538 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
20539 bwd_align_merge macros.
20540 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
20541 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
20542 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20543
95aa737c
DM
205442012-04-18 David S. Miller <davem@davemloft.net>
20545
20546 * sysdeps/sparc/sparc64/memcopy.h: Delete.
20547
7a99a614
AJ
205482012-04-18 Andreas Jaeger <aj@suse.de>
20549
20550 [BZ# 6794]
20551 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
20552 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
20553 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20554
20555 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
20556 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
20557 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20558
20559 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
20560 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
20561 Adjust for changed ldbl-128 files.
20562
20563 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
20564 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
20565 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20566
e5270c23
DM
205672012-04-17 David S. Miller <davem@davemloft.net>
20568
20569 * sysdeps/sparc/sparc32/memcopy.h: Delete.
20570
fb5e92c9
AS
205712012-04-17 Andreas Schwab <schwab@linux-m68k.org>
20572
20573 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
20574 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
20575 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
20576 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
20577 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
20578 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
20579
76da7265
AZ
205802012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20581
20582 [BZ #6794]
20583 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
20584 * math/libm-test.inc: Add ilogb errno and exception tests.
20585 * math/w_ilogb.c: New file: ilogb wrapper.
20586 * math/w_ilogbf.c: New file: ilogbf wrapper.
20587 * math/w_ilogbl.c: New file: ilogbl wrapper.
20588 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
20589 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
20590 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
20591 exception being thrown with 0.0 as argument.
20592 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
20593 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
20594 exception being thrown with 0.0 as argument.
20595 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
20596 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20597 exception being thrown with 0.0 as argument.
20598 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
20599 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20600 exception being thrown with 0.0 as argument.
20601 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
20602 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 20603 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
20604 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
20605 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
20606 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
20607 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
20608 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
20609 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
20610
0396e69d
PB
206112012-04-17 Petr Baudis <pasky@ucw.cz>
20612
20613 * include/sys/uio.h: Change __vector to __iovec to avoid clash
20614 with altivec.
20615
750b5926
MP
206162012-04-16 Marek Polacek <polacek@redhat.com>
20617
20618 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
20619
751728a1
MP
206202012-04-16 Marek Polacek <polacek@redhat.com>
20621
20622 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
20623 operands of fdivp instruction.
20624
34a27407
L
206252012-04-13 H.J. Lu <hongjiu.lu@intel.com>
20626
20627 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
20628 * elf/tst-auditmod3b.c: Likewise.
20629 * elf/tst-auditmod4b.c: Likewise.
20630 * elf/tst-auditmod5b.c: Likewise.
20631 * elf/tst-auditmod6b.c: Likewise.
20632 * elf/tst-auditmod6c.c: Likewise.
20633 * elf/tst-auditmod7b.c: Likewise.
20634 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
20635 * sysdeps/x86_64/preconfigure.in: Likewise.
20636 * sysdeps/x86_64/preconfigure: Regenerated.
20637
7e73e17d
L
206382012-04-13 H.J. Lu <hongjiu.lu@intel.com>
20639
20640 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
20641 __ILP32__.
20642
c7a6ab72
AB
206432012-04-13 Antoine Balestrat <merkil33@gmail.com>
20644
20645 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
20646 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
20647
a9e8e0e0
CL
206482012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
20649
20650 [BZ #13973]
20651 * locale/iso-639.def: Fix gl language name. Spotted by
20652 Yaron Shahrabani.
20653
ec98af7d
RM
206542012-04-12 Roland McGrath <roland@hack.frob.com>
20655
20656 [BZ #2074]
20657 * libio/libio.h (__io_write_fn): Update comment.
20658
247c3ede
PB
206592012-04-12 Petr Baudis <pasky@ucw.cz>
20660
20661 [BZ #2074]
20662 * stdio.texi (Hook Functions): The user provided writer function
20663 is not allowed to return -1.
20664
55939d6d
DM
206652012-04-11 David S. Miller <davem@davemloft.net>
20666
20667 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20668
90020f5a
MF
206692012-04-11 Mike Frysinger <vapier@gentoo.org>
20670
20671 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
20672 Add a leading slash to rtkaio.
20673
288f9098
JM
206742012-04-11 Jim Meyering <meyering@redhat.com>
20675
90020f5a
MF
20676 [BZ #11959]
20677 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
20678 It is not necessarily an error to ignore fwrite's return
20679 value. One can reliably use ferror to test for errors after
20680 the fact.
288f9098 20681
4be2b570
L
206822012-04-10 H.J. Lu <hongjiu.lu@intel.com>
20683
20684 * bits/types.h (__snseconds_t): New type.
20685 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
20686
20687 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
20688 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20689 (__SNSECONDS_T_TYPE): Likewise.
20690 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20691 (__SNSECONDS_T_TYPE): Likewise.
20692 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20693 (__SNSECONDS_T_TYPE): Likewise.
20694
288f9098 206952012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
20696
20697 [BZ #2636]
20698 * manual/time.texi (Processor Time): Return type of times is
20699 elapsed real time since an arbitrary point in the past.
20700 (CPU Time): Move CLK_TCK from here...
20701 (Processor Time): ...to here. Correct description.
20702 * manual/conf.texi (Constants for Sysconf): Correct description of
20703 _SC_CLK_TCK.
20704
d7dd4413
DM
207052012-04-10 David S. Miller <davem@davemloft.net>
20706
20707 [BZ #13967]
20708 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
20709 where the is a gap between DT_REL(A) and DT_JMPREL.
20710
b46068fc
L
207112012-04-10 H.J. Lu <hongjiu.lu@intel.com>
20712
20713 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
20714 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20715 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20716
73d65cc3
SP
207172012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20718
20719 * elf/dl-support.c (_dl_inhibit_cache): New variable.
20720 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
20721 (dl_main): Handle --inhibit-cache.
20722 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
20723 _dl_inhibit_cache.
20724 * elf/dl-load.c (_dl_map_object): Use it.
20725 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
20726
bcc8d661
JM
207272012-04-09 Joseph Myers <joseph@codesourcery.com>
20728
8f9a2fae
JM
20729 [BZ #13872]
20730 * sysdeps/i386/fpu/e_powl.S (p78): New object.
20731 (__ieee754_powl): Saturate large exponents rather than testing for
20732 overflow of y*log2(x).
20733 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20734 * math/libm-test.inc (pow_test): Do not permit spurious overflow
20735 exceptions.
20736
bcc8d661
JM
20737 [BZ #11521]
20738 * math/s_ctan.c: Include <float.h>.
20739 (__ctan): Avoid internal overflow or cancellation in calculating
20740 denominator.
20741 * math/s_ctanf.c: Likewise.
20742 * math/s_ctanl.c: Likewise.
20743 * math/s_ctanh.c: Likewise.
20744 * math/s_ctanhf.c: Likewise.
20745 * math/s_ctanhl.c: Likewise.
20746 * math/libm-test.inc (ctan_test): Add more tests.
20747 (ctanh_test): Likewise.
20748 * sysdeps/i386/fpu/libm-test-ulps: Update.
20749 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20750
823fbbb4
AJ
207512012-04-09 Andreas Jaeger <aj@suse.de>
20752
03879793
AJ
20753 [BZ #6894]
20754 * manual/filesys.texi (Directory Entries): Mention that d_namlen
20755 is an optional BSD extension.
20756
823fbbb4
AJ
20757 [BZ #10254]
20758 * manual/stdio.texi (Opening Streams): Document additional fopen
20759 parameters.
20760
8de131cb
RM
207612012-04-09 Roland McGrath <roland@hack.frob.com>
20762
20763 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
20764 %eax without telling the compiler.
20765
c0ed9d7d
CD
207662012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
20767
20768 [BZ # 13963]
20769 * manual/install.texi: Use sourceware.org.
20770
c483f6b4
JM
207712012-04-09 Joseph Myers <joseph@codesourcery.com>
20772
d7dd9453
JM
20773 [BZ #13873]
20774 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
20775 (__ieee754_pow): Generate overflow and underflow using huge*huge
20776 and tiny*tiny rather than just returning constant infinity or zero
20777 for large exponents.
20778 * math/libm-test.inc (pow_test): Require overflow exceptions for
20779 applicable cases of large exponents.
20780
c483f6b4
JM
20781 [BZ #706]
20782 * sysdeps/i386/fpu/e_pow.S (p10): New object.
20783 (__ieee754_pow): Use iterative multiplication algorithm only for
20784 integer exponents with absolute value below 1024. Check for odd
20785 integer exponents when using algorithm for real exponents.
20786 * math/libm-test.inc (pow_test): Add more tests.
20787 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20788
d2de7579
JM
207892012-04-08 Joseph Myers <joseph@codesourcery.com>
20790
20791 [BZ #13705]
20792 * math/libm-test.inc (exp_test): Do not allow overflow exception
20793 on underflow test.
20794
f77f1232
AJ
207952012-04-08 Aurelien Jarno <aurelien@aurel32.net>
20796
20797 [BZ #13705]
20798 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
20799 instead of __kernel_standard_f.
20800
3884932b
MF
208012012-04-08 Mike Frysinger <vapier@gentoo.org>
20802
20803 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
20804 * sysdeps/x86_64/memset_chk.S: Likewise.
20805
54472e9c
AJ
208062012-04-08 Andreas Jaeger <aj@suse.de>
20807
6ab0fbfc
AJ
20808 [BZ #10153]
20809 * manual/startup.texi (Environment Access): Describe return value
20810 for putenv and setenv.
20811
61efba8c
AJ
20812 [BZ #6895]
20813 * manual/filesys.texi (Directory Entries): Add description for
20814 DT_LNK.
20815
95c3f29a
AJ
20816 [BZ #6890]
20817 * manual/filesys.texi (Directory Entries): Clarify that it's file
20818 system not operating system in the description of DT_UNKNOWN.
20819
54472e9c
AJ
20820 [BZ #6578]
20821 * manual/syslog.texi (closelog): Fix reference, it's openlog.
20822
624254b1
SC
208232012-04-08 Stephen Compall <s11@member.fsf.org>
20824
20825 [BZ #6649]
20826 * manual/llio.texi (Opening and Closing Files): Add cross
20827 reference to explain mode argument.
20828
1e4920e0
MF
208292012-04-07 Mike Frysinger <vapier@gentoo.org>
20830
20831 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
20832 * sysdeps/x86_64/memset_chk.S: Likewise.
20833
5ed848f3
DM
208342012-04-07 David S. Miller <davem@davemloft.net>
20835
20836 * elf/elf.h (R_SPARC_WDISP10): Define.
20837 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
20838 R_SPARC_SIZE32.
20839 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
20840 R_SPARC_SIZE64 and R_SPARC_H34.
20841
96154cd8
CD
208422012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
20843
20844 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
20845 conditions and remove no longer applicable assertion.
20846
9904dc47
L
208472012-04-06 H.J. Lu <hongjiu.lu@intel.com>
20848
20849 * bits/byteswap.h: Include <features.h>.
20850 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20851 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20852
f8887d0a
L
208532012-04-06 H.J. Lu <hongjiu.lu@intel.com>
20854
20855 * bits/byteswap.h (__bswap_16): Removed.
20856 Include <bits/byteswap-16.h> to get __bswap_16.
20857 * sysdeps/i386/bits/byteswap.h: Likewise.
20858 * sysdeps/s390/bits/byteswap.h: Likewise.
20859 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20860 * bits/byteswap-16.h: New file.
20861 * sysdeps/i386/bits/byteswap-16.h: Likewise.
20862 * sysdeps/s390/bits/byteswap-16.h: Likewise.
20863 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
20864 * string/Makefile (headers): Add bits/byteswap-16.h.
20865
62470f60
PP
208662012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20867
20868 [BZ #13895]
20869 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
20870 extra indirection.
20871 * nss/Makefile (tests-static, tests): Add tst-nss-static.
20872 * nss/tst-nss-static.c: New.
20873
4dad7bab
RM
208742012-04-06 Robert Millan <rmh@gnu.org>
20875
20876 [BZ #6486]
20877 * manual/llio.texi (File Position Primitive): lseek
20878 refers to WHENCE when it really means OFFSET.
20879
e9142a17
AJ
208802012-04-06 Andreas Jaeger <aj@suse.de>
20881
2c040eff
AJ
20882 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
20883 strncmp declarations.
20884
e9142a17
AJ
20885 * abilist/libc.abilist: Add __poll and __ppoll.
20886
ff9f1c5f
DM
208872012-04-05 David S. Miller <davem@davemloft.net>
20888
dcd2ae90
DM
20889 * scripts/check-local-headers.sh: Accept a host triplet in the
20890 path matched by the exclude regexp.
20891
993eb054
DM
20892 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
20893 definition.
20894 * sysdeps/powerpc/powerpc32/dl-machine.h
20895 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
20896 * sysdeps/s390/s390-32/dl-machine.h
20897 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20898 * sysdeps/sparc/sparc32/dl-machine.h
20899 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20900 * sysdeps/sparc/sparc64/dl-machine.h
20901 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20902
ff9f1c5f
DM
20903 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
20904 lazy binding.
48e2e132 20905 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
20906 undefined symbol errors.
20907
48e2e132 20908 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
20909 DT_NEEDED entries.
20910
e80d6f94
MM
209112012-04-05 Michael Matz <matz@suse.de>
20912
20913 [BZ #13592]
20914 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
20915
349fa79f
AJ
209162012-04-05 Andreas Jaeger <aj@suse.de>
20917
20918 [BZ #13908]
20919 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
20920 comment.
20921
f402708f
KK
209222012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20923
20924 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
20925 which ROUND is no valid rounding mode.
20926
2ecccfc9
KK
209272012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20928
20929 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
20930 read again.
20931 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
20932
8a53f50f
KK
209332012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20934
20935 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
20936 an exception using FPU order intentionally.
20937
209382012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20939
20940 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
20941 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
20942 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
20943 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
20944
d653abb7
SJ
209452012-04-05 Simon Josefsson <simon@josefsson.org>
20946
20947 [BZ #12340]
20948 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
20949 EINVAL when BUFLEN is too smal.
20950
c3b1bf7d
TS
209512012-04-05 Thomas Schwinge <thomas@codesourcery.com>
20952
20953 [BZ #13553]
20954 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
20955 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
20956
b1aa60f3
AJ
209572012-04-03 Andreas Jaeger <aj@suse.de>
20958
c3b1bf7d 20959 [BZ #13938]
67f60a26
AJ
20960 * manual/setjmp.texi (System V contexts): Fix sentence.
20961
b1aa60f3
AJ
20962 [BZ #13926]
20963 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
20964 New macro for this case.
20965 [!__GNUC__] (__bswap_64): New inline function for this case.
20966 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20967 * bits/byteswap.h: Likewise.
20968 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
20969 ull, guard with __GLIBC_HAVE_LONG_LONG.
20970
20971 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
20972 __GLIBC_HAVE_LONG_LONG.
20973
20974 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
20975 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
20976
39c59c35
TMQMF
209772012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20978
20979 [BZ #13691]
20980 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
20981 inptr and inend, rather than using last_ch.
20982
135ffda8
DM
209832012-04-02 David S. Miller <davem@davemloft.net>
20984
20985 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
20986 * stdio-common/printf-parse.h (read_int): Change return type to
20987 'int', return -1 on INT_MAX overflow.
20988 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
20989 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
20990 overflows INT_MAX. Check for overflow of in-format-string precision
20991 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
20992 SIZE_MAX not INT_MAX for integer overflow test.
20993 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
20994 skip the construct in the format string but do not record anything.
20995 * stdio-common/bug22.c: Adjust to test both width/prevision
20996 INT_MAX overflow as well as total length INT_MAX overflow. Check
20997 explicitly for proper errno values.
20998
228c019e
TS
209992012-04-02 Thomas Schwinge <thomas@codesourcery.com>
21000
302cadd3
TS
21001 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
21002 CHAR_MAX.
21003 * string/test-strcmp.c [! WIDE]: Likewise.
21004 * time/tst-mktime2.c: Likewise for INT_MAX.
21005 * string/test-string.h: #include <sys/param.h> for MIN.
21006
228c019e
TS
21007 * csu/init-first.c (__libc_init_first): Call __ctype_init.
21008 * sysdeps/i386/init-first.c (init): Likewise.
21009 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
21010 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
21011 * sysdeps/sh/init-first.c (init): Likewise.
21012
cfa633f5
UD
210132012-04-01 Ulrich Drepper <drepper@gmail.com>
21014
21015 * po/ru.po: Update from translation team.
d1635ef8 21016 * po/vi.po: Likewise.
cfa633f5 21017
6cd0a5ea
SP
210182012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
21019
21020 * resolv/nss_dns/dns-host.c: Merge copyright years.
21021
4b43400f
LD
210222012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
21023
21024 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
21025 Optimize memcpy with prefetch if
21026 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
21027 src, dst pointers have unequal 16 byte alignments.
21028
48c41d04
SP
210292012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
21030
21031 [BZ #13928]
21032 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
21033 from a CNAME entry and return the minimum ttl for the query.
21034 (gaih_getanswer_slice): Likewise.
21035
b8dc394d
JL
210362012-03-30 Jeff Law <law@redhat.com>
21037
21038 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
21039 due to long keys.
21040 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
21041 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
21042
2f5a5ed0
JL
21043 * resolv/nss_dns/dns-host.c: Update copyright year.
21044
1d39e359
UD
210452012-03-30 Ulrich Drepper <drepper@gmail.com>
21046
c030f70c 21047 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 21048 requests to save a system call. Fix check that all bytes are sent.
c030f70c 21049
1d39e359
UD
21050 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
21051 comments for sendmmsg.
21052
210532012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
21054
21055 [BZ #13691]
21056 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
21057 with only 1 character between 0x0041 and 0x01b0.
21058 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
21059 * wcsmbs/tst-mbsnrtowcs.c: New file.
21060
20fde227
DM
210612012-03-29 David S. Miller <davem@davemloft.net>
21062
21063 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
21064 small copies by hand.
21065
984a4237
JL
210662012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
21067
21068 [BZ #13761]
21069 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
21070 _nss_compat_initgroups_dyn): Fall back to malloc/free
21071 for large group memberships.
21072
18c9d62b
DM
210732012-03-28 David S. Miller <davem@davemloft.net>
21074
88d85d4f
DM
21075 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
21076 that branches into memcpy.
21077 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
21078 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
21079 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
21080 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
21081 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
21082 bits.
21083 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
21084 implementation too.
21085 * sysdeps/sparc/mempcpy.S: New file.
21086
e5aa83e1
DM
21087 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
21088 the IFUNC routine in the libc case.
21089 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
21090
88570753
DM
21091 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
21092 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
21093 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
21094 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
21095 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
21096 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
21097 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
21098 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
21099
249d7567
DM
21100 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
21101 loop to 256 bytes instead of 64 bytes and fix test signedness.
21102
18c9d62b
DM
21103 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
21104 * sysdeps/sparc/sparc32/Makefile: rather than here...
21105 * sysdeps/sparc/sparc64/Makefile: and here.
21106
05f3d1f6
UD
211072012-03-28 Ulrich Drepper <drepper@gmail.com>
21108
21109 * malloc/mallocbug.c: Avoid warnings about unused variables.
21110
86ae07a8
JL
211112012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
21112
21113 [BZ #13760]
21114 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
21115 in the right place. Discard and retry query if response is
21116 larger than input buffer size.
21117
41bf21a1
JM
211182012-03-28 Joseph Myers <joseph@codesourcery.com>
21119
d6270972
JM
21120 [BZ #369]
21121 [BZ #2678]
21122 [BZ #3866]
21123 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
21124 x for large integer exponent.
21125 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21126 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
21127 sign of result as needed afterwards.
21128 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
21129 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
21130 result for underflowing pow the same as for overflow.
21131 (__kernel_standard_l): Handle powl overflow and underflow here
21132 rather than calling __kernel_standard.
21133 * math/libm-test.inc (pow_test): Add more tests.
21134
414fca03 21135 [BZ #3868]
41bf21a1
JM
21136 [BZ #13879]
21137 [BZ #13910]
21138 [BZ #13911]
21139 [BZ #13912]
21140 [BZ #13913]
21141 [BZ #13915]
21142 [BZ #13916]
21143 [BZ #13917]
21144 [BZ #13918]
21145 [BZ #13919]
21146 [BZ #13920]
21147 [BZ #13921]
21148 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
21149 * sysdeps/ieee754/k_standard.c: Include <float.h>.
21150 (__kernel_standard_l): New function.
21151 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
21152 __kernel_standard.
21153 * math/w_acosl.c (__acosl): Likewise.
21154 * math/w_asinl.c (__asinl): Likewise.
21155 * math/w_atan2l.c (__atan2l): Likewise.
21156 * math/w_atanhl.c (__atanhl): Likewise.
21157 * math/w_coshl.c (__coshl): Likewise.
21158 * math/w_exp10l.c (__exp10l): Likewise.
21159 * math/w_exp2l.c (__exp2l): Likewise.
21160 * math/w_fmodl.c (__fmodl): Likewise.
21161 * math/w_hypotl.c (__hypotl): Likewise.
21162 * math/w_j0l.c (__j0l, __y0l): Likewise.
21163 * math/w_j1l.c (__j1l, __y1l): Likewise.
21164 * math/w_jnl.c (__jnl, __ynl): Likewise.
21165 * math/w_lgammal.c (__lgammal): Likewise.
21166 * math/w_log10l.c (__log10l): Likewise.
21167 * math/w_log2l.c (__log2l): Likewise.
21168 * math/w_logl.c (__logl): Likewise.
21169 * math/w_powl.c (__powl): Likewise.
21170 * math/w_remainderl.c (__remainderl): Likewise.
21171 * math/w_scalbl.c (sysv_scalbl): Likewise.
21172 * math/w_sinhl.c (__sinhl): Likewise.
21173 * math/w_sqrtl.c (__sqrtl): Likewise.
21174 * math/w_tgammal.c (__tgammal): Likewise.
21175 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
21176 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
21177 * math/libm-test.inc (acos_test): Add more tests.
21178 (acosh_test): Likewise.
21179 (asin_test): Likewise.
21180 (atanh_test): Likewise.
21181 (exp_test): Likewise.
21182 (exp10_test): Likewise.
21183 (exp2_test): Likewise.
21184 (expm1_test): Likewise.
21185 (lgamma_test): Likewise.
21186 (log_test): Likewise.
21187 (log10_test): Likewise.
21188 (log1p_test): Likewise.
21189 (log2_test): Likewise.
21190 (pow_test): Do not allow some spurious overflow exceptions.
21191 (sqrt_test): Add more tests.
21192 (tgamma_test): Likewise.
21193 (y0_test): Likewise.
21194 (y1_test): Likewise.
21195 (yn_test): Likewise.
21196
dd62fda6
AB
211972012-03-27 Anton Blanchard <anton@samba.org>
21198
21199 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
21200 MAP_HUGETLB.
21201 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21202 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21203 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21204
1e3cdfda
AJ
212052012-03-27 David S. Miller <davem@davemloft.net>
21206
b855ab85
DM
21207 * conform/Makefile: Run run-conformtest.sh using $(BASH).
21208
1e3cdfda
AJ
21209 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
21210 have-as-vis3 check.
21211
212122012-03-27 Andreas Jaeger <aj@suse.de>
21213
21214 * sysdeps/x86_64/elf/configure.in: Moved to ...
21215 * sysdeps/x86_64/configure.in: ... here.
21216 * sysdeps/x86_64/elf/start.S: Moved to ...
21217 * sysdeps/x86_64/start.S: ... here.
21218 * sysdeps/x86_64/elf/configure: Delete.
21219
21220 * sysdeps/x86_64/configure.in: Merge contents from
21221 sysdeps/i386/configure.in (without i686 check).
21222
21223 * sysdeps/i386/elf/Versions: Merge into ...
21224 * sysdeps/i386/Versions: ... this.
21225 * sysdeps/i386/elf/Versions: Delete file.
21226 * sysdeps/i386/elf/start.S: Moved to ...
21227 * sysdeps/i386/start.S: ...here.
21228 * sysdeps/i386/elf/configure.in: Merge into...
21229 * sysdeps/i386/configure.in: ...here.
21230 * sysdeps/i386/elf/configure.in: Delete file.
21231 * sysdeps/i386/elf/configure: Delete file.
21232
21233 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
21234 * debug/backtracesyms.c: ... here.
21235 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
21236 * debug/backtracesymsfd.c: ... here.
21237 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
21238 * sysdeps/generic/ifunc-sel.h: ... here.
21239
21240 * sysdeps/unix/i386/start.c: Delete file.
21241 * sysdeps/unix/sparc/start.c: Delete file.
21242 * sysdeps/unix/start.c: Delete file.
21243
21244 * sysdeps/sh/elf/configure.in: Moved to ...
21245 * sysdeps/sh/configure.in: ... here.
21246 * sysdeps/sh/elf/start.S: Moved to ...
21247 * sysdeps/sh/start.S: ... here.
21248 * sysdeps/sh/elf/configure: Delete file.
21249
21250 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
21251 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
21252 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
21253 * sysdeps/powerpc/powerpc64/entry.h: ... here.
21254 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
21255 * sysdeps/powerpc/powerpc64/start.S: here.
21256 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
21257 * sysdeps/powerpc/powerpc64/Makefile: ... this.
21258 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
21259 * sysdeps/powerpc/powerpc64/configure.in: ... this.
21260 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
21261
21262 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
21263 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
21264 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
21265 * sysdeps/powerpc/powerpc32/start.S: ... here.
21266 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
21267 * sysdeps/powerpc/powerpc32/configure.in: ... this.
21268 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
21269
21270 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
21271 * sysdeps/powerpc/ifunc-sel.h: ... here.
21272 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
21273 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
21274
21275 * sysdeps/sparc/elf/configure.in: Moved to ...
21276 * sysdeps/sparc/configure.in: ... here.
21277 * sysdeps/sparc/elf/configure: Delete file.
21278 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
21279 * sysdeps/sparc/sparc32/start.S: ... here.
21280 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
21281 * sysdeps/sparc/sparc64/start.S: ... here.
21282 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
21283 * sysdeps/sparc/sparc32/Makefile: ... this.
21284 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
21285 * sysdeps/sparc/sparc64/Makefile: ... this.
21286
21287 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
21288 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
21289 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
21290 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
21291 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
21292 * sysdeps/s390/s390-32/setjmp.S: ... here.
21293 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
21294 * sysdeps/s390/s390-32/configure.in: ... here.
21295 * sysdeps/s390/s390-32/elf/configure: Delete file.
21296 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
21297 * sysdeps/s390/s390-32/start.S: ... here.
21298
21299 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
21300 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
21301 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
21302 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
21303 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
21304 * sysdeps/s390/s390-64/setjmp.S: ... here.
21305 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
21306 * sysdeps/s390/s390-64/configure.in: ... here
21307 * sysdeps/s390/s390-64/elf/configure: Delete file.
21308 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
21309 * sysdeps/s390/s390-64/start.S: ... here.
21310 * sysdeps/s390/s390-64/elf/configure: Delete.
21311
21312 * configure.in: Remove support for elf directories in sysdeps.
21313
21314 * configure: Regenerated.
21315 * sysdeps/i386/configure: Regenerated.
21316 * sysdeps/powerpc/powerpc32/configure: Regenerated.
21317 * sysdeps/powerpc/powerpc64/configure: Regenerated.
21318 * sysdeps/s390/s390-32/configure: Regenerated.
21319 * sysdeps/s390/s390-64/configure: Regenerated.
21320 * sysdeps/sh/configure: Regenerated.
21321 * sysdeps/sparc/configure: Regenerated.
21322 * sysdeps/x86_64/configure: Regenerated.
21323
a3f61311
AS
213242012-03-26 Andreas Schwab <schwab@linux-m68k.org>
21325
c876e002
AS
21326 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21327
a3f61311
AS
21328 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
21329 denormal result into account.
21330
ac4c54f0
RM
213312012-03-25 Roland McGrath <roland@hack.frob.com>
21332
21333 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
21334 Reported by Allan McRae <allan@archlinux.org>.
21335
6a9b9c02
JL
213362012-03-23 Jeff Law <law@redhat.com>
21337
21338 * nss/getnssent.c (__nss_getent): Fix typo.
21339
4c42a0c1
DM
213402012-03-23 David S. Miller <davem@davemloft.net>
21341
21342 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21343
1532c7ac
L
213442012-03-23 H.J. Lu <hongjiu.lu@intel.com>
21345
21346 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
21347 to pad to uint64_t for each field.
21348 (dl_tls_index): Replace unsigned long with uint64_t.
21349
3ff42526
PP
213502012-03-23 Daniel Jacobowitz <dmj@google.com>
21351 Paul Pluzhnikov <ppluzhnikov@google.com>
21352
21353 [BZ #6528]
21354 * grp/Makefile (otherlibs): Don't set it.
21355 * inet/Makefile (otherlibs): Likewise.
21356 * login/Makefile (otherlibs): Likewise.
21357 * nscd/Makefile (otherlibs): Likewise.
21358 * posix/Makefile (otherlibs): Likewise.
21359 * pwd/Makefile (otherlibs): Likewise.
21360 * rt/Makefile (otherlibs): Likewise.
21361 * sunrpc/Makefile (otherlibs): Likewise.
21362 * nss/Makefile (otherlibs): Likewise.
21363 Add libnss_files to routines and static-only-routines.
21364 ($(objpfx)getent): Remove rule.
21365 * resolv/Makefile: Add libnss_dns and libresolv to routines and
21366 static-only-routines.
21367
7c69cd14
JM
213682012-03-22 Joseph Myers <joseph@codesourcery.com>
21369
21370 [BZ #13892]
21371 * math/s_cexp.c: Include <float.h>.
21372 (__cexp): Handle exp result overflowing not necessarily
21373 overflowing both real and imaginary parts of result.
21374 * math/s_cexpf.c: Likewise.
21375 * math/s_cexpl.c: Likewise.
21376 * math/libm-test.inc (cexp_test): Add more tests.
21377 * sysdeps/i386/fpu/libm-test-ulps: Update.
21378 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21379
81b035fe
L
213802012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21381
21382 * include/link.h (ELFW): New macro.
21383 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
21384 Replace ELF64_R_TYPE with ELFW(R_TYPE).
21385
1da7940c
L
213862012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21387
21388 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
21389 with uint64_t.
21390
b749dbb9
L
213912012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21392
21393 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
21394 declaration.
21395 (struct La_x32_retval): Likewise.
21396
2ff87f3f
L
213972012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21398
21399 * sysdeps/x86_64/preconfigure.in: New file.
21400 * sysdeps/x86_64/preconfigure: New generated file.
21401
c0df8e69
JM
214022012-03-22 Joseph Myers <joseph@codesourcery.com>
21403
48e44791
JM
21404 [BZ #13824]
21405 * math/e_exp2l.c: Include <float.h>.
21406 (__ieee754_exp2l): Handle overflow and underflow cases
21407 separately. Only pass fractional part of argument to
21408 __ieee754_expl.
21409 * math/libm-test.inc (exp2_test): Add more tests.
21410
c0df8e69
JM
21411 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
21412 negating x to take absolute value.
21413 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
21414 Likewise.
21415 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
21416 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
21417 Likewise.
21418 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
21419 computing low part if x was negated.
21420 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
21421
c8e43ba7
L
214222012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21423
21424 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
21425 la_x32_gnu_pltexit.
21426 (pltexit): Cast int_retval to ptrdiff_t.
21427 * elf/tst-auditmod3b.c: Likewise.
21428 * elf/tst-auditmod4b.c: Likewise.
21429 * elf/tst-auditmod5b.c: Likewise.
21430 * elf/tst-auditmod6b.c: Likewise.
21431 * elf/tst-auditmod6c.c: Likewise.
21432 * elf/tst-auditmod7b.c: Likewise.
21433
21434 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
21435 and x32_gnu_pltexit.
21436
21437 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
21438 __ELF_NATIVE_CLASS.
21439 (La_x32_regs): New macro.
21440 (La_x32_retval): Likewise.
21441 (la_x32_gnu_pltenter): New function prototype.
21442 (la_x32_gnu_pltexit): Likewise.
21443
7998fa78
AS
214442012-03-21 Andreas Schwab <schwab@linux-m68k.org>
21445
dcb33988
AS
21446 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
21447 exponent.
21448
233fc563
AS
21449 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21450
7998fa78
AS
21451 * configure.in (libc_cv_cc_nofma): Check for option to disable
21452 generation of FMA instructions.
21453 * configure: Regenerate.
21454 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
21455 * sysdeps/ieee754/dbl-64/Makefile: New file.
21456 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21457 Remove brandred-fma4.
21458 (CFLAGS-brandred-fma4.c): Remove.
21459 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
21460 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
21461 define.
21462 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
21463 define.
21464
8e95c99a
L
214652012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21466
21467 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
21468 LLONG_MAX != LONG_MAX.
21469 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21470 (_fitoa_word): Likewise.
21471 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
21472 LLONG_MAX != LONG_MAX.
21473 * stdio-common/_itowa.h: Include <_itoa.h>.
21474 (_itowa_word): Use _ITOA_WORD_TYPE on value.
21475 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
21476 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
21477 only if not defined.
21478 (_ITOA_WORD_TYPE): Likewise.
21479 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21480 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
21481
6f4db457
DM
214822012-03-21 David S. Miller <davem@davemloft.net>
21483
21484 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21485
7785fe5a
L
214862012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21487
21488 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
21489 of x86_64 when setting libc_cv_slibdir, libdir and
21490 libc_cv_localedir.
21491 * sysdeps/unix/sysv/linux/configure: Regenerated.
21492
4535cd55
JM
214932012-03-21 Joseph Myers <joseph@codesourcery.com>
21494
21495 * manual/lang.texi (Old Varargs): Remove section.
21496 (How Variadic): Update menu.
21497 (va_start): Do not mention varargs.h.
21498
17228132
TS
214992012-03-21 Thomas Schwinge <thomas@codesourcery.com>
21500 Joseph Myers <joseph@codesourcery.com>
21501
21502 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
21503 link test.
21504 * configure: Regenerated.
21505
8149f976
TS
215062012-03-21 Thomas Schwinge <thomas@codesourcery.com>
21507
05f3d1f6
UD
21508 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
21509 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
21510 conformtest.pl
8149f976 21511
1a4ac776
JM
215122012-03-21 Joseph Myers <joseph@codesourcery.com>
21513
be22ce65
JM
21514 * NOTES: Remove.
21515 * Makefile (files-for-dist): Remove NOTES.
21516 (NOTES): Remove rule.
21517 * README: Don't refer to NOTES.
21518 * manual/creature.texi: Don't include macros.texi.
21519 * manual/intro.texi (creature.texi): Remove comment referring to
21520 NOTES.
21521
40b601fb
JM
21522 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
21523 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
21524 * configure: Regenerated.
21525 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
21526 LIBC_TRY_CC_OPTION.
21527 (libc_cv_as_i686): Likewise.
21528 (libc_cv_cc_avx): Likewise.
21529 (libc_cv_cc_sse2avx): Likewise.
21530 (libc_cv_cc_fma4): Likewise.
21531 (libc_cv_cc_novzeroupper): Likewise.
21532 * sysdeps/i386/configure: Regenerated.
21533
1a4ac776
JM
21534 [BZ #13883]
21535 * sysdeps/i386/fpu/s_cexp.S: Remove.
21536 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
21537 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
21538 * math/libm-test.inc (cexp_test): Add more tests.
21539 * sysdeps/i386/fpu/libm-test-ulps: Update.
21540 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21541
a458e7fe
AM
215422012-03-21 Allan McRae <allan@archlinux.org>
21543
21544 * timezone/Makefile: Do not install iso3166.tab and zone.tab
21545
0cb7efc5
JM
215462012-03-21 Joseph Myers <joseph@codesourcery.com>
21547
21548 [BZ #13871]
21549 * math/w_exp2.c: Do not include <float.h>.
21550 (o_threshold, u_threshold): Remove.
21551 (__exp2): Calculate result before checking finiteness and calling
21552 __kernel_standard.
21553 * math/w_exp2f.c: Likewise.
21554 * math/w_exp2l.c: Likewise.
21555 * math/libm-test.inc (exp2_test): Require overflow exception for
21556 1e6 input.
2460d3aa
JM
21557
21558 [BZ #3866]
21559 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
21560 range of signed 64-bit integers before using fistpll. Remove
21561 checks for whether integers fit in mantissa bits.
21562 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
21563 the range of signed 32-bit integers before using fistpl. Remove
21564 checks for whether integers fit in mantissa bits.
21565 * sysdeps/i386/fpu/e_powl.S (p64): New object.
21566 (__ieee754_powl): Test for y outside the range of signed 64-bit
21567 integers before using fistpll. Reduce 64-bit values to 63-bit
21568 ones as needed.
21569 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
21570 divide-by-zero is raised for zero to large negative powers.
21571 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
21572 (__ieee754_powl): Test for y outside the range of signed 64-bit
21573 integers before using fistpll. Reduce 64-bit values to 63-bit
21574 ones as needed.
21575 * math/libm-test.inc (pow_test): Add more tests.
21576
eb96ffb0
L
215772012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21578
21579 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
21580 <stdio-common/_itoa.h>.
21581 * debug/segfault.c: Likewise.
21582 * elf/dl-cache.c: Likewise.
21583 * elf/dl-minimal.c: Likewise.
21584 * elf/dl-misc.c: Likewise.
21585 * elf/dl-sysdep.c: Likewise.
21586 * elf/dl-version.c: Likewise.
21587 * elf/rtld.c: Likewise.
21588 * hurd/hurdsock.c: Likewise.
21589 * hurd/lookup-retry.c: Likewise.
21590 * malloc/malloc.c: Likewise.
21591 * malloc/mtrace.c: Likewise.
21592 * nscd/nscd_getgr_r.c: Likewise.
21593 * nscd/nscd_getpw_r.c: Likewise.
21594 * nscd/nscd_getserv_r.c: Likewise.
21595 * posix/getopt_init.c: Likewise.
21596 * posix/wordexp.c: Likewise.
21597 * stdio-common/_itoa.c: Likewise.
21598 * stdio-common/printf_fphex.c: Likewise.
21599 * stdio-common/vfprintf.c: Likewise.
21600 * string/_strerror.c: Likewise.
21601 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
21602 * sysdeps/i386/i686/hp-timing.h: Likewise.
21603 * sysdeps/mach/_strerror.c: Likewise.
21604 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
21605 * sysdeps/mach/hurd/sethostid.c: Likewise.
21606 * sysdeps/mach/hurd/xmknodat.c: Likewise.
21607 * sysdeps/mach/xpg-strerror.c: Likewise.
21608 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21609 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21610 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
21611 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
21612 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21613 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
21614 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
21615 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
21616 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
21617 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
21618 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
21619 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
21620 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
21621 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
21622 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
21623 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
21624 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
21625 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
21626 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
21627 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
21628 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
21629
21630 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
21631
21632 * stdio-common/_itoa.h: Moved to ...
21633 * sysdeps/generic/_itoa.h: Here.
21634
21635 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
21636
21637 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
21638 instead of "_itoa.h" and "_itowa.h".
21639 * stdio-common/vfprintf.: Likewise.
21640
d1af992d
L
216412012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21642
21643 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
21644 <bits/wordsize.h>.
21645 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
21646 (__signbit): Likwise.
21647 (llrintf): Likwise.
21648 (llrint): Likwise.
21649
114883e0
L
216502012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21651
21652 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
21653 __WORDSIZE != 64.
21654
c135cc1b
JM
216552012-03-20 Joseph Myers <joseph@codesourcery.com>
21656
21657 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
21658 OVERFLOW_EXCEPTION_OK.
21659 * math/libm-test.inc ("Philosophy"): Update comment about
21660 exception testing.
21661 (OVERFLOW_EXCEPTION): Define.
21662 (OVERFLOW_EXCEPTION_OK): Likewise.
21663 (INVALID_EXCEPTION_OK): Renumber.
21664 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21665 (IGNORE_ZERO_INF_SIGN): Likewise.
21666 (test_exceptions): Handle FE_OVERFLOW.
21667 (exp10_test): Expect overflow exceptions.
21668 (exp2_test): Likewise.
21669 (expm1_test): Likewise.
21670 (nextafter_test): Likewise.
21671 (pow_test): Likewise.
21672 (scalbn_test): Likewise.
21673 (scalbln_test): Likewise.
21674
95443d88
L
216752012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21676
21677 * sysdeps/x86_64/bits/atomic.h
21678 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
21679 64bit integer.
21680 (atomic_exchange_acq): Likewise.
21681 (__arch_exchange_and_add_body): Likewise.
21682 (__arch_add_body): Likewise.
21683 (atomic_add_negative): Likewise.
21684 (atomic_add_zero): Likewise.
21685
490df6c4
L
216862012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21687
c2722551 21688 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
21689 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
21690
5e52b189
L
216912012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21692
21693 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
21694 Check __x86_64__ instead of __WORDSIZE.
21695
a9879d4c
L
216962012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21697
21698 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
21699
5df98260
DM
217002012-03-19 David S. Miller <davem@davemloft.net>
21701
e1497744
DM
21702 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21703
5df98260
DM
21704 * sysdeps/sparc/fpu/fenv_private.h: New file.
21705 * sysdeps/sparc/fpu/math_private.h: Use it.
21706 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
21707 Remove.
21708 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
21709 (libc_feholdexcept_setroundl): Remove.
21710 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
21711 Remove.
21712 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
21713 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
21714
b4c35121
L
217152012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21716
21717 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
21718 int64_t instead of long int.
21719 (INSERT_WORDS64): Likwise.
21720
56965fd7
L
217212012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21722
21723 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
21724 _Unwind_GetCFA return to _Unwind_Ptr first.
21725
83d1aec8
JM
217262012-03-19 Joseph Myers <joseph@codesourcery.com>
21727
1897ad44
JM
21728 [BZ #13629]
21729 * math/s_clog.c: Include <float.h>.
21730 (__clog): Scale large or subnormal inputs.
21731 * math/s_clogf.c: Likewise.
21732 * math/s_clogl.c: Likewise.
21733 * math/s_clog10.c: Include <float.h>.
21734 (M_LOG10_2): Define.
21735 (__clog10): Scale large or subnormal inputs.
21736 * math/s_clog10f.c: Likewise.
21737 * math/s_clog10l.c: Likewise.
21738 * math/libm-test.inc (clog_test): Add more tests.
21739 (clog10_test): Likewise.
21740 * sysdeps/i386/fpu/libm-test-ulps: Update.
21741 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21742
7726d6a9
JM
21743 [BZ #11451]
21744 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
21745 x and y.
21746 * math/libm-test.inc (atan2_test): Add another test.
21747
83d1aec8
JM
21748 * Makerules (common-objdir-compile): Remove.
21749 * sysdeps/unix/Makefile (config-generated): Do not add
21750 $(unix-generated) to variable.
21751 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
21752 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
21753 Remove rule.
21754 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
21755 Likewise.
21756 [generic bits/local_lim.h] (before-compile): Do not append to
21757 variable.
21758 [generic bits/local_lim.h] (common-generated): Likewise.
21759 [generic sys/param.h] (before-compile): Do not append to variable.
21760 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
21761 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
21762 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
21763 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
21764 include.
21765 [generic sys/param.h] (sys/param.h-includes): Remove variable.
21766 [generic sys/param.h] (sys/param.h-includes): Remove rule.
21767 [generic sys/param.h] ($(addprefix
21768 $(common-objpfx),$(sys/param.h-includes))): Likewise.
21769 [generic sys/param.h] (common-generated): Do not append to
21770 variable.
21771 [generic sys/param.h] (sysdep_headers): Likewise.
21772 [generic bits/errno.h] (before-compile): Do not append to
21773 variable.
21774 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
21775 rule.
21776 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
21777 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
21778 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
21779 [generic bits/errno.h] (common-generated): Do not append to
21780 variable.
21781 [generic bits/ioctls.h] (before-compile): Do not append to
21782 variable.
21783 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
21784 rule.
21785 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
21786 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
21787 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
21788 rule.
21789 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
21790 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
21791 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
21792 [generic bits/ioctls.h] (common-generated): Do not append to
21793 variable.
21794 [generic sys/syscall.h] (syscall.h): Remove variable.
21795 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
21796 rule.
21797 [generic sys/syscall.h] (before-compile): Do not append to
21798 variable.
21799 [generic sys/syscall.h] (common-generated): Likewise.
21800 * sysdeps/unix/errnos-tmpl.c: Remove file.
21801 * sysdeps/unix/errnos.awk: Likewise.
21802 * sysdeps/unix/ioctls-tmpl.c: Likewise.
21803 * sysdeps/unix/ioctls.awk: Likewise.
21804 * sysdeps/unix/mk-local_lim.c: Likewise.
21805 * sysdeps/unix/snarf-ioctls: Likewise.
21806
4851a949
RH
218072012-03-19 Richard Henderson <rth@twiddle.net>
21808
bd37f2ee
RH
21809 * sysdeps/i386/fpu/fenv_private.h: New file.
21810 * sysdeps/i386/fpu/math_private.h: Use it.
21811 (math_opt_barrier, math_force_eval): Remove.
21812 (libc_feholdexcept_setround_53bit): Remove.
21813 (libc_feupdateenv_53bit): Remove.
21814 * sysdeps/x86_64/fpu/math_private.h: Likewise.
21815 (math_opt_barrier, math_force_eval): Remove.
21816 (libc_feholdexcept): Remove.
21817 (libc_feholdexcept_setround): Remove.
21818 (libc_fetestexcept, libc_fesetenv): Remove.
21819 (libc_feupdateenv_test): Remove.
21820 (libc_feupdateenv, libc_feholdsetround): Remove.
21821 (libc_feresetround): Remove.
21822
d0adc922
RH
21823 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
21824 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21825
0fe0f1f8
RH
21826 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
21827 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
21828 (libc_feupdateenv_testl): New.
21829 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
21830 (libc_feupdateenv_testf): New.
21831 (libc_feupdateenv): Use libc_feupdateenv_test.
21832 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
21833 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
21834
eb92c487
RH
21835 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
21836 (libc_feholdsetroundf, libc_feholdsetroundl): New.
21837 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
21838 (libc_feresetround_noex): New.
21839 (libc_feresetround_noexf): New.
21840 (libc_feresetround_noexl): New.
21841 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
21842 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
21843 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
21844 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
21845 SET_RESTORE_ROUND.
21846 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21847 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
21848 (__cos): Likewise.
21849 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
21850 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
21851 SET_RESTORE_ROUND_NOEX.
21852 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
21853 SET_RESTORE_ROUND_NOEXF.
21854 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
21855 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
21856 (libc_feholdsetroundf): New.
21857 (libc_feresetround, libc_feresetroundf): New.
21858
7d2e8012
RH
21859 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
21860 (libc_feholdexcept_setround_53bit): Convert from macro to function.
21861 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
21862
b4dabbb4
RH
21863 * sysdeps/generic/math_private.h: Include <fenv.h>.
21864 (default_libc_feholdexcept): New.
21865 (default_libc_feholdexcept_setround): New.
21866 (default_libc_fesetenv, default_libc_feupdateenv): New.
21867 (libc_feholdexcept): Only define if undefined.
21868 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
21869 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
21870 (libc_feholdexcept_setroundl): Likewise.
21871 (libc_feholdexcept_setround_53bit): Likewise.
21872 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
21873 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
21874 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
21875 (libc_feupdateenv_53bit): Likewise.
21876 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
21877 (libc_feholdexcept): Convert from macro to inline function.
21878 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
21879 (libc_fesetenv, libc_feupdateenv): Likewise.
21880
4851a949
RH
21881 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
21882 not previously defined.
21883 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
21884 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
21885 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
21886 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
21887 * sysdeps/ieee754/flt-32/math_private.h: New file.
21888 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
21889 math_private.h below SET_FLOAT_WORD.
21890 (__isnan, __isinf_ns, __finite): Remove.
21891 (__isnanf, __isinf_nsf, __finitef): Remove.
21892
e79d442e
AS
218932012-03-18 Andreas Schwab <schwab@linux-m68k.org>
21894
21895 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21896
90b80344
DM
218972012-03-17 David S. Miller <davem@davemloft.net>
21898
21899 [BZ #6471]
21900 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
21901 for 2.16.
21902
edc21804
DM
219032012-03-16 David S. Miller <davem@davemloft.net>
21904
77e927af
DM
21905 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
21906 warnings.
21907
374976dd
DM
21908 [BZ #6471]
21909 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
21910 properly.
21911 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
21912 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
21913 sysdep_routines when subdir is sysvipc.
21914 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
21915 __getshmlba helper.
21916
edc21804
DM
21917 * sysdeps/sparc/fpu/libm-test/ulps: Update.
21918
473c3ef3
L
219192012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21920
21921 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
21922 [__LP64__].
21923
eb0f39b6
L
219242012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21925
21926 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
21927 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
21928 (__lround): Renamed to ...
21929 (__llround): This. Replace long int with long long int.
21930 Define lround functions as aliases of llround functions.
21931 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
21932
6b6cd74b
L
219332012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21934
21935 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
21936 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
21937 adresses to uintptr_t. Replace "long int" and "unsigned long
21938 int" with "greg_t" on va_arg.
21939
f1a77b01
L
219402012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21941
21942 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
21943 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
21944
21945 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
21946 Move e_machine check before EI_CLASS check. Handle x32
21947 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
21948 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
21949 SKIP_EM_IA_64 and include
21950 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
21951
21952 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
21953 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
21954 (add_system_dir): New macro.
21955
21956 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
21957 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
21958
11b90b9f
JM
219592012-03-16 Joseph Myers <joseph@codesourcery.com>
21960
c36e1d23
JM
21961 [BZ #2551]
21962 [BZ #2552]
21963 [BZ #2553]
21964 [BZ #2554]
21965 [BZ #2562]
21966 [BZ #2563]
21967 [BZ #2565]
21968 [BZ #2566]
21969 [BZ #2576]
21970 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
21971 (y0): Likewise.
21972 * math/w_j0f.c (j0f): Likewise.
21973 (y0f): Likewise.
21974 * math/w_j0l.c (__j0l): Likewise.
21975 (__y0l): Likewise.
21976 * math/w_j1.c (j1): Likewise.
21977 (y1): Likewise.
21978 * math/w_j1f.c (j1f): Likewise.
21979 (y1f): Likewise.
21980 * math/w_j1l.c (__j1l): Likewise.
21981 (__y1l): Likewise.
21982 * math/w_jn.c (jn): Likewise.
21983 (yn): Likewise.
21984 * math/w_jnf.c (jnf): Likewise.
21985 (ynf): Likewise.
21986 * math/w_jnl.c (__jnl): Likewise.
21987 (__ynl): Likewise.
21988 * math/libm-test.inc (j0_test): Add more tests.
21989 (j1_test): Likewise.
21990 (jn_test): Likewise. Add trailing semicolon to existing test.
21991 (y0_test): Likewise.
21992 (y1_test): Likewise.
21993 * sysdeps/i386/fpu/libm-test-ulps: Update.
21994 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21995
11b90b9f
JM
21996 [BZ #13851]
21997 [BZ #13854]
21998 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
21999 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
22000 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
22001 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
22002 (__tanl): Set errno for infinite argument.
22003 * sysdeps/i386/fpu/mptan.c: Remove.
22004 * sysdeps/i386/fpu/s_tan.S: Likewise.
22005 * sysdeps/i386/fpu/s_tanl.S: Likewise.
22006 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
22007 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
22008 * math/libm-test.inc (tan_test): Add more tests and enable more
22009 tests for double and long double.
22010 * sysdeps/i386/fpu/libm-test-ulps: Update.
22011 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22012
6a1bd2a1
JK
220132012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
22014
22015 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
22016 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
22017
10a803e0
RM
220182012-03-16 Roland McGrath <roland@hack.frob.com>
22019
22020 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
22021 * configure.in: Use it for both main tree and add-ons.
22022 * configure: Regenerated.
22023
f196c7f7
L
220242012-03-16 H.J. Lu <hongjiu.lu@intel.com>
22025
22026 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
22027
8848d99d
JM
220282012-03-16 Joseph Myers <joseph@codesourcery.com>
22029
96cbe7f4
JM
22030 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
22031 in comment.
22032
8848d99d
JM
22033 [BZ #13851]
22034 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
22035 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
22036 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
22037 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
22038 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
22039 infinite argument.
22040 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
22041 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
22042 != 0 for prec == 2.
22043 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
22044 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
22045 * sysdeps/i386/fpu/s_cosl.S: Likewise.
22046 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
22047 * sysdeps/i386/fpu/s_sinl.S: Likewise.
22048 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
22049 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
22050 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
22051 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
22052 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
22053 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
22054 * math/libm-test.inc (cos_test): Add more tests and enable more
22055 tests for long double.
22056 (sin_test): Likewise.
22057 (sincos_test): Likewise.
22058 * sysdeps/i386/fpu/libm-test-ulps: Update.
22059 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22060
dd7f4703
DM
220612012-03-16 David S. Miller <davem@davemloft.net>
22062
22063 * sysdeps/sparc/fpu/math_private.h: New file.
22064
006f1daa
DM
220652012-03-15 David S. Miller <davem@davemloft.net>
22066
c0c83bc8
DM
22067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
22068 file.
e6a62e18 22069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
22070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
22071 file.
e6a62e18
DM
22072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
22073 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
22074 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
22075 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
22076 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
22077 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
22078 sysdep routines.
22079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22080
88cb87d9
DM
22081 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
22082 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
22083
006f1daa 22084 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
22085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
22086 sparc-ifunc.h
006f1daa 22087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
22088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
22089 Likewise.
22090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
22091 Likewise.
006f1daa
DM
22092 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
22093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
22094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
22095 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
22096 Likewise.
006f1daa
DM
22097 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
22098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
22099 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
22100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
22101 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
22102 Likewise.
22103 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
22104 Likewise.
006f1daa
DM
22105 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
22106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
22107 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
22108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
22109 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
22110 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
22111 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
22112 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
22113 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
22114 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
22115 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
22116 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
22117 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
22118 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
22119 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
22120 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
22121 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
22122 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
22123 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
22124 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
22125 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
22126 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
22127 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
22128 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
22129
11e0098e
AS
221302012-03-15 Andreas Schwab <schwab@linux-m68k.org>
22131
22132 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
22133 scaling.
22134 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22135
e85b09d0
AJ
221362012-03-15 Andreas Jaeger <aj@suse.de>
22137
22138 [BZ #13852]
22139 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
22140 ieee754/flt-32 implementation for sin, cos and sincos.
22141 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
22142 * sysdeps/i386/fpu/s_cosf.S: Likewise.
22143 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
22144 * sysdeps/i386/fpu/s_sinf.S: Likewise.
22145 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
22146 ieee754/flt-32 implementation for tan.
22147
22148 * math/libm-test.inc (cos_test): Enable some large input tests for
22149 float as well
22150 (sin_test): Likewise.
22151 (sincos_test): Likewise.
22152 (tan_test): Add tests for large input.
22153
22154 * sysdeps/i386/fpu/libm-test-ulps: Update.
22155
81c64153
AJ
221562012-03-15 Andreas Jaeger <aj@suse.de>
22157
22158 [BZ #13658]
22159 * math/libm-test.inc (cos_test): Add more test cases.
22160 (sin_test): Likewise.
22161 (sincos_test): Likewise.
22162
7bbfa5c6
AJ
221632012-03-15 Andreas Jaeger <aj@suse.de>
22164
22165 [BZ #13837]
22166 * math/libm-test.inc (cos_test): Add a test case for large input
22167 value.
22168 (sin_test): Likewise.
22169 (sincos_test): Likewise.
22170
221712012-03-15 Andreas Jaeger <aj@suse.de>,
22172 Joseph Myers <joseph@codesourcery.com>
22173
22174 [BZ #13658]
0671f479 22175 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
22176 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
22177 * sysdeps/i386/fpu/branred.c: Likewise.
22178 * sysdeps/i386/fpu/dosincos.c: Likewise.
22179 * sysdeps/i386/fpu/mpa.c: Likewise.
22180 * sysdeps/i386/fpu/s_cos.S: Likewise.
22181 * sysdeps/i386/fpu/s_sin.S: Likewise.
22182 * sysdeps/i386/fpu/s_sincos.S: Likewise.
22183 * sysdeps/i386/fpu/sincos32.c: Likewise.
22184
22185 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
22186 Define.
22187 (libc_feupdateenv_53bit): Define.
22188 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
22189 Define.
22190 (libc_feupdateenv_53bit): Define.
22191
22192 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
22193 53 bit (without extend i386 double precision).
22194
22195 * math/libm-test.inc (sincos_test): Add tests for large input.
22196 (sin): Likewise.
22197 (cos): Likewise.
22198
22199 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
22200
9cad04ea
AS
222012012-03-15 Andreas Schwab <schwab@linux-m68k.org>
22202
22203 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22204
f7062b9a
DM
222052012-03-15 David S. Miller <davem@davemloft.net>
22206
22207 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
22208 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
22209 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
22210 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
22211 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
22212 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
22213 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
22214 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
22215 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
22216 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
22217 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
22218 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
22219 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
22220 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
22221 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
22222 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
22223 file.
f7062b9a 22224 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
22225 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
22226 file.
f7062b9a 22227 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
22228 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
22229 file.
f7062b9a 22230 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
22231 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
22232 file.
f7062b9a
DM
22233 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
22234 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
22235 fmin/fmax sysdep routines.
22236 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22237
7bd951ff
DM
222382012-03-14 David S. Miller <davem@davemloft.net>
22239
559398ab
DM
22240 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
22241 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
22242 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
22243 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
22244 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
22245 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
22246 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
22247 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
22248 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
22249 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
22250 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
22251 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
22252 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
22253 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
22254 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
22255 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
22256 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
22257 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
22258 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
22259 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
22260 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
22261 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
22262 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
22263 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
22264 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
22265 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
22266 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
22267 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
22268 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
22269 routines.
22270 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
22271 file.
559398ab 22272 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
22273 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
22274 file.
559398ab 22275 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
22276 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
22277 file.
559398ab 22278 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
22279 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
22280 file.
559398ab 22281 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
22282 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
22283 file.
559398ab 22284 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
22285 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
22286 file.
22287 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
22288 file.
22289 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
22290 file.
22291 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
22292 file.
22293 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
22294 New file.
22295 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
22296 file.
22297 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
22298 file.
559398ab 22299 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
22300 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
22301 file.
559398ab 22302 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
22303 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
22304 file.
559398ab 22305 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
22306 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
22307 file.
559398ab 22308 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
22309 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
22310 VIS3 routines.
559398ab
DM
22311
22312 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
22313 New file.
22314
5a1c1e32
DM
22315 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22316
eae47a36
DM
22317 * sysdeps/sparc/configure.in: New file.
22318 * sysdeps/sparc/configure: Generate.
22319 * configure.in (libc_cv_sparc_as_vis3): Substitute.
22320 * configure: Regenerate.
22321 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
22322 * config.make.in (have-as-vis3): New.
22323 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
22324 available use -Av9d instead of -Av9a.
22325 * sysdeps/sparc/sparc64/Makefile: Likewise.
22326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
22327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
22328 New file.
22329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
22330 file.
22331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
22332 New file.
22333 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
22334 file.
eae47a36
DM
22335 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
22336 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
22337 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
22338 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
22339 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
22340
c0c83bc8
DM
22341 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
22342 fzeros/fnegs to load 0x80000000 into a float register instead of
22343 using the stack.
7bd951ff
DM
22344 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
22345
bd951ccb
JM
223462012-03-14 Joseph Myers <joseph@codesourcery.com>
22347
22348 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22349 bits/syscall.h.
22350 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
22351 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
22352 ($(inst_includedir)/bits/syscall.h): Remove rule.
22353 ($(objpfx)bits/syscall.d): Include instead of
22354 $(objpfx)syscall-list.d.
22355 (generated): Change syscall-list.h and syscall-list.d to
22356 bits/syscall.h and bits/syscall.d.
22357
bb4e6db2
RM
223582012-03-14 Roland McGrath <roland@hack.frob.com>
22359
22360 [BZ #13846]
22361 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
22362
aa4a2ae1
JM
223632012-03-14 Joseph Myers <joseph@codesourcery.com>
22364
e456826d
JM
22365 [BZ #13841]
22366 * math/s_csqrt.c: Include <float.h>.
22367 (__csqrt): Scale large or subnormal inputs.
22368 * math/s_csqrtf.c: Likewise.
22369 * math/s_csqrtl.c: Likewise.
22370 * math/libm-test.inc (csqrt_test): Add more tests.
22371 * sysdeps/i386/fpu/libm-test-ulps: Update.
22372 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22373
aa4a2ae1
JM
22374 [BZ #13840]
22375 * math/libm-test.inc (hypot_test): Add more tests.
22376
7c10fd35
DM
223772012-03-13 David S. Miller <davem@davemloft.net>
22378
22379 [BZ #13840]
22380 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
22381 double-precision for the calculation instead of scaling.
22382
f453b98b
JM
223832012-03-13 Joseph Myers <joseph@codesourcery.com>
22384
22385 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
22386 manipulate bits before adding and subtracting TWO52[sx].
22387 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
22388 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
22389 Likewise.
22390 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
22391
09a3453f
DM
223922012-03-13 David S. Miller <davem@davemloft.net>
22393
8e59da90
DM
22394 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
22395 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
22396 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
22397 rtld-global-offsets.h
22398 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22399
2a8ab7f2
DM
22400 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
22401 large parameters.
22402
10f62770
DM
22403 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
22404
5f0bdb18
DM
22405 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
22406 'err' in the ifdef scope in which it is actually used.
22407
09a3453f
DM
22408 * nss/nss_db/db-init.c: Include string.h
22409
b4b2eb5e
DM
224102012-03-12 David S. Miller <davem@davemloft.net>
22411
98bb2f1c
DM
22412 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
22413 masking out of the most significant byte of random value used.
22414 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22415 Fix coding style in previous change.
22416
b4b2eb5e
DM
22417 * sysdeps/unix/sysv/linux/kernel-features.h
22418 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
22419 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
22420 expression.
22421 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
22422 later.
22423
6e226b09
DM
224242012-03-11 David S. Miller <davem@davemloft.net>
22425
a1bcbd40
DM
22426 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
22427 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
22428 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
22429 for 'resultvar' otherwise things get truncated on 64-bit.
22430
cb9d6174
DM
22431 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22432 Fix masking out of the most significant byte of random value used.
22433
6e226b09
DM
22434 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22435
058c132d
AS
224362012-03-10 Andreas Schwab <schwab@linux-m68k.org>
22437
22438 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22439
2d2cd515
DM
224402012-03-09 David S. Miller <davem@davemloft.net>
22441
22442 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
22443 variables with appropriate CPP guards.
22444 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
22445 frame pointer, not the stack pointer. Correct layout comments. Fix test
22446 on resulting framesize and the management of the outregs buffer for pltexit.
22447 Preserve floating point return values across _dl_call_pltexit call.
22448 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
22449 framesize and the management of the outregs buffer for pltexit.
22450 Preserve floating point return values across _dl_call_pltexit
22451 call.
22452 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
22453 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
22454 (print_exit): Fix format string for return register value.
22455
9a07f9d0
JM
224562012-03-10 Joseph Myers <joseph@codesourcery.com>
22457
22458 * sunrpc/Makefile (others): Add rpcgen.
22459 ($(objpfx)rpcgen): Remove special build rule and dependency on
22460 libc.
22461 * sunrpc/rpcgen.c: New file.
22462
547b5e30
PE
224632012-03-09 Paul Eggert <eggert@cs.ucla.edu>
22464
c524201a
PE
22465 [BZ #13673]
22466 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
22467 * stdio-common/bug-vfprintf-nargs.c: Likewise.
22468 * sysdeps/i386/crti.S: Likewise.
22469 * sysdeps/i386/crtn.S: Likewise.
22470 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
22471 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
22472 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
22473 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
22474 * sysdeps/sh/crti.S: Likewise.
22475 * sysdeps/sh/crtn.S: Likewise.
22476 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
22477
7b6235f2
PE
22478 [BZ #13673]
22479 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
22480 with URL.
22481 * locale/programs/locfile-kw.gperf: Likewise.
22482 * locale/programs/charmap-kw.h: Regenerated.
22483 * locale/programs/locfile-kw.h: Likewise.
22484
547b5e30
PE
22485 [BZ #13673]
22486 * intl/plural.y: Replace FSF snail mail address with URL.
22487 * intl/plural.c: Regenerated.
22488
5f0a5dae
RH
224892012-03-09 Richard Henderson <rth@twiddle.net>
22490
22491 * include/math_private.h: Remove file.
22492 * math/math_private.h: Move file ...
22493 * sysdeps/generic/math_private.h: ... here.
22494
b8c03620
RH
22495 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
22496 * sysdeps/powerpc/fpu/math_private.h: Likewise.
22497 * sysdeps/x86_64/fpu/math_private.h: Likewise.
22498
4e234f5d 22499 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
22500 and <math_private.h>.
22501 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
22502 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
22503 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
22504 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
22505 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
22506 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
22507 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22508 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22509 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22510 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22511 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22512 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22513 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22514 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22515 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22516 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22517 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22518 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22519 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22520 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22521 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22522 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22523 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22524 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22525 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
22526 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22527 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22528 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22529 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22530 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22531 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22532 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22533 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
22534 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22535 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22536 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22537 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22538 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22539 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22540 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22541 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
22542 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22543 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
22544 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22545 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
22546 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22547 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
22548 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
22549 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22550 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22551 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
22552 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
22553 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
22554 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22555 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
22556 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22557 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22558 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22559 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
22560 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
22561 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22562 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
22563 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22564 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22565 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
22566 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22567 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22568 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22569 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
22570 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
22571 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
22572 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22573 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
22574 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22575 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
22576 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
22577 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
22578 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22579 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
22580 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
22581 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
22582 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
22583 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
22584 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22585 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22586 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
22587 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
22588 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
22589 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22590 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22591 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22592 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22593 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22594 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22595 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22596 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22597 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22598 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22599 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22600 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22601 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22602 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22603 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22604 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22605 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
22606 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22607 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22608 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22609 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
22610 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22611 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
22612 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
22613 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22614 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
22615 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
22616 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22617 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
22618 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
22619 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
22620 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22621 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
22622 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
22623 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22624 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
22625 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
22626 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
22627 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22628 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
22629 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
22630 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
22631 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
22632 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22633 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
22634 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
22635 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
22636 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
22637 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22638 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
22639 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
22640 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22641 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22642 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
22643 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
22644 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
22645 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
22646 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
22647 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
22648 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
22649 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
22650 * sysdeps/ieee754/k_standard.c: Likewise.
22651 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22652 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22653 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22654 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22655 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22656 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22657 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22658 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22659 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22660 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22661 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22662 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22663 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22664 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22665 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22666 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22667 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
22668 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22669 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22670 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
22671 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
22672 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
22673 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
22674 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
22675 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
22676 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
22677 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
22678 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
22679 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
22680 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
22681 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
22682 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
22683 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
22684 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
22685 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
22686 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
22687 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
22688 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
22689 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
22690 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
22691 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
22692 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
22693 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
22694 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
22695 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
22696 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
22697 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
22698 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
22699 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
22700 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
22701 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
22702 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
22703 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
22704 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
22705 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22706 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
22707 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
22708 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
22709 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
22710 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
22711 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
22712 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
22713 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
22714 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22715 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22716 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22717 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22718 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22719 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22720 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22721 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22722 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22723 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22724 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22725 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22726 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22727 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
22728 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22729 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22730 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
22731 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
22732 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
22733 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
22734 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
22735 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
22736 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
22737 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
22738 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
22739 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22740 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
22741 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
22742 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
22743 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
22744 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
22745 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
22746 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
22747 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
22748 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
22749 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
22750 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
22751 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
22752 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
22753 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
22754 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
22755 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
22756 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
22757 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22758 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
22759 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
22760 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
22761 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
22762 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
22763 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22764 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22765 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22766 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22767 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22768 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22769 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22770 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22771 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22772 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22773 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22774 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22775 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22776 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
22777 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22778 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
22779 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
22780 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
22781 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22782 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22783 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22784 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
22785 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
22786 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
22787 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
22788 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
22789 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22790 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
22791 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
22792 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22793 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
22794 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
22795 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
22796 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22797 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22798 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
22799 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
22800 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
22801 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22802 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22803 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
22804 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22805 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
22806 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
22807 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
22808 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
22809 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
22810 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
22811 * sysdeps/ieee754/s_lib_version.c: Likewise.
22812 * sysdeps/ieee754/s_matherr.c: Likewise.
22813 * sysdeps/ieee754/s_signgam.c: Likewise.
22814 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22815 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22816 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
22817 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
22818 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
22819 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22820 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
22821 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
22822 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
22823 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
22824 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
22825 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
22826 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
22827 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
22828 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
22829 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
22830 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22831 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
22832 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22833 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22834 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 22835
1991fa03
JM
228362012-03-09 Joseph Myers <joseph@codesourcery.com>
22837
22838 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
22839 * sunrpc/rpc_main.c: Likewise.
22840 * sunrpc/rpc_svcout.c: Likewise.
22841
60d6f5a6
DM
228422012-03-09 David S. Miller <davem@davemloft.net>
22843
22844 * include/math_private.h: New file.
22845
4962050e
JM
228462012-03-09 Joseph Myers <joseph@codesourcery.com>
22847
02a6f887
JM
22848 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
22849 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
22850 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
22851 from <bits/socket_type.h>.
22852 (enum __socket_type): Don't define here.
22853 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
22854 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22855 bits/socket_type.h.
22856
c6e013c1
JM
22857 [BZ #13566]
22858 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
22859 checking __USE_GNU.
22860
4962050e
JM
22861 * Makerules ($(inst_includedir)/%.h): New rule.
22862 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
22863 (install-others): Remove variable setting.
22864 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
22865
38842f45
RH
228662012-03-08 Richard Henderson <rth@twiddle.net>
22867
67bb6da6
RH
22868 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
22869 from macro to inline function; merge with the
22870 !__LIBC_INTERNAL_MATH_INLINES version.
22871 (__ieee754_sqrtf): Likewise.
22872
15194b4b
RH
22873 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
22874 to inline function.
22875 (__rintf, __floor, __floorf): Likewise.
22876
64e21ede
RH
22877 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
22878 macro to inline function.
22879 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
22880
38842f45
RH
22881 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
22882 not <math/math_private.h>.
22883
c64bf5fe
DM
228842012-03-08 David S. Miller <davem@davemloft.net>
22885
22886 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
22887 copyright year.
22888 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
22889
82d86f28
TS
228902012-03-08 Thomas Schwinge <thomas@codesourcery.com>
22891
22892 * resolv/gai_misc.c (handle_requests): Fix struct timespec
22893 normalization.
22894 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
22895 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
22896
aea5d727
UD
228972012-03-08 Ulrich Drepper <drepper@gmail.com>
22898
22899 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
22900 be defined individually, they must be defined as a block. Define
22901 S for printing a string instead of hidint the different by using a
22902 macro for adding the 'l'.
22903 * stdio-common/tst-fphex-wide.c: Adjust.
22904
70bca0a3
MP
229052012-03-07 Marek Polacek <polacek@redhat.com>
22906
22907 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
22908
65b81130
MP
229092012-03-08 Marek Polacek <polacek@redhat.com>
22910
22911 [BZ #13806]
22912 * stdio-common/Makefile (tests): Add tst-fphex-wide.
22913 * stdio-common/tst-fphex.c: Define a few macros to make the
22914 test reusable. Use them.
22915 * stdio-common/tst-fphex-wide.c: New file.
22916
07037eeb
JM
229172012-03-08 Joseph Myers <joseph@codesourcery.com>
22918
a7a93d50
JM
22919 [BZ #6911]
22920 * manual/macros.texi (gnusystems): New macro.
22921 (nongnusystems): Likewise.
22922 (gnulinuxhurdsystems): Likewise.
22923 (gnuhurdsystems): Likewise..
22924 (gnulinuxsystems): Likewise.
22925 * manual/charset.texi: Use new macros or @theglibc{} to refer to
22926 variants of the GNU system, not "GNU system".
22927 * manual/conf.texi: Likewise.
22928 * manual/errno.texi: Likewise. Update example of errno macro
22929 expansion.
22930 * manual/filesys.texi: Likewise.
22931 (getumask): Document as specific to GNU/Hurd.
22932 * manual/install.texi: Likewise. Reword some references to
22933 GNU/Linux.
22934 * manual/intro.texi: Likewise.
22935 * manual/io.texi: Likewise.
22936 (File Name Portability): Detail which constraints are inapplicable
22937 to all GNU systems and which are only inapplicable to GNU/Hurd.
22938 * manual/job.texi: Likewise.
22939 * manual/llio.texi: Likewise.
22940 (O_NOCTTY): Document as present on GNU/Linux.
22941 * manual/maint.texi: Likewise.
22942 * manual/memory.texi: Likewise.
22943 * manual/pattern.texi: Likewise.
22944 * manual/pipe.texi: Likewise.
22945 * manual/process.texi: Likewise.
22946 * manual/resource.texi: Likewise.
22947 (RUSAGE_CHILDREN): Remove statement about specifying a particular
22948 child on GNU/Hurd.
22949 * manual/setjmp.texi: Likewise.
22950 * manual/signal.texi: Likewise.
22951 * manual/startup.texi: Likewise.
22952 * manual/stdio.texi: Likewise.
22953 * manual/terminal.texi: Likewise.
22954 (ONLCR): Document as POSIX.
22955 (OXTABS): Document availability on GNU/Linux as XTABS.
22956 (ONOEOT): Document availability separately from other bits.
22957 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
22958 * manual/time.texi: Likewise.
22959 * manual/users.texi: Likewise.
22960 * INSTALL: Regenerated.
22961 * sysdeps/gnu/errlist.c: Regenerated.
22962
07037eeb
JM
22963 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
22964 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
22965 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
22966 puts.
22967 * configure: Regenerated.
22968
d1d3431a
JM
229692012-03-07 Joseph Myers <joseph@codesourcery.com>
22970
af6a1e37
JM
22971 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
22972 default includes instead of AC_HEADER_CHECK.
22973 * sysdeps/i386/configure: Regenerated.
22974
d1d3431a
JM
22975 [BZ #10716]
22976 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
22977 * math/s_cacoshf.c (__cacoshf): Likewise.
22978 * math/s_cacoshl.c (__cacoshl): Likewise.
22979 * math/s_casinh.c (__casinh): Set signs of result from argument.
22980 * math/s_casinhf.c (__casinhf): Likewise.
22981 * math/s_casinhl.c (__casinhl): Likewise.
22982 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
22983 (casinh_test): Add more tests.
22984 * sysdeps/i386/fpu/libm-test-ulps: Update.
22985 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22986
482ff4da
UD
229872012-03-07 Ulrich Drepper <drepper@gmail.com>
22988
872fda05
UD
22989 * po/zh_TW.po: Update from translation team.
22990
a4300c7a
UD
22991 * login/Makefile (distribute): Remove variable.
22992 * catgets/Makefile: Likewise.
22993 * mach/Makefile: Likewise.
22994 * malloc/Makefile: Likewise.
22995 * misc/Makefile: Likewise.
22996 * iconv/Makefile: Likewise.
22997 * nscd/Makefile: Likewise.
22998 * hurd/Makefile: Likewise.
22999 * manual/Makefile: Likewise.
23000 * locale/Makefile: Likewise.
23001 * intl/Makefile: Likewise.
23002 * conform/Makefile: Likewise.
23003 * nss/Makefile: Likewise.
23004 * time/Makefile: Likewise.
23005 * soft-fp/Makefile: Likewise.
23006 * dirent/Makefile: Likewise.
23007 * gmon/Makefile: Likewise.
23008 * po/Makefile: Likewise.
23009 * rt/Makefile: Likewise.
23010 * socket/Makefile: Likewise.
23011 * math/Makefile: Likewise.
23012 * signal/Makefile: Likewise.
23013 * debug/Makefile: Likewise.
23014 * elf/Makefile: Likewise.
23015 * timezone/Makefile: Likewise.
23016 * stdlib/Makefile: Likewise.
23017 * iconvdata/Makefile: Likewise.
23018 * sunrpc/Makefile: Likewise.
23019 * io/Makefile: Likewise.
23020 * argp/Makefile: Likewise.
23021 * inet/Makefile: Likewise.
23022 * hesiod/Makefile: Likewise.
23023 * grp/Makefile: Likewise.
23024 * csu/Makefile: Likewise.
23025 * wctype/Makefile: Likewise.
23026 * crypt/Makefile: Likewise.
23027 * libio/Makefile: Likewise.
23028 * string/Makefile: Likewise.
23029 * nis/Makefile: Likewise.
23030 * resolv/Makefile: Likewise.
23031 * stdio-common/Makefile: Likewise.
23032 * wcsmbs/Makefile: Likewise.
23033 * dlfcn/Makefile: Likewise.
23034 * posix/Makefile: Likewise.
23035
3b7c4e74 23036 [BZ #6959]
482ff4da
UD
23037 * timezone/Makefile: Don't install timezone files, just the programs
23038 and scripts.
23039
f72ed77d
UD
230402012-03-06 Ulrich Drepper <drepper@gmail.com>
23041
a000466f
UD
23042 * nss/databases.def: Add missing gshadow entry.
23043
f72ed77d
UD
23044 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
23045
a53b7a4e
MP
230462012-03-06 Marek Polacek <polacek@redhat.com>
23047
23048 [BZ #13726]
23049 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
23050 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
23051 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
23052 * stdio-common/tst-long-dbl-fphex.c: New file.
23053
e9258400
DM
230542012-03-06 David S. Miller <davem@davemloft.net>
23055
23056 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23057 (set_obp_int): New function.
23058 (get_obp_int): New function.
23059 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
23060 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
23061 Avoid unused variable warnings on 'val' and use builtin_expect.
23062 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
23063 __builtin_expect.
e9258400
DM
23064 (INLINE_CLONE_SYSCALL): Likewise.
23065
3bd2c723
DM
230662012-03-05 David S. Miller <davem@davemloft.net>
23067
23068 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23069
bbb78d03
AS
230702012-03-05 Andreas Schwab <schwab@linux-m68k.org>
23071
884c5db4
AS
23072 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23073
bbb78d03
AS
23074 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
23075 only for |x| >= 40.
23076 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
23077
1c9f702a 230782012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
23079
23080 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
23081 Replace gettimeofday with __vdso_gettimeofday.
23082
7be16f82
RM
23083 * sysdeps/unix/sysv/linux/x86_64/init-first.c
23084 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
23085 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
23086
23087 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
23088 time with __vdso_time.
23089
ed58a00f
JM
230902012-03-05 Joseph Myers <joseph@codesourcery.com>
23091
23092 * manual/lang.texi (size_t): Note types to which size_t may be
23093 equivalent with the GNU C Library, but do not describe when
23094 differences between them are significant.
23095
30ee4ced
AJ
230962012-03-05 Andreas Jaeger <aj@suse.de>
23097
23098 * sysdeps/i386/fpu/libm-test-ulps: Update.
23099
b7cd39e8
JM
231002012-03-05 Joseph Myers <joseph@codesourcery.com>
23101
23102 [BZ #3976]
23103 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
23104 (__ieee754_pow): Save and restore rounding mode and use
23105 round-to-nearest for main computations.
23106 * math/libm-test.inc (pow_test_tonearest): New function.
23107 (pow_test_towardzero): Likewise.
23108 (pow_test_downward): Likewise.
23109 (pow_test_upward): Likewise.
23110 (main): Call the new functions.
23111 * sysdeps/i386/fpu/libm-test-ulps: Update.
23112 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
23113
23114 [BZ #3976]
23115 * math/libm-test.inc (cosh_test_tonearest): New function.
23116 (cosh_test_towardzero): Likewise.
23117 (cosh_test_downward): Likewise.
23118 (cosh_test_upward): Likewise.
23119 (sinh_test_tonearest): Likewise.
23120 (sinh_test_towardzero): Likewise.
23121 (sinh_test_downward): Likewise.
23122 (sinh_test_upward): Likewise.
23123 (main): Call the new functions.
23124 * sysdeps/i386/fpu/libm-test-ulps: Update.
23125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23126
6c6a98c9
TV
231272012-03-05 Tom de Vries <tom@codesourcery.com>
23128
23129 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
23130 default stack guard is set in last bytes.
23131 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
23132
21bb2d2e 231332012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 23134
21bb2d2e 23135 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 23136
21bb2d2e
AJ
23137 [BZ #13656]
23138 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
23139 possibly allocate from heap instead of stack.
23140 * stdio-common/bug-vfprintf-nargs.c: New file.
23141 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 23142
c6922934
AS
231432012-03-03 Andreas Schwab <schwab@linux-m68k.org>
23144
23145 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23146
bc957d53
MP
231472012-03-03 Marek Polacek <polacek@redhat.com>
23148
23149 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
23150 * math/math_private.h: Likewise.
23151 * stdlib/tst-strtod.c: Likewise.
23152 * sysdeps/i386/i486/bits/atomic.h: Likewise.
23153 * sysdeps/x86_64/bits/atomic.h: Likewise.
23154
6358490d
DM
231552012-03-02 David S. Miller <davem@davemloft.net>
23156
23157 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
23158 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
23159 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
23160 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
23161 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
23162 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
23163 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
23164 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
23165
01ae168d
RM
231662012-03-02 Roland McGrath <roland@hack.frob.com>
23167
d9a17c07
RM
23168 [BZ #13792]
23169 * manual/examples/README: New file, says the example source files
23170 can be used under GPL>=2.
23171 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
23172 line containing just "*/".
23173 * manual/examples/add.c: Add copyright header (GPL>=2).
23174 * manual/examples/argp-ex1.c: Likewise.
23175 * manual/examples/argp-ex2.c: Likewise.
23176 * manual/examples/argp-ex3.c: Likewise.
23177 * manual/examples/argp-ex4.c: Likewise.
23178 * manual/examples/atexit.c: Likewise.
23179 * manual/examples/db.c: Likewise.
23180 * manual/examples/dir.c: Likewise.
23181 * manual/examples/dir2.c: Likewise.
23182 * manual/examples/execinfo.c: Likewise.
23183 * manual/examples/filecli.c: Likewise.
23184 * manual/examples/filesrv.c: Likewise.
23185 * manual/examples/fmtmsgexpl.c: Likewise.
23186 * manual/examples/genpass.c: Likewise.
23187 * manual/examples/inetcli.c: Likewise.
23188 * manual/examples/inetsrv.c: Likewise.
23189 * manual/examples/isockad.c: Likewise.
23190 * manual/examples/longopt.c: Likewise.
23191 * manual/examples/memopen.c: Likewise.
23192 * manual/examples/memstrm.c: Likewise.
23193 * manual/examples/mkfsock.c: Likewise.
23194 * manual/examples/mkisock.c: Likewise.
23195 * manual/examples/mygetpass.c: Likewise.
23196 * manual/examples/pipe.c: Likewise.
23197 * manual/examples/popen.c: Likewise.
23198 * manual/examples/rprintf.c: Likewise.
23199 * manual/examples/search.c: Likewise.
23200 * manual/examples/select.c: Likewise.
23201 * manual/examples/setjmp.c: Likewise.
23202 * manual/examples/sigh1.c: Likewise.
23203 * manual/examples/sigusr.c: Likewise.
23204 * manual/examples/stpcpy.c: Likewise.
23205 * manual/examples/strdupa.c: Likewise.
23206 * manual/examples/strftim.c: Likewise.
23207 * manual/examples/strncat.c: Likewise.
23208 * manual/examples/subopt.c: Likewise.
23209 * manual/examples/swapcontext.c: Likewise.
23210 * manual/examples/termios.c: Likewise.
23211 * manual/examples/testopt.c: Likewise.
23212 * manual/examples/testpass.c: Likewise.
23213 * manual/examples/timeval_subtract.c: Likewise.
23214
01ae168d
RM
23215 [BZ #13792]
23216 * manual/time.texi (Elapsed Time): Move timeval_subtract example
23217 function to ...
23218 * manual/timeval_subtract.c.texi: ... here, new file.
23219
49efa33d
DM
232202012-03-02 David S. Miller <davem@davemloft.net>
23221
23222 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
23223
28afd92d
JM
232242012-03-02 Joseph Myers <joseph@codesourcery.com>
23225
804360ed
JM
23226 [BZ #3976]
23227 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
23228 (__sin): Save and restore rounding mode and use round-to-nearest
23229 for all computations.
23230 (__cos): Save and restore rounding mode and use round-to-nearest
23231 for all computations.
23232 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
23233 <fenv.h>.
23234 (tan): Save and restore rounding mode and use round-to-nearest for
23235 all computations.
23236 * math/libm-test.inc (cos_test_tonearest): New function.
23237 (cos_test_towardzero): Likewise.
23238 (cos_test_downward): Likewise.
23239 (cos_test_upward): Likewise.
23240 (sin_test_tonearest): Likewise.
23241 (sin_test_towardzero): Likewise.
23242 (sin_test_downward): Likewise.
23243 (sin_test_upward): Likewise.
23244 (tan_test_tonearest): Likewise.
23245 (tan_test_towardzero): Likewise.
23246 (tan_test_downward): Likewise.
23247 (tan_test_upward): Likewise.
23248 (main): Call the new functions.
23249 * sysdeps/i386/fpu/libm-test-ulps: Update.
23250 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23251
a6d06d7b
JM
23252 [BZ #10135]
23253 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
23254 small n, then large n, before computing and testing k+n.
23255 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
23256 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
23257 Likewise.
23258 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
23259 Likewise.
23260 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
23261 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
23262 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
23263 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
23264 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
23265 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
23266 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
23267 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
23268 * math/libm-test.inc (scalbn_test): Add more tests.
23269 (scalbln_test): Likewise.
23270
07e12bb3
JM
23271 * manual/filesys.texi (mode_t): Describe constraints on size and
23272 signedness, not exact equivalence to a particular type.
23273 (ino_t): Likewise.
23274 (ino64_t): Likewise.
23275 (dev_t): Likewise.
23276 (nlink_t): Likewise.
23277 (blkcnt_t): Likewise.
23278 (blkcnt64_t): Likewise.
23279 * manual/llio.texi (off_t): Likewise.
23280
28afd92d
JM
23281 [BZ #3976]
23282 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
23283 (__ieee754_exp): Save and restore rounding mode and use
23284 round-to-nearest for all computations.
23285 * math/libm-test.inc (exp_test_tonearest): New function.
23286 (exp_test_towardzero): Likewise.
23287 (exp_test_downward): Likewise.
23288 (exp_test_upward): Likewise.
23289 (main): Call the new functions.
23290 * sysdeps/i386/fpu/libm-test-ulps: Update.
23291 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23292
b1eeb65d
CD
232932012-03-01 Chris Demetriou <cgd@google.com>
23294
23295 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
23296 have predictable order.
23297
53362a4b
DM
232982012-03-01 David S. Miller <davem@davemloft.net>
23299
3c969083
DM
23300 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
23301
759707de
DM
23302 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
23303 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
23304 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
23305 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
23306
dfdb8ff2
DM
23307 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
23308 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
23309 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
23310 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
23311 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
23312 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
23313 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
23314 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
23315 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
23316
ead89f96
DM
23317 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23318
7f66bd07
DM
23319 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
23320 * sysdeps/sparc/fpu/libm-test-ulps: to here.
23321 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
23322
53362a4b
DM
23323 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
23324 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23325 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23326 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
23327 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
23328 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
23329 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
23330 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23331 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23332 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
23333 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
23334 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23335 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23336 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23337 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23338 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23339 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
23340 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
23341 * sysdeps/sparc/elf/configure: Regenerated.
23342
7b1902cb
JM
233432012-03-01 Joseph Myers <joseph@codesourcery.com>
23344
bec039bc
JM
23345 * configure.in (AS, LD): Require binutils 2.20 or later.
23346 * configure: Regenerated.
23347 * manual/install.texi (Tools for Compilation): Give binutils 2.20
23348 as required minimum version.
23349 * INSTALL: Regenerated.
23350
7b1902cb
JM
23351 [BZ #2541]
23352 [BZ #4108]
23353 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
23354 before squaring exponent.
23355 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
23356 bottom long double and 27 bits of top long double before squaring
23357 exponent.
23358 * math/libm-test.inc (erfc_test): Add more tests.
23359 * sysdeps/i386/fpu/libm-test-ulps: Update.
23360 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23361 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23362
f775c276
KT
233632012-03-01 Kai Tietz <ktietz@redhat.com>
23364
23365 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
23366 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
23367 containing bit-fields.
23368 * soft-fp/extended.h (_FP_UNION_E): Likewise.
23369 * soft-fp/single.h (_FP_UNION_S): Likewise.
23370 * soft-fp/double.h (_FP_UNION_D): Likewise.
23371
5b8a4d4a
JM
233722012-02-29 Joseph Myers <joseph@codesourcery.com>
23373
0bab47b6
JM
23374 [BZ #13786]
23375 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
23376 not include ../strcmp.S.
23377 [USE_AS_STRNCASECMP_L]: Likewise.
23378 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
23379 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
23380 * sysdeps/i386/i686/multiarch/strncase_l-c.c
23381 (__strncasecmp_l_ia32): Define as alias to
23382 __strncasecmp_l_nonascii.
23383
0fcad3e2
JM
23384 [BZ #5794]
23385 * math/libm-test.inc (expm1_test): Add test for bug 5794.
23386 * sysdeps/i386/fpu/libm-test-ulps: Update.
23387 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23388
5b8a4d4a
JM
23389 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
23390 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23391
8fdceb2e
JL
233922012-02-29 Jeff Law <law@redhat.com>
23393
23394 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
23395 out of bounds read.
23396
1f393a11
MP
233972012-02-29 Marek Polacek <polacek@redhat.com>
23398
23399 [BZ #13706]
23400 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
23401 * elf/Makefile: Add rules to run tst-unused-dep.out.
23402
8847f037
DM
234032012-02-28 David S. Miller <davem@davemloft.net>
23404
23405 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
23406 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
23407 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
23408 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
23409 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
23410 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
23411
169d7f11
JM
234122012-02-29 Joseph Myers <joseph@codesourcery.com>
23413
23414 * math/libm-test.inc (llround_test): Move one test from
23415 lround_test. Use TEST_f_L in moved test.
23416 (lround_test): Move misplaced test to llround_test. Add testcase
23417 from bug 2561.
23418
39adf059
UD
234192012-02-28 Ulrich Drepper <drepper@gmail.com>
23420
23421 * sysdeps/x86_64/fpu/e_expf.S: New file.
23422 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
23423
71b5d1c5
SB
234242012-02-28 Stanislav Brabec <sbrabec@suse.cz>
23425
23426 [BZ #13637]
23427 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
23428 of remain_len that may cause incomplete multi-byte character and
23429 false match.
23430 * posix/bug-regex33.c: New file.
23431 * posix/Makefile (tests): Add bug-regex33.
23432
1f77f049
JM
234332012-02-28 Joseph Myers <joseph@codesourcery.com>
23434
23435 * manual/macros.texi: New file.
23436 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
23437 * manual/libc.texinfo: Include macros.texi.
23438 * manual/creatute.texi: Likewise.
23439 * manual/install.texi: Likewise.
23440 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
23441 @glibcadj{} in references to the GNU C Library.
23442 * manual/charset.texi: Likewise.
23443 * manual/conf.texi: Likewise.
23444 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
23445 when not using those macros.
23446 * manual/creature.texi: Likewise.
23447 * manual/crypt.texi: Likewise.
23448 * manual/errno.texi: Likewise.
23449 * manual/filesys.texi: Likewise.
23450 * manual/header.texi: Likewise.
23451 * manual/install.texi: Likewise.
23452 * manual/intro.texi: Likewise.
23453 * manual/io.texi: Likewise.
23454 * manual/job.texi: Likewise.
23455 * manual/lang.texi: Likewise.
23456 * manual/libc.texiinfo: Likewise.
23457 * manual/llio.texi: Likewise.
23458 * manual/locale.texi: Likewise.
23459 * manual/maint.texi: Likewise.
23460 * manual/math.texi: Likewise.
23461 * manual/memory.texi: Likewise.
23462 * manual/message.texi: Likewise.
23463 * manual/nss.texi: Likewise.
23464 * manual/pattern.texi: Likewise.
23465 * manual/process.texi: Likewise.
23466 * manual/resource.texi: Likewise.
23467 * manual/search.texi: Likewise.
23468 * manual/setjmp.texi: Likewise.
23469 * manual/signal.texi: Likewise.
23470 * manual/socket.texi: Likewise.
23471 * manual/startup.texi: Likewise.
23472 * manual/stdio.texi: Likewise.
23473 * manual/string.texi: Likewise.
23474 * manual/sysinfo.texi: Likewise.
23475 * manual/syslog.texi: Likewise.
23476 * manual/terminal.texi: Likewise.
23477 * manual/time.texi: Likewise.
23478 * manual/users.texi: Likewise.
23479 * INSTALL: Regenerated.
23480 * NOTES: Regenerated.
d40c5d54 23481 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 23482
450bf206
AS
234832012-02-28 Andreas Schwab <schwab@linux-m68k.org>
23484
23485 * include/dirent.h: Include <dirstream.h> before
23486 <dirent/dirent.h>.
23487
741a235b
DM
234882012-02-28 David S. Miller <davem@davemloft.net>
23489
23490 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
23491 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
23492 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
23493 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
23494
d6b5aa58
DM
234952012-02-27 David S. Miller <davem@davemloft.net>
23496
1aff59a3
DM
23497 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
23498 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
23499 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
23500 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
23501
d6b5aa58
DM
23502 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
23503 frame pointer instead of stack pointer relative arg slot.
23504 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23505 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23506 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23507
433f48bf
CD
235082012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
23509
23510 [BZ #3992]
23511 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
23512
d674b76d
DM
235132012-02-27 David S. Miller <davem@davemloft.net>
23514
23515 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
23516 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23517 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
23518 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
23519 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23520 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23521 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
23522 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
23523
0e7727f7
JM
235242012-02-27 Joseph Myers <joseph@codesourcery.com>
23525
23526 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
23527 later. Allow versions 5-9.
43be4ca2 23528 * configure: Regenerated.
0e7727f7
JM
23529 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
23530 required minimum version and 4.6 as recommended version. Do not
23531 mention bugs in GCC 2.7 and 2.8.
43be4ca2 23532 * INSTALL: Regenerated.
0e7727f7 23533
a78bc654
DM
235342012-02-27 David S. Miller <davem@davemloft.net>
23535
428d5830
DM
23536 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
23537 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
23538 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
23539 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
23540 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
23541 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
23542 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
23543 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
23544
a78bc654
DM
23545 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
23546 manipulate bits before adding and subtracting TWO112[sx].
23547 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23548
4579f81c
RM
235492012-02-27 Roland McGrath <roland@hack.frob.com>
23550
36c8acb4
RM
23551 [BZ #13775]
23552 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
23553 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
23554 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
23555 being in POSIX, because they are in 1003.1-2008.
23556
84ad622b
RM
23557 * rt/tst-aio.c: Include <fcntl.h>.
23558 * rt/tst-aio7.c: Likewise.
23559 * rt/tst-aio64.c: Likewise.
23560
4579f81c
RM
23561 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
23562
abd923db
JM
235632012-02-27 Joseph Myers <joseph@codesourcery.com>
23564
23565 * manual/install.texi (--with-headers): Describe headers as
23566 interface headers, not private headers.
23567 (Specific advice for GNU/Linux systems): Describe use of headers
23568 from "make headers_install", not private headers from older
23569 kernels.
43be4ca2 23570 * INSTALL: Regenerated.
abd923db
JM
23571 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
23572 Change to 2.6.19.
23573 * sysdeps/unix/sysv/linux/configure: Regenerated.
23574
6664049b
JM
23575 * manual/llio.texi (fclean): Remove documentation.
23576
bb8b6697
JM
23577 * manual/Makefile (libc-texi-generated): New variable. Include
23578 version.texi.
23579 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
23580 $(libc-texi-generated), not duplicated list of files.
23581 (version.texi, stamp-version): New rules.
23582 (realclean): Remove $(libc-texi-generated), not individual files
23583 from that list. Do not remove dir-add.texinfo.
23584 * manual/libc.texinfo: Comment out uses of edition numbers and
23585 references to printed manual. Remove last-updated dates.
23586 (EDITION): Comment out.
23587 (ISBN): Likewise.
23588 (VERSION, UPDATED): Remove.
23589 (version.texi): Include.
23590
12e5c3b9
AS
235912012-02-27 Andreas Schwab <schwab@linux-m68k.org>
23592
23593 * sysdeps/posix/spawni.c: Include <signal.h>.
23594 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
23595 * sysdeps/pthread/aio_fsync.c: Likewise.
23596
4efeffc1 235972012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 23598
ba63ba08
UD
23599 * conform/Makefile (tests): Run only when not cross-compiling and
23600 when fast-check is not defined.
23601
d94a4670
UD
23602 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
23603 * conform/data/limits.h-data: Fixes for POSIX2008.
23604 * conform/run-conformtest.sh: Run all tests.
23605 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
23606 headers.
23607 * include/bits/dlfcn.h: Likewise.
23608 * include/langinfo.h: Likewise.
23609 * include/monetary.h: Likewise.
23610 * include/sys/poll.h: Likewise.
23611
23612 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
23613 for __USE_GNU.
23614 * posix/spawn.h: Define __need_sigset_t.
23615 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
23616 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
23617 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
23618 to get sigevent_t only.
23619 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
23620 only for __USE_GNU.
23621 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23622 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
23623 process_vm_writev only for __USE_GNU.
23624 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
23625
23626 * conform/Makefile: For now ignore errors from run-conformtest.
23627 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
23628 POSIX to avoid namespace pollution. Don't prepend headers.
23629 * conform/data/aio.h-data: Fixes for POSIX testing.
23630 * conform/data/fcntl.h-data: Likewise.
23631 * conform/data/glob.h-data: Likewise.
23632 * conform/data/grp.h-data: Likewise.
23633 * conform/data/pthread.h-data: Likewise.
23634 * conform/data/pwd.h-data: Likewise.
23635 * conform/data/signal.h-data: Likewise.
23636 * conform/data/spawn.h-data: Likewise.
23637 * conform/data/stdio.h-data: Likewise.
23638 * conform/data/stdlib.h-data: Likewise.
23639 * conform/data/stropts.h-data: Likewise.
23640 * conform/data/sys/mman.h-data: Likewise.
23641 * conform/data/sys/stat.h-data: Likewise.
23642 * conform/data/sys/types.h-data: Likewise.
23643 * conform/data/sys/wait.h-data: Likewise.
23644 * conform/data/time.h-data: Likewise.
23645 * conform/data/unistd.h-data: Likewise.
23646 * conform/data/utime.h-data: Likewise.
23647
23648 * io/sys/stat.h: fchmod was always in POSIX.
23649 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
23650 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
23651 * rt/aio.h: Define __need_timespec before including <time.h>.
23652 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
23653 struct. Add forward declaration of pthread_attr_t and use it in
23654 sigevent.
23655 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
23656 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23657 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
23658 always remove CLK_TCK definition.
23659
c20105c3
AS
236602012-02-26 Andreas Schwab <schwab@linux-m68k.org>
23661
23662 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
23663
7a270350
UD
236642012-02-25 Ulrich Drepper <drepper@gmail.com>
23665
31341567
UD
23666 * conform/run-conformtest.sh: New file.
23667 * conform/Makefile: Run run-conformtest for tests.
23668 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
23669 support.
23670
23671 * conform/data/uchar.h-data: New file.
23672 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
23673 * conform/data/arpa/inet.h-data: Likewise.
23674 * conform/data/assert.h-data: Likewise.
23675 * conform/data/complex.h-data: Likewise.
23676 * conform/data/cpio.h-data: Likewise.
23677 * conform/data/ctype.h-data: Likewise.
23678 * conform/data/dirent.h-data: Likewise.
23679 * conform/data/dlfcn.h-data: Likewise.
23680 * conform/data/errno.h-data: Likewise.
23681 * conform/data/fcntl.h-data: Likewise.
23682 * conform/data/float.h-data: Likewise.
23683 * conform/data/fmtmsg.h-data: Likewise.
23684 * conform/data/fnmatch.h-data: Likewise.
23685 * conform/data/ftw.h-data: Likewise.
23686 * conform/data/glob.h-data: Likewise.
23687 * conform/data/grp.h-data: Likewise.
23688 * conform/data/iconv.h-data: Likewise.
23689 * conform/data/inttypes.h-data: Likewise.
23690 * conform/data/langinfo.h-data: Likewise.
23691 * conform/data/libgen.h-data: Likewise.
23692 * conform/data/limits.h-data: Likewise.
23693 * conform/data/locale.h-data: Likewise.
23694 * conform/data/math.h-data: Likewise.
23695 * conform/data/monetary.h-data: Likewise.
23696 * conform/data/mqueue.h-data: Likewise.
23697 * conform/data/ndbm.h-data: Likewise.
23698 * conform/data/net/if.h-data: Likewise.
23699 * conform/data/netdb.h-data: Likewise.
23700 * conform/data/netinet/in.h-data: Likewise.
23701 * conform/data/nl_types.h-data: Likewise.
23702 * conform/data/poll.h-data: Likewise.
23703 * conform/data/pthread.h-data: Likewise.
23704 * conform/data/pwd.h-data: Likewise.
23705 * conform/data/regex.h-data: Likewise.
23706 * conform/data/sched.h-data: Likewise.
23707 * conform/data/search.h-data: Likewise.
23708 * conform/data/semaphore.h-data: Likewise.
23709 * conform/data/setjmp.h-data: Likewise.
23710 * conform/data/signal.h-data: Likewise.
23711 * conform/data/spawn.h-data: Likewise.
23712 * conform/data/stdarg.h-data: Likewise.
23713 * conform/data/stdio.h-data: Likewise.
23714 * conform/data/stdlib.h-data: Likewise.
23715 * conform/data/string.h-data: Likewise.
23716 * conform/data/strings.h-data: Likewise.
23717 * conform/data/stropts.h-data: Likewise.
23718 * conform/data/sys/ipc.h-data: Likewise.
23719 * conform/data/sys/mman.h-data: Likewise.
23720 * conform/data/sys/msg.h-data: Likewise.
23721 * conform/data/sys/resource.h-data: Likewise.
23722 * conform/data/sys/select.h-data: Likewise.
23723 * conform/data/sys/sem.h-data: Likewise.
23724 * conform/data/sys/shm.h-data: Likewise.
23725 * conform/data/sys/socket.h-data: Likewise.
23726 * conform/data/sys/stat.h-data: Likewise.
23727 * conform/data/sys/statvfs.h-data: Likewise.
23728 * conform/data/sys/time.h-data: Likewise.
23729 * conform/data/sys/timeb.h-data: Likewise.
23730 * conform/data/sys/times.h-data: Likewise.
23731 * conform/data/sys/types.h-data: Likewise.
23732 * conform/data/sys/uio.h-data: Likewise.
23733 * conform/data/sys/un.h-data: Likewise.
23734 * conform/data/sys/utsname.h-data: Likewise.
23735 * conform/data/sys/wait.h-data: Likewise.
23736 * conform/data/syslog.h-data: Likewise.
23737 * conform/data/tar.h-data: Likewise.
23738 * conform/data/termios.h-data: Likewise.
23739 * conform/data/utime.h-data: Likewise.
23740 * conform/data/utmpx.h-data: Likewise.
23741 * conform/data/varargs.h-data: Likewise.
23742 * conform/data/wchar.h-data: Likewise.
23743 * conform/data/wctype.h-data: Likewise.
23744 * conform/data/wordexp.h-data: Likewise.
23745
23746 * include/stropts.h: New file.
23747 * include/uchar.h: New file.
23748 * include/aio.h: Changes to allow conformtest.pl to use the headers.
23749 * include/assert.h: Likewise.
23750 * include/ctype.h: Likewise.
23751 * include/dirent.h: Likewise.
23752 * include/dlfcn.h: Likewise.
23753 * include/fcntl.h: Likewise.
23754 * include/fnmatch.h: Likewise.
23755 * include/glob.h: Likewise.
23756 * include/grp.h: Likewise.
23757 * include/libio.h: Likewise.
23758 * include/locale.h: Likewise.
23759 * include/math.h: Likewise.
23760 * include/net/if.h: Likewise.
23761 * include/netdb.h: Likewise.
23762 * include/netinet/in.h: Likewise.
23763 * include/pthread.h: Likewise.
23764 * include/pwd.h: Likewise.
23765 * include/regex.h: Likewise.
23766 * include/sched.h: Likewise.
23767 * include/search.h: Likewise.
23768 * include/setjmp.h: Likewise.
23769 * include/signal.h: Likewise.
23770 * include/stdio.h: Likewise.
23771 * include/stdlib.h: Likewise.
23772 * include/string.h: Likewise.
23773 * include/sys/cdefs.h: Likewise.
23774 * include/sys/mman.h: Likewise.
23775 * include/sys/msg.h: Likewise.
23776 * include/sys/resource.h: Likewise.
23777 * include/sys/select.h: Likewise.
23778 * include/sys/socket.h: Likewise.
23779 * include/sys/stat.h: Likewise.
23780 * include/sys/statvfs.h: Likewise.
23781 * include/sys/time.h: Likewise.
23782 * include/sys/times.h: Likewise.
23783 * include/sys/uio.h: Likewise.
23784 * include/sys/utsname.h: Likewise.
23785 * include/sys/wait.h: Likewise.
23786 * include/termios.h: Likewise.
23787 * include/time.h: Likewise.
23788 * include/ulimit.h: Likewise.
23789 * include/unistd.h: Likewise.
23790 * include/utime.h: Likewise.
23791 * include/wchar.h: Likewise.
23792 * include/wctype.h: Likewise.
23793 * include/wordexp.h: Likewise.
23794
23795 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
23796
7a270350
UD
23797 * time/time.h: TIME_UTC must be a macro.
23798 Make timespec_get available for ISO C11 only as well.
23799
7724defc
UD
238002012-02-24 Ulrich Drepper <drepper@gmail.com>
23801
23802 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
23803 Reported by Peng Haitao <penght@cn.fujitsu.com>.
23804
6b1d1d46
JM
238052012-02-24 Joseph Myers <joseph@codesourcery.com>
23806
23807 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 23808
0f8bbd69
JM
238092012-02-24 Joseph Myers <joseph@codesourcery.com>
23810
23811 * manual/texinfo.tex: Update to version 2012-01-19.16.
23812
66ab80bc
JM
238132012-02-24 Joseph Myers <joseph@codesourcery.com>
23814
23815 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
23816
74981cc5
RM
238172012-02-24 Roland McGrath <roland@hack.frob.com>
23818
ee968201
RM
23819 [BZ #13738]
23820 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
23821 * manual/fdl-1.3.texi: New file.
23822 * manual/fdl-1.1.texi: File removed.
23823
74981cc5
RM
23824 [BZ #13738]
23825 * manual/libc.texinfo (FDL_VERSION): New @set.
23826 Use it for mention of FDL in cover text.
23827 (Documentation License): Use it in @include file name.
23828
7bb764bc
JM
238292012-02-22 Joseph Myers <joseph@codesourcery.com>
23830 Roland McGrath <roland@hack.frob.com>
23831
23832 [BZ #5461]
23833 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
23834 not LONG_LONG_MAX and LONG_LONG_MIN.
23835 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
23836 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
23837 name.
23838 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
23839
6cbeae47
JM
238402012-02-22 Joseph Myers <joseph@codesourcery.com>
23841
23842 [BZ #2547]
23843 [BZ #11365]
23844 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
23845 manipulate bits before adding and subtracting TWO23[sx].
23846 * math/libm-test.inc (nearbyint_test): Add more tests.
23847
fe45ce09
JM
238482012-02-22 Joseph Myers <joseph@codesourcery.com>
23849
23850 [BZ #2548]
23851 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
23852 bits before adding and subtracting TWO23[sx].
23853 * math/libm-test.inc (rint_test): Add more tests.
23854 (rint_test_tonearest): Likewise.
23855 (rint_test_towardzero): Likewise.
23856 (rint_test_downward): Likewise.
23857 (rint_test_upward: Likewise.
23858
ff3b3d82
JM
238592012-02-22 Joseph Myers <joseph@codesourcery.com>
23860
23861 [BZ #10110]
23862 * include/stdc-predef.h: New file. Extracted from features.h.
23863 * include/features.h: Include stdc-predef.h.
23864 * Makefile (headers): Add stdc-predef.h.
23865 * CONFORMANCE (Compiler limitations): Update.
23866
ef0aab35
JM
238672012-02-22 Joseph Myers <joseph@codesourcery.com>
23868
23869 * manual/libc.texinfo (VERSION, UPDATED): Revert.
23870
58639409
DM
238712012-02-21 David S. Miller <davem@davemloft.net>
23872
23873 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
23874 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23875
c0e70b25
DM
238762012-02-20 David S. Miller <davem@davemloft.net>
23877
23878 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
23879 using a normal save/restore sequence, rather than allocating a
23880 dummy stack frame just to store a frame pointer and restore.
23881 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23882
fb06851d
JM
238832012-02-21 Joseph Myers <joseph@codesourcery.com>
23884
23885 * manual/install.texi: Fix stray word in line-wrapped comment.
23886
7a8b71c3
DM
238872012-02-20 David S. Miller <davem@davemloft.net>
23888
d510c123
DM
23889 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
23890 both binutils and gcc support GOTDATA.
23891
0722d7c2
DM
23892 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
23893 "rd %pc" in the PIC register setup sequences.
23894
3d2b3019
DM
23895 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
23896 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
23897 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23898 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
23899 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23900 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23901 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23902 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23903 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
23904 (SYSCALL_ERROR_HANDLER): Likewise.
23905 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23906 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23907 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
23908 (SYSCALL_ERROR_HANDLER): Likewise.
23909
c80098a9
DM
23910 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
23911 (HAVE_GCC_GOTDATA): New.
23912 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
23913 relocation support in both binutils and gcc.
23914 * sysdeps/sparc/elf/configure: Regenerate.
23915
3a2545a0
DM
23916 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
23917 * sysdeps/sparc/sparc32/elf/configure: Delete.
23918 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
23919 * sysdeps/sparc/sparc64/elf/configure: Delete.
23920 * sysdeps/sparc/elf/configure.in: New file.
23921 * sysdeps/sparc/elf/configure: Generate.
23922
7a8b71c3
DM
23923 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
23924 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
23925 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23926 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
23927 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
23928
f1e86fca
JM
239292012-02-21 Joseph Myers <joseph@codesourcery.com>
23930
23931 * manual/install.texi: Do not mention specific glibc version
23932 numbers.
23933 * manual/libc.texinfo (VERSION, UPDATED): Update.
23934 (@copying): Use @copyright{} and range of years.
23935
0e7dfaef
JM
239362012-02-21 Joseph Myers <joseph@codesourcery.com>
23937
23938 [BZ #13695]
23939 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
23940 [crti.S not in sysdirs] (generated): Do not append.
23941 [crti.S not in sysdirs] (omit-deps): Likewise.
23942 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
23943 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
23944 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
23945 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
23946 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
23947 Likewise.
23948 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
23949 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
23950 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
23951 * csu/defs.awk: Remove file.
23952 * sysdeps/generic/initfini.c: Likewise.
23953 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
23954 variable.
23955 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
23956 Likewise.
23957
599af3ca
JM
239582012-02-20 Joseph Myers <joseph@codesourcery.com>
23959
23960 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
23961 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
23962 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
23963 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
23964 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
23965 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
23966 <bits/epoll.h>.
23967 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
23968 (__EPOLL_PACKED): Define to empty if not defined by
23969 <bits/epoll.h>.
23970 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
23971 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23972 bits/epoll.h.
23973
0e499750
JM
239742012-02-20 Joseph Myers <joseph@codesourcery.com>
23975
23976 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
23977 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
23978 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
23979 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
23980 <bits/timerfd.h>.
23981 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
23982 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23983 bits/timerfd.h.
23984
5ad91f6e
JM
239852012-02-20 Joseph Myers <joseph@codesourcery.com>
23986
23987 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
23988 in C locale.
23989 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23990 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
23991 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
23992 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23993
06b99b02
AJ
239942012-02-20 Aurelien Jarno <aurelien@aurel32.net>
23995
23996 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23997 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23998
7638c0fd
AS
239992012-02-19 Andreas Schwab <schwab@linux-m68k.org>
24000
24001 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
24002 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
24003 defined.
24004 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
24005 Likewise.
24006 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
24007 entry for 2.16.
24008
92221550
AJ
240092012-02-19 Aurelien Jarno <aurelien@aurel32.net>
24010
24011 * math/w_acos.c: Use non-signaling floating-point comparisons.
24012 * math/w_acosf.c: Likewise.
24013 * math/w_acosh.c: Likewise.
24014 * math/w_acoshf.c: Likewise.
24015 * math/w_acoshl.c: Likewise.
24016 * math/w_acosl.c: Likewise.
24017 * math/w_asin.c: Likewise.
24018 * math/w_asinf.c: Likewise.
24019 * math/w_asinl.c: Likewise.
24020 * math/w_atanh.c: Likewise.
24021 * math/w_atanhf.c: Likewise.
24022 * math/w_atanhl.c: Likewise.
24023 * math/w_exp2.c: Likewise.
24024 * math/w_exp2f.c: Likewise.
24025 * math/w_exp2l.c: Likewise.
24026 * math/w_j0.c: Likewise.
24027 * math/w_j0f.c: Likewise.
24028 * math/w_j0l.c: Likewise.
24029 * math/w_j1.c: Likewise.
24030 * math/w_j1f.c: Likewise.
24031 * math/w_j1l.c: Likewise.
24032 * math/w_jn.c: Likewise.
24033 * math/w_jnf.c: Likewise.
24034 * math/w_log.c: Likewise.
24035 * math/w_log10.c: Likewise.
24036 * math/w_log10f.c: Likewise.
24037 * math/w_log10l.c: Likewise.
24038 * math/w_log2.c: Likewise.
24039 * math/w_log2f.c: Likewise.
24040 * math/w_log2l.c: Likewise.
24041 * math/w_logf.c: Likewise.
24042 * math/w_logl.c: Likewise.
24043 * math/w_sqrt.c: Likewise.
24044 * math/w_sqrtf.c: Likewise.
24045 * math/w_sqrtl.c: Likewise.
24046 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
24047 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
24048 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
24049 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
24050 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
24051
ebaf36eb
JM
240522012-02-19 Joseph Myers <joseph@codesourcery.com>
24053
24054 [BZ #9739]
24055 * manual/string.texi (strnlen): Use correct parameter name in
24056 equivalent expression.
24057
71c254a6
JM
240582012-02-19 Joseph Myers <joseph@codesourcery.com>
24059
24060 [BZ #11174]
24061 * manual/users.texi (seteuid): Consistently use neweuid for
24062 argument name.
24063
16d2c631
JM
240642012-02-19 Joseph Myers <joseph@codesourcery.com>
24065
24066 [BZ #13704]
24067 * manual/nss.texi (Services in the NSS configuration): Correct
24068 list of services in example configuration file.
24069
cd837b09
NB
240702012-02-19 Nick Bowler <nbowler@draconx.ca>
24071
24072 [BZ #11322]
24073 * manual/arith.texi: Remove statements about negative zero
24074 behaving identically to zero.
24075
02c4bbad
JM
240762012-02-18 Joseph Myers <joseph@codesourcery.com>
24077
24078 [BZ #5993]
24079 * manual/install.texi: Do not document upgrading from libc5.
24080
366842e7
JM
240812012-02-18 Joseph Myers <joseph@codesourcery.com>
24082
24083 [BZ #4596]
24084 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
24085
dd54084d
DM
240862012-02-18 David S. Miller <davem@davemloft.net>
24087
24088 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
24089 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
24090 %o7 across the call.
24091 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
24092 instead.
24093 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
24094 SETUP_PIC_REG_LEAF.
24095 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
24096 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
24097 * sysdeps/sparc/crtn.S: Likewise.
24098
2bcc53a3
UD
240992012-02-17 Ulrich Drepper <drepper@gmail.com>
24100
24101 * aout/Makefile: Remove.
24102
09c093b5
RK
241032012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
24104
24105 [BZ #13058]
24106 * manual/examples/argp-ex1.c (main): Format definition in GNU
24107 style.
24108 * manual/examples/argp-ex2.c (main): Likewise.
24109 * manual/examples/argp-ex3.c (main): Likewise.
24110 * manual/examples/argp-ex4.c (main): Likewise.
24111 * manual/examples/longopt.c (main): Use new-style prototype
24112 definition.
24113 * manual/examples/strncat.c (main): Specify return type and use
24114 (void) for arguments.
24115 * manual/examples/subopt.c (main): Use char **argv argument.
24116
2ee633a2
JM
241172012-02-17 Joseph Myers <joseph@codesourcery.com>
24118
24119 [BZ #5077]
24120 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
24121 rounding modes.
24122
0520adde
FB
241232012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
24124
24125 [BZ #6907]
24126 * manual/string.texi (strchr): Change when strchrnul is
24127 recommended.
24128
3f4081cd
DGM
241292012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
24130
24131 [BZ #174]
24132 * manual/locale.texi (setlocale): Document LOCPATH.
24133
d1b10e78
JM
241342012-02-17 Joseph Myers <joseph@codesourcery.com>
24135
24136 [BZ #10210]
24137 * manual/process.texi (execle): Move @dots{} before last argument.
24138
79c6869c
PB
241392012-02-17 Paul Bolle <pebolle@tiscali.nl>
24140
24141 [BZ #12047]
24142 * manual/charset.texi (Generic Charset Conversion): Fix typo
24143 (LC_TYPE -> LC_CTYPE).
24144
cc6e48bc
NB
241452012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
24146
24147 [BZ #5805]
24148 * manual/arith.texi (scalbn): Use @var{} on parameter names.
24149 (scalbnf): Likewise.
24150 (scalbnl): Likewise.
24151 (scalbln): Likewise.
24152 (scalblnf): Likewise.
24153 (scalblnl): Likewise.
24154 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
24155 (vwarnx): Likewise.
24156 (verr): Likewise.
24157 (verrx): Likewise.
24158 * manual/filesys.texi (telldir): Use braces around return type.
24159 * manual/llio.texi (mmap): Add space after comma.
24160 (mmap64): Likewise.
24161 * manual/math.texi (jn): Use @var{} on parameter names.
24162 (jnf): Likewise.
24163 (jnl): Likewise.
24164 (yn): Likewise.
24165 (ynf): Likewise.
24166 (ynl): Likewise.
24167 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
24168 line.
24169 * manual/resource.texi (ulimit): Use @dots{} instead of literal
24170 "...".
24171 (sched_get_priority_min): Remove semicolon on @deftypefun line.
24172 (sched_get_priority_max): Likewise.
24173 * manual/signal.texi (sigvec): Add space after comma.
24174 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
24175 names.
24176 (if_indextoname): Likewise.
24177 (if_freenameindex): Likewise.
24178 (sendto): Use ',' instead of '.' in prototype.
24179 * manual/startup.texi (syscall): Use @dots{} instead of literal
24180 "...".
24181 * manual/stdio.texi (__fpending): Separate initial words of
24182 paragraph from @deftypefun line.
24183 * manual/syslog.texi (syslog): Use @dots{} instead of literal
24184 "...".
24185 (vsyslog): Use @var{} on parameter names.
24186 * manual/terminal.texi (stty): Use @var{} on parameter names.
24187 * manual/users.texi (getutmp): Use @var{} on parameter names.
24188 (getutmpx): Likewise.
24189
5b23062f
JM
241902012-02-17 Joseph Myers <joseph@codesourcery.com>
24191
24192 [BZ #6884]
24193 * manual/stdio.texi (fopen): Fix typos in description of
24194 ",ccs=STRING".
24195
8dee4833
AJ
241962012-02-17 Aurelien Jarno <aurelien@aurel32.net>
24197
24198 [BZ #4026]
24199 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
24200 get clock_id definition.
24201
9078ce93
TS
242022012-02-17 Thomas Schwinge <thomas@schwinge.name>
24203
24204 [BZ #4822]
24205 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
24206 (madvise): Cast every argument to void on its own.
24207
3835c55f
JM
242082012-02-17 Joseph Myers <joseph@codesourcery.com>
24209
24210 [BZ #9902]
24211 * manual/startup.texi (Exit Status): Fix typo.
24212
35c47e37
JM
242132012-02-17 Joseph Myers <joseph@codesourcery.com>
24214
24215 [BZ #10140]
24216 * manual/examples/argp-ex1.c: Include <stdlib.h>.
24217 * manual/examples/argp-ex2.c: Likewise.
24218 * manual/examples/argp-ex3.c: Likewise.
24219
e3b69ca7
RH
242202012-02-16 Richard Henderson <rth@redhat.com>
24221
24222 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
24223 * sysdeps/s390/s390-32/initfini.c: Remove.
24224 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
24225 * sysdeps/s390/s390-64/initfini.c: Remove.
24226
df83af67
KK
242272012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24228
24229 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
24230 compiler output for sysdeps/generic/initfini.c.
24231 * sysdeps/sh/elf/initfini.c: Remove file.
24232
f63f3380
DM
242332012-02-16 David S. Miller <davem@davemloft.net>
24234
fb59b3a4
DM
24235 [BZ #11494]
24236 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
24237
f63f3380
DM
24238 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
24239 * sysdeps/sparc/crti.S: New file.
24240 * sysdeps/sparc/crtn.S: New file.
24241 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
24242 * sysdeps/sparc/sparc64/Makefile: Likewise.
24243
df6a4a4a
MF
242442012-02-15 Mike Frysinger <vapier@gentoo.org>
24245
6dd8f3dc 24246 [BZ #3335]
df6a4a4a
MF
24247 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
24248
1cac7236
RM
242492012-02-15 Roland McGrath <roland@hack.frob.com>
24250
d2c736f8
RM
24251 [BZ #4822]
24252 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
24253
1cac7236
RM
24254 * mach/devstream.c (cookie_io_functions_t): Macro removed.
24255 (write, read, close): Likewise.
24256 Patch by Aurelien Jarno <aurelien@aurel32.net>.
24257
8e475601
JM
242582012-02-15 Joseph Myers <joseph@codesourcery.com>
24259
24260 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
24261 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
24262 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
24263 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
24264 <bits/signalfd.h>.
24265 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
24266 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24267 bits/signalfd.h.
24268
ed656b40
MP
242692012-02-14 Marek Polacek <polacek@redhat.com>
24270
24271 * sysdeps/x86_64/crti.S: New file.
24272 * sysdeps/x86_64/crtn.S: New file.
24273 * sysdeps/x86_64/elf/initfini.c: Remove file.
24274
2a979d3a
JM
242752012-02-13 Joseph Myers <joseph@codesourcery.com>
24276
24277 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
24278 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
24279 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
24280 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
24281 <bits/inotify.h>.
24282 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
24283 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24284 bits/inotify.h.
24285
2a418ac3
JM
242862012-02-13 Joseph Myers <joseph@codesourcery.com>
24287
24288 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
24289 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
24290 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
24291 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
24292 <bits/eventfd.h>.
24293 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
24294 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24295 bits/eventfd.h.
24296
fb779be7
TS
242972012-02-10 Thomas Schwinge <thomas@codesourcery.com>
24298
e19e83c5
RM
24299 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
24300 __feraiseexcept instead of feraiseexcept.
7c35ffed 24301
fb779be7
TS
24302 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
24303 nanosleep invocations.
24304 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
24305 strings, and add error checking for a nanosleep invocations.
24306
59ba27a6
PE
243072012-02-09 Paul Eggert <eggert@cs.ucla.edu>
24308
24309 Replace FSF snail mail address with URLs, as per GNU coding standards.
24310 Most of the snail mail addresses were wrong anyway, and omitting
24311 them makes the source code easier to maintain. Almost all of the
24312 changes are to license notices and to locale LC_IDENTIFICATION
24313 addresses, except for this one:
24314 * manual/libc.texinfo: In "Published by", give the FSF's URL,
24315 not its snail mail address.
24316
57b957eb
RH
243172012-02-09 Richard Henderson <rth@twiddle.net>
24318
af850b1c
RH
24319 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
24320 of kernel-features.h.
24321
57b957eb
RH
24322 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
24323
6b73181a
MP
243242012-02-08 Marek Polacek <polacek@redhat.com>
24325
24326 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
24327 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
24328 * sysdeps/gnu/_G_config.h: Likewise.
24329 * sysdeps/generic/_G_config.h: Likewise.
24330
26ecc33a
AS
243312012-02-08 Andreas Schwab <schwab@linux-m68k.org>
24332
6c6dbc63
AS
24333 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
24334 tests.
24335 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24336
e216c012
AS
24337 * sysdeps/powerpc/powerpc32/crti.S: New file.
24338 * sysdeps/powerpc/powerpc32/crtn.S: New file.
24339 * sysdeps/powerpc/powerpc64/crti.S: New file.
24340 * sysdeps/powerpc/powerpc64/crtn.S: New file.
24341
26ecc33a
AS
24342 * Makeconfig (have-initfini): Don't set.
24343 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
24344 * configure.in (nopic_initfini): Don't substitute.
24345 * config.h.in (HAVE_INITFINI): Don't #undef.
24346 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
24347 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
24348
3add8e13
JM
243492012-02-08 Joseph Myers <joseph@codesourcery.com>
24350
24351 Support crti.S and crtn.S provided directly by architectures.
24352 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
24353 [crti.S in sysdirs] (omit-deps): Likewise.
24354 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
24355 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
24356 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
24357 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
24358 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
24359 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
24360 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
24361 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
24362 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
24363 compiler output for sysdeps/generic/initfini.c.
24364 * sysdeps/i386/elf/Makefile: Remove file.
24365 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
24366
a22f12b4
MP
243672012-02-07 Marek Polacek <polacek@redhat.com>
24368
24369 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
24370 * sysdeps/gnu/_G_config.h: Likewise.
24371 * sysdeps/mach/hurd/_G_config.h: Likewise.
24372
148cf100
MP
243732012-02-07 Marek Polacek <polacek@redhat.com>
24374
24375 * math/Makefile (tests): Add tst-CMPLX2.
24376 * math/tst-CMPLX2.c: New file.
24377
cfdc0dd7
AS
243782012-02-07 Andreas Schwab <schwab@linux-m68k.org>
24379
84ba42c4
AS
24380 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24381
cfdc0dd7
AS
24382 * math/libm-test.inc (jn_test): Add missing L suffix.
24383
622c86f4
MP
243842012-02-06 Marek Polacek <polacek@redhat.com>
24385
24386 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
24387 * sysdeps/i386/fpu/e_powf.S: Likewise.
24388 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24389 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
24390 * sysdeps/i386/fpu/e_acosh.S: Likewise.
24391 * sysdeps/i386/fpu/e_pow.S: Likewise.
24392 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
24393 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24394 * sysdeps/i386/fpu/s_expm1.S: Likewise.
24395 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
24396 * sysdeps/i386/fpu/e_log2.S: Likewise.
24397 * sysdeps/i386/fpu/e_log2l.S: Likewise.
24398 * sysdeps/i386/fpu/e_scalb.S: Likewise.
24399 * sysdeps/i386/fpu/e_powl.S: Likewise.
24400 * sysdeps/i386/fpu/s_log1p.S: Likewise.
24401 * sysdeps/i386/fpu/e_log10f.S: Likewise.
24402 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
24403 * sysdeps/i386/fpu/e_logl.S: Likewise.
24404 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
24405 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
24406 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
24407 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
24408 * sysdeps/i386/fpu/e_log2f.S: Likewise.
24409 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24410 * sysdeps/i386/fpu/e_log.S: Likewise.
24411 * sysdeps/i386/fpu/s_cexp.S: Likewise.
24412 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24413 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
24414 * sysdeps/i386/fpu/e_logf.S: Likewise.
24415 * sysdeps/i386/fpu/e_log10l.S: Likewise.
24416 * sysdeps/i386/fpu/e_atanh.S: Likewise.
24417 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
24418 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
24419 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
24420 * sysdeps/i386/fpu/e_log10.S: Likewise.
24421 * sysdeps/i386/fpu/s_frexp.S: Likewise.
24422 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24423 * sysdeps/i386/fpu/s_asinh.S: Likewise.
24424 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
24425 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24426 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
24427 * sysdeps/i386/asm-syntax.h: Likewise.
24428 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24429 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24430 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24431 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
24432 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
24433 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24434 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
24435 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
24436 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24437 * sysdeps/powerpc/sysdep.h: Likewise.
24438 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
24439 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
24440
d4a54ac6
JM
244412012-02-06 Joseph Myers <joseph@codesourcery.com>
24442
24443 [BZ #411]
24444 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
24445
314054ea
JM
244462012-02-06 Joseph Myers <joseph@codesourcery.com>
24447
24448 * sysdeps/i386/sysdep.h: Include <features.h>.
24449 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
24450 version.
24451
d8e0ca50
JM
244522012-02-05 Joseph Myers <joseph@codesourcery.com>
24453
24454 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
24455 Define.
24456 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
24457 LOAD_PIC_REG_STR.
24458
b1da7dd9
JM
244592012-02-03 Joseph Myers <joseph@codesourcery.com>
24460
24461 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
24462 (SETUP_PIC_REG): Use GET_PC_THUNK.
24463 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
24464 macro.
24465
9a1d9254
JM
244662012-02-03 Joseph Myers <joseph@codesourcery.com>
24467
24468 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
24469 for non-PIC compilation.
24470 (SETUP_PIC_REG): Add .p2align directive.
24471 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
24472 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
24473 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24474 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24475 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24476 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24477 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
24478 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24479 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24480 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24481 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24482 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24483 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24484 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24485 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24486 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24487 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24488 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24489 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24490 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24491 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24492 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24493 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24494 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24495 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24496 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24497 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24498 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24499 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24500 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24501 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24502 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24503 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24504 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24505 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24506 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24507 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24508 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24509 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24510 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24511 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24512
65dc3b75
JM
245132012-02-03 Joseph Myers <joseph@codesourcery.com>
24514
24515 * math/tst-CMPLX.c: Include <stdio.h>.
24516
d55bf177
JM
245172012-01-31 Joseph Myers <joseph@codesourcery.com>
24518
24519 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
24520 float.
24521 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24522 * sysdeps/sparc/bits/mathdef.h: Likewise.
24523
69db4f8f
MP
245242012-01-31 Marek Polacek <polacek@redhat.com>
24525
24526 * libio/libio.h: Don't define _PARAMS.
24527 * locale/programs/config.h: Don't define PARAMS.
24528 * stdlib/strtol_l.c: Likewise.
24529 (__strtol_l): Remove PARAMS from the prototype.
24530
41b81892
UD
245312012-01-31 Ulrich Drepper <drepper@gmail.com>
24532
3b49edc0
UD
24533 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
24534 names. Just use the correct names. Remove unnecessary wrapper
24535 functions.
24536 * malloc/arena.c: Likewise.
24537 * malloc/hooks.c: Likewise.
24538
41b81892
UD
24539 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
24540 ARENA_TEST says not to. Simplify test for creation of a new arena.
24541 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
24542
27a25b6e
UD
245432012-01-30 Ulrich Drepper <drepper@gmail.com>
24544
24545 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
24546 into tail calls.
24547 (update_get_addr): New function.
24548 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
24549 GET_ADDR_MODULE parameter.
24550
c8a89e7d
JM
245512012-01-30 Joseph Myers <joseph@codesourcery.com>
24552
24553 * crypt/cert.c: Remove __STDC__ conditionals.
24554 * crypt/crypt-entry.c: Likewise.
24555 * crypt/crypt_util.c: Likewise.
24556 * libio/filedoalloc.c: Likewise.
24557 * libio/fileops.c: Likewise.
24558 * libio/genops.c: Likewise.
24559 * libio/iofclose.c: Likewise.
24560 * libio/iofdopen.c: Likewise.
24561 * libio/iofopen.c: Likewise.
24562 * libio/iofopen64.c: Likewise.
24563 * libio/iogetdelim.c: Likewise.
24564 * libio/iopopen.c: Likewise.
24565 * libio/obprintf.c: Likewise.
24566 * libio/oldfileops.c: Likewise.
24567 * libio/oldiofclose.c: Likewise.
24568 * libio/oldiofdopen.c: Likewise.
24569 * libio/oldiofopen.c: Likewise.
24570 * libio/oldiopopen.c: Likewise.
24571 * libio/wfiledoalloc.c: Likewise.
24572 * libio/wgenops.c: Likewise.
24573 * locale/programs/xmalloc.c: Likewise.
24574 * misc/syslog.c: Likewise.
24575 * stdio-common/xbug.c: Likewise.
24576 * string/memchr.c: Likewise.
24577 * string/memcmp.c: Likewise.
24578 * string/memrchr.c: Likewise.
24579 * string/rawmemchr.c: Likewise.
24580 * sysdeps/posix/getcwd.c: Likewise.
24581 * time/strftime_l.c: Likewise.
24582
3b100462
JM
245832012-01-30 Joseph Myers <joseph@codesourcery.com>
24584
24585 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
24586 * config.make.in (config-cflags-sse2avx): Define.
24587 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
24588 Fix typo.
24589
607998af
CM
245902012-01-29 Chris Metcalf <cmetcalf@tilera.com>
24591
24592 * scripts/config.guess: Update from upstream config git repository.
24593 * scripts/config.sub: Likewise.
24594
3601428f
CM
245952012-01-28 Chris Metcalf <cmetcalf@tilera.com>
24596
3ac8b282
CM
24597 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
24598 (EM_NUM): Update.
24599 (R_TILEPRO_*, R_TILEGX_*): New macros.
24600
e034841e
CM
24601 * scripts/firstversions.awk: Fix bug in version range handling.
24602
540d7568
CM
24603 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
24604
3601428f
CM
24605 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
24606
463de862
CM
24607 * include/sys/epoll.h: New file.
24608 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
24609 libc_hidden_def.
24610
73139a76
UD
246112012-01-28 Ulrich Drepper <drepper@gmail.com>
24612
96bc5b45
UD
24613 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
24614 Avoid unnecessary __WORDSIZE == 64 test.
24615 (fmaxf): Use VEX format if possible.
24616 (fmax): Likewise.
24617 (fminf): Likewise.
24618 (fmin): Likewise.
24619
56f6f6a2
UD
24620 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
24621 * math/math_private.h: Remove libc_fegetround* and
24622 libc_fesetround*.
24623 * sysdeps/i386/configure.in: Check for -msse2avx.
24624 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
24625 also if SSE2AVX is defined.
24626 Remove libc_fegetround* and libc_fesetround*.
24627 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
24628 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
24629 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
24630 of HAS_YMM_USABLE.
24631 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24632 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24633 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24634 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24635 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24636
73139a76
UD
24637 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
24638
d73f93a4
AZ
246392012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24640
24641 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
24642 size is not set.
24643 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
24644
6ee65ed6
UD
246452012-01-27 Ulrich Drepper <drepper@gmail.com>
24646
24647 [BZ #13618]
24648 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
24649 relocation.
24650 * Makeconfig (libm): Define.
24651 * elf/Makefile: Add rules to build and run tst-relsort1.
24652 * elf/tst-relsort1.c: New file.
24653 * elf/tst-relsort1mod1.c: New file.
24654 * elf/tst-relsort1mod2.c: New file.
24655
8db21882
JM
246562012-01-27 Joseph Myers <joseph@codesourcery.com>
24657
24658 * math/s_ldexp.c: Remove __STDC__ conditionals.
24659 * math/s_ldexpf.c: Likewise.
24660 * math/s_ldexpl.c: Likewise.
24661 * math/s_nextafter.c: Likewise.
24662 * math/s_nexttowardf.c: Likewise.
24663 * math/s_significand.c: Likewise.
24664 * math/s_significandf.c: Likewise.
24665 * math/s_significandl.c: Likewise.
24666 * math/w_jnl.c: Likewise.
24667 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
24668 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
24669 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
24670 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
24671 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
24672 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24673 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
24674 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24675 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24676 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24677 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24678 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24679 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24680 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
24681 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24682 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24683 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24684 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24685 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24686 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24687 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24688 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24689 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24690 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24691 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24692 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24693 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24694 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24695 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
24696 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24697 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24698 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
24699 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24700 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
24701 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
24702 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24703 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
24704 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24705 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
24706 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
24707 * sysdeps/ieee754/k_standard.c: Likewise.
24708 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24709 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24710 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
24711 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
24712 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
24713 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
24714 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24715 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
24716 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
24717 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
24718 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
24719 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
24720 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
24721 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
24722 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
24723 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
24724 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
24725 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24726 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24727 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
24728 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24729 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24730 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
24731 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
24732 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24733 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24734 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24735 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24736 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24737 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
24738 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
24739 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
24740 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24741 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
24742 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
24743 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
24744 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
24745 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24746 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
24747 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
24748 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
24749 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
24750 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
24751 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
24752 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24753 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
24754 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
24755 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24756 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
24757 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
24758 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
24759 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24760 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24761 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
24762 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
24763 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
24764 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
24765 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24766 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24767 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24768 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24769 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
24770 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
24771 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24772 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24773 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24774 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24775 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
24776 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
24777 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24778 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24779 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24780 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24781 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
24782 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
24783 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24784 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
24785 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
24786 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
24787 * sysdeps/ieee754/s_matherr.c: Likewise.
24788 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24789 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24790 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24791 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24792
965a54a4
JM
247932012-01-26 Joseph Myers <joseph@codesourcery.com>
24794
24795 * crypt/md5.h: Remove __STDC__ conditionals.
24796 * libio/libioP.h: Likewise.
24797 * locale/programs/config.h: Likewise.
24798 * sysdeps/generic/sysdep.h: Likewise.
24799 * sysdeps/i386/asm-syntax.h: Likewise.
24800 * sysdeps/s390/asm-syntax.h: Likewise.
24801 * sysdeps/unix/sysdep.h: Likewise.
24802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
24803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24804
7071ad79
JM
248052012-01-26 Joseph Myers <joseph@codesourcery.com>
24806
24807 * libio/libio.h: Remove __STDC__ conditionals.
24808 * malloc/obstack.h: Likewise.
24809 * math/complex.h: Likewise.
24810 * math/math.h: Likewise.
24811 * sysdeps/generic/_G_config.h: Likewise.
24812 * sysdeps/gnu/_G_config.h: Likewise.
24813 * sysdeps/mach/hurd/_G_config.h: Likewise.
24814 * sysdeps/powerpc/bits/mathdef.h: Likewise.
24815 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24816 * sysdeps/sparc/bits/mathdef.h: Likewise.
24817
afc5ed09
UD
248182012-01-26 Ulrich Drepper <drepper@gmail.com>
24819
24820 [BZ #13583]
24821 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 24822 Clean up HAS_* macros.
afc5ed09 24823 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
24824 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
24825 possible.
24826 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
24827 HAS_AVX.
24828 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24829 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24830 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24831 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24832 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 24833
bdb6de1d
JM
248342012-01-25 Joseph Myers <joseph@codesourcery.com>
24835
24836 * elf/tst-unique3.cc (gets): Remove declaration.
24837 * elf/tst-unique3lib.cc (gets): Likewise.
24838 * elf/tst-unique3lib2.cc (gets): Likewise.
24839 * elf/tst-unique4.cc (gets): Likewise.
24840
b15549e6
UD
248412012-01-24 Ulrich Drepper <drepper@gmail.com>
24842
24843 * include/stdio.h: Add C++ protection. Add gets declarations and
24844 definitions.
24845 * debug/tst-chk1.c: Don't declare gets here.
24846 * stdio-common/tst-gets.c: Likewise.
24847
a037381f
JM
248482012-01-24 Joseph Myers <joseph@codesourcery.com>
24849
24850 * posix/glob: Remove directory.
24851
f1d4aa75
JM
248522012-01-24 Joseph Myers <joseph@codesourcery.com>
24853
24854 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
24855
81c0c964
PT
248562012-01-22 Pino Toscano <toscano.pino@tiscali.it>
24857
24858 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
24859 of the non-standard EPFNOSUPPORT.
24860
0ea698ae
ST
248612011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
24862
24863 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
24864 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
24865 ANYWHERE set to 1 only on KERN_NO_SPACE error.
24866
d220b117
UD
248672012-01-21 Ulrich Drepper <drepper@gmail.com>
24868
24869 * wcsmbs/uchar.h: Test __STDC_VERSION__.
24870
3e1aa84e
UD
248712012-01-20 Ulrich Drepper <drepper@gmail.com>
24872
24873 * nscd/aicache.c (addhstaiX): Do not cache negative results of
24874 transient errors.
24875 * nscd/grpcache.c (cache_addgr): Likewise.
24876 * nscd/hstcache.c (cache_addhst): Likewise.
24877 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24878 * nscd/pwdcache.c (cache_addpw): Likewise.
24879 * nscd/servicescache.c (cache_addserv): Likewise.
24880
400aa020
UD
248812012-01-16 Ulrich Drepper <drepper@gmail.com>
24882
d77e7869
UD
24883 * malloc/malloc.c: Various cleanups.
24884 * malloc/hooks.c: Likewise.
24885
400aa020
UD
24886 * stdlib/Makefile (tests): Add bug-fmtmsg1.
24887 * stdlib/bug-fmtmsg1.c: New file.
24888
24889 * stdlib/fmtmsg.c (init): Add missing unlock.
24890 Patch by Peng Haitao <penght@cn.fujitsu.com>.
24891
e0a309cf
MP
248922012-01-12 Marek Polacek <polacek@redhat.com>
24893
24894 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
24895 and _GNU_SOURCE.
24896
929d11c7
WS
248972012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
24898
24899 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
24900 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
24901 macro to ensure uniqueness of label name.
24902 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
24903 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
24904
41d0e869
UD
249052012-01-11 Ulrich Drepper <drepper@gmail.com>
24906
0cc5ed3b
UD
24907 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
24908
41d0e869
UD
24909 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
24910 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
24911 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24912 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
24913
a47a831a
UD
249142012-01-10 Ulrich Drepper <drepper@gmail.com>
24915
daa891c0
UD
24916 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
24917
24918 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
24919 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
24920 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
24921
e58ef0f2
UD
24922 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
24923
a47a831a 24924 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
24925 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
24926 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 24927 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
24928
24929 * math/bits/math-finite.h: Add ldexp support.
24930
a0bfc9c7
MP
249312012-01-10 Marek Polacek <polacek@redhat.com>
24932
24933 * locale/programs/localedef.h (show_archive_content): Add noreturn
24934 attribute.
24935
d6e97a1d
UD
249362012-01-09 Ulrich Drepper <drepper@gmail.com>
24937
24938 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
24939
d5835c26
UD
249402012-01-08 Ulrich Drepper <drepper@gmail.com>
24941
e5f484c6
UD
24942 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
24943
d5835c26
UD
24944 * io/Makefile (headers): Add bits/poll2.h.
24945
d1f741e9
WS
249462011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
24947
24948 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
24949 typo #include statement.
24950
ec09c1c4
UD
249512012-01-08 Ulrich Drepper <drepper@gmail.com>
24952
24953 * include/sys/cdefs.h: Define __attribute_alloc_size.
24954 * catgets/gencat.c: Add alloc_size attribute and apply consistently
24955 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
24956 * elf/pldd.c: Likewise.
24957 * iconv/iconv_charmap.c: Likewise.
24958 * iconv/iconvconfig.c: Likewise.
24959 * iconv/strtab.c: Likewise.
24960 * locale/programs/locale.c: Likewise.
24961 * locale/programs/localedef.h: Likewise.
24962 * locale/programs/simple-hash.c: Likewise.
24963 * nscd/nscd.h: Likewise.
24964 * nss/makedb.c: Likewise.
24965 * sysdeps/generic/ldconfig.h: Likewise.
24966 * locale/programs/localedef.c: Remove xmalloc prototype.
24967 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
24968
20b38e03
PP
249692012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
24970
24971 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
24972 appropriate.
24973
a0da5fe1
UD
249742012-01-08 Ulrich Drepper <drepper@gmail.com>
24975
1d5a644a 24976 * math/Makefile (tests): Add tst-CMPLX.
669704fd 24977 * math/tst-CMPLX.c: New file.
1d5a644a 24978
8784a6db
UD
24979 * math/complex.h (CMPLXL): Fix typo.
24980
d9a216c0
UD
24981 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
24982 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
24983 GLIBC_2.16.
24984 * debug/tst-chk1.c: Add poll and ppoll tests.
24985 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
24986 * include/sys/poll.h: Add hidden proto for ppoll.
24987 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
24988 * sysdeps/mach/hurd/ppoll.c: Likewise.
24989 * io/ppoll.c: Likewise.
24990 * debug/poll_chk.c: New file.
24991 * debug/ppoll_chk.c: New file.
24992 * include/bits/poll2.h: New file.
24993 * io/bits/poll2.h: New file.
24994
ac097f5c
UD
24995 [BZ #1350]
24996 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
24997
2119dcfa
UD
24998 * configure.in: static is always set to yes. Remove.
24999 * config.make.in: Don't set build-static.
25000 * Makeconfig: Remove use of build-static.
25001 * dlfcn/Makefile: Likewise.
25002 * elf/Makefile: Likewise.
25003 * math/Makefile: Likewise.
25004 * misc/Makefile: Likewise.
25005 * nptl/Makefile: Likewise.
25006 * sysdeps/mach/hurd/Makefile: Likewise.
25007
121766a9
UD
25008 * configure.in: PWD_P is not used anymore.
25009 * config.make.in: Remove PWD_P entry.
25010
51a1d39c 25011 * configure.in: Remove last remnants of RANLIB.
8720d066 25012 No need to check for signed size_t anymore.
215f4bdc
UD
25013 Don't set libc_commonpagesize and libc_relro_required here for Alpha
25014 and IA-64.
3857022a 25015 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
25016 * aclocal.m4: Likewise.
25017
d3ed7225
UD
25018 * wcsmbs/mbrtoc16.c: Implement using towc function.
25019 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
25020 * wcsmbs/wcsmbsload.c: Likewise.
25021 * iconv/gconv_simple.c: Likewise.
25022 * iconv/gconv_int.h: Likewise.
25023 * iconv/gconv_builtin.h: Likewise.
25024 * iconv/iconv_prog.c: Remove CHAR16 handling.
25025
25026 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
25027
25028 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
25029
a0da5fe1
UD
25030 * configure.in: Remove --with-elf and --enable-bounded options.
25031 Dont set base_machine for ia64. More non-ELF conditions removed.
25032 Remove testing and setting of leading underscore information.
25033 * config.make.in (build-bounded): Set to no.
25034 * config.h.in: Remove NO_UNDERSCORES entry.
25035 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
25036 them.
25037 * csu/start.c: Remove !NO_UNDERSCORE code.
25038 * locale/localeinfo.h: Likewise.
25039 * sysdeps/generic/machine-gmon.h: Likewise.
25040 * sysdeps/generic/sysdep.h: Likewise.
25041 * sysdeps/i386/sysdep.h: Likewise.
25042 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25043 * sysdeps/mach/sysdep.h: Likewise.
25044 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25045 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25046 * sysdeps/sh/sysdep.h: Likewise.
25047 * sysdeps/sparc/sparc32/alloca.S: Likewise.
25048 * sysdeps/unix/i386/sysdep.S: Likewise.
25049 * sysdeps/unix/sparc/start.c: Likewise.
25050 * sysdeps/unix/sparc/sysdep.S: Likewise.
25051 * sysdeps/unix/sparc/sysdep.h: Likewise.
25052 * sysdeps/unix/start.c: Likewise.
25053 * sysdeps/unix/x86_64/sysdep.S: Likewise.
25054 * sysdeps/x86_64/sysdep.h: Likewise.
25055
df78418a
UD
250562012-01-07 Ulrich Drepper <drepper@gmail.com>
25057
a784e502
UD
25058 [BZ #13553]
25059 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
25060 for non-gcc.
25061 * argp/argp-fmtstream.h: Use const instead __const.
25062 * argp/argp.h: Likewise.
25063 * assert/assert.h: Likewise.
25064 * bits/fenv.h: Likewise.
25065 * bits/sched.h: Likewise.
25066 * bits/sigset.h: Likewise.
25067 * bits/sigthread.h: Likewise.
25068 * catgets/nl_types.h: Likewise.
25069 * conform/data/pthread.h-data: Likewise.
25070 * crypt/crypt-private.h: Likewise.
25071 * crypt/crypt.h: Likewise.
25072 * crypt/crypt_util.c: Likewise.
25073 * ctype/ctype.h: Likewise.
25074 * debug/execinfo.h: Likewise.
25075 * debug/mbsnrtowcs_chk.c: Likewise.
25076 * debug/mbsrtowcs_chk.c: Likewise.
25077 * debug/wcsnrtombs_chk.c: Likewise.
25078 * debug/wcsrtombs_chk.c: Likewise.
25079 * debug/wcstombs_chk.c: Likewise.
25080 * dirent/dirent.h: Likewise.
25081 * dlfcn/dlfcn.h: Likewise.
25082 * elf/neededtest4.c: Likewise.
25083 * grp/grp.h: Likewise.
25084 * gshadow/gshadow.h: Likewise.
25085 * iconv/gconv.h: Likewise.
25086 * iconv/gconv_int.h: Likewise.
25087 * iconv/gconv_simple.c: Likewise.
25088 * iconv/iconv.h: Likewise.
25089 * iconv/loop.c: Likewise.
25090 * iconv/skeleton.c: Likewise.
25091 * include/aio.h: Likewise.
25092 * include/aliases.h: Likewise.
25093 * include/argz.h: Likewise.
25094 * include/arpa/inet.h: Likewise.
25095 * include/assert.h: Likewise.
25096 * include/dirent.h: Likewise.
25097 * include/dlfcn.h: Likewise.
25098 * include/execinfo.h: Likewise.
25099 * include/fcntl.h: Likewise.
25100 * include/fenv.h: Likewise.
25101 * include/glob.h: Likewise.
25102 * include/grp.h: Likewise.
25103 * include/libintl.h: Likewise.
25104 * include/mntent.h: Likewise.
25105 * include/netdb.h: Likewise.
25106 * include/pwd.h: Likewise.
25107 * include/rpc/netdb.h: Likewise.
25108 * include/sched.h: Likewise.
25109 * include/search.h: Likewise.
25110 * include/shadow.h: Likewise.
25111 * include/signal.h: Likewise.
25112 * include/stdio.h: Likewise.
25113 * include/stdlib.h: Likewise.
25114 * include/string.h: Likewise.
25115 * include/sys/socket.h: Likewise.
25116 * include/sys/stat.h: Likewise.
25117 * include/sys/statfs.h: Likewise.
25118 * include/sys/statvfs.h: Likewise.
25119 * include/sys/syslog.h: Likewise.
25120 * include/sys/time.h: Likewise.
25121 * include/sys/uio.h: Likewise.
25122 * include/time.h: Likewise.
25123 * include/unistd.h: Likewise.
25124 * include/utmp.h: Likewise.
25125 * include/wchar.h: Likewise.
25126 * include/wctype.h: Likewise.
25127 * inet/aliases.h: Likewise.
25128 * inet/arpa/inet.h: Likewise.
25129 * inet/netinet/ether.h: Likewise.
25130 * inet/netinet/in.h: Likewise.
25131 * intl/libintl.h: Likewise.
25132 * io/bits/fcntl2.h: Likewise.
25133 * io/fcntl.h: Likewise.
25134 * io/ftw.h: Likewise.
25135 * io/sys/poll.h: Likewise.
25136 * io/sys/stat.h: Likewise.
25137 * io/sys/statfs.h: Likewise.
25138 * io/sys/statvfs.h: Likewise.
25139 * io/utime.h: Likewise.
25140 * libio/bits/stdio.h: Likewise.
25141 * libio/bits/stdio2.h: Likewise.
25142 * libio/libio.h: Likewise.
25143 * libio/libioP.h: Likewise.
25144 * libio/stdio.h: Likewise.
25145 * locale/lc-ctype.c: Likewise.
25146 * locale/locale.h: Likewise.
25147 * login/utmp.h: Likewise.
25148 * malloc/arena.c: Likewise.
25149 * malloc/malloc.c: Likewise.
25150 * malloc/malloc.h: Likewise.
25151 * malloc/mcheck.c: Likewise.
25152 * malloc/mtrace.c: Likewise.
25153 * math/bits/mathcalls.h: Likewise.
25154 * math/fenv.h: Likewise.
25155 * math/math_private.h: Likewise.
25156 * misc/bits/error.h: Likewise.
25157 * misc/bits/syslog.h: Likewise.
25158 * misc/err.h: Likewise.
25159 * misc/error.h: Likewise.
25160 * misc/fstab.h: Likewise.
25161 * misc/mntent.h: Likewise.
25162 * misc/regexp.h: Likewise.
25163 * misc/search.h: Likewise.
25164 * misc/sgtty.h: Likewise.
25165 * misc/sys/mman.h: Likewise.
25166 * misc/sys/syslog.h: Likewise.
25167 * misc/sys/uio.h: Likewise.
25168 * misc/sys/xattr.h: Likewise.
25169 * misc/ttyent.h: Likewise.
25170 * nis/rpcsvc/ypclnt.h: Likewise.
25171 * nss/nss.h: Likewise.
25172 * posix/bits/unistd.h: Likewise.
25173 * posix/fnmatch.h: Likewise.
25174 * posix/glob.h: Likewise.
25175 * posix/sched.h: Likewise.
25176 * posix/spawn.h: Likewise.
25177 * posix/sys/wait.h: Likewise.
25178 * posix/unistd.h: Likewise.
25179 * posix/wordexp.h: Likewise.
25180 * pwd/pwd.h: Likewise.
25181 * resolv/netdb.h: Likewise.
25182 * resource/sys/resource.h: Likewise.
25183 * rt/aio.h: Likewise.
25184 * rt/bits/mqueue2.h: Likewise.
25185 * rt/mqueue.h: Likewise.
25186 * shadow/shadow.h: Likewise.
25187 * signal/signal.h: Likewise.
25188 * socket/send.c: Likewise.
25189 * socket/sendto.c: Likewise.
25190 * socket/sys/socket.h: Likewise.
25191 * stdio-common/printf.h: Likewise.
25192 * stdlib/bits/stdlib.h: Likewise.
25193 * stdlib/fmtmsg.h: Likewise.
25194 * stdlib/monetary.h: Likewise.
25195 * stdlib/stdlib.h: Likewise.
25196 * stdlib/ucontext.h: Likewise.
25197 * streams/stropts.h: Likewise.
25198 * string/argz.h: Likewise.
25199 * string/bits/string2.h: Likewise.
25200 * string/string.h: Likewise.
25201 * string/strings.h: Likewise.
25202 * sunrpc/rpc/auth.h: Likewise.
25203 * sunrpc/rpc/auth_des.h: Likewise.
25204 * sunrpc/rpc/clnt.h: Likewise.
25205 * sunrpc/rpc/netdb.h: Likewise.
25206 * sunrpc/rpc/pmap_clnt.h: Likewise.
25207 * sunrpc/rpc/xdr.h: Likewise.
25208 * sysdeps/generic/inttypes.h: Likewise.
25209 * sysdeps/generic/net/if.h: Likewise.
25210 * sysdeps/generic/sys/swap.h: Likewise.
25211 * sysdeps/gnu/net/if.h: Likewise.
25212 * sysdeps/gnu/utmpx.h: Likewise.
25213 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
25214 * sysdeps/i386/i486/bits/string.h: Likewise.
25215 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
25216 * sysdeps/s390/bits/string.h: Likewise.
25217 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
25218 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
25219 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
25220 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
25221 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
25222 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
25223 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
25224 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
25225 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
25226 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
25227 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
25228 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
25229 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
25230 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
25231 * sysdeps/unix/sysv/linux/readv.c: Likewise.
25232 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
25233 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
25234 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25235 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
25236 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
25237 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25238 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
25239 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
25240 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
25241 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
25242 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
25243 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
25244 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25245 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
25246 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
25247 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
25248 * sysvipc/sys/ipc.h: Likewise.
25249 * sysvipc/sys/msg.h: Likewise.
25250 * sysvipc/sys/sem.h: Likewise.
25251 * sysvipc/sys/shm.h: Likewise.
25252 * termios/termios.h: Likewise.
25253 * time/sys/time.h: Likewise.
25254 * time/time.h: Likewise.
25255 * wcsmbs/bits/wchar2.h: Likewise.
25256 * wcsmbs/uchar.h: Likewise.
25257 * wcsmbs/wchar.h: Likewise.
25258 * wctype/wctype.h: Likewise.
25259
0269750c
UD
25260 [BZ #13551]
25261 * Makeconfig: Remove all but ELF support including AIX support.
25262 * Makerules: Likewise.
25263 * config.h.in: Likewise.
25264 * config.make.in: Likewise.
25265 * configure: Likewise.
25266 * configure.in: Likewise.
25267 * csu/Makefile: Likewise.
25268 * csu/version.c: Likewise.
25269 * debug/Makefile: Likewise.
25270 * dlfcn/Makefile: Likewise.
25271 * elf/Makefile: Likewise.
25272 * extra-lib.mk: Likewise.
25273 * iconv/Makefile: Likewise.
25274 * include/libc-symbols.h: Likewise.
25275 * include/shlib-compat.h: Likewise.
25276 * resolv/Makefile: Likewise.
25277 * resolv/res_libc.c: Likewise.
25278 * rt/Makefile: Likewise.
25279 * sysdeps/i386/asm-syntax.h: Likewise.
25280 * sysdeps/i386/sysdep.h: Likewise.
25281 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25282 * sysdeps/mach/sysdep.h: Likewise.
25283 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
25284 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
25285 * sysdeps/s390/asm-syntax.h: Likewise.
25286 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25287 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25288 * sysdeps/sh/sysdep.h: Likewise.
25289 * sysdeps/unix/sparc/sysdep.h: Likewise.
25290 * sysdeps/wordsize-32/divdi3.c: Likewise.
25291 * sysdeps/x86_64/sysdep.h: Likewise.
25292
00bbd29b
UD
25293 * argp/Versions: Remove _argp_unlock_xxx.
25294
25295 [BZ #13559]
25296 * abilist/ld.abilist: Update. Adjust for removal of tls option.
25297 * abilist/libBrokenLocale.abilist: Likewise.
25298 * abilist/libanl.abilist: Likewise.
25299 * abilist/libc.abilist: Likewise.
25300 * abilist/libcrypt.abilist: Likewise.
25301 * abilist/libdl.abilist: Likewise.
25302 * abilist/libm.abilist: Likewise.
25303 * abilist/libnsl.abilist: Likewise.
25304 * abilist/libpthread.abilist: Likewise.
25305 * abilist/libresolv.abilist: Likewise.
25306 * abilist/librt.abilist: Likewise.
25307 * abilist/libthread_db.abilist: Likewise.
25308 * abilist/libutil.abilist: Likewise.
25309 * abilist/libnss_db.abilist: New file.
25310
25311 * scripts/abilist.awk: Add support for indirect functions.
25312
a2693a0e
UD
25313 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
25314
3f05895f
UD
25315 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
25316
ecb6fb48
UD
25317 * shlib-versions: Remove entries for ports architectures.
25318
664f8cb9
UD
25319 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
25320 files in ports.
25321 * elf/stackguard-macros.h: Remove support for IA-64.
25322 * elf/tst-auditmod1.c: Likewise.
25323 * sysdeps/generic/ldsodefs.h: Likewise.
25324
7ae81d88
UD
25325 * sysdeps/unix/sysv/linux/configure.in: Ports should define
25326 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
25327 configure files.
25328
bdeba135
UD
25329 [BZ #13552]
25330 * configure.in: Remove --enable-omitfp support.
25331 * FAQ.in: Adjust.
25332 * config.make.in: Likewise.
25333 * Makeconfig: Likewise.
25334 * manual/install.texi: Likewise.
25335
d75a0a62
UD
25336 In case anyone cares, the IA-64 architecture could move to ports.
25337 * sysdeps/ia64/*: Removed.
25338 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 25339 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 25340
dcc9756b
UD
25341 [BZ #13555]
25342 * configure.in: Remove entries for unsupported architectures.
25343
d3761ebc 25344 [BZ #13533]
9954432e
UD
25345 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
25346 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
25347 routines.
25348 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
25349 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
25350 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
25351 fall back to using wcrtomb.
25352 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
25353 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
25354 renaming.
25355 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
25356 * wcsmbs/tst-c16c32-1.c: New file.
25357
25358 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
25359 local variable.
25360
c3a87236
UD
25361 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
25362
28926a1b
UD
25363 * elf/tst-unique3.cc: Add explicit declaration of gets.
25364 * elf/tst-unique3lib.cc: Likewise.
25365 * elf/tst-unique3lib2.cc: Likewise.
25366 * elf/tst-unique4.cc: Likewise.
25367
df78418a
UD
25368 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
25369
8ecd6b2a
JM
253702012-01-06 Joseph Myers <joseph@codesourcery.com>
25371
25372 [BZ #13566]
25373 * assert/assert.h (static_assert): Don't define for C++.
25374 * libio/stdio.h (gets): Do declare for C++ <= C++11.
25375 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
25376
9f115170
UD
253772012-01-03 Ulrich Drepper <drepper@gmail.com>
25378
5e0d0300
UD
25379 * iconv/loop.c (single loop): Fix assertion in storing of
25380 remaining bytes.
25381
9f115170
UD
25382 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
25383
81fb02b0
UD
253842012-01-01 Ulrich Drepper <drepper@gmail.com>
25385
25386 * posix/getconf.c: Update copyright year.
25387 * nss/getent.c: Likewise.
a316c1f6 25388 * nss/makedb.c: Likewise.
81fb02b0
UD
25389 * iconv/iconvconfig.c: Likewise.
25390 * iconv/iconv_prog.c: Likewise.
25391 * elf/ldconfig.c: Likewise.
a316c1f6
UD
25392 * elf/pldd.c: Likewise.
25393 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
25394 * catgets/gencat.c: Likewise.
25395 * csu/version.c: Likewise.
25396 * elf/ldd.bash.in: Likewise.
25397 * elf/sprof.c (print_version): Likewise.
25398 * locale/programs/locale.c: Likewise.
25399 * locale/programs/localedef.c: Likewise.
a316c1f6 25400 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
25401 * nscd/nscd.c (print_version): Likewise.
25402 * debug/xtrace.sh: Likewise.
25403 * malloc/memusage.sh: Likewise.
25404 * malloc/mtrace.pl: Likewise.
25405 * debug/catchsegv.sh: Likewise.
25406
2ba92745
JJ
254072011-12-30 Jakub Jelinek <jakub@redhat.com>
25408
25409 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
25410 pure attribute.
25411
dadebdae
UD
254122011-12-24 Ulrich Drepper <drepper@gmail.com>
25413
d3761ebc 25414 [BZ #13533]
db6af3eb
UD
25415 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
25416 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
25417 transformations.
25418 * iconv/gconv_int.h: Likewise.
25419 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
25420 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
25421 from libc for GLIBC_2.16.
25422 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
25423 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
25424 * wcsmbs/uchar.h: Really define mbstate_t.
25425 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
25426 * wcsmbs/c16rtomb.c: New file.
25427 * wcsmbs/mbrtoc16.c: New file.
25428 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
25429 for C/POSIX locale.
25430 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
25431 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
25432
dadebdae
UD
25433 * wcsmbs/wchar.h: Add missing __restrict.
25434
67371b56
UD
254352011-12-23 Ulrich Drepper <drepper@gmail.com>
25436
74033a25
UD
25437 [BZ #13532]
25438 * time/Makefile (routines): Add timespec_get.
25439 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
25440 * time/time.h: Define TIME_UTC and declare timespec_get. Define
25441 timespec for ISO C11.
25442 * time/timespec_get.c: New file.
25443 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
25444 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
25445
380d7e87
UD
25446 [BZ #13531]
25447 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
25448 * stdlib/stdlib.h: Declare aligned_alloc.
25449 * Versions.def: Add GLIBC_2.16 for libc.
25450 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
25451
4e9e7a35
UD
25452 [BZ 13527]
25453 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
25454 ISO C11.
25455
380d7e87 25456 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
25457 code.
25458
03a71829
UD
25459 [BZ #13528]
25460 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
25461
839e283e
UD
25462 [BZ #13529]
25463 * assert/assert.h (static_assert): Define.
25464
ce5294e2 25465 * version.h: Update for 2.16 development version.
90fa7312 25466
8d44e150 25467 [BZ #13526]
d7809905
UD
25468 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
25469 _ISOC11_SOURCE.
25470
c0da14cd
UD
25471 * version.h (RELEASE): Bump for 2.15 release.
25472 * include/features.h (__GLIBC_MINOR__): Bump to 15.
25473
530a3249
MP
25474 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
25475 Patch by Marek Polacek <mpolacek@redhat.com>.
25476
67371b56
UD
25477 * bits/byteswap.h: Protect long long constants with __extension__.
25478 * sysdeps/i386/bits/byteswap.h: Likewise.
25479 * sysdeps/ia64/bits/byteswap.h: Likewise.
25480 * sysdeps/s390/bits/byteswap.h: Likewise.
25481 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25482
15db4de1
LD
254832011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25484
25485 [BZ #13540]
bbe315ea
LD
25486 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
25487 destination buffer.
15db4de1
LD
25488 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
25489
2b2596b1
MP
254902011-12-23 Marek Polacek <polacek@redhat.com>
25491
25492 * elf/dl-addr.c (determine_info): Add inline keyword.
25493 * elf/tst-auditmod4b.c (check_avx): Likewise.
25494 * elf/tst-auditmod6b.c (check_avx): Likewise.
25495 * elf/tst-auditmod6c.c (check_avx): Likewise.
25496 * elf/tst-auditmod7b.c (check_avx): Likewise.
25497
70c6c246
UD
254982011-12-23 Ulrich Drepper <drepper@gmail.com>
25499
25500 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
25501 !__SSE_MATH__.
25502
c044cf14
LD
255032011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25504
15db4de1 25505 [BZ #13540]
c044cf14
LD
25506 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
25507 processing for last bytes.
25508
6b13d9d9
BH
255092011-08-06 Bruno Haible <bruno@clisp.org>
25510
d455f537
BH
25511 [BZ #13061]
25512 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
25513 U+0385, not to U+1FEE.
25514
6b13d9d9
BH
25515 [BZ #13062]
25516 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
25517 entry for U+00A5 U+0301.
25518
db910efd
UD
255192011-12-22 Ulrich Drepper <drepper@gmail.com>
25520
27deeafc
UD
25521 [BZ #13166]
25522 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
25523 buffer for the output is too small.
25524
aed9d171
UD
25525 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
25526 optimization.
25527
db910efd
UD
25528 [BZ #13185]
25529 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
25530 SSE flags if possible.
25531
2bd779ae
LD
255322011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25533
e7f9dac3 25534 [BZ #13540]
2bd779ae
LD
25535 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
25536 processing for last bytes.
25537
154bfc16
JM
255382011-12-22 Joseph Myers <joseph@codesourcery.com>
25539
25540 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
25541 (syscall-list-default-options, syscall-list-default-condition)
25542 (syscall-list-includes): Define.
25543 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
25544 list of ABIs and options and #if conditions for each ABI. Do not
25545 handle common syscalls between ABIs specially.
25546 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
25547 Remove.
25548 (syscall-list-variants, syscall-list-32bit-options)
25549 (syscall-list-32bit-condition, syscall-list-64bit-options)
25550 (syscall-list-64bit-condition): Define.
25551 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
25552 (syscall-list-variants, syscall-list-32bit-options)
25553 (syscall-list-32bit-condition, syscall-list-64bit-options)
25554 (syscall-list-64bit-condition): Define.
25555 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
25556 Remove.
25557 (syscall-list-variants, syscall-list-32bit-options)
25558 (syscall-list-32bit-condition, syscall-list-64bit-options)
25559 (syscall-list-64bit-condition): Define.
25560 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
25561 Remove.
25562 (syscall-list-variants, syscall-list-32bit-options)
25563 (syscall-list-32bit-condition, syscall-list-64bit-options)
25564 (syscall-list-64bit-condition): Define.
25565
21eaf3a5
UD
255662011-12-22 Ulrich Drepper <drepper@gmail.com>
25567
16c6f992
UD
25568 * locale/iso-639.def: Add brx entry.
25569
41043168
UD
25570 [BZ #13328]
25571 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
25572 Proposed by Mariusz_Cukr <marcukr@op.pl>.
25573
21eaf3a5
UD
25574 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
25575 __feraiseexcept_renamed.
25576
e3a851a2
UD
255772011-12-21 Ulrich Drepper <drepper@gmail.com>
25578
4920765e
UD
25579 [BZ #13538]
25580 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
25581 EPOLLET with unsigned values.
25582 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25583 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25584
e3a851a2
UD
25585 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
25586 to large cancellation.
25587 * math/s_cacoshf.c: Likewise.
25588 * math/s_cacoshl.c: Likewise.
25589
b27e24b8
RK
255902011-11-18 Richard B. Kreckel <kreckel@ginac.de>
25591
25592 [BZ #13305]
aebefeee 25593 [BZ #12786]
b27e24b8
RK
25594 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
25595 * math/s_cacoshf.c: Likewise.
25596 * math/s_cacoshl.c: Likewise.
25597
ee190f67
UD
255982011-12-21 Ulrich Drepper <drepper@gmail.com>
25599
25600 [BZ #13439]
25601 * iconv/gconv.h: Define __GCONV_SWAP.
25602 * iconvdata/unicode.c: The swap bit must be stored in __flags.
25603 * iconvdata/utf-16.c: Likewise.
25604 * iconvdata/utf-32.c: Likewise.
25605
707f25df
AS
256062011-12-21 Andreas Schwab <schwab@linux-m68k.org>
25607
25608 [BZ #13524]
25609 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
25610 numerator after shifting it by one limb.
25611
d2daaa1e
RÁE
256122011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
25613
25614 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
25615 under [__USE_EXTERN_INLINES].
25616
a4647e72
UD
256172011-12-17 Ulrich Drepper <drepper@gmail.com>
25618
25619 [BZ #13446]
25620 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
25621
f0b264f1
AZ
256222011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25623
25624 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
25625 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
25626 optimized code.
25627 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
25628 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
25629 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
25630 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
25631 for strncasecmp/strncasecmp_l compilation.
25632 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
25633 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
25634
8ef4f244
MP
256352011-12-08 Marek Polacek <mpolacek@redhat.com>
25636
25637 [BZ #13484]
25638 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
25639 of __asm__.
25640
97ac2654
UD
256412011-12-17 Ulrich Drepper <drepper@gmail.com>
25642
25643 [BZ #13506]
25644 * time/tzfile.c (__tzfile_read): Check values from file header.
25645
91d2a845
WS
256462011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
25647
25648 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
25649 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
25650 * powerpc/powerpc32/dl-start.S: Likewise.
25651 * powerpc/powerpc32/elf/start.S: Likewise.
25652 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
25653 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
25654 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
25655 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
25656 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
25657 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
25658 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
25659 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
25660 * powerpc/powerpc32/fpu/s_round.S: Likewise.
25661 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
25662 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
25663 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
25664 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
25665 * powerpc/powerpc32/memset.S: Likewise.
25666 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
25667 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25668 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25669 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25670 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25671 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
25672 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
25673 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
25674 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
25675 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
25676 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
25677 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25678 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25679
a1267ba1
AZ
256802011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25681
25682 * math/libm-test.inc: Added more nearbyint tests.
25683 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
25684 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
25685 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
25686 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
25687
ad8ac1bd
RL
256882011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
25689
25690 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
25691 FD_CLOEXEC.
25692
1d3e4b61
UD
256932011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25694
25695 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
25696 Add wcscpy-ssse3 wcscpy-c.
25697 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
25698 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
25699 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
25700 * sysdeps/x86_64/wcschr.S: New file.
25701 * sysdeps/x86_64/wcsrchr.S: New file.
25702 * string/test-strcmp.c: Remove checking of wcscmp function for
25703 wrong alignments.
25704 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
25705 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
25706 wcsrchr-sse2 wcsrchr-c.
25707 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
25708 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
25709 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
25710 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
25711 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
25712 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
25713 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
25714 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
25715 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
25716 * wcsmbc/wcschr.c (WCSCHR): New macro.
25717
5b330a2d
UD
257182011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25719
25720 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
25721 * wcsmbs/test-wcsrchr.c: New file.
25722 * string/test-strrchr.c: Add wcsrchr support.
25723 (WIDE): New macro.
25724 * wcsmbs/test-wcscpy.c: New file.
25725 * string/test-strcpy.c: Add wcscpy support.
25726 (WIDE): New macro.
26428b7c 25727
f039c043
UD
257282011-12-10 Ulrich Drepper <drepper@gmail.com>
25729
25730 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
25731 the inner loop.
25732
850fb039
AS
257332011-12-06 Andreas Schwab <schwab@linux-m68k.org>
25734
25735 [BZ #13472]
25736 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
25737
4efbd5cb
UD
257382011-12-04 Ulrich Drepper <drepper@gmail.com>
25739
52ff5dd0 25740 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 25741 Minor optimizations.
52ff5dd0 25742
4efbd5cb
UD
25743 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
25744 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
25745 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
25746
8a426e12
UD
257472011-12-03 Ulrich Drepper <drepper@gmail.com>
25748
aff2453d
UD
25749 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
25750 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
25751 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
25752 for gcc to avoid warnings.
25753 * inet/Makefile (tests): Add tst-checks.
25754 * inet/tst-checks.c: New file.
25755
25756 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
25757 warning.
25758
25759 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
25760 __wmemcmp_sse2.
25761
25762 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
25763 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
25764
8a426e12
UD
25765 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
25766
9bea3473
UD
257672011-12-02 Ulrich Drepper <drepper@gmail.com>
25768
3a965496
UD
25769 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
25770 problem.
25771
9bea3473
UD
25772 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
25773
f101631b
UD
257742011-11-29 Joseph Myers <joseph@codesourcery.com>
25775
25776 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
25777 conditional on GCC version.
25778 (__arch_compare_and_exchange_val_8_acq)
25779 (__arch_compare_and_exchange_val_16_acq)
25780 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
25781 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
25782 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
25783
a98275aa
UD
257842011-12-02 Joseph Myers <joseph@codesourcery.com>
25785
25786 * sysdeps/sh/backtrace.c: New file.
25787
d4cc29a2
AS
257882011-12-02 Andreas Schwab <schwab@redhat.com>
25789
25790 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
25791 parenthesis.
25792
6257af2d
AS
257932011-12-01 Andreas Schwab <schwab@redhat.com>
25794
25795 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
25796 falling back to utime.
25797
b5f44c1a
AS
257982011-11-30 Andreas Schwab <schwab@redhat.com>
25799
25800 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
25801 expectations for float.
25802
f3a6cc0a
AS
258032011-11-29 Andreas Schwab <schwab@redhat.com>
25804
25805 * locale/weight.h (findidx): Add parameter len.
25806 * locale/weightwc.h (findidx): Likewise.
25807 * posix/fnmatch_loop.c (FCT): Adjust caller.
25808 * posix/regcomp.c (build_equiv_class): Likewise.
25809 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
25810 * posix/regexec.c (check_node_accept_bytes): Likewise.
25811 * string/strcoll_l.c (STRCOLL): Likewise.
25812 * string/strxfrm_l.c (STRXFRM): Likewise.
25813
9d65ea3a
UD
258142011-11-17 Ulrich Drepper <drepper@gmail.com>
25815
25816 * Makefile.in: Remove CVSOPT handling.
25817 * configure.in: Remove use of AC_REVISION.
25818 * iconvdata/Makefile (distribute): No need to filter out CVS.
25819 * scripts/list-sources.sh: Remove CVS, subversion and monotone
25820 handling.
25821
5583a086
AS
258222011-11-16 Andreas Schwab <schwab@redhat.com>
25823
25824 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
25825 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
25826 [USE_AS_STRNCASECMP_L]: Likewise.
25827 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
25828 NO_TLS_DIRECT_SEG_REFS.
25829 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
25830 Fix argument offsets for non-PIC.
25831 [USE_AS_STRNCASECMP_L]: Likewise.
25832 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
25833 NO_TLS_DIRECT_SEG_REFS.
25834
d62a8200
UD
258352011-11-15 Ulrich Drepper <drepper@gmail.com>
25836
9d65ea3a 25837 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
25838 O_CLOEXEC.
25839 * locale/loadlocale.c (_nl_load_locale): Likewise.
25840
09f93bd3
AS
258412011-11-15 Andreas Schwab <schwab@redhat.com>
25842
446514f9
AS
25843 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
25844 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
25845 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
25846 (SYSCALL_GETTIME): Set errno on error.
25847
09f93bd3
AS
25848 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
25849 count references to noai6ai_cached.
25850
312be3f9
UD
258512011-11-15 Ulrich Drepper <drepper@gmail.com>
25852
25853 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
25854
25855 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
25856 FD_CLOEXEC for /proc/self/maps.
25857
25858 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
25859 FD_CLOEXEC for /proc/meminfo.
25860
25861 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
25862 gai.conf.
25863
25864 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
25865 FD_CLOEXEC for given file.
25866
25867 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
25868
25869 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
25870 FD_CLOEXEC for /etc/hosts.
25871 (_gethtent): Likewise.
25872
25873 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
25874
25875 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
25876 cancellation and set FD_CLOEXEC for /etc/netgroup.
25877
25878 * nss/nss_files/files-key.c (search): Don't allow cancellation when
25879 reading /etc/publickey.
25880
25881 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
25882 allow cancellation when reading /etc/group.
25883
25884 * nss/nss_files/files-alias.c (internal_setent): Don't allow
25885 cancellation.
25886 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
25887
25888 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
25889 when using data file.
25890
25891 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
25892
25893 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
25894 (write_nis_obj): Use "c" and "e" in fopen.
25895
25896 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
25897
25898 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
25899
25900 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
25901
25902 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
25903
25904 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
25905 locale.alias.
25906
25907 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
25908
25909 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
25910
25911 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
25912
25913 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
25914 file parsing and set FD_CLOEXEC.
25915
82af0fa8
UD
259162011-11-14 Ulrich Drepper <drepper@gmail.com>
25917
25918 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
25919
a5fb313c
AS
259202011-11-14 Andreas Schwab <schwab@redhat.com>
25921
25922 * malloc/arena.c (arena_get2): Don't call reused_arena when
25923 _int_new_arena failed.
25924
6abf3465
UD
259252011-11-14 Ulrich Drepper <drepper@gmail.com>
25926
25927 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
25928 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
25929 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
25930 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25931 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25932 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
25933 to compile strcasecmp and strncasecmp.
25934 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
25935 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
25936
25937 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
25938
76e3966e
UD
259392011-11-13 Ulrich Drepper <drepper@gmail.com>
25940
25941 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
25942 locale-defines.sym to gen-as-const-headers.
25943 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
25944 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
25945 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
25946 to compile strcasecmp and strncasecmp.
25947 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
25948 strcasecmp_l and strncasecmp_l.
25949 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
25950 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
25951 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
25952 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
25953 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
25954 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
25955 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
25956 * sysdeps/i386/i686/multiarch/strncase.S: New file.
25957 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
25958 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
25959 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
25960
ab26144e
UD
259612011-11-12 Ulrich Drepper <drepper@gmail.com>
25962
7edb22ef
UD
25963 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
25964 result of SYSDEP_GETTIME_CPU to retval.
25965 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
25966 parameter list to macro. Remove trailing semicolon. Adjust users.
25967
9694fc44
UD
25968 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
25969 variable.
25970
8ad89ef8
UD
25971 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
25972 mantissa words.
25973 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
25974
0c822ef9
UD
25975 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
25976 from unused variable.
25977
874e0564
UD
25978 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
25979 DWARF definitions.
25980 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
25981 for assembling.
25982
3a2edc79
UD
25983 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
25984 over namespaces.
25985
f3c2577f
UD
25986 * sunrpc/rpc_prot.c (rejected): Fix case value.
25987
294ce126
UD
25988 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
25989 unsigned long long int to avoid warnings in shift.
25990
5e2b63c6
UD
25991 * posix/regex_internal.c (re_string_reconstruct): Actually use result
25992 of use of trans.
25993 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
25994 variable tmp.
25995
e7f4b08e
UD
25996 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
25997 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
25998 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
25999
ab26144e
UD
26000 * nis/nis_table.c (nis_list): Use variable of correct type for
26001 result of __follow_path call.
26002
8a6d5255
AZ
260032011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
26004
26005 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
26006 of math functions ceil, trunc, floor, round, and sqrt, when
26007 avaliable on the platform.
26008 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
26009 name clash.
26010 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26011 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
26012 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
26013
aaddc98c
MP
260142011-10-30 Marek Polacek <mpolacek@redhat.com>
26015
26016 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
26017 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
26018
95b7042b
RM
260192011-11-11 Roland McGrath <roland@hack.frob.com>
26020
26021 * include/unistd.h: Fix __readlink return type.
26022 Reported by Chris Metcalf <cmetcalf@tilera.com>.
26023
57769839
UD
260242011-11-11 Ulrich Drepper <drepper@gmail.com>
26025
26026 * stdlib/ucontext.h: Undo last change for makecontext.
26027
edc5984d
AS
260282011-11-11 Andreas Schwab <schwab@redhat.com>
26029
98591e58
AS
26030 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
26031
edc5984d
AS
26032 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
26033 * setjmp/setjmp.h: Mark functions as non-leaf.
26034 * setjmp/bits/setjmp2.h: Likewise.
26035 * stdlib/ucontext.h: Likewise.
26036
77cdc054
AS
260372011-11-10 Andreas Schwab <schwab@redhat.com>
26038
26039 * malloc/arena.c (_int_new_arena): Don't increment narenas.
26040 (reused_arena): Don't check arena limit.
26041 (arena_get2): Atomically check arena limit.
26042
fe72eebd
UD
260432011-11-08 Ulrich Drepper <drepper@gmail.com>
26044
5f078c32
UD
26045 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
26046 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
26047
fe72eebd
UD
26048 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
26049 instructions.
26050
ae1bc2fa
AS
260512011-11-07 Andreas Schwab <schwab@redhat.com>
26052
7583a88d
AS
26053 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
26054 handler when locking.
26055
ae1bc2fa
AS
26056 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
26057 Fix size of allocated buffer.
26058
10fb0bfa
AS
260592011-11-04 Andreas Schwab <schwab@redhat.com>
26060
998832a4
AS
26061 [BZ #10103]
26062 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
26063 declarations for long double functions.
26064 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
26065
10fb0bfa
AS
26066 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
26067
3d7ba52b
AS
260682011-11-03 Andreas Schwab <schwab@redhat.com>
26069
a9ae54a1
AS
26070 * nscd/nscd.c (main): Don't start AVC thread until credentials are
26071 installed.
26072
3d7ba52b
AS
26073 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
26074 is disabled.
26075
bc8db248
ST
260762011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
26077
26078 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
26079
45b96dd6
AS
260802011-11-01 Andreas Schwab <schwab@linux-m68k.org>
26081
647776f6
AS
26082 * include/alloca.h (stackinfo_alloca_round): Define.
26083 (extend_alloca): Use it.
26084 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
26085 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
26086 here.
26087
d91a8b93
AS
26088 * scripts/check-local-headers.sh: Ignore libaudit.h.
26089
45b96dd6
AS
26090 * nscd/Makefile (extra-objs): Make recursively expanded.
26091
432d41ce
UD
260922011-11-01 Ulrich Drepper <drepper@gmail.com>
26093
34372fc6
UD
26094 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
26095 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
26096
fadb59f8
UD
26097 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
26098 * posix/tst-rfc3484-2.c: Likewise.
26099 * posix/tst-rfc3484-3.c: Likewise.
26100
78239589
UD
26101 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
26102 process_vm_writev.
26103 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
26104 process_vm_writev.
26105 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
26106 process_vm_writev from libc using GLIBC_2.15 version.
26107
432d41ce
UD
26108 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
26109
02f9c6cf
PP
261102011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
26111
26112 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
26113 stack usage.
26114
3a2c0242
UD
261152011-10-31 Ulrich Drepper <drepper@gmail.com>
26116
f4ec4833
UD
26117 [BZ #13367]
26118 * nss/getent.c (initgroups_keys): Show error message in case no group
26119 names are given.
26120
3a2c0242
UD
26121 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
26122 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
26123 __bump_nl_timestamp.
26124 * nscd/connections (nscd_init): When host database is served open
26125 netlink socket and request notification about configuration changes.
26126 (main_loop_poll): Track netlink file descriptor and bump timestamp
26127 in case data becomes available.
26128 (main_loop_epoll): Likewise.
26129 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
26130 (database_pers_head): Add extra_data fileds.
26131 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
26132 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
26133 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
26134 Adjust caller.
26135 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
26136 in6ai data, call __free_in6ai.
26137 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
26138 Add -DHAVE_NETLINK.
26139 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
26140 interface information. Reuse previous data if netlink timestamp
26141 is not changed.
26142 (__bump_nl_timestamp): New function.
26143 (__free_in6ai): New function.
26144
636064eb
UD
261452011-10-30 Ulrich Drepper <drepper@gmail.com>
26146
26147 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
26148 close_not_cancel_no_status here.
26149 (__check_pf): Reorganize code a bit to not call close twice if OOM.
26150
9beb2334
UD
261512011-10-29 Ulrich Drepper <drepper@gmail.com>
26152
6ef76f3b
UD
26153 [BZ #13276]
26154 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
26155 return value.
26156
0ffc4f3e 26157 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
26158 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
26159 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
26160
cb95113e
UD
261612011-07-03 Andreas Jaeger <aj@suse.de>
26162
26163 [BZ #10709]
26164 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
26165 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
26166 * math/libm-test.inc (sin_test): Add test case.
26167
a1b560ff
UD
261682011-10-29 Ulrich Drepper <drepper@gmail.com>
26169
c9aaface
UD
26170 [BZ #13337]
26171 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
26172 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26173
d272e7f1
UD
26174 * elf/chroot_canon.c (chroot_canon): Cleanups.
26175
1bc33071
UD
26176 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
26177
1760874d
TJ
26178 [BZ #13335]
26179 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
26180 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
26181
51d91b18
UD
26182 * string/test-strchr.c: Make usable for strchrnul testing.
26183 * string/test-strchrnul.c: New file.
26184 * string/Makefile (strop-tests): Add strchrnul.
26185
a1b560ff 26186 * po/it.po: Update from translation team.
b611fb81 26187 * po/es.po: Likewise.
a1b560ff 26188
a5b81e1f
UD
261892011-10-28 Ulrich Drepper <drepper@gmail.com>
26190
fd52bc6d
UD
26191 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
26192 the three constants needed as parameters. Drop the others.
26193 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
26194 __m128i_strloadu_tolower.
52e4b9eb
UD
26195 Create and initialize variable zero and use it in all the places
26196 where _mm_setzero_si128 was used.
fd52bc6d 26197
a5b81e1f
UD
26198 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
26199 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
26200 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
26201 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
26202 anymore.
26203 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
26204 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
26205 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
26206 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
26207 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
26208 __mpranred, __mptan.
26209 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
26210 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
26211 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
26212 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
26213 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
26214 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
26215 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
26216 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
26217 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
26218
b4343346
AS
262192011-10-28 Andreas Schwab <schwab@redhat.com>
26220
0c92d8a8
AS
26221 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
26222 redefine if SHARED.
26223 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
26224
b4343346
AS
26225 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
26226 wide char related routines to wcsmbs subdir.
26227
3871f58f
AS
262282011-10-27 Andreas Schwab <schwab@redhat.com>
26229
26230 [BZ #13344]
26231 * misc/sys/cdefs.h (__THROWNL): Define.
26232 * posix/unistd.h: Use __THREADNL instead of __THREAD
26233 for memory synchronization functions.
26234
94d44d9f
RM
262352011-10-26 Roland McGrath <roland@hack.frob.com>
26236
21b64b15 26237 [BZ #13349]
94d44d9f
RM
26238 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
26239 doesn't exist.
26240 * manual/stdio.texi (Obstack Streams): Node removed.
26241
f6ce9294
AS
262422011-10-26 Andreas Schwab <schwab@redhat.com>
26243
80479147
AS
26244 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
26245 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26246 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26247
f6ce9294
AS
26248 * math/math_private.h (math_force_eval): Allow non-addressable
26249 arguments.
26250 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
26251
618280a1
UD
262522011-10-25 Ulrich Drepper <drepper@gmail.com>
26253
e0016b11
UD
26254 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
26255 file is not needed.
26256
26257 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
26258 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
26259 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26260 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26261 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26262 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26263 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26264 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
26265 Add AVX variants.
26266 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
26267 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
26268 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
26269 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
26270 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
26271 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
26272 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
26273 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
26274 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
26275 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
26276 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
26277 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
26278 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
26279 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
26280 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
26281 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
26282 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
26283 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
26284 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
26285
26286 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
26287 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
26288
618280a1
UD
26289 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
26290 place. Use VEX encoding when compiling for AVX.
26291
37822576
AS
262922011-10-25 Andreas Schwab <schwab@redhat.com>
26293
1f1e1947
AS
26294 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
26295 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
26296
37822576
AS
26297 * string/test-strchr.c (do_test): Don't generate NUL bytes.
26298
31ea014d
UD
262992011-10-25 Ulrich Drepper <drepper@gmail.com>
26300
d7826aa1 26301 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 26302 useless if() expression.
d7826aa1
UD
26303 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26304 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26305 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26306 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26307 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26308 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26309 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26310 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26311 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26312 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26313 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26314 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26315 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
26316 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26317 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
26318 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26319 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26320 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26321 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
26322
31ea014d
UD
26323 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
26324
16437fec
AS
263252011-10-25 Andreas Schwab <schwab@redhat.com>
26326
26327 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
26328 condition.
26329 * elf/dl-fini.c (_dl_sort_fini): Likewise.
26330
31d3cc00
UD
263312011-10-25 Ulrich Drepper <drepper@gmail.com>
26332
26333 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
26334 .text section. Avoid duplicate constants.
26335 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26336 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26337 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26338 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26339 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26340 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26341 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26342 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26343 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26344 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
26345 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26346 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26347 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26348 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26349 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26350 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26351 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26352 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26353 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26354 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26355 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26356 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26357 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26358 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
26359 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
26360 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
26361 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
26362 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
26363 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
26364 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
26365 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
26366 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
26367 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26368 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
26369 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
26370 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
26371 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
26372 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
26373 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
26374 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
26375 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
26376 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
26377 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
26378 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
26379 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
26380
58985aa9
UD
263812011-10-24 Ulrich Drepper <drepper@gmail.com>
26382
202c9deb
UD
26383 * sysdeps/x86_64/dla.h: Move to ...
26384 * sysdeps/x86_64/fpu/dla.h: ...here.
26385 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
26386 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 26387
af968f62
UD
26388 * config.make.in: Add have-mfma4 entry.
26389 * configure.in: Substitute libc_cv_cc_fma4.
26390 * math/Makefile (dbl-only-routines): Add sincostab.
26391 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
26392 Use __sincostab not sincos.
26393 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
26394 name is a macro.
26395 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26396 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26397 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26398 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
26399 using __copysign.
26400 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
26401 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
26402 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
26403 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
26404 and __inv.
26405 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
26406 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
26407 __copysign.
26408 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
26409 define aliases when function name is a macro.
26410 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
26411 sysdeps/ieee754/dbl-64/sincos.tbl.
26412 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
26413 fma4-enabled routines.
26414 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
26415 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
26416 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
26417 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
26418 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
26419 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
26420 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
26421 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
26422 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
26423 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
26424 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
26425 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
26426 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
26427 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
26428 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
26429 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
26430 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
26431 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
26432 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
26433 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
26434 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
26435 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
26436 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
26437 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
26438 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
26439 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
26440 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
26441 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
26442 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
26443 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
26444
58985aa9
UD
26445 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
26446 rename.
26447 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26448 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26449 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26450 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26451 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26452 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26453 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26454 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26455
a201fbcf
AS
264562011-10-24 Andreas Schwab <schwab@redhat.com>
26457
26458 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
26459
fc2ee42a
LD
264602011-10-23 Ulrich Drepper <drepper@gmail.com>
26461
bb3129bd
UD
26462 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
26463
0275fff8
UD
26464 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
26465 prediction.
26466 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
26467
2fa2ae85
UD
26468 * string/strnlen.c: Don't define STRNLEN, reverse logic.
26469 Remove unused variable magic_bits.
26470 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
26471
fc2ee42a
LD
26472 * string/strnlen.c: Define and use STRNLEN macro.
26473 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
26474 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
26475 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
26476 * wcsmbs/wcslen.c: Define and use WCSLEN.
26477 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
26478 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
26479 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
26480 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
26481 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
26482 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
26483 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
26484
ce7dd29f
LD
264852011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26486
26487 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26488 strnlen-sse2-no-bsf.
26489 Rename strlen-no-bsf to strlen-sse2-no-bsf.
26490 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
26491 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
26492 Add strnlen support.
26493 (USE_AS_STRNLEN): New macro.
26494 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
26495 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
26496 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
26497 * sysdeps/x86_64/wcslen.S: New file.
26498
979c70a3
MZ
264992011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
26500
26501 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26502 XMM-moves are used for copying on small sizes.
26503
2d09f82f
LD
265042011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26505
26506 * wcsmbs/Makefile (strop-tests): Add wcschr.
26507 * wcsmbs/test-wcschr.c: New file.
26508 * string/test-strchr.c: Update.
26509 Add wcschr support.
26510 (WIDE): New macro.
26511
619fccca
LD
265122011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26513
2d09f82f 26514 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
26515 * wcsmbs/test-wcslen.c: New file.
26516 * string/test-strlen.c: Update.
26517 Add wcslen support.
26518 (WIDE): New macro.
26519
09f699ea
UD
265202011-10-23 Ulrich Drepper <drepper@gmail.com>
26521
26522 * po/it.po: Update from translation team.
26523
95584d3b
LD
265242011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26525
26526 * sysdeps/x86_64/wcscmp.S: Update.
26527 Fix wrong comparison semantics.
26528 wcscmp shall use signed comparison not unsigned.
26529 Don't use substraction to avoid overflow bug.
26530 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
26531 * wcsmbc/wcscmp.c: Likewise.
26532 * string/test-strcmp.c: Likewise.
26533 Add new tests to check cases with negative values.
26534
c8b3296b
UD
265352011-10-23 Ulrich Drepper <drepper@gmail.com>
26536
26537 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
26538 * sysdeps/x86_64/dla.h: ...here. New file.
26539 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
26540 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26541 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26542 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26543 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26544 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26545 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26546 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26547 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26548
246ad57a
AS
265492011-10-23 Andreas Schwab <schwab@linux-m68k.org>
26550
26551 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
26552 __ynl_finite aliases.
26553
a1a87169
UD
265542011-10-22 Ulrich Drepper <drepper@gmail.com>
26555
0d355eb7
UD
26556 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26557
a1a87169
UD
26558 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
26559 define DLA_FMA.
26560 [DLA_FMA] (EMULV): Use DLA_FMA.
26561 [DLA_FMA] (MUL12): Use EMULV.
26562 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
26563 that are not needed.
26564 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26565 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26566 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26567 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26568 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26569 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26570 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26571
ee2aafe0
AS
265722011-10-22 Andreas Schwab <schwab@linux-m68k.org>
26573
26574 * math/s_nan.c: Undef __nan.
26575 * math/s_nanf.c: Undef __nanf.
26576 * math/s_nanl.c: Undef __nanl.
26577 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
26578 "math_private.h".
26579
bc62c2fb
UD
265802011-10-22 Ulrich Drepper <drepper@gmail.com>
26581
77425c63
UD
26582 * math/s_catan.c: Add branch predictions.
26583 * math/s_catanf.c: Likewise.
26584 * math/s_catanh.c: Likewise.
26585 * math/s_catanhf.c: Likewise.
26586 * math/s_catanhl.c: Likewise.
26587 * math/s_catanl.c: Likewise.
26588 * math/s_cexp.c: Likewise.
26589 * math/s_cexpf.c: Likewise.
26590 * math/s_cexpl.c: Likewise.
26591 * math/s_clog.c: Likewise.
26592 * math/s_clog10.c: Likewise.
26593 * math/s_clog10f.c: Likewise.
26594 * math/s_clog10l.c: Likewise.
26595 * math/s_clogf.c: Likewise.
26596 * math/s_clogl.c: Likewise.
26597 * math/s_csqrt.c: Likewise.
26598 * math/s_csqrtf.c: Likewise.
26599 * math/s_csqrtl.c: Likewise.
26600 * math/s_ctanf.c: Likewise.
26601 * math/s_ctanh.c: Likewise.
26602 * math/s_ctanhf.c: Likewise.
26603 * math/s_ctanhl.c: Likewise.
26604 * math/s_ctanl.c: Likewise.
26605
bc62c2fb
UD
26606 * math/math_private.h: Define __nan, __nanf, __nanl.
26607 * math/s_cacosh.c: Include <math_private.h>.
26608 * math/s_cacoshl.c: Likewise.
26609 * math/s_casinh.c: Likewise.
26610 * math/s_casinhf.c: Likewise.
26611 * math/s_casinhl.c: Likewise.
26612 * math/s_ccos.c: Rely entire on ccosh.
26613 * math/s_ccosf.c: Rely entire on ccoshf.
26614 * math/s_ccosl.c: Rely entirely on ccoshl.
26615 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
26616 Remove tests for FE_INVALID.
26617 * math/s_ccoshf.c: Likewise.
26618 * math/s_ccoshl.c: Likewise.
26619 * math/s_csin.c: Likewise.
26620 * math/s_csinf.c: Likewise.
26621 * math/s_csinh.c Likewise.
26622 * math/s_csinhf.c: Likewise.
26623 * math/s_csinhl.c: Likewise.
26624 * math/s_csinl.c: Likewise.
26625 * math/s_ctan.c: Likewise.
26626 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
26627 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
26628 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
26629
8ec250a4
UD
266302011-10-21 Ulrich Drepper <drepper@gmail.com>
26631
c196fed8
UD
26632 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
26633 compilation problems.
26634
8ec250a4
UD
26635 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
26636 __builtin_expect.
26637
8d4f46c6
UD
266382011-10-20 Ulrich Drepper <drepper@gmail.com>
26639
ed72b654
UD
26640 * sysdeps/i386/configure.in: Test for -mfma4 option.
26641 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
26642 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
26643 COMMON_CPUID_INDEX_80000001.
26644 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
26645 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
26646 use it if FMA3 is not supported.
26647 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
26648
8d4f46c6
UD
26649 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
26650 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26651
d45c60c2
AS
266522011-10-20 Andreas Schwab <schwab@redhat.com>
26653
26654 [BZ #12892]
26655 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
26656 it would create a cycle with a link time dependency.
26657
d9a4d2ab
UD
266582011-10-19 Ulrich Drepper <drepper@gmail.com>
26659
855d1560
UD
26660 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
26661 instruction.
26662 * string/Makefile (strop-tests): Add rawmemchr.
26663 * string/test-rawmemchr.c: New file.
26664
d9a4d2ab
UD
26665 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
26666 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
26667 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
26668 when compiling str{,n}casecmp and when AVX is available. Hook up
26669 new optimized code in initializers.
26670
8f3b1ffe
AS
266712011-10-19 Andreas Schwab <schwab@redhat.com>
26672
26673 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
26674 __feraiseexcept instead of feraiseexcept.
26675
d38f1dba
UD
266762011-10-18 Ulrich Drepper <drepper@gmail.com>
26677
d9a8d0ab
UD
26678 * math/math_private.h: Define defaults for libc_fetestexcept and
26679 libc_feupdateenv.
26680 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
26681 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
26682 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26683 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26684 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
26685 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26686 libc_fetestexcept and libc_feupdateenv.
26687
4855e3dd
UD
26688 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
26689 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
26690 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
26691 * sysdeps/x86_64/fpu/math_private.h: Define special version of
26692 libc_feholdexcept_setround.
26693
581d30e3
UD
26694 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
26695 Add s_nearbyint-c and s_nearbyintf-c.
26696 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
26697 nearbyintf inlines.
26698 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
26699 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
26700 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
26701 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
26702
d38f1dba
UD
26703 * math/math_private.h: Define defaults for libc_fegetround,
26704 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
26705 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
26706 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
26707 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
26708 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
26709 standard functions.
26710 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26711 Remove comments and hacks for old compiler versions.
26712 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26713 libc_fegetround, libc_fesetround, libc_feholdexcept, and
26714 libc_feholdexceptl.
26715
caa6c9d8
AS
267162011-10-18 Andreas Schwab <schwab@redhat.com>
26717
26718 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
26719 (__feraiseexcept_renamed): Add __NTH.
26720 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
26721 namespace violations.
26722
97c066e6
UD
267232011-10-17 Ulrich Drepper <drepper@gmail.com>
26724
99ce7b04
UD
26725 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
26726
1004d182
UD
26727 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
26728
228a984d
UD
26729 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
26730 recently added interfaces.
26731 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
26732
c8553a6a
UD
26733 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
26734 about macro parameter expansion.
26735
ed22dcf6
UD
26736 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
26737 __NO_MATH_INLINES is defined. Cleanups.
26738
26739 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
26740 and __floorf is target has SSE4.1.
26741 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
26742 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
26743 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
26744 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
26745
b171c137
UD
26746 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
26747 name.
26748 (floorf): Likewise.
26749
97c066e6
UD
26750 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
26751
629f62ef
AS
267522011-10-17 Andreas Schwab <schwab@redhat.com>
26753
49a43d80
AS
26754 * misc/sys/cdefs.h: Fix last change.
26755
629f62ef
AS
26756 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
26757 database lookup.
26758
e453f6cd
UD
267592011-10-16 Ulrich Drepper <drepper@gmail.com>
26760
aa78043a
UD
26761 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
26762
ad0f5cad
UD
26763 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
26764 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26765 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26766 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26767 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26768 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
26769 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26770 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26771 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
26772 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
26773 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
26774 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
26775 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
26776 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
26777 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
26778 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
26779 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
26780 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
26781 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
26782 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
26783 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
26784 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
26785
26786 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
26787 ceil, ceilf, floor, floorf.
26788
26789 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
26790 Perform IRELATIVE relocations last.
26791
e453f6cd
UD
26792 * elf/do-rel.h: Add another parameter nrelative, replacing the
26793 local variable with the same name. Change name of the function
26794 to end in Rel or Rela (uppercase).
26795 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
26796 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
26797 elf_dynamic_do_##reloc function.
26798
fd5bdc09
UD
267992011-10-15 Ulrich Drepper <drepper@gmail.com>
26800
79b195b5
UD
26801 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
26802 is sufficient, at least on modern CPUs.
26803
d4a28569
UD
26804 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
26805
b61099b5
UD
26806 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
26807 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
26808
bcf01e6d
UD
26809 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
26810 __expl_finite.
26811 * math/bits/math-finite.h: Add entries for exp.
26812 * math/e_expl.c: Add __*_finite alias.
26813 * sysdeps/i386/fpu/e_exp.S: Likewise.
26814 * sysdeps/i386/fpu/e_expf.S: Likewise.
26815 * sysdeps/i386/fpu/e_expl.c: Likewise.
26816 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26817 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26818 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26819 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26820 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
26821 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26822 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26823
ba1a0d59
UD
26824 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
26825 is sufficient, at least on modern CPUs.
26826
fd5bdc09
UD
26827 * ctype/ctype-info.c (__ctype_init): Define.
26828 * include/ctype.h (__ctype_init): Declare.
26829 (__ctype_b_loc): The variable is always initialized.
26830 (__ctype_toupper_loc): Likewise.
26831 (__ctype_tolower_loc): Likewise.
26832 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
26833 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
26834
7872cfb0
AS
268352011-10-15 Andreas Schwab <schwab@linux-m68k.org>
26836
b468825a
AS
26837 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
26838
7872cfb0
AS
26839 * configure.in: Also look in $cxxmachine/include for C++ system
26840 headers.
26841
be13f7bf
LD
268422011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26843
26844 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
26845 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
26846 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
26847 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
26848 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
26849 (USE_AS_WMEMCMP): New macro.
26850 Fixing indents.
26851 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
26852 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
26853 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
26854 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
26855 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26856 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
26857 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
26858 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
26859 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
26860 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
26861 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
26862 (USE_AS_WMEMCMP): New macro.
26863 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
26864 * sysdeps/string/test-memcmp.c: Update.
26865 Fix simple_wmemcmp.
26866 Add new tests.
26867 * wcsmbs/wmemcmp.c: Update.
26868 (WMEMCMP): New macro.
26869 Fix overflow bug.
26870
556a2007
AJ
268712011-10-12 Andreas Jaeger <aj@suse.de>
26872
26873 [BZ #13268]
26874 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
26875
538faaa7
UD
268762011-10-15 Ulrich Drepper <drepper@gmail.com>
26877
ab6737ff
UD
26878 * libio/iofwide.c (do_length): Avoid warning.
26879
538faaa7
UD
26880 * ctype/ctype.h (__isctype_f): Add missing __THROW.
26881
396a21b1
UD
268822011-10-14 Ulrich Drepper <drepper@gmail.com>
26883
cdf2901f
UD
26884 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
26885
38ad40ce
UD
26886 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
26887 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
26888 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
26889 * sysdeps/i386/i686/fpu/e_log.S: New file.
26890 * sysdeps/i386/i686/fpu/e_logf.S: New file.
26891 * sysdeps/i386/i686/fpu/e_logl.S: New file.
26892
396a21b1
UD
26893 * ctype/ctype.h: Add support for inlined isXXX functions when
26894 compiling C++ code.
26895
6b1f68c9
AS
268962011-10-14 Andreas Schwab <schwab@redhat.com>
26897
349290c0
AS
26898 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26899
6b1f68c9
AS
26900 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
26901
f2282d42
RM
269022011-10-13 Roland McGrath <roland@hack.frob.com>
26903
26904 [BZ #13291]
26905 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
26906
5298ffa8
AS
269072011-10-13 Andreas Schwab <schwab@redhat.com>
26908
714fad23
AS
26909 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
26910 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
26911 feraiseexcept.
26912
81dcc7fb
AS
26913 * sysdeps/x86_64/memrchr.S: Check for zero size.
26914
5298ffa8
AS
26915 * string/stratcliff.c: Add memrchr tests.
26916
951fbcec
LD
269172011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26918
26919 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26920 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
26921 rawmemchr-sse2 rawmemchr-sse2-bsf.
26922 * sysdeps/i386/i686/multiarch/memchr.S: New file.
26923 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
26924 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
26925 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
26926 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
26927 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
26928 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
26929 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
26930 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
26931 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
26932 * string/memrchr.c (MEMRCHR): New macro.
26933
0ac5ae23
UD
269342011-10-12 Ulrich Drepper <drepper@gmail.com>
26935
26936 Add integration with gcc's -ffinite-math-only and optimize wrapper
26937 functions in libm.
26938 * Versions.def: Define GLIBC_2.15 version for libm.
26939 * math/Makefile (headers): Add bits/math-finite.h.
26940 * math/bits/math-finite.h: New file.
26941 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
26942 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
26943 * math/e_acoshl.c: Add __*_finite alias.
26944 * math/e_acosl.c: Likewise.
26945 * math/e_asinl.c: Likewise.
26946 * math/e_atan2l.c: Likewise.
26947 * math/e_atanhl.c: Likewise.
26948 * math/e_coshl.c: Likewise.
26949 * math/e_exp10.c: Likewise.
26950 * math/e_exp10f.c: Likewise.
26951 * math/e_exp10l.c: Likewise.
26952 * math/e_exp2l.c: Likewise.
26953 * math/e_fmodl.c: Likewise.
26954 * math/e_gammal_r.c: Likewise.
26955 * math/e_hypotl.c: Likewise.
26956 * math/e_j0l.c: Likewise.
26957 * math/e_j1l.c: Likewise.
26958 * math/e_jnl.c: Likewise.
26959 * math/e_lgammal_r.c: Likewise.
26960 * math/e_log10l.c: Likewise.
26961 * math/e_log2l.c: Likewise.
26962 * math/e_logl.c: Likewise.
26963 * math/e_powl.c: Likewise.
26964 * math/e_sinhl.c: Likewise.
26965 * math/e_sqrtl.c: Likewise.
26966 * math/e_scalb.c: Completely rewritten and optimized.
26967 * math/e_scalbf.c: Likewise.
26968 * math/e_scalbl.c: Likewise.
26969 * math/w_acos.c: Likewise.
26970 * math/w_acosf.c: Likewise.
26971 * math/w_acosl.c: Likewise.
26972 * math/w_acosh.c: Likewise.
26973 * math/w_acoshf.c: Likewise.
26974 * math/w_acoshl.c: Likewise.
26975 * math/w_asin.c: Likewise.
26976 * math/w_asinf.c: Likewise.
26977 * math/w_asinl.c: Likewise.
26978 * math/w_atan2.c: Likewise.
26979 * math/w_atan2f.c: Likewise.
26980 * math/w_atan2l.c: Likewise.
26981 * math/w_atanh.c: Likewise.
26982 * math/w_atanhf.c: Likewise.
26983 * math/w_atanhl.c: Likewise.
26984 * math/w_exp10.c: Likewise.
26985 * math/w_exp10f.c: Likewise.
26986 * math/w_exp10l.c: Likewise.
26987 * math/w_fmod.c: Likewise.
26988 * math/w_fmodf.c: Likewise.
26989 * math/w_fmodl.c: Likewise.
26990 * math/w_j0.c: Likewise.
26991 * math/w_j0f.c: Likewise.
26992 * math/w_j0l.c: Likewise.
26993 * math/w_j1.c: Likewise.
26994 * math/w_j1f.c: Likewise.
26995 * math/w_j1l.c: Likewise.
26996 * math/w_jn.c: Likewise.
26997 * math/w_jnf.c: Likewise.
26998 * math/w_log.c: Likewise.
26999 * math/w_logf.c: Likewise.
27000 * math/w_logl.c: Likewise.
27001 * math/w_log10.c: Likewise.
27002 * math/w_log10f.c: Likewise.
27003 * math/w_log10l.c: Likewise.
27004 * math/w_log2.c: Likewise.
27005 * math/w_log2f.c: Likewise.
27006 * math/w_log2l.c: Likewise.
27007 * math/w_pow.c: Likewise.
27008 * math/w_powf.c: Likewise.
27009 * math/w_powl.c: Likewise.
27010 * math/w_remainder.c: Likewise.
27011 * math/w_remainderf.c: Likewise.
27012 * math/w_remainderl.c: Likewise.
27013 * math/w_scalb.c: Likewise.
27014 * math/w_scalbf.c: Likewise.
27015 * math/w_scalbl.c: Likewise.
27016 * math/w_sqrt.c: Likewise.
27017 * math/w_sqrtf.c: Likewise.
27018 * math/w_sqrtl.c: Likewise.
27019 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
27020 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
27021 used.
27022 * math/math_private.h: Declare __kernel_standard_f.
27023 * math/w_cosh.c: Remove cruft and optimize a bit.
27024 * math/w_coshf.c: Likewise.
27025 * math/w_coshl.c: Likewise.
27026 * math/w_exp2.c: Likewise.
27027 * math/w_exp2f.c: Likewise.
27028 * math/w_exp2l.c: Likewise.
27029 * math/w_hypot.c: Likewise.
27030 * math/w_hypotf.c: Likewise.
27031 * math/w_hypotl.c: Likewise.
27032 * math/w_lgamma.c: Likewise.
27033 * math/w_lgamma_r.c: Likewise.
27034 * math/w_lgammaf.c: Likewise.
27035 * math/w_lgammaf_r.c: Likewise.
27036 * math/w_lgammal.c: Likewise.
27037 * math/w_lgammal_r.c: Likewise.
27038 * math/w_sinh.c: Likewise.
27039 * math/w_sinhf.c: Likewise.
27040 * math/w_sinhl.c: Likewise.
27041 * math/w_tgamma.c: Likewise.
27042 * math/w_tgammaf.c: Likewise.
27043 * math/w_tgammal.c: Likewise.
27044 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27045 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27046 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
27047 Minor optimizations. Pretty printing. Remove cruft.
27048 * sysdeps/i386/fpu/e_acosf.S: Likewise.
27049 * sysdeps/i386/fpu/e_acosh.S: Likewise.
27050 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27051 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27052 * sysdeps/i386/fpu/e_acosl.c: Likewise.
27053 * sysdeps/i386/fpu/e_asin.S: Likewise.
27054 * sysdeps/i386/fpu/e_asinf.S: Likewise.
27055 * sysdeps/i386/fpu/e_atan2.S: Likewise.
27056 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
27057 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
27058 * sysdeps/i386/fpu/e_atanh.S: Likewise.
27059 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27060 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27061 * sysdeps/i386/fpu/e_exp10.S: Likewise.
27062 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
27063 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
27064 * sysdeps/i386/fpu/e_exp2.S: Likewise.
27065 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
27066 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
27067 * sysdeps/i386/fpu/e_fmod.S: Likewise.
27068 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
27069 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
27070 * sysdeps/i386/fpu/e_hypot.S: Likewise.
27071 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
27072 * sysdeps/i386/fpu/e_log.S: Likewise.
27073 * sysdeps/i386/fpu/e_log10.S: Likewise.
27074 * sysdeps/i386/fpu/e_log10f.S: Likewise.
27075 * sysdeps/i386/fpu/e_log10l.S: Likewise.
27076 * sysdeps/i386/fpu/e_log2.S: Likewise.
27077 * sysdeps/i386/fpu/e_log2f.S: Likewise.
27078 * sysdeps/i386/fpu/e_log2l.S: Likewise.
27079 * sysdeps/i386/fpu/e_logf.S: Likewise.
27080 * sysdeps/i386/fpu/e_logl.S: Likewise.
27081 * sysdeps/i386/fpu/e_pow.S: Likewise.
27082 * sysdeps/i386/fpu/e_powf.S: Likewise.
27083 * sysdeps/i386/fpu/e_powl.S: Likewise.
27084 * sysdeps/i386/fpu/e_remainder.S: Likewise.
27085 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
27086 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
27087 * sysdeps/i386/fpu/e_scalb.S: Likewise.
27088 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27089 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27090 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
27091 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
27092 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
27093 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27094 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27095 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27096 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27097 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
27098 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27099 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
27100 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27101 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27102 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27103 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27104 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
27105 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27106 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27107 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27108 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27109 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27110 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27111 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27112 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27113 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27114 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
27115 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27116 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27117 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
27118 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
27119 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
27120 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
27121 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
27122 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
27123 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27124 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
27125 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27126 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
27127 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
27128 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
27129 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
27130 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
27131 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
27132 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
27133 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
27134 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
27135 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
27136 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
27137 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27138 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
27139 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
27140 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
27141 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
27142 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
27143 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
27144 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
27145 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
27146 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27147 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
27148 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
27149 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
27150 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
27151 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
27152 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
27153 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
27154 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
27155 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27156 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27157 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
27158 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
27159 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
27160 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
27161 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
27162 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
27163 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
27164 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
27165 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
27166 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
27167 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
27168 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27169 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
27170 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
27171 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27172 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
27173 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27174 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
27175 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
27176 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27177 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27178 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
27179 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27180 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
27181 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27182 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
27183 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27184 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27185 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27186 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
27187 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27188 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
27189 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
27190 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
27191 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
27192 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
27193 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
27194 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
27195 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
27196 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
27197 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27198 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27199 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27200 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27201 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
27202 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27203 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
27204 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
27205 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
27206 (__isnanf): Likewise.
27207 (__isinf_ns): Likewise.
27208 (__isinf_nsf): Likewise.
27209 (__finite): Likewise.
27210 (__finitef): Likewise.
27211 (__ieee754_sqrt): Define as macro.
27212 (__ieee754_sqrtf): Define as macro.
27213 (__ieee754_sqrtl): Define as macro.
27214 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
27215 inlined copy.
27216 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
27217 __FINITE_MATH_ONLY__ consistent.
27218 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
27219
12cc2fcd
AS
272202011-10-10 Andreas Schwab <schwab@linux-m68k.org>
27221
a843a204
AS
27222 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
27223 of rawmemchr.
27224
12cc2fcd
AS
27225 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
27226
c853acd5
UD
272272011-10-09 Ulrich Drepper <drepper@gmail.com>
27228
27229 * po/ja.po: Update from translation team.
27230
c658d255
RM
272312011-10-08 Roland McGrath <roland@hack.frob.com>
27232
110946e4
RM
27233 * locale/programs/locarchive.c (prepare_address_space): New function.
27234 (create_archive, enlarge_archive, open_archive): Use it.
27235
50604220
RM
27236 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
27237 inside [SHARED], where it is used.
27238
c658d255
RM
27239 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
27240
27241 * nss/getent.c (netgroup_keys): Remove unused variable.
27242 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
27243
6a621eb7
UD
272442011-10-08 Ulrich Drepper <drepper@gmail.com>
27245
7edb55ce
UD
27246 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
27247 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
27248 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
27249 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
27250 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
27251 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
27252 * math/Makefile (libm-calls): Add s_isinf_ns.
27253 * math/divtc3.c: Use __isinf_nsl instead of isinf.
27254 * math/multc3.c: Likewise.
27255 * math/s_casin.c: Likewise.
27256 * math/s_casinf.c: Likewise.
27257 * math/s_casinl.c: Likewise.
27258 * math/s_ccos.c: Likewise.
27259 * math/s_ccosf.c: Likewise.
27260 * math/s_ccosl.c: Likewise.
27261 * math/s_ctan.c: Likewise.
27262 * math/s_ctanf.c: Likewise.
27263 * math/s_ctanh.c: Likewise.
27264 * math/s_ctanhf.c: Likewise.
27265 * math/s_ctanhl.c: Likewise.
27266 * math/s_ctanl.c: Likewise.
27267 * math/w_fmod.c: Likewise.
27268 * math/w_fmodf.c: Likewise.
27269 * math/w_fmodl.c: Likewise.
27270 * math/w_remainder.c: Likewise.
27271 * math/w_remainderf.c: Likewise.
27272 * math/w_remainderl.c: Likewise.
27273 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
27274 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
27275 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
27276 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
27277 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
27278 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
27279 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
27280 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
27281
187da0ae
UD
27282 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
27283 of the number.
27284 * stdio-common/printf_fphex.c: Likewise.
27285 * stdio-common/printf_size.c: Likewise.
27286
9277c064
UD
27287 * math/e_exp10.c: Include math_private.h using <...> not "...".
27288 * math/e_exp10f.c: Likewise.
27289 * math/e_exp10l.c: Likewise.
27290 * math/e_exp2l.c: Likewise.
27291 * math/e_j0l.c: Likewise.
27292 * math/e_j1l.c: Likewise.
27293 * math/e_jnl.c: Likewise.
27294 * math/e_lgammal_r.c: Likewise.
27295 * math/e_rem_pio2l.c: Likewise.
27296 * math/e_scalb.c: Likewise.
27297 * math/e_scalbf.c: Likewise.
27298 * math/e_scalbl.c: Likewise.
27299 * math/k_cosl.c: Likewise.
27300 * math/k_sinl.c: Likewise.
27301 * math/k_tanl.c: Likewise.
27302 * math/s_cacoshf.c: Likewise.
27303 * math/s_catan.c: Likewise.
27304 * math/s_catanf.c: Likewise.
27305 * math/s_catanh.c: Likewise.
27306 * math/s_catanhf.c: Likewise.
27307 * math/s_catanhl.c: Likewise.
27308 * math/s_catanl.c: Likewise.
27309 * math/s_ccosh.c: Likewise.
27310 * math/s_ccoshf.c: Likewise.
27311 * math/s_ccoshl.c: Likewise.
27312 * math/s_cexp.c: Likewise.
27313 * math/s_cexpf.c: Likewise.
27314 * math/s_cexpl.c: Likewise.
27315 * math/s_clog.c: Likewise.
27316 * math/s_clog10.c: Likewise.
27317 * math/s_clog10f.c: Likewise.
27318 * math/s_clog10l.c: Likewise.
27319 * math/s_clogf.c: Likewise.
27320 * math/s_clogl.c: Likewise.
27321 * math/s_csin.c: Likewise.
27322 * math/s_csinf.c: Likewise.
27323 * math/s_csinh.c: Likewise.
27324 * math/s_csinhf.c: Likewise.
27325 * math/s_csinhl.c: Likewise.
27326 * math/s_csinl.c: Likewise.
27327 * math/s_csqrt.c: Likewise.
27328 * math/s_csqrtf.c: Likewise.
27329 * math/s_csqrtl.c: Likewise.
27330 * math/s_ctan.c: Likewise.
27331 * math/s_ctanf.c: Likewise.
27332 * math/s_ctanh.c: Likewise.
27333 * math/s_ctanhf.c: Likewise.
27334 * math/s_ctanhl.c: Likewise.
27335 * math/s_ctanl.c: Likewise.
27336 * math/s_ldexp.c: Likewise.
27337 * math/s_ldexpf.c: Likewise.
27338 * math/s_ldexpl.c: Likewise.
27339 * math/s_significand.c: Likewise.
27340 * math/s_significandf.c: Likewise.
27341 * math/s_significandl.c: Likewise.
27342 * math/w_acos.c: Likewise.
27343 * math/w_acosf.c: Likewise.
27344 * math/w_acosh.c: Likewise.
27345 * math/w_acoshf.c: Likewise.
27346 * math/w_acoshl.c: Likewise.
27347 * math/w_acosl.c: Likewise.
27348 * math/w_asin.c: Likewise.
27349 * math/w_asinf.c: Likewise.
27350 * math/w_asinl.c: Likewise.
27351 * math/w_atan2.c: Likewise.
27352 * math/w_atan2f.c: Likewise.
27353 * math/w_atan2l.c: Likewise.
27354 * math/w_atanh.c: Likewise.
27355 * math/w_atanhf.c: Likewise.
27356 * math/w_atanhl.c: Likewise.
27357 * math/w_cosh.c: Likewise.
27358 * math/w_coshf.c: Likewise.
27359 * math/w_coshl.c: Likewise.
27360 * math/w_dremf.c: Likewise.
27361 * math/w_exp10.c: Likewise.
27362 * math/w_exp10f.c: Likewise.
27363 * math/w_exp10l.c: Likewise.
27364 * math/w_exp2.c: Likewise.
27365 * math/w_exp2f.c: Likewise.
27366 * math/w_fmod.c: Likewise.
27367 * math/w_fmodf.c: Likewise.
27368 * math/w_fmodl.c: Likewise.
27369 * math/w_hypot.c: Likewise.
27370 * math/w_hypotf.c: Likewise.
27371 * math/w_hypotl.c: Likewise.
27372 * math/w_j0.c: Likewise.
27373 * math/w_j0f.c: Likewise.
27374 * math/w_j0l.c: Likewise.
27375 * math/w_j1.c: Likewise.
27376 * math/w_j1f.c: Likewise.
27377 * math/w_j1l.c: Likewise.
27378 * math/w_jn.c: Likewise.
27379 * math/w_jnf.c: Likewise.
27380 * math/w_jnl.c: Likewise.
27381 * math/w_lgamma.c: Likewise.
27382 * math/w_lgamma_r.c: Likewise.
27383 * math/w_lgammaf.c: Likewise.
27384 * math/w_lgammaf_r.c: Likewise.
27385 * math/w_lgammal.c: Likewise.
27386 * math/w_lgammal_r.c: Likewise.
27387 * math/w_log.c: Likewise.
27388 * math/w_log10.c: Likewise.
27389 * math/w_log10f.c: Likewise.
27390 * math/w_log10l.c: Likewise.
27391 * math/w_log2.c: Likewise.
27392 * math/w_log2f.c: Likewise.
27393 * math/w_log2l.c: Likewise.
27394 * math/w_logf.c: Likewise.
27395 * math/w_logl.c: Likewise.
27396 * math/w_pow.c: Likewise.
27397 * math/w_powf.c: Likewise.
27398 * math/w_powl.c: Likewise.
27399 * math/w_remainder.c: Likewise.
27400 * math/w_remainderf.c: Likewise.
27401 * math/w_remainderl.c: Likewise.
27402 * math/w_scalb.c: Likewise.
27403 * math/w_scalbf.c: Likewise.
27404 * math/w_scalbl.c: Likewise.
27405 * math/w_sinh.c: Likewise.
27406 * math/w_sinhf.c: Likewise.
27407 * math/w_sinhl.c: Likewise.
27408 * math/w_sqrt.c: Likewise.
27409 * math/w_sqrtf.c: Likewise.
27410 * math/w_sqrtl.c: Likewise.
27411 * math/w_tgamma.c: Likewise.
27412 * math/w_tgammaf.c: Likewise.
27413 * math/w_tgammal.c: Likewise.
27414
6a621eb7
UD
27415 * po/ja.po: Update from translation team.
27416
bf582445
AJ
274172011-09-29 Andreas Jaeger <aj@suse.de>
27418
f9efbf3a
AJ
27419 [BZ #13179]
27420 * sunrpc/netname.c (netname2host): Fix logic.
27421
bf582445
AJ
27422 [BZ #6779]
27423 [BZ #6783]
27424 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
27425 correctly.
27426 * math/w_remainder.c (__remainder): Likewise.
27427 * math/w_remainderf.c (__remainderf): Likewise.
27428 * math/libm-test.inc (remainder_test): Add test cases.
27429
48693bea
AK
274302011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27431
27432 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
27433 sdiv_qrnnd.
27434
42622229
LD
274352011-10-07 Ulrich Drepper <drepper@gmail.com>
27436
27437 * string/test-memcmp.c: Avoid unncessary #defines.
27438 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27439
093ecf92
LD
274402011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27441
27442 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
27443 Use new sse2 version for core i3 - i7 as it's faster
27444 than sse42 version.
27445 (bit_Prefer_PMINUB_for_stringop): New.
27446 * sysdeps/x86_64/rawmemchr.S: Update.
27447 Replace with faster SSE2 version.
27448 * sysdeps/x86_64/memrchr.S: New file.
27449 * sysdeps/x86_64/memchr.S: Update.
27450 Replace with faster SSE2 version.
27451
fde56e5c
MP
274522011-09-12 Marek Polacek <mpolacek@redhat.com>
27453
27454 * elf/dl-load.c (lose): Add cast to avoid warning.
27455
21fd49a9
UD
274562011-10-07 Ulrich Drepper <drepper@gmail.com>
27457
5a06e643
UD
27458 * po/ca.po: Update from translation team.
27459
684ae515
UD
27460 * inet/getnetgrent_r.c: Hook up nscd.
27461 * nscd/Makefile (routines): Add nscd_netgroup.
27462 (nscd-modules): Add netgroupcache.
27463 (CFLAGS-netgroupcache.c): Define.
27464 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
27465 (cache_search): Add const to second parameter.
27466 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
27467 INNETGR.
27468 (dbs): Add netgrdb entry.
27469 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
27470 (verify_persistent_db): Handle netgrdb.
27471 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
27472 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
27473 GETFDNETGR.
27474 (netgroup_response_header): Define.
27475 (innetgroup_response_header): Define.
27476 (datahead): Add netgroup_response_header and innetgroup_response_header
27477 elements.
27478 * nscd/nscd.conf: Add entries for netgroup cache.
27479 * nscd/nscd.h (dbtype): Add netgrdb.
27480 (_PATH_NSCD_NETGROUP_DB): Define.
27481 (netgroup_iov_disabled): Declare.
27482 (xmalloc, xcalloc, xrealloc): Move declarations here.
27483 (cache_search): Adjust prototype.
27484 Add netgroup-related prototypes.
27485 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
27486 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
27487 (__nscd_innetgr): Declare.
27488 * nscd/selinux.c (perms): Use access_vector_t as element type and
27489 add netgroup-related initializers.
27490 * nscd/netgroupcache.c: New file.
27491 * nscd/nscd_netgroup.c: New file.
27492 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
27493 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
27494 For four parameters use innetgr.
27495 * nss/nss_files/files-init.c: Add definition and callback for netgr.
27496 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
27497 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
27498 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
27499
21fd49a9
UD
27500 * nscd/connections.c (register_traced_file): Don't register file
27501 for disabled databases.
27502
054c0457
UD
275032011-10-06 Ulrich Drepper <drepper@gmail.com>
27504
32b63198
UD
27505 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
27506
054c0457
UD
27507 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
27508 from tree and freeing node.
27509
64031225
JO
275102011-09-25 Jiri Olsa <jolsa@redhat.com>
27511
27512 * nss/nsswitch.c (__nss_database_lookup): Handle
27513 nss_parse_service_list out of memory case.
27514
0490345c
JO
275152011-09-15 Jiri Olsa <jolsa@redhat.com>
27516
27517 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
27518 out of memory case.
27519
3a62d00d
AS
275202011-10-04 Andreas Schwab <schwab@redhat.com>
27521
27522 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
27523 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
27524 pass it down.
27525 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
27526 elf_machine_rela, elf_machine_lazy_rel.
27527 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
27528 (ELF_DYNAMIC_DO_REL): Likewise.
27529 (ELF_DYNAMIC_DO_RELA): Likewise.
27530 (ELF_DYNAMIC_RELOCATE): Likewise.
27531 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
27532 to ELF_DYNAMIC_DO_REL.
27533 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
27534 (dl_main): In trace mode always set __RTLD_NOIFUNC.
27535 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
27536 elf_machine_rela.
27537 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
27538 skip_ifunc, don't call ifunc function if non-zero.
27539 (elf_machine_rela): Likewise.
27540 (elf_machine_lazy_rel): Likewise.
27541 (elf_machine_lazy_rela): Likewise.
27542 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
27543 (elf_machine_lazy_rel): Likewise.
27544 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
27545 Likewise.
27546 (elf_machine_lazy_rel): Likewise.
27547 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27548 Likewise.
27549 (elf_machine_lazy_rel): Likewise.
27550 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
27551 (elf_machine_lazy_rel): Likewise.
27552 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
27553 (elf_machine_lazy_rel): Likewise.
27554 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27555 (elf_machine_lazy_rel): Likewise.
27556 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
27557 (elf_machine_lazy_rel): Likewise.
27558 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
27559 (elf_machine_lazy_rel): Likewise.
27560 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
27561 (elf_machine_lazy_rel): Likewise.
27562
68577918
UD
275632011-09-28 Ulrich Drepper <drepper@gmail.com>
27564
27565 * nss/nss_files/files-init.c (_nss_files_init): Use static
27566 initialization for all the *_traced_file variables.
27567
68822d74
AS
275682011-09-28 Andreas Schwab <schwab@redhat.com>
27569
27570 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27571
2056100b
RM
275722011-09-27 Roland McGrath <roland@hack.frob.com>
27573
27574 [BZ #13226]
27575 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
27576
32c76b63
AS
275772011-09-27 Andreas Schwab <schwab@redhat.com>
27578
27579 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27580 Reread the line before reparsing it.
27581
bf972c9d
AS
275822011-09-26 Andreas Schwab <schwab@redhat.com>
27583
27584 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
27585
e057a1b5
JM
275862011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
27587 Maxim Kuvyrkov <maxim@codesourcery.com>
27588 Joseph Myers <joseph@codesourcery.com>
27589
27590 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
27591 if needed for __stack_chk_guard.
27592
bc7e1c36
RM
275932011-09-19 Roland McGrath <roland@hack.frob.com>
27594
ecb1482f
RM
27595 * sysdeps/posix/spawni.c (script_execute): Always define it.
27596 It will be optimized away if unused.
27597 (maybe_script_execute): New function.
27598 (__spawni): Call it.
27599
bc7e1c36
RM
27600 * Makerules: Don't include tls.make.
27601 (config-tls): Always set to thread.
27602 * tls.make.c: File removed.
27603
1c3b002b
MF
276042011-09-19 Mike Frysinger <vapier@gentoo.org>
27605
27606 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
27607 * config.make.in (CPPFLAGS-config): New substituted variable.
27608
2840865d
UD
276092011-09-15 Ulrich Drepper <drepper@gmail.com>
27610
88738eb6
UD
27611 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
27612
cbf645a6 27613 [BZ #13192]
2840865d
UD
27614 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
27615 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
27616
b402e91a
RM
276172011-09-15 Roland McGrath <roland@hack.frob.com>
27618
27619 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
27620 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
27621 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27622 (CALL_FAIL): Likewise.
27623 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
27624 (CALL_FAIL): Macro removed.
27625 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
27626
4c1a1f71
UD
276272011-09-15 Ulrich Drepper <drepper@gmail.com>
27628
27629 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
27630 for __FINITE_MATH_ONLY__ == 1.
27631
edc121be
AS
276322011-09-15 Andreas Schwab <schwab@redhat.com>
27633
27634 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
27635 __ieee754_sqrt instead of sqrt.
27636 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
27637 __ieee754_sqrtf instead of sqrtf.
27638 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
27639 __floorf instead of floorf.
27640 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
27641 __floorf, __truncf instead of floorf, truncf.
27642
cd205654
UD
276432011-09-14 Ulrich Drepper <drepper@gmail.com>
27644
ee4d0315
UD
27645 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
27646
cd205654
UD
27647 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
27648 __extern_always_inline.
27649 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
27650 32-bit.
27651
48b67d71
AS
276522011-09-14 Andreas Schwab <schwab@redhat.com>
27653
27654 * elf/rtld.c (dl_main): Also relocate in dependency order when
27655 doing symbol dependency testing.
27656
1ae12c75
AS
276572011-09-13 Andreas Schwab <schwab@linux-m68k.org>
27658
27659 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27660 Always define `refsym'.
27661
995a80df
AS
276622011-09-13 Andreas Schwab <schwab@redhat.com>
27663
e529793b
AS
27664 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
27665 (__FD_ELT): Renamed from __FDELT.
27666 * misc/bits/select2.h (__FD_ELT): Likewise.
27667 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
27668 __FD_MASK instead of __FDELT, __FDMASK.
27669 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27670 Likewise.
27671 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27672 Likewise.
27673
52d4fef8
AS
27674 * elf/Makefile (gen-ldd): Fix pattern.
27675
995a80df
AS
27676 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
27677 (init_tls): Likewise.
27678
8682f8b0
UD
276792011-09-12 Ulrich Drepper <drepper@gmail.com>
27680
27681 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
27682
de82006d
AS
276832011-09-12 Andreas Schwab <schwab@redhat.com>
27684
a7c8e6a1
AS
27685 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
27686 `struct cmsghdr *' instead of `void *'.
27687 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
27688 Likewise.
27689
0f31fe77
AS
276902011-09-11 Andreas Schwab <schwab@linux-m68k.org>
27691
27692 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
27693 if non-absolute.
27694 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
27695 ldd_rewrite_script.
0f31fe77 27696
32b4c839
UD
276972011-09-11 Ulrich Drepper <drepper@gmail.com>
27698
83cd1420
UD
27699 * configure.in: Remove --with-tls option.
27700 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
27701 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
27702 out in case it is missing.
27703 * sysdeps/ia64/elf/configure.in: Likewise.
27704 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
27705 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
27706 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
27707 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
27708 * sysdeps/sh/elf/configure.in: Likewise.
27709 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
27710 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
27711 * sysdeps/x86_64/elf/configure.in: Likewise.
27712 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
27713 * sysdeps/mach/hurd/tls.h: Likewise.
27714
633f745d
UD
27715 [BZ #13067]
27716 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
27717
f318beb8
UD
27718 [BZ #13090]
27719 * configure.in: Fix use of AC_INIT.
27720
32b4c839
UD
27721 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
27722
3ce1f295
UD
277232011-09-10 Ulrich Drepper <drepper@gmail.com>
27724
bb016596
UD
27725 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
27726 __set_errno.
8e58439c
UD
27727 * malloc/hooks.c: Likewise.
27728
aebae053 27729 [BZ #11929]
02d46fc4
UD
27730 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
27731 variables statically.
27732 (narenas): Initialize.
27733 (list_lock): Initialize.
bb016596
UD
27734 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
27735 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
27736 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
27737 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
27738 Add initializers to main_arena and mp_.
27739 (malloc_state): Remove pagesize member. Change all users to use
27740 GLRO(dl_pagesize).
27741
27742 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
27743 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
27744 is always initialized.
27745
22a89187
UD
27746 * malloc/malloc.c: Removed unused configurations and dead code.
27747 * malloc/arena.c: Likewise.
27748 * malloc/hooks.c: Likewise.
02d46fc4 27749 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 27750
d063d164
UD
27751 * include/tls.h: Removed. USE___THREAD must always be defined.
27752 * bits/libc-tsd.h: Don't handle !USE___THREAD.
27753 * elf/dl-libc.c: Likewise.
27754 * elf/dl-tsd.c: Likewise.
27755 * include/errno.h: Likewise.
27756 * include/netdb.h: Likewise.
27757 * include/resolv.h: Likewise.
27758 * inet/herrno-loc.c: Likewise.
27759 * inet/herrno.c: Likewise.
27760 * malloc/arena.c: Likewise.
27761 * malloc/hooks.c: Likewise.
27762 * malloc/malloc.c: Likewise.
27763 * resolv/res-state.c: Likewise.
27764 * resolv/res_libc.c: Likewise.
27765 * sysdeps/i386/dl-machine.h: Likewise.
27766 * sysdeps/ia64/dl-machine.h: Likewise.
27767 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
27768 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
27769 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
27770 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
27771 * sysdeps/sh/dl-machine.h: Likewise.
27772 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
27773 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
27774 * sysdeps/unix/i386/sysdep.S: Likewise.
27775 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27776 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
27777 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
27778 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27779 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
27780 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27781 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27782 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27783 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27784 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27785 * sysdeps/unix/x86_64/sysdep.S: Likewise.
27786 * sysdeps/x86_64/dl-machine.h: Likewise.
27787 * tls.make.c: Likewise.
27788
3ce1f295
UD
27789 * configure.in: Remove --with-__thread option. Make tests for
27790 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
27791 tls_model attribute fail if no support is available. Remove
27792 USE_IN_LIBIO.
27793 * Makeconfig: Adjust for dropped configure option. All features are
27794 now mandatory.
27795 * Makerules: Likewise.
27796 * Versions.def: Likewise.
27797 * argp/argp-fmtstream.c: Likewise.
27798 * argp/argp-fmtstream.h: Likewise.
27799 * argp/argp-help.c: Likewise.
27800 * assert/assert.c: Likewise.
27801 * config.h.in: Likewise.
27802 * config.make.in: Likewise.
27803 * configure: Likewise.
27804 * configure.in: Likewise.
27805 * csu/Versions: Likewise.
27806 * csu/init.c: Likewise.
27807 * elf/tst-audit2.c: Likewise.
27808 * elf/tst-tls10.c: Likewise.
27809 * elf/tst-tls10.h: Likewise.
27810 * elf/tst-tls11.c: Likewise.
27811 * elf/tst-tls12.c: Likewise.
27812 * elf/tst-tls14.c: Likewise.
27813 * elf/tst-tlsmod11.c: Likewise.
27814 * elf/tst-tlsmod12.c: Likewise.
27815 * elf/tst-tlsmod13.c: Likewise.
27816 * elf/tst-tlsmod13a.c: Likewise.
27817 * elf/tst-tlsmod14a.c: Likewise.
27818 * elf/tst-tlsmod15b.c: Likewise.
27819 * elf/tst-tlsmod16a.c: Likewise.
27820 * elf/tst-tlsmod16b.c: Likewise.
27821 * elf/tst-tlsmod7.c: Likewise.
27822 * elf/tst-tlsmod8.c: Likewise.
27823 * elf/tst-tlsmod9.c: Likewise.
27824 * gmon/gmon.c: Likewise.
27825 * grp/fgetgrent_r.c: Likewise.
27826 * grp/putgrent.c: Likewise.
27827 * hurd/fopenport.c: Likewise.
27828 * include/libc-symbols.h: Likewise.
27829 * include/tls.h: Likewise.
27830 * intl/gettextP.h: Likewise.
27831 * intl/loadinfo.h: Likewise.
27832 * locale/global-locale.c: Likewise.
27833 * locale/localeinfo.h: Likewise.
27834 * mach/devstream.c: Likewise.
27835 * malloc/arena.c: Likewise.
27836 * malloc/set-freeres.c: Likewise.
27837 * misc/err.c: Likewise.
27838 * misc/getttyent.c: Likewise.
27839 * misc/mntent_r.c: Likewise.
27840 * posix/getopt.c: Likewise.
27841 * posix/wordexp.c: Likewise.
27842 * pwd/fgetpwent_r.c: Likewise.
27843 * resolv/Versions: Likewise.
27844 * resolv/res_hconf.c: Likewise.
27845 * shadow/fgetspent_r.c: Likewise.
27846 * shadow/putspent.c: Likewise.
27847 * stdio-common/printf_fphex.c: Likewise.
27848 * stdio-common/tmpfile.c: Likewise.
27849 * stdlib/abort.c: Likewise.
27850 * stdlib/fmtmsg.c: Likewise.
27851 * sunrpc/auth_unix.c: Likewise.
27852 * sunrpc/clnt_perr.c: Likewise.
27853 * sunrpc/clnt_tcp.c: Likewise.
27854 * sunrpc/clnt_udp.c: Likewise.
27855 * sunrpc/clnt_unix.c: Likewise.
27856 * sunrpc/openchild.c: Likewise.
27857 * sunrpc/svc_simple.c: Likewise.
27858 * sunrpc/svc_tcp.c: Likewise.
27859 * sunrpc/svc_udp.c: Likewise.
27860 * sunrpc/svc_unix.c: Likewise.
27861 * sunrpc/xdr.c: Likewise.
27862 * sunrpc/xdr_array.c: Likewise.
27863 * sunrpc/xdr_rec.c: Likewise.
27864 * sunrpc/xdr_ref.c: Likewise.
27865 * sunrpc/xdr_stdio.c: Likewise.
27866
1248c1c4
PB
278672011-09-09 Ulrich Drepper <drepper@gmail.com>
27868
27869 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27870
278712011-07-03 Andreas Jaeger <aj@suse.de>
27872
27873 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
27874 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
27875 regenerate with gen-libm-tests.pl.
27876
278772010-05-12 Petr Baudis <pasky@suse.cz>
27878
27879 [BZ #11589]
27880 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
27881 around j0() zero points by switching to j1().
27882 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27883 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27884 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27885 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27886
f22e1074
UD
278872011-09-09 Ulrich Drepper <drepper@gmail.com>
27888
f19009c1
UD
27889 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
27890 instead of 0.
27891 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 27892 instead of 0.
f19009c1
UD
27893 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27894 Patch in part by Pavel Roskin <proski@gnu.org>.
27895
3f8cc204
UD
27896 [BZ #13138]
27897 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
27898 realloc.
27899 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
27900 Free memory block if necessary.
27901
f22e1074
UD
27902 [BZ #12847]
27903 * libio/genops.c (INTDEF): For string streams the _lock pointer can
27904 be NULL. Don't lock in this case.
27905
0a2349f9
RM
279062011-09-09 Roland McGrath <roland@hack.frob.com>
27907
27908 * elf/elf.h (ELFOSABI_GNU): New macro.
27909 (ELFOSABI_LINUX): Define to that.
27910
f3cdd467
DZ
279112011-07-29 Denis Zaitceff <zaitceff@gmail.com>
27912
27913 * string/strncat.c (strncat): Undef the symbol in case it has been
27914 defined in bits/string.h.
27915
74718d13
UD
279162011-09-09 Ulrich Drepper <drepper@gmail.com>
27917
633e9e0f
UD
27918 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
27919
0a2349f9 27920 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
27921 link map.
27922
f9924780
AJ
279232011-08-17 Andreas Jaeger <aj@suse.de>
27924
27925 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
27926
7f5517aa
PP
279272011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
27928 Ian Lance Taylor <iant@google.com>
27929
27930 * math/libm-test.inc (lround_test): New testcase.
27931 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
27932
762011fe
UD
279332011-09-08 Ulrich Drepper <drepper@gmail.com>
27934
92963737
UD
27935 * Makefile: Remove support for automatic cvs check-ins.
27936 * Makerules: Likewise.
27937 * config.make.in: Likewise.
27938 * configure.in: Likewise.
27939 * intl/Makefile: Likewise.
27940 * locale/Makefile: Likewise.
27941 * po/Makefile: Likewise.
27942 * posix/Makefile: Likewise.
27943 * sysdeps/gnu/Makefile: Likewise.
27944 * sysdeps/mach/hurd/Makefile: Likewise.
27945 * sysdeps/sparc/sparc32/Makefile: Likewise.
27946
b0727fd8
JS
27947 [BZ #13118]
27948 * posix/Makefile (bug-regex32-ENV): Define.
27949 Patch by John Stanley <jpsinthemix@verizon.net>.
27950
a0f33f99
UD
27951 * misc/Makefile (headers): Add bits/select2.h.
27952 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
27953 * misc/bits/select2.h: New file.
27954 * include/bits/select2.h: New file.
27955 * debug/Makefile (routines): Add fdelt_chk.
27956 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
27957 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
27958 FD_ISSET.
27959 * debug/fdelt_chk.c: New file.
27960
762011fe
UD
27961 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
27962 * wcsmbs/test-wmemcmp.c: Likewise.
27963 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 27964 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
27965
279662011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27967
27968 * string/Makefile (strop-tests): Add memcmp.
27969 * string/test-wmemcmp.c: New file.
27970 * string/test-memcmp.c: Add wmemcmp support.
27971
7f513ec8
RM
279722011-09-08 Roland McGrath <roland@hack.frob.com>
27973
0442afb4
RM
27974 [BZ #13153]
27975 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
27976 2011-07-19 change.
27977
7f513ec8
RM
27978 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
27979 garbage value in a __mach_port_mod_refs call in the cases of the
27980 task-self and thread-self ports.
27981
a12b2239
ST
279822011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
27983
27984 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
27985
610f9ab4
AS
279862011-09-08 Andreas Schwab <schwab@redhat.com>
27987
7f513ec8 27988 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 27989
48882a1a
LD
279902011-09-07 Ulrich Drepper <drepper@gmail.com>
27991
b49865be
UD
27992 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
27993
fdc86bc9
UD
27994 * elf/dl-libc.c (dlerror_run): Pass back error code from
27995 dl_catch_error.
27996
c966526a
UD
27997 [BZ #13123]
27998 * elf/dl-load.c (lose): Free l_origin if it is valid.
27999
48882a1a
LD
28000 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
28001 names.
28002 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
28003 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28004 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28005 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28006 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
28007 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
28008
77a2a8b4
AZ
280092011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28010
28011 * sysdeps/powerpc/fpu/e_hypot.c: New file.
28012 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
28013 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
28014 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
28015 * sysdeps/powerpc/fpu/k_cosf.c: New file.
28016 * sysdeps/powerpc/fpu/k_sinf.c: New file.
28017 * sysdeps/powerpc/fpu/s_cosf.c: New file.
28018 * sysdeps/powerpc/fpu/s_sinf.c: New file.
28019 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
28020 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
28021
24f579d8
AM
280222011-08-15 Alan Modra <amodra@gmail.com>
28023
28024 [BZ #13092]
28025 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
28026 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
28027 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
28028 ppc_mcount to static-only-routines.
28029 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
28030 __mcount_internal.
28031 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
28032 __mcount_internal with usual JUMPTARGET. Remove useless nop.
28033
3d4837df
UD
280342011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
28035
28036 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
28037 for finite and infinity parameters.
28038
22700377
WS
280392011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
28040
28041 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
28042 and add nop instructions for throughput optimization.
28043 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
28044
5025581e
WS
280452011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
28046
28047 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
28048 aligned copy for power7 with vector-scalar instructions.
28049 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
28050
08a300c9
L
280512011-07-24 H.J. Lu <hongjiu.lu@intel.com>
28052
28053 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
28054 AVX check.
28055
59178ef9
AS
280562011-09-07 Andreas Schwab <schwab@redhat.com>
28057
28058 [BZ #13144]
28059 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
28060 last change.
28061
e38ba7ab
UD
280622011-09-07 Ulrich Drepper <drepper@gmail.com>
28063
28064 * sysdeps/unix/sysv/linux/x86_64/init-first.c
28065 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
28066 syscall wrapper around clock_gettime in __vdso_clock_gettime.
28067 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
28068 clock_gettime.
28069
d53a73ac
UD
280702011-09-06 Ulrich Drepper <drepper@gmail.com>
28071
fc8bffcc
UD
28072 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
28073 Forgot to demangle the pointer.
28074
ceaa0c5d
UD
28075 * sysdeps/i386/sysdep.h: Define atom_text_section.
28076 * sysdeps/x86_64/sysdep.h: Likewise.
28077 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
28078 section with atom_text_section.
28079 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
28080 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
28081 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
28082 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28083 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
28084
a77d3c17
UD
28085 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
28086 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
28087 already be defined. Change to take two parameters and don't assign
28088 result to variable. Adjust all users.
28089 Define INTERNAL_GETTIME if not already defined.
28090 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
28091 call.
28092 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
28093 HAVE_CLOCK_GETTIME_VSYSCALL.
28094 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
28095
d53a73ac
UD
28096 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
28097 gettimeofday vsyscall, just use time.
28098
a8f84144
AS
280992011-09-06 Andreas Schwab <schwab@redhat.com>
28100
28101 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
28102 <errno.h>.
28103
ef606249
UD
281042011-09-06 Ulrich Drepper <drepper@gmail.com>
28105
28106 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
28107 syscall on x86-64.
28108 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
28109 syscall.
28110 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
28111 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
28112 syscall if possible.
28113
6585cb60
UD
281142011-09-05 Ulrich Drepper <drepper@gmail.com>
28115
28116 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
28117 e_ident. Don't pass to find_mapsXX.
28118 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
28119
a5f524e4
LD
281202011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28121
28122 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28123 strchr-sse2-no-bsf strrchr-sse2-no-bsf
28124 * sysdeps/x86_64/multiarch/strchr.S: Update.
28125 Check bit_slow_BSF bit.
28126 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
28127 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
28128 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
28129
554881ef
UD
281302011-09-05 Ulrich Drepper <drepper@gmail.com>
28131
d96de963
UD
28132 [BZ #13134]
28133 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
28134 before glibc 2.15.
28135 (tryshell): Define.
28136 (__spawni): Change last parameter to be flag. Test
28137 SPAWN_XFLAGS_USE_PATH flag to use path or not.
28138 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
28139 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
28140 * posix/spawni.c: Likewise.
28141 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
28142 * posix/spawnp.c: Likewise. Change normal version to use
28143 SPAWN_XFLAGS_USE_PATH.
28144 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
28145 SPAWN_XFLAGS_TRY_SHELL.
28146
d48e5868
UD
28147 [BZ #13150]
28148 * posix/glob.h: Remove gcc 1.x support.
28149
554881ef
UD
28150 [BZ #13068]
28151 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
28152
693fb948
LD
281532011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28154
28155 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28156 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
28157 strrchr-sse2-bsf
28158 * sysdeps/i386/i686/multiarch/strchr.S: New file.
28159 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
28160 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
28161 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
28162 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
28163 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
28164
1b48c537
UD
281652011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28166
49d42c37
UD
28167 * sysdeps/x86_64/wcscmp.S: New file.
28168
1b48c537
UD
28169 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
28170 wcscmp-c wcscmp-sse2
28171 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
28172 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
28173 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
28174 * wcsmbs/wcscmp.c: Allow renaming.
28175
15c95c5d
DM
281762011-09-05 David S. Miller <davem@davemloft.net>
28177
28178 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
28179 stack slot, rather than the struct return pointer slot.
28180 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
28181 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
28182 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
28183 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
28184
2f0ad8f3
UD
281852011-09-05 Ulrich Drepper <drepper@gmail.com>
28186
d88ae418
UD
28187 * po/ja.po: Update from translation team.
28188
2f0ad8f3
UD
28189 [BZ #13144]
28190 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
28191 kernel in 64-bit binaries.
28192
5f4318d1
DM
281932011-09-01 David S. Miller <davem@davemloft.net>
28194
28195 * elf/elf.h (HWCAP_SPARC_*): Move to..
28196 * sysdeps/sparc/sysdep.h: this new file and add new values.
28197 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
28198 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
28199 _DL_HWCAP_COUNT to 24.
28200 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28201 entries.
28202 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
28203 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
28204 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
28205 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
28206 instead of magic constants.
28207 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28208
3ba57516
DM
282092011-08-31 David S. Miller <davem@davemloft.net>
28210
28211 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
28212 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
28213 Reimplement to do errno handling inline.
28214 (SYSCALL_ERROR_HANDLER): New macro.
28215 (__SYSCALL_STRING): Do not do errno handling in asm.
28216 (__CLONE_SYSCALL_STRING): Delete.
28217 (__INTERNAL_SYSCALL_STRING): Delete.
28218 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
28219 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
28220 (PSEUDO): Reimplement to do errno handling inline.
28221 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
28222 (SYSCALL_ERROR_HANDLER): New macro.
28223 (__SYSCALL_STRING): Do not do errno handling in asm.
28224 (__CLONE_SYSCALL_STRING): Delete.
28225 (__INTERNAL_SYSCALL_STRING): Delete.
28226 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
28227 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
28228 i386.
28229 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
28230 (inline_syscall*): Add 'err' argument.
28231 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
28232 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
28233 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
28234 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
28235
28236 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
28237 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
28238
2bc17433
AS
282392011-08-30 Andreas Schwab <schwab@redhat.com>
28240
28241 * elf/rtld.c (dl_main): Relocate objects in dependency order.
28242
fbeb5f4d
JO
282432011-08-29 Jiri Olsa <jolsa@redhat.com>
28244
28245 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
28246 directive.
28247
ad69cc26
DM
282482011-08-24 David S. Miller <davem@davemloft.net>
28249
28250 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
28251
39dd69df
AS
282522011-08-24 Andreas Schwab <schwab@redhat.com>
28253
28254 * elf/Makefile: Add rules to build and run unload8 test.
28255 * elf/unload8.c: New file.
28256 * elf/unload8mod1.c: New file.
28257 * elf/unload8mod1x.c: New file.
28258 * elf/unload8mod2.c: New file.
28259 * elf/unload8mod3.c: New file.
28260
28261 * elf/dl-close.c (_dl_close_worker): Reset private search list if
28262 it wasn't used.
28263
2c0b250a
DM
282642011-08-23 David S. Miller <davem@davemloft.net>
28265
28266 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
28267 subtract stack bias.
28268 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
28269 %sp not %fp in calculations.
28270 (_JMPBUF_UNWINDS_ADJ): Likewise.
28271
22044b48
DM
28272 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
28273 (aio_suspend): Call it to force an exception region around the
28274 AIO_MISC_WAIT() invocation.
28275
2cae4995
AS
282762011-08-23 Andreas Schwab <schwab@redhat.com>
28277
28278 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
28279 backslash.
28280
873a772e
AJ
282812011-07-04 Aurelien Jarno <aurelien@aurel32.net>
28282
28283 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
28284 protection macro.
28285 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
28286 and <dl-machine.h>.
28287 (Elf64_FuncDesc): Remove.
28288
25ad0df1
DM
282892011-08-22 David S. Miller <davem@davemloft.net>
28290
28291 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
28292 sigaltstack check, add missing cfi directives.
28293 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
28294 missing cfi directives, and sigaltstack handling.
28295
e888bcbe
AS
282962011-08-16 Andreas Schwab <schwab@redhat.com>
28297
28298 [BZ #11724]
28299 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
28300 object is seen twice.
28301 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28302
28303 * elf/Makefile (distribute): Add tst-initorder2.c.
28304 (tests): Add tst-initorder2.
28305 (modules-names): Add tst-initorder2a tst-initorder2b
28306 tst-initorder2c tst-initorder2d. Add rules to build them.
28307 ($(objpfx)tst-initorder2.out): New rule.
28308 * elf/tst-initorder2.c: New file.
28309 * elf/tst-initorder2.exp: New file.
28310
87162f46
AS
283112011-08-22 Andreas Schwab <schwab@redhat.com>
28312
70538b7f
AS
28313 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
28314
f55ffe58
AS
28315 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
28316 dependencies back to end of function.
28317
87162f46
AS
28318 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28319 $(elfobjdir)/ld.so.
28320
91b392a4
UD
283212011-08-21 Ulrich Drepper <drepper@gmail.com>
28322
28323 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
28324 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
28325 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
28326 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
28327 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
28328 of __vdso_gettimeofday.
28329 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
28330 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
28331 attribute_hidden.
28332 (_libc_vdso_platform_setup): Remove initialization of
28333 __vdso_gettimeofday and __vdso_time.
28334
5c43483f
UD
283352011-08-20 Ulrich Drepper <drepper@gmail.com>
28336
775a77e7
UD
28337 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
28338 and fgetc_unlocked.
28339 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
28340 getc_unlocked.
89f447ed 28341
49c74ba9
UD
28342 * elf/dl-open.c (add_to_global): Report additions to the global scope
28343 for LD_DEBUG=scopes.
28344 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 28345 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 28346
5c43483f
UD
28347 [BZ #13114]
28348 * stdio-common/Makefile (tests): Add bug24.
28349 * stdio-common/bug24.c: New file.
28350
a101b025
AJ
283512011-08-19 Andreas Jaeger <aj@suse.de>
28352
28353 [BZ #13114]
28354 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
28355 non-existant file when using close-on-exec mode.
28356
c88f1766
UD
283572011-08-20 Ulrich Drepper <drepper@gmail.com>
28358
0276a718
UD
28359 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
28360 the very first instruction.
28361
c88f1766
UD
28362 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
28363 the CFI state in the end.
28364 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
28365 inclusion of dl-trampoline.h.
28366 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
28367
51ccffa0
AS
283682011-08-19 Andreas Schwab <schwab@redhat.com>
28369
94d7165f
AS
28370 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
28371 expectations for long double.
28372
51ccffa0
AS
28373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
28374 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
28375
fd708658 283762011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
28377
28378 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
28379 artificual limit depends upon the system page size.
28380
44f0a71e
UD
283812011-08-17 Ulrich Drepper <drepper@gmail.com>
28382
28383 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
28384 * resolv/Makefile: Define CFLAGS-libresolv.
28385
8de79a24
AS
283862011-08-17 Andreas Schwab <schwab@redhat.com>
28387
28388 * nss/makedb.c (compute_tables): Make variables used in nested
28389 function static.
28390
27724598
UD
283912011-08-17 Ulrich Drepper <drepper@gmail.com>
28392
c5305d88
UD
28393 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
28394 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
28395 if buffer was too small.
28396
27724598
UD
28397 * elf/pldd.c (main): Attach to all threads in the process.
28398 Rewrite /proc handling to use *at functions.
28399
076fe015
UD
284002011-08-16 Ulrich Drepper <drepper@gmail.com>
28401
174baab3
UD
28402 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
28403 specifies first scope to show.
28404 (dl_open_worker): Update callers. Move printing scope of new
28405 object to before the relocation.
44f0a71e 28406 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
28407 * sysdeps/generic/ldsodefs.h: Update declaration.
28408
076fe015
UD
28409 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
28410 string for the scope number.
28411
a60df2c3
UD
284122011-08-14 Ulrich Drepper <drepper@gmail.com>
28413
28414 * nscd/servicescache.c (cache_addserv): Make sure written is always
28415 initialized.
28416
5e4287d1
RM
284172011-08-14 Roland McGrath <roland@hack.frob.com>
28418
85ae0589
RM
28419 * sysdeps/i386/i486/bits/atomic.h
28420 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
28421 statement expression, so as to suppress "set but not used" warning.
28422 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
28423
69f63097
RM
28424 * string/strncat.c (STRNCAT): Use prototype definition.
28425
675456ef
RM
28426 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
28427 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
28428 -Iprograms here.
28429 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
28430 (localedef-modules): Add localedef.
28431 (locale-modules): Add locale.
28432
5e4287d1
RM
28433 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
28434 * elf/rtld.c (dl_main): Invert order of assignment in last change,
28435 to avoid a warning.
28436
9c96ff23
DM
284372011-08-14 David S. Miller <davem@davemloft.net>
28438
28439 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
28440 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
28441
f9ddf089
UD
284422011-08-13 Ulrich Drepper <drepper@gmail.com>
28443
44f0a71e 28444 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
28445 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
28446 * elf/rtld.c (dl_main): Set l_name of vDSO.
28447 Call _dl_show_scope when DL_DEBUG_SCOPES.
28448 (process_dl_debug): Recognize scopes flag and also set it for all.
28449 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
28450 Declare _dl_show_scope.
28451
1dc27704
UD
28452 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
28453 (do_dlopen): Pass caller_dlopen to dl_open.
28454 (__libc_dlopen_mode): Initialize caller_dlopen.
28455
f9ddf089
UD
28456 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
28457 of libc. Make tolower call locale-independent. Optimize a bit by
28458 using isdigit instead of isalnum.
28459 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
28460
9ac533d3
UD
284612011-08-12 Ulrich Drepper <drepper@gmail.com>
28462
28463 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
28464 was a dependency or dynamically loaded.
28465
89edf2e9
UD
284662011-08-11 Ulrich Drepper <drepper@gmail.com>
28467
8e999d29
UD
28468 * intl/l10nflist.c: Allow architecture-specific pop function.
28469 * sysdeps/x86_64/l10nflist.c: New file.
28470
89edf2e9
UD
28471 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
28472 classification.
28473
14d96785
AS
284742011-08-10 Andreas Schwab <schwab@redhat.com>
28475
28476 * include/dirent.h: Add libc_hidden_proto for scandirat and
28477 scandirat64. Don't declare __scandirat64.
28478 * dirent/scandirat.c: Add libc_hidden_def.
28479 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
28480 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
28481
6761ac04
DM
284822011-08-10 David S. Miller <davem@davemloft.net>
28483
28484 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
28485 enum.
28486 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28487 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28488 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28489
c55fbd1e
UD
284902011-08-09 Ulrich Drepper <drepper@gmail.com>
28491
28492 * Versions.def [libc]: Add GLIBC_2.15.
28493 * dirent/Makefile (routines): Add scandirat and scandirat64.
28494 * dirent/Versions [libc]: Export scandirat and scandirat64 for
28495 GLIBC_2.15.
28496 * dirent/dirent.h: Declare scandirat and scandirat64.
28497 * dirent/scandirat.c: New file.
28498 * dirent/scandirat64.c: New file.
28499 * sysdeps/wordsize-64/scandirat.c: New file.
28500 * sysdeps/wordsize-64/scandirat64.c: New file.
28501 * dirent/opendir.c: Define opendirat.
28502 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
28503 using scandirat.
28504 * dirent/scandir64.c: Adjust for scandir.c change.
28505 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
28506 __scandirat64, and __scandir_cancel_handler.
28507 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
28508 additional parameter and use openat instead of open (outside of ld.so).
28509 Add new __opendir as wrapper around __opendirat.
28510 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
28511 here without requiring old scandirat implementation.
28512
879165f2
UD
285132011-08-08 Ulrich Drepper <drepper@gmail.com>
28514
28515 * dirent/scandir.c (cancel_handler): Renamed to
28516 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
28517 defined. Adjust users.
28518 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
28519 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
28520
cb7e923b
UD
285212011-08-04 Ulrich Drepper <drepper@gmail.com>
28522
16292edd
UD
28523 * string/test-string.h (IMPL): Use __STRING to expand name and then
28524 stringify it.
28525
cb7e923b
UD
28526 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
28527 of cleanups.
28528
cff82933
LD
285292011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28530
28531 * string/Makefile: Update.
28532 (strop-tests): Append strncat.
28533 * string/test-wcscmp.c: New file.
28534 New comprehensive test for wcscmp.
28535 * string/test-strcmp.c: Update.
28536 (WIDE): New define.
28537
9be9bfcc
AS
285382011-07-22 Andreas Schwab <schwab@redhat.com>
28539
28540 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
28541 line.
28542
2e96f1c7
AS
285432011-07-26 Andreas Schwab <schwab@redhat.com>
28544
28545 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
28546 encoding to ACE if AI_IDN.
28547
85188888
JJ
285482011-08-01 Jakub Jelinek <jakub@redhat.com>
28549
28550 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
28551 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
28552
5fa16e9b
LD
285532011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28554
28555 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
28556 Fix overflow bug in strncat.
28557 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
28558
28559 * string/test-strncat.c: Update.
28560 Add new tests for checking overflow bugs.
28561
285622011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28563
28564 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28565 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
28566 * sysdeps/i386/i686/multiarch/strcat.S: New file.
28567 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
28568 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
28569 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
28570 * sysdeps/i386/i686/multiarch/strncat.S: New file.
28571 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
28572 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
28573
28574 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
28575 (USE_AS_STRCAT): Define.
28576 Add strcat and strncat support.
28577 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28578
8c1a459f
AS
285792011-07-25 Andreas Schwab <schwab@redhat.com>
28580
28581 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
28582 __n bigger than INT_MAX+1.
28583 (__strncmp_g): Likewise.
28584
bba33c28
UD
285852011-07-23 Ulrich Drepper <drepper@gmail.com>
28586
798be72d
UD
28587 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
28588 * libio/stido.h: Likewise.
28589
8accd4dc
UD
28590 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
28591 (AF_NFC): Define.
28592 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
28593 (AF_NFC): Define.
28594
cbff0d96
UD
28595 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
28596 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28597 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28598 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
28599 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28600
9191c04a
UD
28601 [BZ #13021]
28602 * scripts/test-installation.pl: Don't expect libnss_test1 to be
28603 installed.
28604
bba33c28
UD
28605 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
28606 typo.
28607 (_dl_x86_64_save_sse): Likewise.
28608
90f139dd
UD
286092011-07-22 Ulrich Drepper <drepper@gmail.com>
28610
1aae088a
UD
28611 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
28612 OSXSAVE.
28613 (_dl_x86_64_save_sse): Likewise.
28614
8e2045f5
UD
28615 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
28616
90f139dd
UD
28617 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
28618
1d002f25
AS
286192011-07-21 Andreas Schwab <schwab@redhat.com>
28620
28621 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
28622 change.
28623 (_dl_x86_64_save_sse): Use correct AVX check.
28624
21137f89
UD
286252011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28626
28627 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
28628 bug in strncpy/strncat.
28629 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
28630
a65c0b7a
UD
286312011-07-21 Ulrich Drepper <drepper@gmail.com>
28632
28633 * string/tester.c (test_strcat): Add tests for different alignments
28634 of source and destination.
28635 (test_strncat): Likewise.
28636
6986b98a
UD
286372011-07-20 Ulrich Drepper <drepper@gmail.com>
28638
90bb2039
UD
28639 [BZ #12852]
28640 * posix/glob.c (glob): Check passed in values before using them in
28641 expressions to avoid some overflows.
28642 (glob_in_dir): Likewise.
28643
5644ef54
UD
28644 [BZ #13007]
28645 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
28646 check for AVX enablement so that we don't crash with old kernels and
28647 new hardware.
28648 * elf/tst-audit4.c: Add same checks here.
28649 * elf/tst-audit6.c: Likewise.
28650
28651 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 28652
bfc9dc9b
AS
286532011-07-09 Andreas Schwab <schwab@linux-m68k.org>
28654
28655 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
28656
702e64bb
UD
286572011-07-20 Ulrich Drepper <drepper@gmail.com>
28658
28659 * po/cs.po: Update from translation team.
28660 * po/bg.po: Likewise.
28661
295e904f
MP
286622011-07-12 Marek Polacek <mpolacek@redhat.com>
28663
28664 * misc/sys/cdefs.h: Add support for const attribute.
28665 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
28666 to gnu_dev_{major,minor,makedev} functions.
28667
3ff94596
MP
286682011-07-20 Marek Polacek <mpolacek@redhat.com>
28669
28670 * intl/dcigettext.c (get_output_charset): Add missing bracket.
28671
28b59fca
AS
286722011-07-20 Andreas Schwab <schwab@redhat.com>
28673
28674 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
28675 strlen results.
28676
19df733e
AK
286772011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28678
28679 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
28680 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
28681 register in order to avoid conflicts with the soft frame pointer
28682 being held in r11 when necessary.
28683 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
28684 (INTERNAL_VSYSCALL_NCS): Likewise.
28685
c8835729
MP
286862011-07-14 Marek Polacek <mpolacek@redhat.com>
28687
28688 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
28689 * elf/dl-fini.c (_dl_fini): Adjust caller.
28690 * elf/dl-close.c (_dl_close_worker): Likewise.
28691 * sysdeps/generic/ldsodefs.h: Adjust declaration.
28692
b902330c
MP
286932011-07-15 Marek Polacek <mpolacek@redhat.com>
28694
8991e135
MP
28695 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
28696 "aux_cache->nlibs < 0".
28697
b902330c
MP
28698 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
28699 in the reload-count case.
28700
99710781
LD
287012011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28702
28703 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28704 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
28705 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
28706 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
28707 * sysdeps/x86_64/multiarch/strcat.S: New file.
28708 * sysdeps/x86_64/multiarch/strncat.S: New file.
28709 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
28710 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
28711 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
28712 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
28713 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
28714 (USE_AS_STRCAT): Define.
28715 Add strcat and strncat support.
28716 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28717 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
28718 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
28719 * string/strncat.c: Update.
28720 (USE_AS_STRNCAT): Define.
28721 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28722 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
28723 and i7.
28724 * sysdeps/x86_64/multiarch/init-arch.h
28725 (bit_Prefer_PMINUB_for_stringop): New.
28726 (index_Prefer_PMINUB_for_stringop): Likewise.
28727 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
28728 bit_Prefer_PMINUB_for_stringop.
28729
7dc6bd90
UD
287302011-07-19 Ulrich Drepper <drepper@gmail.com>
28731
28732 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
28733 buffer64.
28734 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
28735 of casting of buffer.
28736 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
28737 buffer32 and buffer64.
28738 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
28739 writes instead of casting of buffer.
28740 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
28741 buffer32.
28742 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
28743 casting of buffer.
28744
e0e72284
AS
287452011-07-19 Andreas Schwab <schwab@redhat.com>
28746
28747 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
28748
feb1eb0b
UD
287492011-07-19 Ulrich Drepper <drepper@gmail.com>
28750
28751 * nscd/nscd.c (termination_handler): Don't do anything for a database
28752 if it has not yet been initialized.
28753
298711ff
UD
287542011-07-18 Ulrich Drepper <drepper@gmail.com>
28755
28756 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28757
287582011-07-15 Marek Polacek <mpolacek@redhat.com>
28759
28760 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28761
f9d68389
UD
287622011-07-18 Ulrich Drepper <drepper@gmail.com>
28763
28764 * po/nl.po: Update from translation team.
28765 * po/sv.po: Likewise.
28766
db290cf5
RM
287672011-07-16 Roland McGrath <roland@hack.frob.com>
28768
28769 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
28770 now disallowed by GCC.
5c550700 28771
fd5e21c7
RM
28772 * configure.in (use-default-link): Default to yes if a test -shared
28773 link meets our qualifications.
28774 * configure: Regenerated.
28775
5c550700
RM
28776 * config.make.in (output-format): New variable.
28777 * configure.in: Check for ld --print-output-format support.
28778 * configure: Regenerated.
28779 * Makerules ($(common-objpfx)format.lds)
28780 [$(output-format) != unknown]: Just use $(output-format),
28781 instead of the linker-script munging.
28782
9fa2c032
RM
287832011-07-14 Roland McGrath <roland@hack.frob.com>
28784
a6928d51
RM
28785 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
28786 of $(common-objpfx)shlib.lds.
28787 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
28788
661607b3
RM
28789 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
28790 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
28791
9fa2c032
RM
28792 * configure.in (-z relro check): Adjust test code to add a large
28793 writable data section after it.
28794 * configure: Regenerated.
28795
defe9061
RM
287962011-07-11 Roland McGrath <roland@hack.frob.com>
28797
28798 * configure.in (-z relro check): Fix test code to make the variable
28799 truly const.
28800 * configure: Regenerated.
28801
319b9ad4
UD
288022011-07-11 Ulrich Drepper <drepper@gmail.com>
28803
28804 * nscd/nscd.h (struct traced_file): Define.
28805 (struct database_dyn): Remove inotify_descr, reset_res, and filename
28806 elements. Add traced_files.
28807 (inotify_fd): Declare.
28808 (register_traced_file): Declare.
28809 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
28810 (inotify_fd): Export.
28811 (resolv_conf_descr): Remove.
28812 (nscd_init): Move inotify descriptor creation to main.
28813 Don't register files for notification here.
28814 (register_traced_file): New function.
28815 (invalidate_cache): Don't use reset_res to determine whether to call
28816 res_init, go through the list of registered files.
28817 (main_loop_poll): The inotify descriptors are now stored in the
28818 structures for the traced files.
28819 (main_loop_epoll): Likewise
28820 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
28821 to __nss_disable_nscd.
28822 * nscd/cache.c (prune_cache): There is no single inotify descriptor
28823 for a database anymore. Check the records for all the registered
28824 files instead.
28825 * nss/Makefile (libnss_files-routines): Add files-init.
28826 (libnss_db-routines): Add db-init.
28827 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
28828 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
28829 * nss/nss_db/db-init.c: New file.
28830 * nss/nss_files/files-init.c: New file.
28831 * nss/nsswitch.c (nss_load_library): New function. Broken out of
28832 __nss_lookup_function.
28833 (__nss_lookup_function): Call nss_load_library.
28834 (nss_load_all_libraries): New function.
28835 (__nss_disable_nscd): Take parameter with callback function for files
28836 to register. Set is_nscd. Load all the DSOs for the NSS modules
28837 used for the cached services.
28838 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
28839 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
28840 options for features to all the files in nscd.
28841
28842 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
28843
23bee3e8
RM
288442011-07-10 Roland McGrath <roland@hack.frob.com>
28845
28846 * csu/elf-init.c (__libc_csu_init): Comment typo.
28847
46a5b7f0
UD
288482011-07-09 Ulrich Drepper <drepper@gmail.com>
28849
28850 * po/pl.po: Update from translation team.
28851 * po/ja.po: Likewise.
28852 * po/ru.po: Likewise.
28853 * po/ko.po: Likewise.
28854 * po/fr.po: Likewise.
28855
d30cf5bb
RM
288562011-07-09 Roland McGrath <roland@hack.frob.com>
28857
113ddea4
RM
28858 * configure.in (.ctors/.dtors header and trailer check):
28859 Use an empirical test on a built program.
28860 * configure: Regenerated.
28861
574920b4
RM
28862 * configure.in (-z relro check): Use an empirical test on a built DSO.
28863 Detect, but do not require, on ia64.
28864 * configure: Regenerated.
28865
d30cf5bb
RM
28866 * configure.in (READELF): Find it with AC_CHECK_TOOL.
28867 Update tests that use readelf to use $READELF instead.
28868 * configure: Regenerated.
28869
8538fdb3
UD
288702011-07-08 Ulrich Drepper <drepper@gmail.com>
28871
28872 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
28873 if the result is not used.
28874
04d08991
AJ
288752011-07-05 Andreas Jaeger <aj@suse.de>
28876
28877 [BZ#9696]
28878 * stdlib/tst-strtod.c: Add testcase.
28879
de283087
AD
288802011-07-07 Ulrich Drepper <drepper@gmail.com>
28881
4e5f31c8 28882 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 28883 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
28884 The latter has a higher limit. Take additional parameter to pass to
28885 the new function.
28886 (__pathconf): Pass file to __statfs_link_max.
28887 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
28888 __statfs_link_max.
28889 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
28890 __statfs_link_max.
28891
de283087
AD
28892 [BZ #12868]
28893 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
28894 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28895 Handle Lustre.
28896 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
28897 (__statfs_filesize_max): Likewise.
28898 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
28899
c75fa153
AJ
289002011-07-05 Andreas Jaeger <aj@suse.de>
28901
28902 * resolv/res_comp.c (dn_skipname): Remove unused variable.
28903
1a544854
UD
289042011-07-06 Marek Polacek <mpolacek@redhat.com>
28905
28906 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
28907 `status' variable.
28908 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
28909 Likewise.
28910
6f0eec67
UD
289112011-07-04 H.J. Lu <hongjiu.lu@intel.com>
28912
28913 * Makefile (strop-tests): Add strncat.
28914 * string/test-strncat.c: New file.
28915
aae30307
UD
289162011-06-30 Marek Polacek <mpolacek@redhat.com>
28917
28918 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
28919
c0cfb5eb
UD
289202011-06-21 Andreas Jaeger <aj@suse.de>
28921
28922 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
28923 Copy rule from iconvdata/Makefile.
28924
01636b21
UD
289252011-07-06 Ulrich Drepper <drepper@gmail.com>
28926
28927 [BZ #12922]
28928 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
28929 but no long options are defined, just return 'W'.
28930
9895c8bc
UD
289312011-06-22 Marek Polacek <mpolacek@redhat.com>
28932
28933 [BZ #9696]
28934 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
28935
5d4cf042
UD
289362011-07-06 Ulrich Drepper <drepper@gmail.com>
28937
28938 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
28939 netgroups to read.
960e5535 28940 (innetgr): Likewise.
5d4cf042 28941
751eb97e
RM
289422011-07-05 Roland McGrath <roland@hack.frob.com>
28943
28944 * config.make.in (install_root): Default to $(DESTDIR).
28945
f15f1e45
UD
289462011-07-05 Ulrich Drepper <drepper@gmail.com>
28947
28948 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
28949
4e34ac6a
RM
289502011-07-02 Roland McGrath <roland@hack.frob.com>
28951
5e9b6af4
RM
28952 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
28953
84f9ea0f
RM
28954 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
28955 containing directory rather than embedding absolute directory names.
28956
ea5ee9f7
RM
28957 * scripts/check-local-headers.sh: Rewritten using awk.
28958 Match by word, not by line. Print error messages for matches.
28959 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
28960
1b74661a
RM
28961 * Makerules [shlib-lds-flags empty]:
28962 ($(common-objpfx)libc_pic.opts): New target.
28963 ($(common-objpfx)libc_pic.os.clean): New target.
28964 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
28965
28966 * config.make.in (OBJCOPY): New variable.
28967 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
28968 * configure: Regenerated.
28969
f781ef40
RM
28970 * config.make.in (use-default-link): New variable.
28971 * configure.in (use_default_link): Grok --with-default-link to set it.
28972 * configure: Regenerated.
28973 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
28974 (shlib-lds, shlib-lds-flags): Define to empty.
28975
2d4fa81e
RM
28976 * Makerules (shlib-lds): New variable.
28977 (shlib-lds-flags): New variable.
28978 (build-shlib, build-moduile, build-module-asneeded): Use it.
28979 ($(common-objpfx)libc.so): Use $(shlib-lds).
28980 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
28981 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
28982
31fffa6b
RM
28983 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
28984 DT_FLAGS/DT_FLAGS_1 with zero flags.
28985
4e34ac6a
RM
28986 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
28987 linker script munging.
28988
fcfc776b
UD
289892011-07-02 Ulrich Drepper <drepper@gmail.com>
28990
28991 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
28992 as 128-bit value.
28993 * crypt/sha512.c (sha512_process_block): Perform total addition using
28994 128-bit if possible.
28995 (__sha512_finish_ctx): Likewise.
28996 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
28997 as 64-bit value.
28998 * crypt/sha256.c (SWAP64): Define.
28999 (sha256_process_block): Perform total addition using 64-bit if
29000 possible.
29001 (__sha256_finish_ctx): Likewise.
29002
99231d9a
UD
290032011-07-01 Ulrich Drepper <drepper@gmail.com>
29004
29005 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
29006 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29007 * nscd/hstcache.c (cache_addhst): Likewise.
29008 * nscd/grpcache.c (cache_addgr): Likewise.
29009 * nscd/aicache.c (addhstaiX): Likewise
29010 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
29011
445b4a53
TK
290122011-07-01 Thorsten Kukuk <kukuk@suse.de>
29013
29014 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
29015 * nscd/initgrcache.c (addinitgroupsX): Likewise.
29016 * nscd/hstcache.c (cache_addhst): Likewise.
29017 * nscd/grpcache.c (cache_addgr): Likewise.
29018 * nscd/aicache.c (addhstaiX): Likewise
29019
6d4d8e8e
AS
290202011-07-01 Andreas Schwab <schwab@redhat.com>
29021
29022 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
29023 domain only when needed.
29024
89f654c5
AS
290252011-06-30 Andreas Schwab <schwab@redhat.com>
29026
29027 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
29028 is always restored.
29029
cf3b23ff
UD
290302011-06-29 Ulrich Drepper <drepper@gmail.com>
29031
29032 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
29033 are re-adding the entry.
29034 * nscd/servicescache.c (cache_addserv): Likewise.
29035
751626f9
AJ
290362011-06-30 Aurelien Jarno <aurelien@aurel32.net>
29037
29038 * sysdeps/generic/dl-irel.h: fix protection against multiple
29039 inclusions.
29040 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
29041
9113ea1f
UD
290422011-06-28 Ulrich Drepper <drepper@gmail.com>
29043
5c0b8d90
UD
29044 [BZ #12935]
29045 * malloc/memusage.sh: Fix quoting in message.
29046 * debug/xtrace.sh: Likewise.
29047
9113ea1f
UD
29048 * configure.in: Remove support for --experimental-malloc option, make
29049 it the default.
29050 * config.make.in: Likewise.
29051 * malloc/Makefile: Likewise.
29052
a4172181
AS
290532011-06-27 Andreas Schwab <schwab@redhat.com>
29054
29055 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
29056 two-byte characters.
29057
78a7eee7
RM
290582011-06-27 Roland McGrath <roland@hack.frob.com>
29059
62bede13
RM
29060 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
29061 AC_CACHE_CHECK invocation.
29062 * configure: Regenerated.
29063
78a7eee7
RM
29064 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
29065
5ce33a62
UD
290662011-06-27 Ulrich Drepper <drepper@gmail.com>
29067
034807a9
UD
29068 [BZ #12350]
29069 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
29070 bit from old_res_options.
29071
4902da17
UD
29072 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
29073
5ce33a62
UD
29074 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
29075 value type for setfct.
29076
c2344f56
L
290772011-06-23 H.J. Lu <hongjiu.lu@intel.com>
29078
29079 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29080 __gettimeofday instead of gettimeofday.
29081
68468076
UD
290822011-06-26 Ulrich Drepper <drepper@gmail.com>
29083
29084 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
29085
acb0d739
L
290862011-06-24 H.J. Lu <hongjiu.lu@intel.com>
29087
29088 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
29089
29090 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
29091 info.
29092
8912479f
L
290932011-06-22 H.J. Lu <hongjiu.lu@intel.com>
29094
29095 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
29096 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29097 strcpy-sse2-unaligned strncpy-sse2-unaligned
29098 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
29099 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
29100 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
29101 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
29102 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
29103 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
29104 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
29105 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
29106 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
29107 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
29108 (STRCPY): Support SSE2 and SSSE3 versions.
29109
d5495a11
UD
291102011-06-24 Ulrich Drepper <drepper@gmail.com>
29111
29112 [BZ #12874]
29113 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
29114 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
29115 kernels which artificially limit size of requests.
29116
0b1cbaae
L
291172011-06-22 H.J. Lu <hongjiu.lu@intel.com>
29118
29119 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
29120 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
29121 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
29122 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
29123 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
29124 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
29125 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
29126 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
29127 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
29128 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
29129 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
29130 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
29131 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
29132 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
29133 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
29134 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29135 Enable unaligned load optimization for Intel Core i3, i5 and i7
29136 processors.
29137 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
29138 Define.
29139 (index_Fast_Unaligned_Load): Define.
29140 (HAS_FAST_UNALIGNED_LOAD): Define.
29141
07f494a0
MP
291422011-06-23 Marek Polacek <mpolacek@redhat.com>
29143
29144 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
29145
fa3fc0fe
UD
291462011-06-22 Ulrich Drepper <drepper@gmail.com>
29147
29148 [BZ #12907]
29149 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
29150 until it is clear that the information is realy needed.
29151 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
29152
e12df166
AS
291532011-06-22 Andreas Schwab <schwab@redhat.com>
29154
29155 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
29156
852eb34d
UD
291572011-06-22 Ulrich Drepper <drepper@gmail.com>
29158
84e2a551
UD
29159 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
29160 /sys/devices/system/cpu/online if it is usable.
29161
852eb34d
UD
29162 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
29163 reading the information from the /proc filesystem to once a second.
29164
6e502e19
UD
291652011-06-21 Andreas Jaeger <aj@suse.de>
29166
29167 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
29168 NULL after inclusion of kernel headers.
29169
75d39ff2
UD
291702011-06-21 Ulrich Drepper <drepper@gmail.com>
29171
51f9aa6a
UD
29172 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
29173 calls to internal_setent.
29174
c0244a9d
UD
29175 [BZ #12885]
29176 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
29177 addresses using gethostbyname4_r ignore IPv4 addresses.
29178
c5e3c2ae
UD
29179 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
29180 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
29181
75d39ff2
UD
29182 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
29183
42675c6f
DM
291842011-06-20 David S. Miller <davem@davemloft.net>
29185
29186 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
29187 inclusions.
29188 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
29189
29190 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
29191 (elf_irel): Use it.
29192 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
29193 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
29194 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
29195 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
29196 * sysdeps/x86_64/dl-irel.h: Likewise.
29197
29198 * elf/dl-runtime.c: Use elf_ifunc_invoke.
29199 * elf/dl-sym.c: Likewise.
29200
57912a71
UD
292012011-06-15 Ulrich Drepper <drepper@gmail.com>
29202
29203 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
29204 need to dereference resplen2.
29205
ee22793d
AS
292062011-06-14 Andreas Schwab <schwab@redhat.com>
29207
29208 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
29209
a9e836b0
UD
292102011-06-15 Ulrich Drepper <drepper@gmail.com>
29211
77fb9117
UD
29212 * Makeconfig: Define vardbdir and inst_vardbdir.
29213 * nss/Makefile: Add rules to install db-Makefile.
29214
40c1b22c
UD
29215 * nss/nss_db/db-XXX.c: Cleanup.
29216
9f2da732
UD
29217 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
29218 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
29219 GLIBC_PRIVATE.
29220 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
29221 * nss/makedb.c: Implement -g option to specify that value strings
29222 are generated and should not be added to table iterated over for
29223 get*ent calls.
29224 * nss/nss_db/db-initgroups.c: New file.
29225
82e9a1f7
UD
29226 * nss/getent.c: Add support for initgroups lookups through getgrouplist
29227 interface.
29228
c41af17e
UD
29229 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
29230 (internal_getgrouplist): Adjust to name change.
29231 Update use_initgroups_entry if this is not the first call.
29232 * nss/databases.def: Add initgroups entry.
29233
a9e836b0
UD
29234 * nss/makedb.c (compute_tables): Check result of multiple hash table
29235 sizes to minimize maximum chain length.
29236
2666d441
UD
292372011-06-14 Ulrich Drepper <drepper@gmail.com>
29238
29239 * Versions.def: Add entry for libnss_db.
29240 * shlib-versions: Likewise.
29241 * nss/Makefile: Add rules to build libnss_db.
29242 * nss/Versions: Add libnss_db information. Organize libnss_files
29243 entries better.
29244 * nss/db-Makefile: Add gshadow support. Change rules for the new
29245 makedb progra. Some minor improvements to generate smaller files.
29246 * nss/nss_db/nss_db.h: Move NSS database header data structures to
29247 here from...
29248 * nss/makedb.c: ...here.
29249 Improve database format to be smaller and require less memory at
29250 runtime.
29251 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
29252 db anymore.
29253 * nss/nss_db/db-netgrp.c: Likewise.
29254 * nss/nss_db/db-open.c: Likewise.
29255 * nss/nss_files/flies-XXX.x: Adjust comments.
29256 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
29257 * nss/nss_files/files-grp.c: Likewise.
29258 * nss/nss_files/files-hosts.c: Likewise.
29259 * nss/nss_files/files-network.c: Likewise.
29260 * nss/nss_files/files-proto.c: Likewise.
29261 * nss/nss_files/files-pwd.c: Likewise.
29262 * nss/nss_files/files-rpc.c: Likewise.
29263 * nss/nss_files/files-service.c: Likewise.
29264 * nss/nss_files/files-sgrp.c: Likewise.
29265 * nss/nss_files/files-spwd.c: Likewise.
29266 * nss/nss_db/db-alias.c: Removed.
29267 * nss/nss_db/dummy-db.h: Removed.
29268
9ee76b5a
UD
292692011-06-02 Ulrich Drepper <drepper@gmail.com>
29270
29271 * nss/makedb.c: Rewritten to not use database library.
29272 * nss/Makefile: Update to build new makedb program.
29273
c71ca1f8
AJ
292742011-06-14 Andreas Jaeger <aj@suse.de>
29275
29276 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
29277 memset declaration.
29278
3154bfb8
UD
292792011-06-10 Andreas Schwab <schwab@redhat.com>
29280
29281 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
29282 tmpbuf.
29283
b350afab
RM
292842011-06-10 Roland McGrath <roland@hack.frob.com>
29285
decd4e50
RM
29286 * Makerules (shlib.lds): Fail if the linker script comes out empty.
29287 * elf/Makefile ($(objpfx)ld.so): Likewise.
29288
5615eaf2
RM
29289 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
29290 Don't list ld.so twice in dependencies.
29291
29292 * posix/bug-regex31.c: Include <stdlib.h>.
29293
29294 * nscd/hstcache.c (cache_addhst): Remove unused variable.
29295
29296 * nis/nss_compat/compat-spwd.c
29297 (getspent_next_nss_netgr): Remove unused variable.
29298 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
29299
29300 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
29301 nonmembers" output to use the right array.
29302
29303 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
29304
29305 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
29306
29307 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
29308 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
29309 * catgets/gencat.c (read_input_file): Likewise.
29310 * locale/programs/locarchive.c (enlarge_archive): Likewise.
29311
29312 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
29313 variable definition inside #if's controlling its use.
29314
29315 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
29316
29317 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
29318
29319 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
29320
29321 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
29322 unreachable code.
29323
29324 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
29325
b68e08db
RM
29326 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
29327 * configure: Regenerated.
29328
b350afab
RM
29329 * Makerules: Revert last change.
29330 * elf/Makefile: Likewise.
29331
28368601
RM
293322011-06-09 Roland McGrath <roland@hack.frob.com>
29333
29334 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
29335 * elf/Makefile ($(objpfx)librtld.os): Likewise.
29336 (reloc-link): Likewise.
29337
11988f8f
UD
293382011-06-09 Ulrich Drepper <drepper@gmail.com>
29339
29340 * elf/Makefile: Add rules to build pldd.
29341 * elf/pldd.c: New file.
29342 * elf/pldd-xx.c: New file.
29343
e80fab37
UD
293442011-06-07 Ulrich Drepper <drepper@gmail.com>
29345
29346 * version.h: Update for 2.15 development version.
29347
9b849836
DM
293482011-06-07 David S. Miller <davem@davemloft.net>
29349
29350 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
29351 ifuncs.
29352 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
29353 elf_machine_lazy_rel): Likewise.
29354 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
29355 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
29356 elf_machine_lazy_rel): Likewise.
29357 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
29358 dl_hwcap via passed in argument.
29359 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
29360 Likewise.
29361
5a31b283
AK
293622011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29363
29364 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
29365
069e52f8
RM
293662011-06-06 Roland McGrath <roland@hack.frob.com>
29367
29368 [BZ #12849]
29369 * manual/fdl-1.1.texi: New file, verbatim from:
29370 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
29371 * manual/lgpl-2.1.texi: New file, verbatim from:
29372 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
29373 * manual/Makefile (licenses): New variable, list those new file names.
29374 (texis): Use it.
29375 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
29376
29377 * manual/fdl.texi: File removed.
29378 * manual/lesser.texi: File removed.
29379 * manual/libc.texinfo (Copying, Documentation License):
29380 Use new @include file names, put @appendix directive before @include.
29381
f16846a5
JJ
293822011-06-04 Jakub Jelinek <jakub@redhat.com>
29383
29384 [BZ #12841]
29385 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
29386 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
29387 (mq_open): Add __NTH.
29388
3d29045b
L
293892011-06-02 H.J. Lu <hongjiu.lu@intel.com>
29390
29391 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29392 Assume Intel Core i3/i5/i7 processor if AVX is available.
29393
8c297311
UD
293942011-05-31 Ulrich Drepper <drepper@gmail.com>
29395
29396 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
29397 typo.
29398
c8fc0c91
UD
293992011-05-31 Andreas Schwab <schwab@redhat.com>
29400
29401 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
29402 memory. Use alloca_account. Fix memory leak when retrying.
29403
5b27a807
UD
294042011-05-31 Ulrich Drepper <drepper@gmail.com>
29405
356f8bc6
UD
29406 * version.h (RELEASE): Bump for 2.14 release.
29407 * include/features.h (__GLIBC_MINOR__): Bump to 14.
29408
5b27a807
UD
29409 * config.make.in (RANLIB): Remove entry.
29410
01f16ab0
UD
294112011-05-30 Ulrich Drepper <drepper@gmail.com>
29412
41fce8bd
UD
29413 * po/Makefile (po-sed-cmd): Add ksh to extensions.
29414 (libc.pot): Work around missing support for .ksh extension in xgettext.
29415
4769ae77
UD
29416 [BZ #12684]
29417 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
29418 if both request failed.
29419 (send_dg): In case of server errors clear resplen or *resplen2.
29420
6b1e7d19
UD
29421 [BZ #12454]
29422 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
29423 when there are multiple maps.
29424 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
29425 (_dl_fini): Remove test here.
29426
01f16ab0
UD
29427 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
29428
b1ebd700
UD
294292011-05-29 Ulrich Drepper <drepper@gmail.com>
29430
7ae22829
UD
29431 [BZ #12350]
29432 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
29433 bit from old_res_options.
29434 (gaih_inet): Likewise.
29435
553149f6 29436 [BZ #11099]
18a84741 29437 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
29438 as signed.
29439
652ffab1
UD
29440 * resolv/res_init.c (res_setoptions): Make the code more compact.
29441
16985fd0
UD
29442 [BZ #11558]
29443 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
29444 set RES_USEVC.
29445
0464f746
UD
29446 [BZ #11634]
29447 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
29448
7d17596c
UD
29449 * malloc/malloc.h: Mark malloc hook variables as deprecated.
29450
cf6bbbd7
UD
29451 [BZ #11781]
29452 * malloc/malloc.h: Declare malloc hook variables as volatile.
29453
13f1ab36
UD
29454 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
29455 in last patch.
29456
b1ebd700
UD
29457 [BZ #11799]
29458 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 29459 raise in the comment.
80e2212d
UD
29460 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29461 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29462 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 29463
ce67228d
UD
294642011-05-28 Ulrich Drepper <drepper@gmail.com>
29465
8887a920
UD
29466 [BZ #12811]
29467 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
29468 grow the buffers more if it already has to be sufficient.
29469 (build_wcs_upper_buffer): Likewise.
29470 * posix/regexec.c (check_matching): Likewise.
29471 (clean_state_log_if_needed): Likewise.
29472 (extend_buffers): Don't enlarge buffers beyond size of the input
29473 buffer.
29474 Patches mostly by Emil Wojak <emil@wojak.eu>.
29475 * posix/bug-regex32.c: New file.
29476 * posix/Makefile (tests): Add bug-regex32.
29477
4f031072
UD
29478 * locale/findlocale.c (_nl_find_locale): Return right away if
29479 _nl_explode_name failed.
29480 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
29481
d0478f0c
UD
29482 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
29483
de81b246
UD
29484 * debug/xtrace.sh: Unify messages.
29485 * malloc/memusage.sh: Likewise.
29486
c738465a
UD
29487 [BZ #12813]
29488 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
29489 time symbol from vDSO. Substitute with vsyscall if not available.
29490 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
29491 __vdso_time.
29492
f1f929d7
UD
29493 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
29494 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
29495 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
29496 Add sendmmsg and internal_sendmmsg.
29497 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
29498 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
29499 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
29500
ce67228d
UD
29501 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
29502 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
29503 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
29504
e57420c6
UD
295052011-05-27 Ulrich Drepper <drepper@gmail.com>
29506
a8509ca5
UD
29507 [BZ #12813]
29508 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
29509 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
29510 available.
29511 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
29512 __vdso_getcpu.
29513
e57420c6
UD
29514 [BZ #12814]
29515 * iconvdata/Makefile (tests): Add bug-iconv9.
29516 * iconvdata/bug-iconv9.c: New file.
29517
4d07db15
AS
295182011-05-27 Andreas Schwab <schwab@redhat.com>
29519
29520 [BZ #12814]
29521 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
29522
ea486f69
JJ
295232011-05-25 Jakub Jelinek <jakub@redhat.com>
29524
29525 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29526 (struct user_regs_struct): Change intcs field back to cs.
29527
6f038433
UD
295282011-05-25 Ulrich Drepper <drepper@gmail.com>
29529
29530 * po/ja.po: Update from translation team.
29531
67f86a25
UD
295322011-05-23 Ulrich Drepper <drepper@gmail.com>
29533
29534 [BZ #12795]
29535 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
29536 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
29537
def7fbd6
AS
295382011-05-20 Andreas Schwab <schwab@redhat.com>
29539
29540 * stdlib/longlong.h: Update from GCC.
29541
f50ef8f1
AS
295422011-05-23 Andreas Schwab <schwab@redhat.com>
29543
29544 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
29545 parameter name.
29546 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
29547 Add parameter name.
29548 (__sysconf): Pass it down.
29549
de7ce8f1
UD
295502011-05-22 Ulrich Drepper <drepper@gmail.com>
29551
f2962a71
UD
29552 [BZ #12671]
29553 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
29554 some situations.
29555 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
29556 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
29557 add in in __libc_use_alloca calls. Adjust callers.
29558 (glob): Use malloc in some situations.
29559
de7ce8f1
UD
29560 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
29561 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
29562 pltexit.
29563
aec84f53
UD
295642011-05-21 Ulrich Drepper <drepper@gmail.com>
29565
05bb4a68
UD
29566 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
29567 and CLOCK_BOOTTIME_ALARM.
29568
7ea72f99
UD
29569 [BZ #12782]
29570 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
29571 is returned.
29572
7e4afad5
UD
29573 * string/_strerror.c (__strerror_r): Print negative errors as signed
29574 numbers.
29575
8e211fec
UD
29576 [BZ #12777]
29577 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
29578 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
29579 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
29580
f7d82dc9
UD
29581 * configure.in: Fix typo in redirection and correct removal of test
29582 files in two cases.
29583
cc9e536d
UD
29584 [BZ #12788]
29585 * locale/setlocale.c (new_composite_name): Fix test to check for
29586 identical name of all categories.
29587
aec84f53
UD
29588 [BZ #12792]
29589 * libio/filedoalloc.c (local_isatty): New function.
29590 (_IO_file_doallocate): Use local_isatty.
29591 * stdio-common/perror.c (perror): In case a new stream is used
29592 forward the stream error.
29593 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
29594 error flag.
29595
78e64fdc
RT
295962011-05-20 Ulrich Drepper <drepper@gmail.com>
29597
34a9094f
UD
29598 [BZ #11869]
29599 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
29600 alloca.
29601 * include/alloca.h (extend_alloca_account): Define.
29602
78e64fdc
RT
29603 [BZ #11857]
29604 * posix/regex.h: Fix comments with documentation of user-accessible
29605 fields after compilation and describe correct free'ing of pattern
29606 after re_compile_pattern.
29607 Patch by Reuben Thomas <rrt@sc3d.org>.
29608
457bddfc
RA
296092011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
29610
29611 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
29612 and -mno-altivec to prevent the compiler from using Altivec and/or
29613 VSX instructions when the corresponding registers are not available.
29614
a4527b51
AS
296152011-05-19 Andreas Schwab <schwab@redhat.com>
29616
29617 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
29618
ed690b2f
UD
296192011-05-19 Ulrich Drepper <drepper@gmail.com>
29620
29621 * libio/freopen.c (freopen): Use __dup2, not dup2.
29622 * libio/freopen64.c (freopen64): Likewise.
29623
8db73634
L
296242011-05-17 H.J. Lu <hongjiu.lu@intel.com>
29625
29626 [BZ #12775]
29627 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
29628 * math/Makefile (tests): Add test-powl.
29629 (CFLAGS-test-powl.c): Define.
29630 * math/test-powl.c: New file.
29631
0a197a9d
L
296322011-05-16 H.J. Lu <hongjiu.lu@intel.com>
29633
29634 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
29635
ee30c380
UD
296362011-05-17 Ulrich Drepper <drepper@gmail.com>
29637
29638 [BZ #11837]
29639 * iconvdata/gb18030.c: Update to GB18020-2005.
29640
6ce75379
UD
296412011-05-16 Ulrich Drepper <drepper@gmail.com>
29642
a4b89fd8
AR
29643 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
29644 RE_SYNTAX_POSIX_AWK): Update to match recent development.
29645 Patch by Aharon Robbins <arnold@skeeve.com>.
29646
ea389b12
UD
29647 [BZ #11892]
29648 * stdlib/putenv.c (putenv): Don't always create copy of the variable
29649 on the stack.
29650
68a3f91f
UD
29651 [BZ #11895]
29652 * misc/pselect.c (__pselect): Handle timeout value errors hidden
29653 through underflows.
29654
15cc7dd1
UD
29655 [BZ #12766]
29656 * misc/error.c (error_at_line): Ensure file_name and old_file_name
29657 point to strings before performing equality test for error_one_per_line
29658 mode.
29659
f3799213
UD
29660 [BZ #11697]
29661 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
29662
d79a9c94
UD
29663 [BZ #11820]
29664 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29665 (struct user_fpregs_struct): Avoid __uint*_t types.
29666
56e5eb46
UD
29667 [BZ #6420]
29668 * malloc/mtrace.c (tr_where): Add additional parameter to point to
29669 symbol info. Use it instead of calling _dl_addr locally.
29670 (lock_and_info): New function.
29671 (tr_freehook): Call lock_and_info and pass symbol info as additional
29672 parameter to tr_where.
29673 (tr_mallochook): Likewise.
29674 (tr_reallochook): Likewise.
29675 (tr_memalignhook): Likewise.
29676
6ce75379
UD
29677 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
29678 used and couldn't be at all thread-safe.
29679
f8a3b5bf
UD
296802011-05-15 Ulrich Drepper <drepper@gmail.com>
29681
94b7cc37
UD
29682 * libio/freopen.c (freopen): Don't close old file descriptor
29683 before the new one is opened. Instead dup the new file descriptor
29684 to the old one after the new stream is created.
29685 * libio/freopen64.c (freopen64): Likewise.
29686 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
29687 * libio/fileops.c (_IO_new_file_close_it): Handle new
29688 _IO_FLAGS2_NOCLOSE flag.
29689 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
29690 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
29691 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
29692 _IO_FLAGS2_NOCLOSE flag.
29693 * include/unistd.h: Add hidden_proto for dup3.
29694 Define __have_dup3.
29695 * io/dup3.c: Define hidden symbol.
29696 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
29697
bd25564e
UD
29698 [BZ #7101]
29699 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
29700 when an incomplete long option is used.
29701 * posix/tst-getopt_long1.c: New file.
29702 * posix/Makefile (tests): Add tst-getopt_long1.
29703
c84cfef4
UD
29704 [BZ #10138]
29705 * scripts/config.guess: Update from autoconf-2.68.
29706 * scripts/config.sub: Likewise.
29707
3b85df27
UD
29708 [BZ #10157]
29709 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
29710 tests into ...
29711 (has_cpuclock): ...this. New function.
29712 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
29713 macro here based on has_cpuclock code.
29714
15a856b1
UD
29715 [BZ #10149]
29716 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29717 First byte (not low byte) is now always NUL.
29718 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
29719
05f399e6
UD
29720 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29721 Use non-cancelable interfaces.
29722
10a52685 29723 [BZ #9809]
94ecc67d
UD
29724 * locale/iso-639.def: Add entry for Sorani.
29725
f8a3b5bf
UD
29726 [BZ #11901]
29727 * include/stdlib.h: Move include protection to the right place.
29728 Define abort_msg_s. Declare __abort_msg with it.
29729 * stdlib/abort.c (__abort_msg): Adjust type.
29730 * assert/assert.c (__assert_fail_base): New function. Majority
29731 of code from __assert_fail. Allocate memory for __abort_msg with
29732 mmap.
29733 (__assert_fail): Now call __assert_fail_base.
29734 * assert/assert-perr.c: Remove bulk of implementation. Use
29735 __assert_fail_base.
29736 * include/assert.hL Declare __assert_fail_base.
29737 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
29738 mmap.
29739 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
29740
1af4e298
UD
297412011-05-14 Ulrich Drepper <drepper@gmail.com>
29742
f8a3b5bf 29743 [BZ #11952]
d26dfc60
MG
29744 [BZ #12453]
29745 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
29746 until all modules are registered in the DTV.
29747 * elf/Makefile: Add rules to build and run tst-tls19.
29748 * elf/tst-tls19.c: New file.
29749 * elf/tst-tls19mod1.c: New file.
29750 * elf/tst-tls19mod2.c: New file.
29751 * elf/tst-tls19mod3.c: New file.
29752 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
29753
2fc54d6f
UD
29754 [BZ #12083]
29755 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
29756 correctly.
29757
98d76b46
UD
29758 [BZ #12601]
29759 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
29760 two-byte sequence errors.
29761 * iconvdata/Makefile (tests): Add bug-iconv8.
29762 * iconvdata/bug-iconv8.c: New file.
29763
da3c19ef
UD
29764 [BZ #12626]
29765 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
29766 buf2 definition.
29767
ca408c15
UD
29768 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
29769
d6f67f7d
UD
29770 [BZ #12432]
29771 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
29772 (dummy_getcfa): New function.
29773 (init): Get _Unwind_GetCFA address, use dummy if not found.
29774 (backtrace_helper): In recursion check, also check whether CFA changes.
29775 (__backtrace): Completely initialize arg.
29776
1af4e298 29777 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
29778 storing incomplete byte sequence in state object. Avoid testing for
29779 guaranteed too small input if we know there is enough data available.
1af4e298 29780
da62f81b
AS
297812011-05-11 Andreas Schwab <schwab@redhat.com>
29782
29783 * Makeconfig (+link-pie): Indent.
29784 * Rules (binaries-pie): Define if $(have-fpie) and
29785 $(build-shared).
29786 (binaries-shared): Also filter out $(binaries-pie).
29787 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
29788 * nscd/Makefile (others-pie): Add nscd.
29789 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
29790 ($(objpfx)nscd): Remove command override.
29791 * login/Makefile (others-pie): Add pt_chown.
29792 ($(objpfx)pt_chown): Remove command override.
29793 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
29794 remove command overrides.
29795
fcabc0f8
UD
297962011-05-13 Ulrich Drepper <drepper@gmail.com>
29797
20030ae6
UD
29798 * libio/tst_putwc.c: Fix error messages.
29799
fcabc0f8
UD
29800 [BZ #12724]
29801 * libio/fileops.c (_IO_new_file_close_it): Always flush when
29802 currently writing and seek to current position when not.
29803 * libio/Makefile (tests): Add bug-fclose1.
29804 * libio/bug-fclose1.c: New file.
29805
320a5dc0
PB
298062011-05-12 Ulrich Drepper <drepper@gmail.com>
29807
29808 [BZ #12511]
29809 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
29810 don't set DF_1_NODELETE here.
29811 (do_lookup_x): When entering new entry test for copy relocation
29812 and if necessary set DF_1_NODELETE flag.
29813 * elf/tst-unique4.cc: New file.
29814 * elf/tst-unique4.h: New file.
29815 * elf/tst-unique4lib.cc: New file.
29816 * elf/Makefile: Add rules to build and run tst-unique4.
29817 Patch by Piotr Bury <pbury@goahead.com>.
29818
22836f52
UD
298192011-05-11 Ulrich Drepper <drepper@gmail.com>
29820
f574184a
UD
29821 [BZ #12052]
29822 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
29823
e1fb097f
UD
29824 [BZ #12625]
29825 * misc/mntent_r.c (addmntent): Flush the stream after the output
29826
22836f52
UD
29827 [BZ #12393]
29828 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
29829 (is_trusted_path_normalize): Skip initial colon. Append slash
29830 to empty buffer. Duplicate is_trusted_path code but allow
29831 constructed patch to be prefix.
29832 (is_dst): Allow $ORIGIN followed by /.
29833 (_dl_dst_substitute): Correct clearing of check_for_trusted.
29834 Correct testing of result of is_trusted_path_normalize
29835 (decompose_rpath): Fix warning.
29836
7b3b0b2a
UD
298372011-05-10 Ulrich Drepper <drepper@gmail.com>
29838
29839 [BZ #11257]
29840 * grp/initgroups.c (internal_getgrouplist): When we found the service
29841 list through the initgroups entry in nsswitch.conf do not always
29842 continue on a successful lookup. Don't always use the
eac80ce2 29843 __nss_group_database value if it is set.
7b3b0b2a
UD
29844 * nss/nsswitch.conf (initgroups): Change action for successful db
29845 lookup to continue for compatibility.
29846
2a81eaa5
UD
298472011-05-09 Ulrich Drepper <drepper@gmail.com>
29848
be97a69e
UD
29849 [BZ #11532]
29850 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
29851 and CP774 modules.
29852 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
29853 and CP774 modules.
29854 * iconvdata/tst-tables.sh: Likewise.
29855 * iconvdata/cp770.c: New file.
29856 * iconvdata/cp771.c: New file.
29857 * iconvdata/cp772.c: New file.
29858 * iconvdata/cp773.c: New file.
29859 * iconvdata/cp774.c: New file.
29860 * iconvdata/testdata/CP770: New file.
29861 * iconvdata/testdata/CP770..UTF8: New file.
29862 * iconvdata/testdata/CP771: New file.
29863 * iconvdata/testdata/CP771..UTF8: New file.
29864 * iconvdata/testdata/CP772: New file.
29865 * iconvdata/testdata/CP772..UTF8: New file.
29866 * iconvdata/testdata/CP773: New file.
29867 * iconvdata/testdata/CP773..UTF8: New file.
29868 * iconvdata/testdata/CP774: New file.
29869 * iconvdata/testdata/CP774..UTF8: New file.
29870
29871 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
29872 END CHARMAP line.
29873 * iconvdata/gen-8bit-gap.sh: Likewise.
29874 * iconvdata/gen-8bit.sh: Likewise.
29875
c1e9e399
UD
29876 * locale/iso-639.def: Add ary entry.
29877
24c55fb3 29878 [BZ #11258]
96b4b1b0
UD
29879 * locale/C-translit.h.in: Add U20A1 transliteration.
29880
bdc2f971
KB
29881 [BZ #12178]
29882 * locale/iso-639.def: Add wae entry.
29883 Patch by Kevin Bortis <bortis@translate-wae.ch>.
29884
2952b117
UD
29885 [BZ #12545]
29886 * locale/programs/localedef.c (construct_output_path): Use ssize_t
29887 for n.
29888
2a81eaa5
UD
29889 [BZ #12711]
29890 * locale/C-translit.h.in: Add entry for U20B9.
29891 Patch by pravin.d.s@gmail.com.
29892
28377d1b
UD
298932011-05-08 Ulrich Drepper <drepper@gmail.com>
29894
7fb90fb8
UD
29895 [BZ #12713]
29896 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
29897 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
29898 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
29899 in rtld. Use *stat64.
7fb90fb8 29900 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 29901 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 29902 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
29903 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
29904 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
29905 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
29906 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
29907 __fstatat64 macros.
7fb90fb8
UD
29908 * include/dirent.h: Add libc_hidden_proto for rewinddir.
29909 * dirent/rewinddir.c: Add libc_hidden_def.
29910 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 29911 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 29912
28377d1b
UD
29913 * include/dirent.h (__alloc_dir): Add flags parameter.
29914 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
29915 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
29916 __alloc_dir.
29917 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
29918 from fdopendir if O_CLOEXEC is already set.
29919
66bdbaa4
AM
299202011-03-15 Alan Modra <amodra@gmail.com>
29921
29922 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
29923 l_tls_firstbyte_offset non-zero. Save padding offset in
29924 l_tls_firstbyte_offset for later use.
29925 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
29926 freeing static tls block.
29927
95721191
JN
299282011-03-05 Jonathan Nieder <jrnieder@gmail.com>
29929
29930 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
29931 where #ifdef was intended. The intent is to prevent ARG_MAX from
29932 being defined by the kernel headers.
29933
f87dfb1f
UD
299342011-05-07 Ulrich Drepper <drepper@gmail.com>
29935
29936 [BZ #12734]
29937 * resolv/resolv.h: Define RES_NOTLDQUERY.
29938 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
29939 no-tld-query and set RES_NOTLDQUERY.
29940 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
29941 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
29942 modern BIND to search name as TLD unless forbidden.
29943
47c3cd7a
UD
299442011-05-07 Petr Baudis <pasky@suse.cz>
29945 Ulrich Drepper <drepper@gmail.com>
29946
29947 [BZ #12393]
29948 * elf/dl-load.c (fillin_rpath): Move trusted path check...
29949 (is_trusted_path): ...to here.
c1e9ea35 29950 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 29951 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 29952 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 29953
8a35c912
PP
299542011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
29955
29956 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
29957 __BEGIN/__END_DECLS.
29958
acd41f47
UD
299592011-05-06 Ulrich Drepper <drepper@gmail.com>
29960
29961 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
29962 NSS_STATUS_NOTFOUND if no record was found.
29963
597df647
AS
299642011-05-05 Andreas Schwab <schwab@redhat.com>
29965
29966 * sunrpc/Makefile (headers): Add rpc/netdb.h.
29967 (headers-not-in-tirpc): Remove rpc/netdb.h
29968 * resolv/netdb.h: Revert last change.
29969
b9af1301
PP
299702011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
29971
29972 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
29973 circular dependency between libgcc.a and libc.a.
29974
4e34d5f5
AS
299752011-05-05 Andreas Schwab <schwab@redhat.com>
29976
29977 * resolv/netdb.h: Don't include <rpc/netdb.h>.
29978 * nis/Makefile: Don't install rpcsvc/*.
29979 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
29980 instead of <rpc/types.h>.
29981 (MAXHOSTNAMELEN): Define.
29982
00ee369c
AS
299832011-05-03 Andreas Schwab <schwab@redhat.com>
29984
29985 * elf/ldconfig.c (add_dir): Don't crash on empty path.
29986
0b592a30
MB
299872011-04-28 Maciej Babinski <mbabinski@google.com>
29988
29989 [BZ #12714]
29990 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
29991 gethostbyname4_r when IPv6 results are possible.
29992
6e04cbbe
UD
299932011-05-02 Ulrich Drepper <drepper@gmail.com>
29994
29995 [BZ #12723]
29996 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
29997 _PC_PIPE_BUF handling.
29998
e4ecafe0
BH
299992011-04-30 Bruno Haible <bruno@clisp.org>
30000
30001 [BZ #12717]
30002 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
30003 * resolv/netdb.h (getnameinfo): Change type of flags parameter
30004 to 'int'.
30005 * inet/getnameinfo.c (getnameinfo): Likewise.
30006
125ee683
UD
300072011-04-29 Ulrich Drepper <drepper@gmail.com>
30008
30009 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
30010 to groups setting in database lookup.
30011 * nss/nsswitch.conf: Add initgroups entry.
30012
b722481a
EB
300132011-04-22 Ulrich Drepper <drepper@gmail.com>
30014
30015 [BZ #12685]
30016 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
30017 mode string.
30018 Patch by Eric Blake <eblake@redhat.com>.
30019
4df46dbd
L
300202011-04-20 H.J. Lu <hongjiu.lu@intel.com>
30021
30022 * sunrpc/Makefile (need-export-routines): Add svc_run.
30023 (routines): Remove svc_run.
30024 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
30025 * sunrpc/clnt_perr.c (clnt_perrno): Export.
30026 * sunrpc/svc_run.c (svc_run): Likewise.
30027 * sunrpc/svc_udp.c (svcudp_create): Likewise.
30028
e84142d2
UD
300292011-04-21 Ulrich Drepper <drepper@gmail.com>
30030
30031 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
30032 problem in reallocation in last patch.
30033
877175d8
UD
300342011-04-20 Ulrich Drepper <drepper@gmail.com>
30035
30036 * sunrpc/Makefile: Move inclusion of Rules.
30037
ab8eed78
UD
300382011-04-19 Ulrich Drepper <drepper@gmail.com>
30039
30040 * nss/nss_files/files-initgroups.c: New file.
30041 * nss/Makefile (libnss_files-routines): Add files-initgroups.
30042 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
30043 _nss_files_initgroups_dyn.
30044
e3d8f584
RS
300452011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
30046
30047 * elf/elf.h (R_ARM_IRELATIVE): Define.
30048
af190f45
UD
300492011-04-19 Ulrich Drepper <drepper@gmail.com>
30050
30051 * po/ru.po: Update from translation team.
30052
53cf59ef
UD
300532011-04-17 Ulrich Drepper <drepper@gmail.com>
30054
30055 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
30056 dependencies.
30057
4c559bcd
MF
300582011-02-06 Mike Frysinger <vapier@gentoo.org>
30059
30060 [BZ #12653]
30061 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
30062 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
30063 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
30064 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
30065 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
30066
4420675c
AS
300672011-03-28 Andreas Schwab <schwab@linux-m68k.org>
30068
30069 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
30070 differing bytes.
30071 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
30072 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
30073 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
30074
75ea32ab
UD
300752011-04-17 Ulrich Drepper <drepper@gmail.com>
30076
30077 [BZ #12420]
30078 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
30079 storing it.
30080 * stdlib/bug-getcontext.c: New file.
30081 * stdlib/Makefile: Add rules to build and run bug-getcontext.
30082
27390476
AK
300832011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30084
30085 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
30086 instructions into .machine "z9-109".
30087 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
30088 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
30089
10442705
AK
300902011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30091
30092 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
30093 between environment variables and auxiliary vector.
30094
7b57bfe5
UD
300952011-04-16 Ulrich Drepper <drepper@gmail.com>
30096
30097 * Makefile: Add rules to build linkobj/libc.so.
30098 * include/libc-symbols.h: Define libc_hidden_nolink.
30099 * include/rpc/auth.h: Mark functions which are to be hidden.
30100 * include/rpc/auth_des.h: Likewise.
30101 * include/rpc/auth_unix.h: Likewise.
30102 * include/rpc/clnt.h: Likewise.
30103 * include/rpc/des_crypt.h: Likewise.
30104 * include/rpc/key_prot.h: Likewise.
30105 * include/rpc/pmap_clnt.h: Likewise.
30106 * include/rpc/pmap_prot.h: Likewise.
30107 * include/rpc/pmap_rmt.h: Likewise.
30108 * include/rpc/rpc_msg.h: Likewise.
30109 * include/rpc/svc.h: Likewise.
30110 * include/rpc/svc_auth.h: Likewise.
30111 * include/rpc/xdr.h: Likewise.
30112 * nis/Makefile: Link all DSOs against linkobj/libc.so.
30113 * nss/Makefile: Likewise.
30114 * sunrpc/Makefile: Don't install headers. Build library with normal
30115 entry points. Don't build rpcinfo. Link RPC tests appropriately.
30116 * sunrpc/auth_des.c: Hide exported symbols by default, export some
30117 for the compat linking library. Remove use of INTDEF/INTUSE.
30118 * sunrpc/auth_none.c: Likewise.
30119 * sunrpc/auth_unix.c: Likewise.
30120 * sunrpc/authdes_prot.c: Likewise.
30121 * sunrpc/authuxprot.c: Likewise.
30122 * sunrpc/clnt_gen.c: Likewise.
30123 * sunrpc/clnt_perr.c: Likewise.
30124 * sunrpc/clnt_raw.c: Likewise.
30125 * sunrpc/clnt_simp.c: Likewise.
30126 * sunrpc/clnt_tcp.c: Likewise.
30127 * sunrpc/clnt_udp.c: Likewise.
30128 * sunrpc/clnt_unix.c: Likewise.
30129 * sunrpc/des_crypt.c: Likewise.
30130 * sunrpc/des_soft.c: Likewise.
30131 * sunrpc/get_myaddr.c: Likewise.
30132 * sunrpc/key_call.c: Likewise.
30133 * sunrpc/key_prot.c: Likewise.
30134 * sunrpc/netname.c: Likewise.
30135 * sunrpc/pm_getmaps.c: Likewise.
30136 * sunrpc/pm_getport.c: Likewise.
30137 * sunrpc/pmap_clnt.c: Likewise.
30138 * sunrpc/pmap_prot.c: Likewise.
30139 * sunrpc/pmap_prot2.c: Likewise.
30140 * sunrpc/pmap_rmt.c: Likewise.
30141 * sunrpc/publickey.c: Likewise.
30142 * sunrpc/rpc_cmsg.c: Likewise.
30143 * sunrpc/rpc_common.c: Likewise.
30144 * sunrpc/rpc_dtable.c: Likewise.
30145 * sunrpc/rpc_prot.c: Likewise.
30146 * sunrpc/rpc_thread.c: Likewise.
30147 * sunrpc/rtime.c: Likewise.
30148 * sunrpc/svc.c: Likewise.
30149 * sunrpc/svc_auth.c: Likewise.
30150 * sunrpc/svc_authux.c: Likewise.
30151 * sunrpc/svc_raw.c: Likewise.
30152 * sunrpc/svc_run.c: Likewise.
30153 * sunrpc/svc_simple.c: Likewise.
30154 * sunrpc/svc_tcp.c: Likewise.
30155 * sunrpc/svc_udp.c: Likewise.
30156 * sunrpc/svc_unix.c: Likewise.
30157 * sunrpc/svcauth_des.c: Likewise.
30158 * sunrpc/xcrypt.c: Likewise.
30159 * sunrpc/xdr.c: Likewise.
30160 * sunrpc/xdr_array.c: Likewise.
30161 * sunrpc/xdr_float.c: Likewise.
30162 * sunrpc/xdr_intXX_t.c: Likewise.
30163 * sunrpc/xdr_mem.c: Likewise.
30164 * sunrpc/xdr_rec.c: Likewise.
30165 * sunrpc/xdr_ref.c: Likewise.
30166 * sunrpc/xdr_sizeof.c: Likewise.
30167 * sunrpc/xdr_stdio.c: Likewise.
30168
e6c61494
UD
301692011-04-10 Ulrich Drepper <drepper@gmail.com>
30170
30171 [BZ #12650]
30172 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
30173 * sysdeps/ia64/dl-tls.h: Likewise.
30174 * sysdeps/powerpc/dl-tls.h: Likewise.
30175 * sysdeps/s390/dl-tls.h: Likewise.
30176 * sysdeps/sh/dl-tls.h: Likewise.
30177 * sysdeps/sparc/dl-tls.h: Likewise.
30178 * sysdeps/x86_64/dl-tls.h: Likewise.
30179 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
30180
34fe483e
AS
301812011-03-14 Andreas Schwab <schwab@redhat.com>
30182
30183 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
30184 rpath element also skip the following colon.
30185 (expand_dynamic_string_token): Add is_path parameter and pass
30186 down to DL_DST_REQUIRED and _dl_dst_substitute.
30187 (decompose_rpath): Call expand_dynamic_string_token with
30188 non-zero is_path. Ignore empty rpaths.
30189 (_dl_map_object_from_fd): Call expand_dynamic_string_token
30190 with zero is_path.
30191
f12a32e6
AS
301922011-04-08 Andreas Schwab <schwab@linux-m68k.org>
30193
30194 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
30195 Make cancelable.
30196
38a7d692
UD
301972011-04-09 Ulrich Drepper <drepper@gmail.com>
30198
30199 [BZ #12655]
30200 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
30201 Patch by Filipe David Manana <fdmanana@apache.org>.
30202
e451d22b
AS
302032011-04-07 Andreas Schwab <schwab@redhat.com>
30204
30205 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
30206 Maintain aligned stack.
30207 (CHECK_RSP): Remove unused macro.
30208
dedc7c7b
UD
302092011-04-03 Ulrich Drepper <drepper@gmail.com>
30210
30211 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
30212 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
30213
94521213
UD
302142011-04-02 Ulrich Drepper <drepper@gmail.com>
30215
30216 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
30217
8cb700c0 30218 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 30219
0354e355
L
302202011-03-26 H.J. Lu <hongjiu.lu@intel.com>
30221
30222 [BZ #12518]
30223 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
30224 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
30225 * sysdeps/x86_64/memmove.c: New file.
30226 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
30227 (memcpy): Renamed to ...
30228 (__new_memcpy): This.
30229 (memcpy): Provide GLIBC_2_14 memcpy.
30230 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
30231 (memcpy): Provide GLIBC_2_2_5 memcpy.
30232
8593482f
UD
302332011-04-01 Ulrich Drepper <drepper@gmail.com>
30234
30235 [BZ #12631]
30236 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
30237
81a5726b
AS
302382011-03-30 Andreas Schwab <schwab@redhat.com>
30239
30240 * misc/syncfs.c: New file.
30241 * misc/Makefile (routines): Add syncfs.
30242 * posix/unistd.h: Declare syncfs.
30243 * sysdeps/unix/syscalls.list: Add syncfs.
30244
00e5419f
AS
302452011-04-01 Andreas Schwab <schwab@redhat.com>
30246
30247 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
30248 open_by_handle_at.
30249 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
30250 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30251 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30252 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30253 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30254 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
30255 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30256
748876bf
UD
302572011-04-01 Ulrich Drepper <drepper@gmail.com>
30258
658e451d
UD
30259 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
30260 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30261 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
30262 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30263 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30264 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30265 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30266
748876bf
UD
30267 * io/Makefile: Compile fallocate.c, fallocate64.c, and
30268 sync_file_range.c with -fexceptions.
30269 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
30270 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
30271 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
30272 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
30273 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
30274 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
30275 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
30276 sync_file_range as cancellation point
30277 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
30278 now a wrapper around __call_sync_file_range with cancellation handling.
30279 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
30280 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
30281 function name to __call_sync_file_range.
30282 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
30283 Add call_sync_file_range.
748876bf 30284
6e63d5e1
AS
302852011-04-01 Andreas Schwab <schwab@redhat.com>
30286
30287 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 30288 bits/timex.h.
6e63d5e1 30289
46998f74
UD
302902011-04-01 Ulrich Drepper <drepper@gmail.com>
30291
4c1423ed
UD
30292 * iconv/iconv.h: Fix typo in comment.
30293 * io/fcntl.h: Likewise.
30294 * libio/stdio.h: Likewise.
30295 * posix/spawn.h: Likewise.
30296 * posix/unistd.h: Likewise.
30297 * stdlib/stdlib.h: Likewise.
30298 * time/time.h: Likewise.
30299 * wcsmbs/wchar.h: Likewise.
30300
158648c0
UD
30301 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
30302 open_by_handle): Add.
30303 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
30304 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
30305 Augment a few comments.
30306 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30307 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30308 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30309 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30310 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30311 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
30312 open_by_handle.
30313
46998f74
UD
30314 * io/fcntl.h (AT_EMPTY_PATH): Define.
30315
83fe108b
UD
303162011-03-30 Ulrich Drepper <drepper@gmail.com>
30317
30318 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
30319 * sysdeps/unix/sysv/linux/bits/time.h: New file.
30320 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
30321 to...
30322 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
30323 * Versions.def: Add GLIBC_2.14.
30324 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
30325 Export.
83fe108b 30326
bb242059
UD
303272011-03-22 Ulrich Drepper <drepper@gmail.com>
30328
30329 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
30330 round counter.
30331 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
30332
c97a1282
L
303332011-03-20 H.J. Lu <hongjiu.lu@intel.com>
30334
30335 [BZ #12597]
30336 * string/test-strncmp.c (do_page_test): New function.
30337 (check2): Likewise.
30338 (test_main): Call check2.
30339 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
30340
2a115601
UD
303412011-03-20 Ulrich Drepper <drepper@gmail.com>
30342
30343 [BZ #12587]
30344 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
30345 Handle cache information in CPU leaf 4.
30346 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
30347
8126d904
UD
303482011-03-18 Ulrich Drepper <drepper@gmail.com>
30349
042c49c6 30350 [BZ #12583]
8126d904
UD
30351 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
30352 character representation.
30353 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
30354
ccfe366e
RA
303552011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
30356
30357 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
30358 END(__isnan) to END(__isnanf) to match function entry point/label
30359 EALIGN(__isnanf,...).
30360
c6e13027
JJ
303612011-03-10 Jakub Jelinek <jakub@redhat.com>
30362
30363 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
30364
33f85a3f
UD
303652011-03-10 Ulrich Drepper <drepper@gmail.com>
30366
028478fa
UD
30367 [BZ #12510]
30368 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
30369 copy from the symbol referenced in the relocation to initialize the
30370 used variable.
30371 Patch by Piotr Bury <pbury@goahead.com>.
30372 * elf/Makefile: Add rules to build and tst-unique3.
30373 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
30374 * elf/tst-unique3.cc: New file.
30375 * elf/tst-unique3.h: New file.
30376 * elf/tst-unique3lib.cc: New file.
30377 * elf/tst-unique3lib2.cc: New file.
30378
33f85a3f
UD
30379 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
30380
03592fc7
MF
303812011-03-10 Mike Frysinger <vapier@gentoo.org>
30382
30383 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
30384 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
30385 to _start.
03592fc7 30386
6a5ee102
UD
303872011-03-06 Ulrich Drepper <drepper@gmail.com>
30388
30389 * elf/dl-load.c (_dl_map_object): If we are looking for the first
30390 to-be-loaded object along a path to loader is ld.so.
30391
7e4ba49c
HJ
303922011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
30393 Ulrich Drepper <drepper@gmail.com>
30394
30395 * sysdeps/x86_64/memset.S: After aligning destination, code
30396 branches to different locations depending on the value of
30397 misalignment, when multiarch is enabled. Fix this.
30398
303992011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
30400
30401 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
30402 Set _x86_64_preferred_memory_instruction for AMD processsors.
30403 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30404 Set bit_Prefer_SSE_for_memop for AMD processors.
30405
13a804de
UD
304062011-03-04 Ulrich Drepper <drepper@gmail.com>
30407
30408 * libio/fmemopen.c (fmemopen): Optimize a bit.
30409
9d25c392
AS
304102011-03-03 Andreas Schwab <schwab@redhat.com>
30411
30412 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
30413
a5543c6a
RM
304142011-03-03 Roland McGrath <roland@redhat.com>
30415
30416 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
30417
012d35f7
DM
304182011-02-28 Aurelien Jarno <aurelien@aurel32.net>
30419
7e4ba49c 30420 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
30421 __bzero_ultra1 instead of __memset_ultra1.
30422
4bff6e01
AS
304232011-02-23 Andreas Schwab <schwab@redhat.com>
30424 Ulrich Drepper <drepper@gmail.com>
30425
30426 [BZ #12509]
30427 * include/link.h (struct link_map): Add l_orig_initfini.
30428 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
30429 returning unsuccessfully.
30430 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
30431 close of a file loaded at startup, restore the original l_initfini
30432 list.
30433 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
30434 list, store the pointer.
30435 * elf/Makefile ($(objpfx)noload-mem): New rule.
30436 (noload-ENV): Define.
30437 (tests): Add $(objpfx)noload-mem.
30438 * elf/noload.c: Include <memcheck.h>.
30439 (main): Call mtrace. Close all opened handles.
30440
f2092faf
AS
304412011-02-17 Andreas Schwab <schwab@redhat.com>
30442
30443 [BZ #12454]
30444 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
30445 dependencies are missing.
30446
6c8a2e88
ST
304472011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
30448
f2092faf 30449 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
30450 Hurd needs munmap.
30451 * sysdeps/mach/hurd/ifreq.h: New file.
30452
84a42118
PB
304532011-01-27 Petr Baudis <pasky@suse.cz>
30454 Ulrich Drepper <drepper@gmail.com>
30455
071f805e 30456 [BZ 12445]#
84a42118
PB
30457 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
30458 to extend_alloca().
30459 * stdio-common/bug23.c: New file.
30460 * stdio-common/Makefile (tests): Add bug23.
30461
e23fe25b
AS
304622010-09-28 Andreas Schwab <schwab@redhat.com>
30463 Ulrich Drepper <drepper@gmail.com>
30464
30465 [BZ #12489]
30466 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
30467 before performing relro protection. At old place add assertion
30468 to make sure nothing changed.
30469
d3f02e10
NS
304702011-02-17 Nathan Sidwell <nathan@codesourcery.com>
30471 Glauber de Oliveira Costa <glommer@gmail.com>
30472
30473 * elf/elf.h: Add new ARM TLS relocs.
30474
d55fd7a5
RA
304752011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
30476
30477 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30478 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
30479 cast from r3.
30480 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
30481 'tests' variable.
30482 * sysdeps/wordsize-64/tst-writev.c: New file.
30483
2206397e
RA
304842011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
30485
30486 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
30487 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
30488 insns in _dl_start to prevent a TOC reference before relocs are
30489 resolved.
30490
e9433893
UD
304912011-02-15 Ulrich Drepper <drepper@gmail.com>
30492
30493 [BZ #12469]
30494 * Makeconfig: Remove RANLIB definition.
30495 * Makerules: Don't use RANLIB.
30496 * aclocal.m4: Remove ranlib test.
30497 * configure.in: No need to check for ranlib.
30498 * elf/rtld-Rules: Don't use RANLIB.
30499
f75286c6
ST
305002011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
30501
8e31c82d
ST
30502 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
30503 protection macro.
30504 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
30505 inclusion protection macro.
30506
f75286c6
ST
30507 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
30508 SIGRTMIN and SIGRTMAX and print information in that case only when
30509 SIGRTMIN is defined.
30510
c1d0e639
JJ
305112011-02-11 Jakub Jelinek <jakub@redhat.com>
30512
30513 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
30514 arginfo fn returning -1.
30515
30516 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
30517 and thousands string is zero terminated.
30518
edf9294e
AS
305192011-02-03 Andreas Schwab <schwab@redhat.com>
30520
30521 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
30522 sysdeps/unix/sysv/linux/bits/socket.h.
30523
2b7e92df
ST
305242011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
30525
edf9294e
AS
30526 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
30527 (__CPU_COUNT): Remove old macros.
30528 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
30529 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
30530 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
30531 (__sched_cpualloc, __sched_cpufree): Add declarations.
30532
a4c7ea7b
UD
305332011-02-05 Ulrich Drepper <drepper@gmail.com>
30534
30535 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
30536 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
30537 * nscd/aicache.c (addhstaiX): Return timeout of added value.
30538 (readdhstai): Return value of addhstaiX call.
30539 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
30540 (addgrbyX): Return value returned by cache_addgr.
30541 (readdgrbyname): Return value returned by addgrbyX.
30542 (readdgrbygid): Likewise.
30543 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
30544 (addpwbyX): Return value returned by cache_addpw.
30545 (readdpwbyname): Return value returned by addhstbyX.
30546 (readdpwbyuid): Likewise.
30547 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
30548 (addservbyX): Return value returned by cache_addserv.
30549 (readdservbyname): Return value returned by addservbyX:
30550 (readdservbyport): Likewise.
30551 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
30552 (addhstbyX): Return value returned by cache_addhst.
30553 (readdhstbyname): Return value returned by addhstbyX.
30554 (readdhstbyaddr): Likewise.
30555 (readdhstbynamev6): Likewise.
30556 (readdhstbyaddrv6): Likewise.
30557 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
30558 (readdinitgroups): Return value returned by addinitgroupsX.
30559 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
30560 (prune_cache): Keep track of timeout value of re-added entries.
30561 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
30562 * nscd/nscd.h: Adjust prototypes of readd* functions.
30563
a0bf67cc
RM
305642011-02-04 Roland McGrath <roland@redhat.com>
30565
30566 * nis/nis_server.c (nis_servstate): Use the right name for 0.
30567 (nis_stats): Likewise.
30568 * nis/nis_modify.c (nis_modify): Likewise.
30569 * nis/nis_remove.c (nis_remove): Likewise.
30570 * nis/nis_add.c (nis_add): Likewise.
30571
30572 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
30573
30574 * posix/fnmatch_loop.c: Add some consts.
30575
30576 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
30577
435b95eb
L
305782011-02-02 H.J. Lu <hongjiu.lu@intel.com>
30579
30580 [BZ #12460]
30581 * config.make.in (config-cflags-novzeroupper): Define.
30582 * configure.in: Substitute libc_cv_cc_novzeroupper.
30583 * elf/Makefile (AVX-CFLAGS): Define.
30584 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
30585 (CFLAGS-tst-auditmod4a.c): Likewise.
30586 (CFLAGS-tst-auditmod4b.c): Likewise.
30587 (CFLAGS-tst-auditmod6b.c): Likewise.
30588 (CFLAGS-tst-auditmod6c.c): Likewise.
30589 (CFLAGS-tst-auditmod7b.c): Likewise.
30590 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
30591
8517b15e
UD
305922011-02-02 Ulrich Drepper <drepper@gmail.com>
30593
30594 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
30595 function to the callback.
30596 Patch partly by Jiri Olsa <jolsa@redhat.com>.
30597
10a656fe
AS
305982011-02-02 Andreas Schwab <schwab@redhat.com>
30599
30600 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
30601 of errno.
30602
968dad0a
UD
306032011-01-19 Ulrich Drepper <drepper@gmail.com>
30604
9f94d2ea 30605 [BZ #11724]
968dad0a
UD
30606 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
30607 of constructors.
30608 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
30609 of destructors.
30610 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
30611
30612 [BZ #11724]
30613 * elf/Makefile: Add rules to build and run new test.
30614 * elf/tst-initorder.c: New file.
30615 * elf/tst-initorder.exp: New file.
30616 * elf/tst-initordera1.c: New file.
30617 * elf/tst-initordera2.c: New file.
30618 * elf/tst-initordera3.c: New file.
30619 * elf/tst-initordera4.c: New file.
30620 * elf/tst-initorderb1.c: New file.
30621 * elf/tst-initorderb2.c: New file.
30622 * elf/tst-order-a1.c: New file.
30623 * elf/tst-order-a2.c: New file.
30624 * elf/tst-order-a3.c: New file.
30625 * elf/tst-order-a4.c: New file.
30626 * elf/tst-order-b1.c: New file.
30627 * elf/tst-order-b2.c: New file.
30628 * elf/tst-order-main.c: New file.
30629 New test case by George Gensure <werkt0@gmail.com>.
30630
86e92359
UD
306312010-10-01 Andreas Schwab <schwab@redhat.com>
30632
30633 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
30634 decoding ACE if AI_CANONIDN.
30635
5d5732b0
UD
306362011-01-18 Ulrich Drepper <drepper@gmail.com>
30637
30638 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
30639
a77e8cbc
UD
306402011-01-17 Ulrich Drepper <drepper@gmail.com>
30641
6392473f
UD
30642 * version.h (RELEASE): Bump for 2.13 release.
30643 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
30644
620a0529
UD
30645 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
30646
18ba70a5
UD
30647 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
30648 MADV_NOHUGEPAGE.
32465c3e
UD
30649 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
30650 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
30651 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30652 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
30653 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30654 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30655
c0dafcf1
UD
30656 * posix/getconf.c: Update copyright year.
30657 * catgets/gencat.c: Likewise.
30658 * csu/version.c: Likewise.
30659 * debug/catchsegv.sh: Likewise.
30660 * debug/xtrace.sh: Likewise.
30661 * elf/ldconfig.c: Likewise.
30662 * elf/ldd.bash.in: Likewise.
30663 * elf/sprof.c (print_version): Likewise.
30664 * iconv/iconv_prog.c: Likewise.
30665 * iconv/iconvconfig.c: Likewise.
30666 * locale/programs/locale.c: Likewise.
30667 * locale/programs/localedef.c: Likewise.
30668 * malloc/memusage.sh: Likewise.
30669 * malloc/mtrace.pl: Likewise.
30670 * nscd/nscd.c (print_version): Likewise.
30671 * nss/getent.c: Likewise.
30672
a77e8cbc
UD
30673 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
30674 PF_CAIF, and PF_ALG.
30675 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30676
77e8bddf
AS
306772011-01-16 Andreas Schwab <schwab@linux-m68k.org>
30678
1f20b93a
AS
30679 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
30680 (modules-names): Use them.
30681 (ifunc-test-modules, ifunc-pie-tests): Define.
30682 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
30683 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
30684 (test-extras): Likewise.
30685 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
30686 $(compile-command.c).
30687 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
30688 (all-built-dso): Define.
30689 (check-textrel.out, check-execstack.out): Depend on it.
30690
77e8bddf
AS
30691 * configure.in: Don't override --enable-multi-arch.
30692
bc425b33
UD
306932011-01-15 Ulrich Drepper <drepper@gmail.com>
30694
30695 [BZ #6812]
30696 * nscd/hstcache.c (tryagain): Define.
30697 (cache_addhst): Return tryagain not notfound for temporary errors.
30698 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
30699 failed.
30700
794c3ad3
UD
307012011-01-14 Ulrich Drepper <drepper@gmail.com>
30702
70181fdd
UD
30703 [BZ #10563]
30704 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
30705 to make the syscall.
30706 * sysdeps/unix/sysv/linux/setgroups.c: New file.
30707
794c3ad3
UD
30708 [BZ #12378]
30709 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
30710 and fall back to matching as normal character if the string ends before
30711 the matching ']' is found. This is what POSIX requires.
30712 * posix/testfnm.c: Adjust test result.
30713 * posix/globtest.sh: Adjust test result. Add new test.
30714 * posix/tst-fnmatch.input: Likewise.
30715 * posix/tst-fnmatch2.c: Add new test.
30716
68dc9497
AS
307172010-12-28 Andreas Schwab <schwab@linux-m68k.org>
30718
30719 * elf/Makefile (check-execstack): Revert last change. Depend on
30720 check-execstack.h.
30721 (check-execstack.h): New target.
30722 (generated): Add check-execstack.h.
30723 * elf/check-execstack.c: Include "check-execstack.h".
30724 (main): Revert last change.
30725 (handle_file): Return zero if GNU_STACK is absent and
30726 DEFAULT_STACK_PERMS doesn't include PF_X.
30727
451f001b
UD
307282011-01-13 Ulrich Drepper <drepper@gmail.com>
30729
cfa28e56
UD
30730 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
30731 in child fails because the descriptor is already closed.
8cf8ce17
UD
30732 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
30733 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
30734 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 30735
1086d70d
UD
30736 [BZ #12397]
30737 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
30738 syscall.
30739
451f001b
UD
30740 [BZ #10484]
30741 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
30742 temporary buffer used to handle multi lookups locally.
a85b5cb4 30743 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 30744
08769175
UD
307452011-01-12 Ulrich Drepper <drepper@gmail.com>
30746
30747 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
30748 loader is ld.so.
30749
5e49c52e
UD
307502011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
30751
30752 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
30753 alignment for SSE2.
30754
60522a5f
UD
307552011-01-12 Ulrich Drepper <drepper@gmail.com>
30756
30757 [BZ #12394]
30758 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
30759 characters. When rounding increased number of integer digits recompute
30760 number of groups.
30761 * stdio-common/tst-grouping.c: New file.
30762 * stdio-common/Makefile: Add rules to build and run tst-grouping.
30763
f257bbd7
UD
307642011-01-09 Ulrich Drepper <drepper@gmail.com>
30765
30766 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
30767 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
30768
30769 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
30770 void.
30771 * bits/select.h: Likewise.
30772
fa9c15cb
UD
307732011-01-08 Ulrich Drepper <drepper@gmail.com>
30774
30775 * po/ja.po: Update from translation team.
30776
16c2895f
DM
307772011-01-04 David S. Miller <davem@sunset.davemloft.net>
30778
30779 [BZ #11155]
30780 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
30781 implementation just like for lxstat, fxstatat, et al.
30782
2543fef2
JM
307832010-12-27 Jim Meyering <meyering@redhat.com>
30784
30785 [BZ #12348]
30786 * posix/regexec.c (build_trtable): Return failure indication upon
30787 calloc failure. Otherwise, re_search_internal could infloop on OOM.
30788
98727dbe
UD
307892010-12-25 Ulrich Drepper <drepper@gmail.com>
30790
5bd6dc5c
UD
30791 [BZ #12201]
30792 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
30793 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
30794 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
30795 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
30796
97983464
UD
30797 [BZ #12207]
30798 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
30799
98727dbe
UD
30800 [BZ #12204]
30801 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
30802 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
30803
4a531bb0
L
308042010-12-15 H.J. Lu <hongjiu.lu@intel.com>
30805
30806 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
30807 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
30808 script has SORT_BY_INIT_PRIORITY.
30809 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
30810 NO_CTORS_DTORS_SECTIONS is defined.
30811 * elf/soinit.c: Likewise.
30812 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
30813 NO_CTORS_DTORS_SECTIONS is defined.
30814 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
30815 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
30816 * sysdeps/sh/init-first.c: Likewise.
30817 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
30818
07eb4b71
UD
308192010-12-24 Ulrich Drepper <drepper@gmail.com>
30820
30821 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
30822 always use the slow path.
30823
30950a5f
RA
308242010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
30825
30826 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
30827 similar rule which adds the sysdep directories to the header search in
30828 order to pick up the correct platform stackinfo.h.
30829 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
30830 perform test if it is, otherwise return successfully without testing.
30831 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
30832 DEFAULT_STACK_PERMS define in stackinfo.h.
30833 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
30834 defined in stackinfo.h.
30835 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
30836 DEFAULT_STACK_PERMS defined in stackinfo.h.
30837 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
30838 * sysdeps/ia64/stackinfo.h: Likewise.
30839 * sysdeps/s390/stackinfo.h: Likewise.
30840 * sysdeps/sh/stackinfo.h: Likewise.
30841 * sysdeps/sparc/stackinfo.h: Likewise.
30842 * sysdeps/x86_64/stackinfo.h: Likewise.
30843 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
30844 PF_X for powerpc64. Retain PF_X for powerpc32.
30845
db753e2c
UD
308462010-12-19 Ulrich Drepper <drepper@gmail.com>
30847
14b697f7
UD
30848 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
30849 accurately.
db753e2c
UD
30850 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
30851 GETDENTS_64BIT_ALIGNED.
30852
28300719
UD
308532010-12-14 Ulrich Drepper <dreper@gmail.com>
30854
14b697f7 30855 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 30856
4f197237
AS
308572010-12-10 Andreas Schwab <schwab@redhat.com>
30858
dbb0472f
AS
30859 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
30860 _GNU_SOURCE.
30861
4f197237
AS
30862 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
30863 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
30864 Remove __restrict.
30865 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
30866 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
30867
fb88ac72
UD
308682010-12-09 Ulrich Drepper <drepper@gmail.com>
30869
30870 [BZ #11655]
30871 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
30872 are initialized.
30873
42acbb92
JJ
308742010-12-09 Jakub Jelinek <jakub@redhat.com>
30875
30876 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
30877
c038d98d
UD
308782010-12-03 Ulrich Drepper <drepper@gmail.com>
30879
30880 * po/it.po: Update from translation team.
30881
3a4a2499
L
308822010-12-01 H.J. Lu <hongjiu.lu@intel.com>
30883
30884 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
30885 unused codes.
30886
1e24cf6e
UD
308872010-11-30 Ulrich Drepper <drepper@gmail.com>
30888
30889 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
30890
a7690819
AS
308912010-11-24 Andreas Schwab <schwab@redhat.com>
30892
30893 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
30894 specially.
30895 (gaih_getanswer_slice): Likewise.
30896
3bf8d1b1
JJ
308972010-10-20 Jakub Jelinek <jakub@redhat.com>
30898
30899 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
30900
6db52fbb
PB
309012010-05-31 Petr Baudis <pasky@suse.cz>
30902
30903 [BZ #11149]
30904 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
30905 silently even in the chroot mode.
30906
eaca7569
UD
309072010-11-22 Ulrich Drepper <drepper@gmail.com>
30908
30909 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
30910 last patch a bit. Pretty printing
30911
3056dcdb
UD
309122010-05-31 Petr Baudis <pasky@suse.cz>
30913
30914 [BZ #10085]
30915 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
30916 initialization of skip_initgroups_dyn.
30917
cf7c9078
UD
309182010-11-19 Ulrich Drepper <drepper@gmail.com>
30919
30920 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
30921 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30922
a1fb5e3e
UD
309232010-11-16 Ulrich Drepper <drepper@gmail.com>
30924
30925 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
30926
3540d66b
AS
309272010-11-11 Andreas Schwab <schwab@redhat.com>
30928
30929 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
30930 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
30931 (tst-fnmatch-ENV): Set MALLOC_TRACE.
30932 ($(objpfx)tst-fnmatch-mem): New rule.
30933 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
30934 * posix/tst-fnmatch.c (main): Call mtrace.
30935
13b69574
L
309362010-11-11 H.J. Lu <hongjiu.lu@intel.com>
30937
30938 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30939 Support Intel processor model 6 and model 0x2c.
30940
da93d214
LM
309412010-11-10 Luis Machado <luisgpm@br.ibm.com>
30942
30943 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
30944 signed comparison.
30945
8ca52c6e
L
309462010-11-09 H.J. Lu <hongjiu.lu@intel.com>
30947
30948 [BZ #12205]
30949 * string/test-strncasecmp.c (check_result): New function.
30950 (do_one_test): Use it.
30951 (check1): New function.
30952 (test_main): Use it.
30953 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
30954 Support strcasecmp and strncasecmp.
30955
69da074d
UD
309562010-11-08 Ulrich Drepper <drepper@gmail.com>
30957
30958 [BZ #12194]
30959 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
30960 * sysdeps/x86_64/bits/byteswap.h: Likewise.
30961
ff02d528
L
309622010-11-07 H.J. Lu <hongjiu.lu@intel.com>
30963
30964 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
30965 IFUNC support.
30966 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30967 memset-x86-64.
30968 * sysdeps/x86_64/multiarch/bzero.S: New file.
30969 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
30970 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
30971 * sysdeps/x86_64/multiarch/memset.S: New file.
30972 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
30973 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30974 Set bit_Prefer_SSE_for_memop for Intel processors.
30975 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
30976 Define.
30977 (index_Prefer_SSE_for_memop): Define.
30978 (HAS_PREFER_SSE_FOR_MEMOP): Define.
30979
344d0b54
LM
309802010-11-04 Luis Machado <luisgpm@br.ibm.com>
30981
30982 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
30983 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
30984
c0dde15b
UD
309852010-11-03 H.J. Lu <hongjiu.lu@intel.com>
30986
30987 [BZ #12191]
30988 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
30989 (__x86_64_raw_data_cache_size_half): Likewise.
30990 (__x86_64_raw_shared_cache_size): Likewise.
30991 (__x86_64_raw_shared_cache_size_half): Likewise.
30992
30993 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
30994 (__x86_64_raw_data_cache_size_half): Likewise.
30995 (__x86_64_raw_shared_cache_size): Likewise.
30996 (__x86_64_raw_shared_cache_size_half): Likewise.
30997 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
30998 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
30999 and __x86_64_raw_shared_cache_size_half. Round
31000 __x86_64_data_cache_size_half, __x86_64_data_cache_size
31001 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
31002 to multiple of 256 bytes.
31003
0e516e0e
MS
310042010-11-03 Ulrich Drepper <drepper@gmail.com>
31005
31006 [BZ #12167]
31007 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
31008 of inacessible symlinks. Verify result of symlink before returning it.
31009 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
31010 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
31011
0e012e87
ER
310122010-10-28 Erich Ritz <erichritz@gmail.com>
31013
31014 * math/math.h (isinf): Fix typo in comment.
31015
de0ff7bc
UD
310162010-11-01 Ulrich Drepper <drepper@gmail.com>
31017
31018 * po/da.po: Update from translation team.
31019
fa41c84d
UD
310202010-10-26 Ulrich Drepper <drepper@gmail.com>
31021
31022 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
31023 is added to the list.
31024
f0967738
AK
310252010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31026 Ulrich Drepper <drepper@gmail.com>
31027
31028 * elf/dl-object.c (_dl_new_object): Don't append the new object to
31029 the global list here. Move code to...
31030 (_dl_add_to_namespace_list): ...here. New function.
31031 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
31032 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
31033 * elf/dl-load.c (lose): Don't remove the element from the list.
31034 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
31035 (_dl_map_object): Likewise.
31036
310372010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
31038
31039 [BZ #12159]
31040 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
31041 into all bytes of SSE register.
31042 Patch by Richard Li <richardpku@gmail.com>.
31043
f0967738 310442010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
31045
31046 [BZ #12140]
31047 * malloc/malloc.c (_int_free): Fill correct number of bytes when
31048 perturbing.
31049
d0b9e94f
MB
310502010-10-20 Michael B. Brutman <brutman@us.ibm.com>
31051
31052 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
31053 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
31054 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
31055 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
31056 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
31057 submachine.
31058 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
31059
8e9f92e9
AS
310602010-10-22 Andreas Schwab <schwab@redhat.com>
31061
31062 * include/dlfcn.h (__RTLD_SECURE): Define.
31063 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
31064 mode & __RTLD_SECURE instead.
31065 (open_path): Rename preloaded parameter to secure.
31066 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
31067 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
31068 * elf/dl-deps.c (openaux): Likewise.
31069 * elf/rtld.c (struct map_args): Remove is_preloaded.
31070 (map_doit): Don't use it.
31071 (dl_main): Likewise.
31072 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
31073 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
31074
bc96fbda
AS
310752010-09-09 Andreas Schwab <schwab@redhat.com>
31076
31077 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
31078 (sysd-rules-targets): Remove duplicates.
31079 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
31080 rtld-%.$o dependency.
31081
22cd1c9b
AS
310822010-10-18 Andreas Schwab <schwab@redhat.com>
31083
31084 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
31085 _dl_map_object do it.
31086
18edac48
UD
310872010-10-19 Ulrich Drepper <drepper@gmail.com>
31088
31089 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
31090 fast fma builtins, define the macros in the C99 standard.
31091 (FP_FAST_FMAF): Likewise.
31092 (FP_FAST_FMAL): Likewise.
31093 * sysdeps/x86_64/bits/mathdef.h: Likewise.
31094
31095 * bits/mathdef.h: Update copyright year.
31096 * sysdeps/powerpc/bits/mathdef.h: Likewise.
31097
d2050124
MM
310982010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
31099
31100 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
31101 builtins, define the macros in the C99 standard.
31102 (FP_FAST_FMAF): Likewise.
31103 (FP_FAST_FMAL): Likewise.
31104 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
31105 multiply/add.
31106 (FP_FAST_FMAF): Likewise.
31107
475facd1
JJ
311082010-10-15 Jakub Jelinek <jakub@redhat.com>
31109
31110 [BZ #3268]
31111 * math/libm-test.inc (fma_test): Some new testcases.
31112 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
31113 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
31114 y and infinite z. Do multiplication by C already in long double.
31115 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
31116 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
31117 y and infinite z. Do bitwise or of inexact bit into u.d.
31118 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
31119 * sysdeps/i386/fpu/s_fmaf.S: Removed.
31120 * sysdeps/i386/fpu/s_fma.S: Removed.
31121 * sysdeps/i386/fpu/s_fmal.S: Removed.
31122
7c08a05c
JJ
311232010-10-16 Jakub Jelinek <jakub@redhat.com>
31124
31125 [BZ #3268]
31126 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
31127 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
31128 computation is not scheduled after fetestexcept. Fix value
31129 of minimum denormal long double.
31130
f3f7372d
JJ
311312010-10-14 Jakub Jelinek <jakub@redhat.com>
31132
31133 [BZ #3268]
31134 * math/libm-test.inc (fma_test): Add some more tests.
31135 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
31136 correctly.
31137
14d43591
AS
311382010-10-15 Andreas Schwab <schwab@redhat.com>
31139
31140 * scripts/data/localplt-s390-linux-gnu.data: New file.
31141 * scripts/data/localplt-s390x-linux-gnu.data: New file.
31142
5e908464
JJ
311432010-10-13 Jakub Jelinek <jakub@redhat.com>
31144
31145 [BZ #3268]
31146 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
31147 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
31148 instead of dbl-64.
31149 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
31150 inlines.
31151 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
31152 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
31153 if one of x and y is very large and the other is subnormal.
31154 * sysdeps/s390/fpu/s_fmaf.c: New file.
31155 * sysdeps/s390/fpu/s_fma.c: New file.
31156 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
31157 * sysdeps/powerpc/fpu/s_fma.S: New file.
31158 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
31159 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
31160 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
31161
311622010-10-12 Jakub Jelinek <jakub@redhat.com>
31163
31164 [BZ #3268]
31165 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
31166 fma tests.
31167 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
31168 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
31169 * sysdeps/i386/i686/multiarch/s_fma.c: Include
31170 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
31171 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
31172 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
31173 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
31174
b833d51f
UD
311752010-10-12 Ulrich Drepper <drepper@redhat.com>
31176
31177 [BZ #12078]
31178 * posix/regcomp.c (parse_branch): One more memory leak plugged.
31179 * posix/bug-regex31.input: Add test case.
31180
1751705d
UD
311812010-10-11 Ulrich Drepper <drepper@gmail.com>
31182
e9b9cbf5
UD
31183 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
31184 * posix/bug-regex31.input: New file.
31185
31186 [BZ #12078]
31187 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
31188 (parse_sub_exp): Fix last change, use postorder.
31189
ef06edbe
UD
31190 * posix/bug-regex31.c: New file.
31191 * posix/Makefile: Add rules to build and run bug-regex31.
31192
a129c80d
UD
31193 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
31194
31195 [BZ #12078]
31196 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
31197
b76b818e
UD
31198 [BZ #12108]
31199 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
31200 to have entries in sys_siglist.
31201
1751705d
UD
31202 [BZ #12093]
31203 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
31204 be NULL.
31205
9ff8d36f
JJ
312062010-10-07 Jakub Jelinek <jakub@redhat.com>
31207
31208 [BZ #3268]
31209 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
31210 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
31211 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
31212 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
31213 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
31214 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
31215 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
31216 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
31217 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
31218 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
31219 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
31220 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
31221 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
31222 * math/ftestexcept.c (fetestexcept): Likewise.
31223 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
31224 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
31225 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
31226 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
31227 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
31228 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
31229 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31230
af325969
UD
312312010-10-11 Ulrich Drepper <drepper@gmail.com>
31232
c579b202 31233 [BZ #12107]
af325969
UD
31234 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
31235 newline.
31236
67a67b95
UD
312372010-10-06 Ulrich Drepper <drepper@gmail.com>
31238
31239 * string/bug-strstr1.c: New file.
31240 * string/Makefile: Add rules to build and run bug-strstr1.
31241
5fb308bc
EB
312422010-10-05 Eric Blake <eblake@redhat.com>
31243
31244 [BZ #12092]
31245 * string/str-two-way.h (two_way_long_needle): Always clear memory
31246 when skipping input due to the shift table.
31247
45db99c7
UD
312482010-10-03 Ulrich Drepper <drepper@gmail.com>
31249
3b111893
UD
31250 [BZ #12005]
31251 * malloc/mcheck.c: Handle large requests.
31252
45db99c7
UD
31253 [BZ #12077]
31254 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
31255 for strncmp and strncasecmp.
31256 * string/stratcliff.c: Add tests for strcmp and strncmp.
31257 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
31258
cf7a1eb8
NI
312592010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31260
31261 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
31262 __set_fpscr.
31263
6484ba5e
AJ
312642010-09-30 Andreas Jaeger <aj@suse.de>
31265
31266 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
31267 (CGROUP_SUPER_MAGIC): Define.
31268 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31269 Handle btrfs and cgroup file systems.
31270 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
31271 Likewise.
31272
91c42559
LM
312732010-09-27 Luis Machado <luisgpm@br.ibm.com>
31274
31275 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
31276 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
31277
87a97932
AK
312782010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31279
31280 [BZ #12067]
31281 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
31282 trying to locate the ELF header.
31283
c21cc9bc
AS
312842010-09-27 Andreas Schwab <schwab@redhat.com>
31285
31286 [BZ #11611]
31287 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
31288 Mask out sign-bit copies when constructing f_fsid.
31289
315970f6
PB
312902010-09-24 Petr Baudis <pasky@suse.cz>
31291
31292 * debug/stack_chk_fail_local.c: Add missing licence exception.
31293 * debug/warning-nop.c: Likewise.
31294
1ac7a2c7
JM
312952010-09-15 Joseph Myers <joseph@codesourcery.com>
31296
31297 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
31298 implementing getdents64 using getdents syscall, set d_type if
31299 __ASSUME_GETDENTS32_D_TYPE.
31300
56801c50
AS
313012010-09-16 Andreas Schwab <schwab@redhat.com>
31302
31303 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
31304 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
31305
dda51327
UD
313062010-09-21 Ulrich Drepper <drepper@redhat.com>
31307
31308 [BZ #12037]
31309 * posix/unistd.h: Undo change of feature selection for ftruncate from
31310 2010-01-11.
31311
8ffcee4a
UD
313122010-09-20 Ulrich Drepper <drepper@redhat.com>
31313
a545ecd9 31314 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
31315 detection.
31316
e24f0a8b
AS
313172010-09-20 Andreas Schwab <schwab@redhat.com>
31318
31319 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
31320 fanotify_mark.
31321 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31322
7291c56f
AS
313232010-09-14 Andreas Schwab <schwab@redhat.com>
31324
31325 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
31326 variables after CHECK_SP call.
31327 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
31328
bc5fb037
AS
313292010-09-13 Andreas Schwab <schwab@redhat.com>
31330 Ulrich Drepper <drepper@redhat.com>
31331
31332 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
31333 re-relocationg ld.so.
31334 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
31335 _dl_init_paths call.
31336 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
31337 here anymore.
31338
e66e7419
UD
313392010-09-14 Ulrich Drepper <drepper@redhat.com>
31340
31341 * resolv/res_init.c (__res_vinit): Count the default server we added.
31342
c044aa75
CLT
313432010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
31344 Ulrich Drepper <drepper@redhat.com>
31345
31346 [BZ #11968]
31347 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
31348 (____longjmp_chk): Use %ebx for saving value across system call.
31349 Add unwind info.
31350
32cf4069
AS
313512010-09-06 Andreas Schwab <schwab@redhat.com>
31352
31353 * manual/Makefile: Don't mix pattern rules with normal rules.
31354
817328ee
AS
313552010-09-05 Andreas Schwab <schwab@linux-m68k.org>
31356
31357 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
31358 operation.
31359 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
31360 * libio/iofopncook.c (_IO_cookie_init): Likewise.
31361 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
31362 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
31363 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31364 Likewise.
31365
29fddf61
UD
313662010-09-04 Ulrich Drepper <drepper@redhat.com>
31367
31368 [BZ #11979]
31369 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
31370 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
31371
0959ffc9
UD
313722010-09-02 Ulrich Drepper <drepper@redhat.com>
31373
31374 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
31375 * sysdeps/x86_64/addmul_1.S: Likewise.
31376 * sysdeps/x86_64/lshift.S: Likewise.
31377 * sysdeps/x86_64/mul_1.S: Likewise.
31378 * sysdeps/x86_64/rshift.S: Likewise.
31379 * sysdeps/x86_64/sub_n.S: Likewise.
31380 * sysdeps/x86_64/submul_1.S: Likewise.
31381
ece29840
ST
313822010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
31383
0959ffc9
UD
31384 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
31385 Define __sched_param instead of SCHED_* and sched_param when
ece29840 31386 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 31387 * bits/sched.h [__need_schedparam]
ece29840 31388 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
31389 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
31390 (__defined_schedparam): Define to 1.
ece29840
ST
31391 (__sched_param): New structure, identical to sched_param.
31392 (__need_schedparam): Undefine.
31393
e53a31fe
MF
313942010-08-31 Mike Frysinger <vapier@gentoo.org>
31395
fdc0c10d
MF
31396 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
31397 (epoll_create1): Declare.
31398
e53a31fe
MF
31399 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
31400
a726d796
AS
314012010-08-31 Andreas Schwab <schwab@redhat.com>
31402
31403 [BZ #7066]
31404 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
31405 shifting retval into place.
31406
2f3e3dc7
UD
314072010-09-01 Ulrich Drepper <drepper@redhat.com>
31408
f2933da9
UD
31409 * nis/rpcsvc/nis.h: Update copyright notice.
31410 * nis/rpcsvc/nis.x: Likewise.
31411 * nis/rpcsvc/nis_callback.h: Likewise.
31412 * nis/rpcsvc/nis_callback.x: Likewise.
31413 * nis/rpcsvc/nis_object.x: Likewise.
31414 * nis/rpcsvc/nis_tags.h: Likewise.
31415 * nis/rpcsvc/yp.h: Likewise.
31416 * nis/rpcsvc/yp.x: Likewise.
31417 * nis/rpcsvc/ypupd.h: Likewise.
31418 * nis/yp_xdr.c: Likewise.
31419 * nis/ypupdate_xdr.c: Likewise.
31420
2f3e3dc7
UD
31421 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
31422 mainly the body of pmap_getport. Add parameters to specify timeouts.
31423 (pmap_getport): Use __libc_rpc_getport.
31424 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
31425 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
31426 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
31427
f3dcc2f9
AS
314282010-08-31 Andreas Schwab <schwab@linux-m68k.org>
31429
31430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
31431 fanotify_mark.
31432
6d34eb5b
RM
314332010-08-27 Roland McGrath <roland@redhat.com>
31434
31435 * sysdeps/i386/i686/multiarch/Makefile
31436 (CFLAGS-varshift.c): New variable.
31437
9ea3de11
UD
314382010-08-27 Ulrich Drepper <drepper@redhat.com>
31439
c96d23fc
UD
31440 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
31441 * sysdeps/i386/i686/multiarch/varshift.c: New file.
31442
9ea3de11
UD
31443 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
31444
31445 * sysdeps/x86_64/strlen.S: Minimal code improvement.
31446
623aac7f
L
314472010-08-26 H.J. Lu <hongjiu.lu@intel.com>
31448
31449 * sysdeps/x86_64/strlen.S: Unroll the loop.
31450 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31451 strlen-sse2 strlen-sse2-bsf.
31452 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
31453 __strlen_no_bsf if bit_Slow_BSF is set.
31454 (__strlen_sse42): Removed.
31455 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
31456 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
31457
8b2b7715
RM
314582010-08-25 Roland McGrath <roland@redhat.com>
31459
31460 * sysdeps/x86_64/multiarch/varshift.S: File removed.
31461 * sysdeps/x86_64/multiarch/varshift.c: New file.
31462 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
31463 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
31464 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
31465 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
31466
e73015f2
L
314672010-08-25 H.J. Lu <hongjiu.lu@intel.com>
31468
31469 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31470 strlen-sse2 strlen-sse2-bsf.
31471 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
31472 __strlen_sse2_bsf if bit_Slow_BSF is unset.
31473 (__strlen_sse2): Removed.
31474 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
31475 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
31476 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
31477 bit_Slow_BSF for Atom.
31478 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
31479 (index_Slow_BSF): Define.
31480 (HAS_SLOW_BSF): Define.
31481
df24a73e
UD
314822010-08-25 Ulrich Drepper <drepper@redhat.com>
31483
31484 [BZ #10851]
31485 * resolv/res_init.c (__res_vinit): When no server address at all
31486 is given default to loopback.
31487
f2ac4868
RM
314882010-08-24 Roland McGrath <roland@redhat.com>
31489
09055553
RM
31490 * configure.in: Remove config-name.h generation.
31491 * configure: Regenerated.
31492 * config-name.in: File removed.
31493 * scripts/config-uname.sh: New file.
31494 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
31495 ($(objdir)config-name.h): New target.
31496
f2ac4868
RM
31497 * sunrpc/rpc_parse.h: Avoid nested comment.
31498
73f27d5e
RH
314992010-08-24 Richard Henderson <rth@redhat.com>
31500 Ulrich Drepper <drepper@redhat.com>
31501 H.J. Lu <hongjiu.lu@intel.com>
31502
31503 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
31504 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
31505 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
31506 Replace _mm_srli_si128 with __m128i_shift_right. Replace
31507 _mm_alignr_epi8 with _mm_loadu_si128.
31508 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
31509 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
31510 (__m128i_shift_right): Removed.
31511 * sysdeps/i386/i686/multiarch/varshift.h: New file.
31512 * sysdeps/i386/i686/multiarch/varshift.S: New file.
31513 * sysdeps/x86_64/multiarch/varshift.h: New file.
31514 * sysdeps/x86_64/multiarch/varshift.S: New file.
31515
84b9230c
MF
315162010-08-21 Mike Frysinger <vapier@gentoo.org>
31517
31518 * configure.in: Move assembler checks to before sysdep dir checking.
31519
9bbd0ddc
PB
315202010-08-20 Petr Baudis <pasky@suse.cz>
31521
31522 * LICENSES: Sync the sunrpc license.
31523
9da4bb31
UD
315242010-08-19 Ulrich Drepper <drepper@redhat.com>
31525
a7ab6ec8
UD
31526 * sunrpc/auth_des.c: Update copyright notice once again.
31527 * sunrpc/auth_none.c: Likewise.
31528 * sunrpc/auth_unix.c: Likewise.
31529 * sunrpc/authdes_prot.c: Likewise.
31530 * sunrpc/authuxprot.c: Likewise.
31531 * sunrpc/bindrsvprt.c: Likewise.
31532 * sunrpc/clnt_gen.c: Likewise.
31533 * sunrpc/clnt_perr.c: Likewise.
31534 * sunrpc/clnt_raw.c: Likewise.
31535 * sunrpc/clnt_simp.c: Likewise.
31536 * sunrpc/clnt_tcp.c: Likewise.
31537 * sunrpc/clnt_udp.c: Likewise.
31538 * sunrpc/clnt_unix.c: Likewise.
31539 * sunrpc/des_crypt.c: Likewise.
31540 * sunrpc/des_soft.c: Likewise.
31541 * sunrpc/get_myaddr.c: Likewise.
31542 * sunrpc/getrpcport.c: Likewise.
31543 * sunrpc/key_call.c: Likewise.
31544 * sunrpc/key_prot.c: Likewise.
31545 * sunrpc/openchild.c: Likewise.
31546 * sunrpc/pm_getmaps.c: Likewise.
31547 * sunrpc/pm_getport.c: Likewise.
31548 * sunrpc/pmap_clnt.c: Likewise.
31549 * sunrpc/pmap_prot.c: Likewise.
31550 * sunrpc/pmap_prot2.c: Likewise.
31551 * sunrpc/pmap_rmt.c: Likewise.
31552 * sunrpc/rpc/auth.h: Likewise.
31553 * sunrpc/rpc/auth_unix.h: Likewise.
31554 * sunrpc/rpc/clnt.h: Likewise.
31555 * sunrpc/rpc/des_crypt.h: Likewise.
31556 * sunrpc/rpc/key_prot.h: Likewise.
31557 * sunrpc/rpc/netdb.h: Likewise.
31558 * sunrpc/rpc/pmap_clnt.h: Likewise.
31559 * sunrpc/rpc/pmap_prot.h: Likewise.
31560 * sunrpc/rpc/pmap_rmt.h: Likewise.
31561 * sunrpc/rpc/rpc.h: Likewise.
31562 * sunrpc/rpc/rpc_des.h: Likewise.
31563 * sunrpc/rpc/rpc_msg.h: Likewise.
31564 * sunrpc/rpc/svc.h: Likewise.
31565 * sunrpc/rpc/svc_auth.h: Likewise.
31566 * sunrpc/rpc/types.h: Likewise.
31567 * sunrpc/rpc/xdr.h: Likewise.
31568 * sunrpc/rpc_clntout.c: Likewise.
31569 * sunrpc/rpc_cmsg.c: Likewise.
31570 * sunrpc/rpc_common.c: Likewise.
31571 * sunrpc/rpc_cout.c: Likewise.
31572 * sunrpc/rpc_dtable.c: Likewise.
31573 * sunrpc/rpc_hout.c: Likewise.
31574 * sunrpc/rpc_main.c: Likewise.
31575 * sunrpc/rpc_parse.c: Likewise.
31576 * sunrpc/rpc_parse.h: Likewise.
31577 * sunrpc/rpc_prot.c: Likewise.
31578 * sunrpc/rpc_sample.c: Likewise.
31579 * sunrpc/rpc_scan.c: Likewise.
31580 * sunrpc/rpc_scan.h: Likewise.
31581 * sunrpc/rpc_svcout.c: Likewise.
31582 * sunrpc/rpc_tblout.c: Likewise.
31583 * sunrpc/rpc_util.c: Likewise.
31584 * sunrpc/rpc_util.h: Likewise.
31585 * sunrpc/rpcinfo.c: Likewise.
31586 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
31587 * sunrpc/rpcsvc/key_prot.x: Likewise.
31588 * sunrpc/rpcsvc/klm_prot.x: Likewise.
31589 * sunrpc/rpcsvc/mount.x: Likewise.
31590 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
31591 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
31592 * sunrpc/rpcsvc/rex.x: Likewise.
31593 * sunrpc/rpcsvc/rstat.x: Likewise.
31594 * sunrpc/rpcsvc/rusers.x: Likewise.
31595 * sunrpc/rpcsvc/sm_inter.x: Likewise.
31596 * sunrpc/rpcsvc/spray.x: Likewise.
31597 * sunrpc/rpcsvc/yppasswd.x: Likewise.
31598 * sunrpc/rtime.c: Likewise.
31599 * sunrpc/svc.c: Likewise.
31600 * sunrpc/svc_auth.c: Likewise.
31601 * sunrpc/svc_authux.c: Likewise.
31602 * sunrpc/svc_raw.c: Likewise.
31603 * sunrpc/svc_run.c: Likewise.
31604 * sunrpc/svc_simple.c: Likewise.
31605 * sunrpc/svc_tcp.c: Likewise.
31606 * sunrpc/svc_udp.c: Likewise.
31607 * sunrpc/svc_unix.c: Likewise.
31608 * sunrpc/svcauth_des.c: Likewise.
31609 * sunrpc/xcrypt.c: Likewise.
31610 * sunrpc/xdr.c: Likewise.
31611 * sunrpc/xdr_array.c: Likewise.
31612 * sunrpc/xdr_float.c: Likewise.
31613 * sunrpc/xdr_mem.c: Likewise.
31614 * sunrpc/xdr_rec.c: Likewise.
31615 * sunrpc/xdr_ref.c: Likewise.
31616 * sunrpc/xdr_sizeof.c: Likewise.
31617 * sunrpc/xdr_stdio.c: Likewise.
31618
9da4bb31
UD
31619 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
31620 handling.
31621
bdaa77bc
AS
316222010-08-19 Andreas Schwab <schwab@redhat.com>
31623
31624 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
31625
fe2f79db
LM
316262010-08-19 Luis Machado <luisgpm@br.ibm.com>
31627
31628 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
31629 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
31630 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
31631 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
31632 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
31633 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
31634 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
31635 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
31636 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
31637 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
31638 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
31639 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
31640 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
31641 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
31642
b9b42ee0
AB
316432010-07-26 Anton Blanchard <anton@samba.org>
31644
31645 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
31646 * malloc/arena.c (heap_trim): Likewise.
31647
1c06ba31
UD
316482010-08-16 Ulrich Drepper <drepper@redhat.com>
31649
31650 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
31651 here. Not...
31652 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
31653 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
31654
f8392f40
L
316552010-08-12 H.J. Lu <hongjiu.lu@intel.com>
31656
31657 * sysdeps/i386/elf/Makefile: New file.
31658
3162f12e
AS
316592010-08-14 Andreas Schwab <schwab@linux-m68k.org>
31660
31661 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
31662 from fanotify_init.
31663 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
31664 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31665
28c90b2c
UD
316662010-08-15 Ulrich Drepper <drepper@redhat.com>
31667
31668 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
31669 of strncasecmp_l.
1feccb6c 31670 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 31671
ca6bb004
UD
316722010-08-14 Ulrich Drepper <drepper@redhat.com>
31673
e9f82e0d
UD
31674 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31675 strncase_l-nonascii.
31676 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31677 Add strncase_l-ssse3.
31678 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
31679 * sysdeps/x86_64/strcmp.S: Likewise.
31680 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
31681 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
31682 * sysdeps/x86_64/strncase.S: New file.
31683 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
31684 * sysdeps/x86_64/strncase_l.S: New file.
31685 * string/Makefile (strop-tests): Add strncasecmp.
31686 * string/test-strncasecmp.c: New file.
31687
31688 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
31689 warning.
31690
ca6bb004
UD
31691 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
31692 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
31693
052fa7b3
AS
316942010-08-14 Andreas Schwab <schwab@linux-m68k.org>
31695
31696 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
31697
962dba78
UD
316982010-08-12 Ulrich Drepper <drepper@redhat.com>
31699
31700 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
31701 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
31702 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
31703
bebff237
AM
317042010-05-01 Alan Modra <amodra@gmail.com>
31705
31706 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
31707 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
31708 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
31709 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
31710 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
31711 tidying. Don't tail-call __sigjmp_save for static lib.
31712 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
31713 save location.
31714 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
31715 (CALL_MCOUNT): Add eh info, and nop after bl.
31716 (TAIL_CALL_SYSCALL_ERROR): New macro.
31717 (PSEUDO_RET): Use it.
31718 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
31719 Correct save location of integer regs and cr.
31720 (_dl_profile_resolve): Correct cr save location. Delete nops
31721 after bl when SHARED. Reduce cfi size a little by better
31722 placement of cfi directives.
31723 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
31724 make a stack frame. Instead use parm save area as a temp.
31725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
31726 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
31727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
31728 Don't make a stack frame for parent, use parm save area.
31729 Increase child stack frame to 112 bytes. Don't save unused reg,
31730 and adjust reg usage. Set up cfi on error recovery and
31731 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
31732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31733 (__makecontext): Add dummy nop after jump to exit.
31734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
31735 Use correct parm save area and cr save, reduce stack frame.
31736 Correct cfi for possible PSEUDO_RET frame setup.
31737 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
31738 Branch to local label emitted by PSEUDO_RET rather than
31739 __syscall_error.
31740
02637374
AS
317412010-08-12 Andreas Schwab <schwab@redhat.com>
31742
31743 [BZ #11904]
31744 * locale/programs/locale.c (print_assignment): New function.
31745 (show_locale_vars): Use it.
31746
c3e2f19b
UD
317472010-08-11 Ulrich Drepper <drepper@redhat.com>
31748
3cdaa6ad
UD
31749 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
31750 field.
31751 (struct statfs64): Likewise.
31752 (_STATFS_F_FLAGS): Define.
31753 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
31754 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31755 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
31756 (ST_VALID): Define locally.
31757 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
31758 __statvfs_getflags, use the provided value.
31759 * sysdeps/unix/sysv/linux/kernel-features.h: Define
31760 __ASSUME_STATFS_F_FLAGS.
31761
754f7da3
UD
31762 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
31763
10b3bedc
UD
31764 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
31765 Add sys/fanotify.h.
31766 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
31767 fanotify_mask for GLIBC_2.13.
31768 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
31769 fanotify_init and fanotify_mark.
31770 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31771 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
31772
c08fb0d7
UD
31773 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
31774 Add prlimit.
31775 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
31776 prlimit64 for GLIBC_2.13.
31777 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
31778 prlimit64.
31779 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
31780 syscall.
31781 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
31782 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31783 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
31784 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
31785 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
31786 add prlimit alias.
31787 * sysdeps/unix/sysv/linux/prlimit.c: New file.
31788
15bac72b
UD
31789 [BZ #11903]
31790 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
31791 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
31792
c3e2f19b
UD
31793 * nss/Makefile: Add rules to build and run tst-nss-test1.
31794 * shlib-versions: Add entry for libnss_test1.
31795 * nss/nss_test1.c: New file.
31796 * nss/tst-nss-test1.c: New file.
31797
31798 * nss/nsswitch.c (__nss_database_custom): Define new variable.
31799 (__nss_configure_lookup): Set appropriate entry in
31800 __nss_configure_lookup to true.
31801 * nss/nsswitch.h: Define enum with indeces of databases in
31802 databases and __nss_database_custom arrays. Declare
31803 __nss_database_custom.
31804 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
31805 to avoid using nscd when custom rules are installed.
31806 * nss/getXXbyYY_r.c: Likewise.
31807 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31808
31809 * nss/nss_files/files-parse.c: Whitespace fixes.
31810
f15ce4d8
UD
318112010-08-09 Ulrich Drepper <drepper@redhat.com>
31812
31813 [BZ #11883]
31814 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
31815 * posix/fnmatch_loop.c: Likewise.
31816
d22e4cc9
AK
318172010-07-17 Andi Kleen <ak@linux.intel.com>
31818
31819 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
31820 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
31821 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
31822 * Versions.def [GLIBC_2.13]: Add.
31823
805bc17d
UD
318242010-08-06 Ulrich Drepper <drepper@redhat.com>
31825
31826 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31827 Also fail if tpwd after pwuid call is NULL.
31828
5a42321d
ST
318292010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
31830
31831 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
31832 when converting to ms.
31833
fd3ebeda
ST
318342010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
31835
31836 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
31837 EOPNOTSUPP errors with ENOTTY.
31838 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
31839 EOPNOTSUPP errors with ENOTTY.
31840
73507d3a
UD
318412010-07-31 Ulrich Drepper <drepper@redhat.com>
31842
31843 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31844 Add strcasecmp_l-ssse3.
31845 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
31846 strcasecmp.
31847 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
31848 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
31849 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
31850
fe36dd02
UD
318512010-07-30 Ulrich Drepper <drepper@redhat.com>
31852
66f6765a
UD
31853 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
31854
42e08a54
UD
31855 * string/Makefile (strop-tests): Add strcasecmp.
31856 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31857 strcasecmp_l-nonascii.
31858 (gen-as-const-headers): Add locale-defines.sym.
31859 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
31860 * sysdeps/x86_64/strcasecmp.S: New file.
31861 * sysdeps/x86_64/strcasecmp_l.S: New file.
31862 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
31863 * sysdeps/x86_64/locale-defines.sym: New file.
31864 * string/test-strcasecmp.c: New file.
31865
fe36dd02
UD
31866 * string/test-strcasestr.c: Test both ends of the range of characters.
31867 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
31868
48cbc0d6
RM
318692010-07-29 Roland McGrath <roland@redhat.com>
31870
76e6d6bc 31871 [BZ #11856]
48cbc0d6
RM
31872 * manual/locale.texi (Yes-or-No Questions): Fix example code.
31873
880113d9
UD
318742010-07-27 Ulrich Drepper <drepper@redhat.com>
31875
31876 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
31877 for ld.so.
31878
deb9cabb
AS
318792010-07-27 Andreas Schwab <schwab@redhat.com>
31880
31881 * manual/memory.texi (Malloc Tunable Parameters): Document
31882 M_PERTURB.
31883
1c7570ff
RM
318842010-07-26 Roland McGrath <roland@redhat.com>
31885
31886 [BZ #11840]
31887 * configure.in (-fgnu89-inline check): Set and substitute
31888 gnu89_inline, not libc_cv_gnu89_inline.
31889 * configure: Regenerated.
31890 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
31891
24fb0f88
UD
318922010-07-26 Ulrich Drepper <drepper@redhat.com>
31893
31894 * string/test-strnlen.c: New file.
31895 * string/Makefile (strop-tests): Add strnlen.
31896 * string/tester.c (test_strnlen): Add a few more test cases.
31897 * string/tst-strlen.c: Better error reporting.
31898
31899 * sysdeps/x86_64/strnlen.S: New file.
31900
8e96b93a
UD
319012010-07-24 Ulrich Drepper <drepper@redhat.com>
31902
31903 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
31904 lower-latency instructions.
31905
dbc676d4
UD
319062010-07-23 Ulrich Drepper <drepper@redhat.com>
31907
31908 * string/test-strcasestr.c: New file.
31909 * string/test-strstr.c: New file.
31910 * string/Makefile (strop-tests): Add strstr and strcasestr.
31911 * string/str-two-way.h: Don't undefine MAX.
31912 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
31913
f6a31e0e
AS
319142010-07-21 Andreas Schwab <schwab@redhat.com>
31915
31916 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31917 strcasestr-nonascii.
31918 (CFLAGS-strcasestr-nonascii.c): Define.
31919 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
31920 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
31921 Remove unused attribute.
31922
5dbc3b6c
RM
319232010-07-20 Roland McGrath <roland@redhat.com>
31924
31925 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
31926 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
31927 ld.so.cache was broken. With it, there is no way to disable dsocaps
31928 like LD_HWCAP_MASK can disable hwcaps.
31929
23d101d8
EPM
319302010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
31931
31932 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
31933
cc9f2e47
UD
319342010-07-16 Ulrich Drepper <drepper@redhat.com>
31935
31936 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
31937 call in strcasestr.
31938 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
31939 __strcasestr_sse42_nonascii.
31940 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
31941 strcasestr-nonascii.c.
31942 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
31943
77c1b069
LM
319442010-06-15 Luis Machado <luisgpm@br.ibm.com>
31945
31946 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
31947 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
31948 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
31949 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
31950
440566c3
UD
319512010-07-09 Ulrich Drepper <drepper@redhat.com>
31952
31953 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
31954 fcntl.
31955
5be9d05d
AS
319562010-07-06 Andreas Schwab <schwab@redhat.com>
31957
c30b7ee2 31958 [BZ #11577]
5be9d05d
AS
31959 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
31960 dl_signal_cerror.
31961
8a492a67
UD
319622010-07-06 Ulrich Drepper <drepper@redhat.com>
31963
31964 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
31965 _PC_PIPE_BUF using F_GETPIPE_SZ.
31966
713df3d5
RM
319672010-07-05 Roland McGrath <roland@redhat.com>
31968
31969 * manual/arith.texi (Rounding Functions): Fix rint description
31970 implicit in round description.
31971
702e8f14
UD
319722010-07-02 Ulrich Drepper <drepper@redhat.com>
31973
31974 * elf/Makefile: Fix linking for a few tests to make recent linker
31975 happy.
31976
52ed8be9
AS
319772010-06-30 Andreas Schwab <schwab@redhat.com>
31978
31979 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
31980 $(common-objpfx)libc_nonshared.a.
31981
f47c9a11
LM
319822010-06-21 Luis Machado <luisgpm@br.ibm.com>
31983
31984 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
31985 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
31986 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31987 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31988 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
31989 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
31990 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31991 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
31993 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
31994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
31995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31996 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
31997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
31999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
32000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
32001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
32002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
32003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
32004 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
32005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
32006 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
32007 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
32008 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
32009 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
32010 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
32011 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
32012 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
32013 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
32014 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
32015 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
32016 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
32017 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
32018 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
32019 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
32020 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
32021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
32022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
32023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
32024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
32025 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
32026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
32027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
32028 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
32029 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
32030 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
32031 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
32032
6fb8cbcb
L
320332010-06-25 H.J. Lu <hongjiu.lu@intel.com>
32034
32035 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
32036 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
32037 * string/memmove.c (memmove): Renamed to ...
32038 (MEMMOVE): ...this. Default to memmove.
32039 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
32040 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
32041 (END_CHK): Define.
32042 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32043 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
32044 mempcpy-ssse3-back memmove-ssse3-back.
32045 * sysdeps/x86_64/multiarch/bcopy.S: New file .
32046 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
32047 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
32048 * sysdeps/x86_64/multiarch/memcpy.S: New file.
32049 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
32050 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
32051 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
32052 * sysdeps/x86_64/multiarch/memmove.c: New file.
32053 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
32054 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
32055 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
32056 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
32057 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
32058 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
32059 Define.
32060 (index_Fast_Copy_Backward): Define.
32061 (HAS_ARCH_FEATURE): Define.
32062 (HAS_FAST_REP_STRING): Define.
32063 (HAS_FAST_COPY_BACKWARD): Define.
32064
4e733bac 320652010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
32066
32067 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
32068 Restore proper fallback handling.
32069
63c4ed22
UD
320702010-06-19 Ulrich Drepper <drepper@redhat.com>
32071
ac2b484c
UD
32072 [BZ #11701]
32073 * posix/group_member.c (__group_member): Correct checking loop.
32074
63c4ed22
UD
32075 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
32076 OOM in getpwuid_r correctly. Return error number when the caller
32077 should return, otherwise -1.
32078 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
32079 call returning > 0 value.
32080 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
32081
765ade4b
AS
320822010-06-07 Andreas Schwab <schwab@redhat.com>
32083
32084 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
32085 libc_nonshared.a from targets in modules-names.
32086
80da2e09
KS
320872010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
32088
32089 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
32090 requires it.
32091
158db122
LM
320922010-06-10 Luis Machado <luisgpm@br.ibm.com>
32093
32094 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
32095 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
32096 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
32097 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
32098
caa78cf8
AS
320992010-06-02 Andreas Schwab <schwab@redhat.com>
32100
32101 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
32102
b2ef2c01
UD
321032010-06-14 Ulrich Drepper <drepper@redhat.com>
32104
32105 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
32106 and F_GETPIPE_SZ.
32107 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
32108 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
32109 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
32110 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
32111 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
32112 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
32113
fbd643b6
RM
321142010-06-14 Roland McGrath <roland@redhat.com>
32115
32116 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
32117
f32f2869
JJ
321182010-06-07 Jakub Jelinek <jakub@redhat.com>
32119
32120 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
32121 __REDIRECT followed by __THROW.
32122 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
32123 * posix/getopt.h (getopt): Likewise.
32124
2a50c078
EPM
321252010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
32126
32127 * hurd/lookup-at.c (__file_name_lookup_at): Accept
32128 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
32129 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
32130 in AT_FLAGS.
32131 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
32132 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
32133
eb5ad2eb
LM
321342010-05-28 Luis Machado <luisgpm@br.ibm.com>
32135
32136 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
32137
3c88fe1e
L
321382010-05-26 H.J. Lu <hongjiu.lu@intel.com>
32139
32140 [BZ #11640]
32141 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32142 Properly check family and model.
32143
d2f73151
TY
321442010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
32145
32146 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
32147
ebd2e13d
LM
321482010-05-24 Luis Machado <luisgpm@br.ibm.com>
32149
32150 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
32151
b32b8b45
UD
321522010-05-21 Ulrich Drepper <drepper@redhat.com>
32153
32154 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
32155 symbol reference.
32156
9acbe24d
AS
321572010-05-19 Andreas Schwab <schwab@redhat.com>
32158
32159 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
32160 symbol reference.
32161
f0ccf6ea
AS
321622010-05-21 Andreas Schwab <schwab@redhat.com>
32163
3d04ff3a
AS
32164 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
32165 and internal_recvmmsg.
32166 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
32167 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
32168 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
32169 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
32170
f0ccf6ea
AS
32171 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
32172 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
32173 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
32174
5b08ac57
AS
321752010-05-20 Andreas Schwab <schwab@redhat.com>
32176
32177 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
32178
4828935d
LM
321792010-05-17 Luis Machado <luisgpm@br.ibm.com>
32180
32181 POWER7 optimizations.
32182 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
32183 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
32184
373d545e
UD
321852010-05-19 Ulrich Drepper <drepper@redhat.com>
32186
32187 * version.h: Update for 2.13 development version.
32188
21a2b1ae
AS
321892010-05-12 Andrew Stubbs <ams@codesourcery.com>
32190
32191 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
32192 exceptions. Return 0.
32193
3f7dcb2b
RM
321942010-05-07 Roland McGrath <roland@redhat.com>
32195
32196 * elf/ldconfig.c (main): Add a const.
32197
5f24d53a 321982010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 32199
a160f8d8
UD
32200 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
32201 (args_options): Add no-idn option.
32202 (ahosts_keys_int): Add idn_flags to ai_flags.
32203 (parse_option): Handle 'i' option to clear idn_flags.
32204
5f24d53a
UD
32205 * malloc/malloc.c (_int_free): Possible race in the most recently
32206 added check. Only act on the data if no current modification
32207 happened.
265bb1ce
UD
32208
32209See ChangeLog.17 for earlier changes.
This page took 4.099396 seconds and 5 git commands to generate.