]> git.ipfire.org Git - thirdparty/glibc.git/blame - ChangeLog
[AArch64] Adding -funwind-tables to backtrace.c
[thirdparty/glibc.git] / ChangeLog
CommitLineData
c61f8513
DM
12013-07-07 David S. Miller <davem@davemloft.net>
2
3 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
4
72c90ed0
JA
52013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
6
7 * sysdeps/i386/fpu/libm-test-ulps: Update.
8 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9
52dfbe13
SP
102013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
11
12 * configure.in (--enable-lock-elision): Fix message text.
13 * INSTALL: Regenerate.
14 * configure: Regenerate.
15
3f169543
AZ
162013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17
18 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19
521c6785
AJ
202013-07-03 Andreas Jaeger <aj@suse.de>
21
22 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
23 define.
24 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
25 (ptrace_peeksiginfo_args): Add.
26 (__ptrace_peeksiginfo_flags): Add.
27 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
29 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
30
d2cc15cb
AM
312013-07-03 Allan McRae <allan@archlinux.org>
32
33 * sysdeps/i386/fpu/libm-test-ulps: Update.
34
3aaeeca7
DM
352013-07-02 David S. Miller <davem@davemloft.net>
36
37 * sysdeps/sparc/fpu/libm-test-ulps: Update.
38
5314ed1a
MT
392013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
40
41 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42
67338156
JM
432013-07-02 Joseph Myers <joseph@codesourcery.com>
44
45 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
46 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47
1717da59
AK
482013-07-02 Andi Kleen <ak@linux.intel.com>
49
50 * config.h.in (ENABLE_LOCK_ELISION): Add.
51 * configure.in (--enable-lock-elision): Add option.
52 * manual/install.texi: Document --enable lock elision.
53 * configure: Regenerate
54 * INSTALL: Regenerate.
55
1c81621c
L
562013-07-02 H.J. Lu <hongjiu.lu@intel.com>
57
58 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
59 SSE4.2 strcasecmp for libc.a.
60 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
61
77f01ab5
JM
622013-07-02 Joseph Myers <joseph@codesourcery.com>
63
64 [BZ #13304]
65 * soft-fp/op-common.h (_FP_FMA): New macro.
66 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
67 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
68 (_FP_MUL_MEAT_1_imm): ... here.
69 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
70 (_FP_MUL_MEAT_1_wide): ... here.
71 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
72 (_FP_MUL_MEAT_1_hard): ... here.
73 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
74 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
75 (_FP_MUL_MEAT_2_wide): ... here.
76 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
77 (_FP_MUL_MEAT_2_wide_3mul): ... here.
78 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
79 (_FP_MUL_MEAT_2_gmp): ... here.
80 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
81 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
82 (_FP_MUL_MEAT_4_wide): ... here.
83 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
84 (_FP_MUL_MEAT_4_gmp): ... here.
85 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
86 (_FP_WFRACBITS_DW_S): Likewise.
87 (_FP_WFRACXBITS_DW_S): Likewise.
88 (_FP_HIGHBIT_DW_S): Likewise.
89 (FP_FMA_S): Likewise.
90 (_FP_FRAC_HIGH_DW_S): Likewise.
91 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
92 (_FP_WFRACBITS_DW_D): Likewise.
93 (_FP_WFRACXBITS_DW_D): Likewise.
94 (_FP_HIGHBIT_DW_D): Likewise.
95 (FP_FMA_D): Likewise.
96 (_FP_FRAC_HIGH_DW_D): Likewise.
97 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
98 (_FP_WFRACBITS_DW_E): Likewise.
99 (_FP_WFRACXBITS_DW_E): Likewise.
100 (_FP_HIGHBIT_DW_E): Likewise.
101 (FP_FMA_E): Likewise.
102 (_FP_FRAC_HIGH_DW_E): Likewise.
103 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
104 (_FP_WFRACBITS_DW_Q): Likewise.
105 (_FP_WFRACXBITS_DW_Q): Likewise.
106 (_FP_HIGHBIT_DW_Q): Likewise.
107 (FP_FMA_Q): Likewise.
108 (_FP_FRAC_HIGH_DW_Q): Likewise.
109 * soft-fp/fmasf4.c: New file.
110 * soft-fp/fmadf4.c: Likewise.
111 * soft-fp/fmatf4.c: Likewise.
112
6308fd9a
LD
1132013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
114
115 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
116 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
117 Silvermont.
118 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
119 macro.
120 (index_Slow_SSE4_2): Likewise.
121 (index_Prefer_PMINUB_for_stringop): Likewise.
122 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
123 bit_Slow_SSE4_2 is set.
124 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
125 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
126
89cd9569
RA
1272013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
128
129 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
130 rtld_global._dl_hwcap2.
131 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
132 POWER8.
133 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
134 POWER8 feature descriptions defined in _dl_hwcap2.
135 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
136 string handling for POWER8 feature bits.
137 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
138 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
139 _dl_powerpc_cap_flags.
140 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
141 * sysdeps/powerpc/rtld-global-offsets.sym
142 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
143 _dl_hwcap2 in the rtld_global_ro structure.
144
1ae8bfe0
RA
1452013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
146
147 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
148 hardware capabilities in support of AT_HWCAP2.
149 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
150 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
151 GLRO(dl_hwcap2).
152 (_dl_show_auxv): Add support for calling _dl_procinfo to display
153 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
154 explicitly the unknown a_type display mechanism is used.
155 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
156 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
157 struct member.
158 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
159 to macro prototype for AT_HWCAP2 support.
160 * sysdeps/i386/dl-procinfo.h: Likewise.
161 * sysdeps/s390/dl-procinfo.h: Likewise.
162 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
163 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
164 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
165 return -1 for unknown a_type display fallback.
166 * sysdeps/sparc/dl-procinfo.h: Likewise.
167 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
168 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
169
8fbec010
JM
1702013-06-28 Joseph Myers <joseph@codesourcery.com>
171
172 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
173 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
174
0432680e
PY
1752013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
176
177 [BZ #12492]
178 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
179 mprotect making __stack_prot writable.
180
ce61a2ad
NF
1812013-06-28 Nathan Froyd <froydnj@codesourcery.com>
182 Joseph Myers <joseph@codesourcery.com>
183
184 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
185 as being properly aligned.
186
f91f1c0f
MR
1872013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
188
3d0f5d0c
MR
189 * dlfcn/modstatic5.c: New file.
190 * dlfcn/tststatic5.c: New file.
191 * dlfcn/Makefile (tests): Add tststatic5.
192 (tests-static): Likewise.
193 (modules-names): Add modstatic5.
194 (tststatic5-ENV): New variable.
195 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
196
f91f1c0f
MR
197 [BZ #15022]
198 * elf/dl-support.c (_dl_main_map): New variable.
199 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
200 (_dl_nns, _dl_load_adds): Set to 1.
201 (_dl_initial_searchlist): Refer to _dl_main_map.
202 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
203 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
204 call to _dl_get_origin.
205 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
206 around call_map.
207 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
208 * dlfcn/modstatic3.c: New file.
209 * dlfcn/tststatic3.c: New file.
210 * dlfcn/tststatic4.c: New file.
211 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
212 (tests-static): Likewise.
213 (modules-names): Add modstatic3.
214 (tststatic3-ENV, tststatic4-ENV): New variables.
215 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
216 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
217
cbe7d24b
JM
2182013-06-26 Joseph Myers <joseph@codesourcery.com>
219
220 * configure.in (CC): Require GCC version 4.4 or later.
221 * configure: Regenerated.
222 * manual/install.texi (Tools for Compilation): Update GCC version
223 requirement.
224 * INSTALL: Regenerated.
225
11b8a0e1
LD
2262013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
227
228 [BZ #15674]
bb5bb87c
L
229 * string/test-memcmp.c (check2): New.
230 (main): Call check2.
231
11b8a0e1
LD
232 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
233
b0037103
MR
2342013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
235
236 [BZ #15022]
237 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
238 over to...
239 (dl_open_worker) [!SHARED]: ... here.
240
c18c701d
RA
2412013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
242
243 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
244
1d17fa5f
RH
2452013-06-25 Richard Henderson <rth@redhat.com>
246
247 * locale/programs/locarchive.c: Include <libc-internal.h>
248
8fcb833a
JM
2492013-06-25 Joseph Myers <joseph@codesourcery.com>
250
251 * manual/texinfo.tex: Update to version 2013-06-21.17, with
252 trailing whitespace removed.
253
17db6e8d
MF
2542013-06-24 Mike Frysinger <vapier@gentoo.org>
255
256 [BZ #10283]
17db6e8d
MF
257 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
258 * locale/programs/locarchive.c: Include libc-mmap.h.
259 (prepare_address_space): Take two new outputs (the mmap base and len).
260 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
261 values.
262 (create_archive): Declare new mmap base and len values for
263 prepare_address_space, and store the result in ah.
264 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
265 (enlarge_archive): If ah->mmap_base is not NULL, use that and
266 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
267 Declare new mmap base and len values for
268 prepare_address_space, and store the result in new_ah.
269 (open_archive): Declare new mmap base and len values for
270 prepare_address_space, and store the result in ah.
271 (close_archive): If ah->mmap_base is not NULL, use that and
272 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
273 * sysdeps/generic/libc-mmap.h: New file.
274
d605071e
MF
2752013-06-24 Mike Frysinger <vapier@gentoo.org>
276
277 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
278 (ALIGN_UP): Likewise.
279 (PTR_ALIGN_DOWN): Likewise.
280 (PTR_ALIGN_UP): Likewise.
281
2f063a6e
RA
2822013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
283
284 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
285 entry mapped to PPC_PLATFORM_POWER8.
286 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
287 POWER8.
288 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
289 (_dl_string_platform): Add case for exporting platform position for
290 POWER8.
291 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
292 search path to sysdeps/powerpc/powerpc32/power8 directory.
293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
294 search path to sysdeps/powerpc/powerpc64/power8 directory.
295 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
296 power7 directories.
297 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
298 power7 directories.
299
a31ee4b3
SP
3002013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
301
a74ca98f
SP
302 * INSTALL: Regenerate.
303
a31ee4b3
SP
304 * nscd/connections.c (nscd_init): Fix comment.
305
695c378f
JM
3062013-06-22 Joseph Myers <joseph@codesourcery.com>
307
d8412221
JM
308 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
309
695c378f
JM
310 [BZ #15667]
311 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
312 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
313
d1d54715
MR
3142013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
315
316 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
317 DL_DST_REQ_STATIC.
318 (DL_DST_REQ_STATIC): Remove macro.
319
8fdda7af
JM
3202013-06-21 Joseph Myers <joseph@codesourcery.com>
321
322 [BZ #7006]
323 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
324 with a shift of 0 bits.
325
f3bc5e5a
MR
3262013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
327
328 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
329 $(tststatic-ENV).
330
be09e8c9
KK
3312013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
332
333 [BZ #15655]
334 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
335
85c2e611
AZ
3362013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
337
338 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
339 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
340 accepts -fno-tree-loop-distribute-patterns.
341 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
342 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
343 recursive call.
344 * string/memset.c (memset): Likewise.
345 * string/test-memmove.c (simple_memmove): Disable loop transformation
346 to library calls.
347 * string/test-memset.c (simple_memset): Likewise.
348 * benchtests/bench-memmove.c (simple_memmove): Likewise.
349 * benchtests/bench-memset.c (simple_memset): Likewise.
350 * configure: Regenerated.
351
c91e0825
JM
3522013-06-20 Joseph Myers <joseph@codesourcery.com>
353
b8c792af
JM
354 * math/test-misc.c (main): Ignore fesetround failure when failures
355 of subsequent rounding tests would be ignored.
356
c91e0825
JM
357 [BZ #15654]
358 * math/fedisblxcpt.c (fedisableexcept): Return 0.
359 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
360 * math/fegetenv.c (__fegetenv): Return 0.
361 * math/fegetexcept.c (fegetexcept): Return 0.
362 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
363 FE_TONEAREST.
364 * math/feholdexcpt.c (feholdexcept): Return 0.
365 * math/fesetenv.c (__fesetenv): Return 0.
366 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
367 argument FE_TONEAREST.
368 * math/feupdateenv.c (__feupdateenv): Return 0.
369 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
370
bfcacbde
RM
3712013-06-18 Roland McGrath <roland@hack.frob.com>
372
373 * elf/rtld-Rules (rtld-compile-command.S): New variable.
374 (rtld-compile-command.s, rtld-compile-command.c): New variables.
375 ($(objpfx)rtld-%.os rules): Use them.
376
e55a9b25
AZ
3772013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
378
379 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
380 fields.
381
346d65b3
RM
3822013-06-17 Roland McGrath <roland@hack.frob.com>
383
12086fb4
RM
384 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
385 length of target pattern, then descending length of dependency pattern.
386 * configure.in (AWK): Require gawk 3.1.2 or newer.
387 * manual/install.texi (Tools for Compilation): Say that we do.
388 * configure: Regenerated.
389
346d65b3
RM
390 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
391 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
392 * scripts/sysd-rules.awk: ... this new script.
393 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
394 than a glob-style pattern.
395
1a846317
JM
3962013-06-17 Joseph Myers <joseph@codesourcery.com>
397
398 * math/test-misc.c (main): Do not treat incorrectly rounded
399 conversions as failure unless ROUNDING_TESTS passes.
400
8fc75e6f
JM
4012013-06-15 Joseph Myers <joseph@codesourcery.com>
402
3711a167
JM
403 [BZ #15631]
404 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
405 restore exception state around main square root computation, then
406 check for inexactness explicitly.
407
8fc75e6f
JM
408 * math/libm-test.inc (fma_test_data): Add another test.
409
61dd6208
SP
4102013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
411
adf23d2c
SP
412 * manual/threads.texi (Non-POSIX Extensions): New document
413 node. Document pthread_getattr_default_np and
414 pthread_setattr_default_np.
415
61dd6208
SP
416 * Versions.def (libpthread): Add GLIBC_2.18.
417 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
419 Likewise.
420 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
421 Likewise.
422 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
423 Likewise.
424 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
425 Likewise.
426 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
427 Likewise.
428 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
429 Likewise.
430 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
431 Likewise.
432 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
433 Likewise.
434 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
435 Likewise.
436
d086fc7b
LD
4372013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
438
439 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
440 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
441
747ef469
SP
4422013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
443 H.J. Lu <hjl.tools@gmail.com>
444
445 [BZ #15627]
446 * sysdeps/x86_64/rtld-memset.c: Remove file.
447 * sysdeps/x86_64/rtld-memset.S: New file.
448
1b2feed2
JM
4492013-06-14 Joseph Myers <joseph@codesourcery.com>
450
451 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
452 (test_in_one_mode): Take arguments for whether the rounding mode
453 is supported for each floating-point type.
454 (do_test): Pass new arguments to test_in_one_mode using
455 ROUNDING_TESTS.
456
a58ad3f8
RM
4572013-06-13 Roland McGrath <roland@hack.frob.com>
458
459 * posix/tst-waitid.c (do_test): Distinguish different instances of
460 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
461 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
462 before entering the kernel for waitpid.
463
c204ab28
SP
4642013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
465
466 * NEWS: Fix note on clock function precision. Text by Roland
467 McGrath.
468
f4a29fba
RM
4692013-06-13 Roland McGrath <roland@hack.frob.com>
470
471 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
472 it into place only when and if the sanity check passes.
473
1f24b9ad
JM
4742013-06-13 Joseph Myers <joseph@codesourcery.com>
475
476 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
477 output for whether conversion result is exact. Take argument
478 indicating whether type is IBM long double.
479 (round_for_all): Change need_exact field to ibm_ld.
480 * stdlib/tst-strtod-round.c (struct exactness): New type.
481 (struct test): Change bool ld_ok field to struct exactness exact.
482 (TEST): Update all definitions for change to field.
483 (tests): Regenerate array contents.
484 (test_in_one_mode): Take pointer to new field instead of old ld_ok
485 field value. Check for IBM long double here.
486 (do_test): Update calls to test_in_one_mode.
487
58206c68
SP
4882013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
489
490 [BZ #12515]
491 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
492 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
493
2d6f4c5b 4942013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
6a97b62a
AZ
495
496 [BZ #15605]
497 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
498 generated by the compiler on loop optimizations.
499 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
500 general definitions.
501
94f2c076
JM
5022013-06-12 Joseph Myers <joseph@codesourcery.com>
503
504 * math/bug-nextafter.c: Include <math-tests.h>.
505 (main): Only test for exceptions if EXCEPTION_TESTS is true for
506 the relevant type.
507 * math/bug-nexttoward.c: Include <math-tests.h>.
508 (main): Only test for exceptions if EXCEPTION_TESTS is true for
509 the relevant type.
510 * math/test-misc.c: Include <math-tests.h>.
511 (main): Only test for exceptions if EXCEPTION_TESTS is true for
512 the relevant type.
513
e0e50a0a
AJ
5142013-06-12 Andreas Jaeger <aj@suse.de>
515
516 * po/ia.po: Update Interlingua translation from translation
517 project.
518
25061094
SP
5192013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
520
521 * include/fenv.h: Include stdbool.h.
522 (struct rm_ctx): New structure.
523 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
524 Define macro.
525 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
526 (SET_RESTORE_ROUNDF): Likewise.
527 (SET_RESTORE_ROUNDL): Likewise.
528 (SET_RESTORE_ROUND_NOEX): Likewise.
529 (SET_RESTORE_ROUND_NOEXF): Likewise.
530 (SET_RESTORE_ROUND_NOEXL): Likewise.
531 (SET_RESTORE_ROUND_53BIT): Likewise.
532 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
533 (libc_feresetround_noexf_ctx): Likewise.
534 (libc_feresetround_noexl_ctx): Likewise.
535 (libc_feholdsetround_53bit_ctx): Likewise.
536 (libc_feresetround_53bit_ctx): Likewise.
537 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
538 (libc_feholdexcept_setround_sse_ctx): New function.
539 (libc_fesetenv_sse_ctx): Likewise.
540 (libc_feupdateenv_sse_ctx): Likewise.
541 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
542 (libc_feholdexcept_setround_387_ctx): Likewise.
543 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
544 (libc_feholdsetround_387_prec_ctx): Likewise.
545 (libc_feholdsetround_387_ctx): Likewise.
546 (libc_feholdsetround_387_53bit_ctx): Likewise.
547 (libc_feholdsetround_sse_ctx): Likewise.
548 (libc_feresetround_sse_ctx): Likewise.
549 (libc_feresetround_387_ctx): Likewise.
550 (libc_feupdateenv_387_ctx): Likewise.
551 (libc_feholdexcept_setroundf_ctx): Define macro.
552 (libc_fesetenvf_ctx): Likewise.
553 (libc_feupdateenvf_ctx): Likewise.
554 (libc_feholdsetroundf_ctx): Likewise.
555 (libc_feresetroundf_ctx): Likewise.
556 (libc_feholdexcept_setround_ctx): Likewise.
557 (libc_fesetenv_ctx): Likewise.
558 (libc_feupdateenv_ctx): Likewise.
559 (libc_feholdsetround_ctx): Likewise.
560 (libc_feresetround_ctx): Likewise.
561 (libc_feholdexcept_setroundl_ctx): Likewise.
562 (libc_feupdateenvl_ctx): Likewise.
563 (libc_feholdsetroundl_ctx): Likewise.
564 (libc_feresetroundl_ctx): Likewise.
565 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
566 (libc_feresetround_53bit_ctx): Likewise.
567
59b30555
SP
5682013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
569
570 * locale/iso-639.def: Convert to UTF-8.
571
f1d73d30
JM
5722013-06-11 Joseph Myers <joseph@codesourcery.com>
573
574 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
575 (EXCEPTION_TESTS_double): Likewise.
576 (EXCEPTION_TESTS_long_double): Likewise.
577 (EXCEPTION_TESTS): Likewise.
578 * math/libm-test.inc (test_exceptions): Only test exceptions if
579 EXCEPTION_TESTS (FLOAT).
580
94aca5e7
SP
5812013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
582
583 * benchtests/Makefile (string-bench): Add strcpy_chk and
584 stpcpy_chk.
585 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
586 * benchtests/bench-stpcpy_chk.c: New file.
587 * benchtests/bench-strcpy_chk-ifunc.c: New file.
588 * benchtests/bench-strcpy_chk.c: New file.
589 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
590 code.
591 (do_test): Likewise.
592
fac0c5f2
RA
5932013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
594
595 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
596 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
597 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
598 with tabs where appropriate.
599 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
600 dl-procinfo.h.
601 [PPC_PLATFORM_PPC440]: Likewise.
602 [PPC_PLATFORM_PPC464]: Likewise.
603 [PPC_PLATFORM_PPC476]: Likewise.
604 (_dl_string_platform): Add support for detecting ppc405, ppc440,
605 ppc464, and ppc476 platform strings merging from ports/
606 dl-procinfo.h.
607
f22bc486
AS
6082013-06-11 Andreas Schwab <schwab@suse.de>
609
610 [BZ #14991]
611 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
612 (from_ucs4_idx): Regenerate.
613 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
614 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
615 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
616 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
617 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
618 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
619 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
620 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
621 from FROM_LOOP and TO_LOOP specific macros.
622 (BODY): Handle combining characters.
623 * iconvdata/BIG5HKSCS.irreversible: Update.
624 * iconvdata/BIG5HKSCS.precomposed: New file.
625 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
626 characters.
627 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
628
c1f75dc3
SP
6292013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
630
4eacded2
SP
631 * include/sys/time.h: Fix indentation and add copyright header.
632
fec799f8
SP
633 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
634 (do_test): Likewise.
635 * string/test-memchr.c (do_one_test): Likewise.
636 (do_test): Likewise.
637 * string/test-memcmp.c (do_one_test): Likewise.
638 (do_test): Likewise.
639 * string/test-memcpy.c (do_one_test): Likewise.
640 (do_test): Likewise.
641 * string/test-memmem.c (do_one_test): Likewise.
642 (do_test): Likewise.
643 (do_random_tests): Likewise.
644 * string/test-memmove.c (do_one_test): Likewise.
645 (do_test): Likewise.
646 * string/test-memset.c (do_one_test): Likewise.
647 (do_test): Likewise.
648 * string/test-rawmemchr.c (do_one_test): Likewise.
649 (do_test): Likewise.
650 * string/test-strcasecmp.c (do_one_test): Likewise.
651 (do_test): Likewise.
652 * string/test-strcasestr.c (do_one_test): Likewise.
653 (do_test): Likewise.
654 * string/test-strcat.c (do_one_test): Likewise.
655 (do_test): Likewise.
656 * string/test-strchr.c (do_one_test): Likewise.
657 (do_test): Likewise.
658 * string/test-strcmp.c (do_one_test): Likewise.
659 (do_test): Likewise.
660 * string/test-strcpy.c (do_one_test): Likewise.
661 (do_test): Likewise.
662 * string/test-string.h: Likewise.
663 (test_init): Likewise.
664 * string/test-strlen.c (do_one_test): Likewise.
665 (do_test): Likewise.
666 * string/test-strncasecmp.c (do_one_test): Likewise.
667 (do_test): Likewise.
668 * string/test-strncat.c (do_one_test): Likewise.
669 (do_test): Likewise.
670 * string/test-strncmp.c (do_one_test): Likewise.
671 (do_test_limit): Likewise.
672 (do_test): Likewise.
673 * string/test-strncpy.c (do_one_test): Likewise.
674 (do_test): Likewise.
675 * string/test-strnlen.c (do_one_test): Likewise.
676 (do_test): Likewise.
677 * string/test-strpbrk.c (do_one_test): Likewise.
678 (do_test): Likewise.
679 * string/test-strrchr.c (do_one_test): Likewise.
680 (do_test): Likewise.
681 * string/test-strspn.c (do_one_test): Likewise.
682 (do_test): Likewise.
683 * string/test-strstr.c (do_one_test): Likewise.
684 (do_test): Likewise.
685
97020474
SP
686 * benchtests/Makefile (string-bench): Add string benchmarks.
687 * benchtests/bench-bcopy-ifunc.c: New file.
688 * benchtests/bench-bcopy.c: New file.
689 * benchtests/bench-bzero-ifunc.c: New file.
690 * benchtests/bench-bzero.c: New file.
691 * benchtests/bench-memccpy-ifunc.c: New file.
692 * benchtests/bench-memccpy.c: New file.
693 * benchtests/bench-memchr-ifunc.c: New file.
694 * benchtests/bench-memchr.c: New file.
695 * benchtests/bench-memcmp-ifunc.c: New file.
696 * benchtests/bench-memcmp.c: New file.
697 * benchtests/bench-memmem-ifunc.c: New file.
698 * benchtests/bench-memmem.c: New file.
699 * benchtests/bench-memmove-ifunc.c: New file.
700 * benchtests/bench-memmove.c: New file.
701 * benchtests/bench-mempcpy-ifunc.c: New file.
702 * benchtests/bench-mempcpy.c: New file.
703 * benchtests/bench-memset-ifunc.c: New file.
704 * benchtests/bench-memset.c: New file.
705 * benchtests/bench-rawmemchr-ifunc.c: New file.
706 * benchtests/bench-rawmemchr.c: New file.
707 * benchtests/bench-stpcpy-ifunc.c: New file.
708 * benchtests/bench-stpcpy.c: New file.
709 * benchtests/bench-stpncpy-ifunc.c: New file.
710 * benchtests/bench-stpncpy.c: New file.
711 * benchtests/bench-strcasecmp-ifunc.c: New file.
712 * benchtests/bench-strcasecmp.c: New file.
713 * benchtests/bench-strcasestr-ifunc.c: New file.
714 * benchtests/bench-strcasestr.c: New file.
715 * benchtests/bench-strcat-ifunc.c: New file.
716 * benchtests/bench-strcat.c: New file.
717 * benchtests/bench-strchr-ifunc.c: New file.
718 * benchtests/bench-strchr.c: New file.
719 * benchtests/bench-strchrnul-ifunc.c: New file.
720 * benchtests/bench-strchrnul.c: New file.
721 * benchtests/bench-strcmp-ifunc.c: New file.
722 * benchtests/bench-strcmp.c: New file.
723 * benchtests/bench-strcpy-ifunc.c: New file.
724 * benchtests/bench-strcpy.c: New file.
725 * benchtests/bench-strcspn-ifunc.c: New file.
726 * benchtests/bench-strcspn.c: New file.
727 * benchtests/bench-strlen-ifunc.c: New file.
728 * benchtests/bench-strlen.c: New file.
729 * benchtests/bench-strncasecmp-ifunc.c: New file.
730 * benchtests/bench-strncasecmp.c: New file.
731 * benchtests/bench-strncat-ifunc.c: New file.
732 * benchtests/bench-strncat.c: New file.
733 * benchtests/bench-strncmp-ifunc.c: New file.
734 * benchtests/bench-strncmp.c: New file.
735 * benchtests/bench-strncpy-ifunc.c: New file.
736 * benchtests/bench-strncpy.c: New file.
737 * benchtests/bench-strnlen-ifunc.c: New file.
738 * benchtests/bench-strnlen.c: New file.
739 * benchtests/bench-strpbrk-ifunc.c: New file.
740 * benchtests/bench-strpbrk.c: New file.
741 * benchtests/bench-strrchr-ifunc.c: New file.
742 * benchtests/bench-strrchr.c: New file.
743 * benchtests/bench-strspn-ifunc.c: New file.
744 * benchtests/bench-strspn.c: New file.
745 * benchtests/bench-strstr-ifunc.c: New file.
746 * benchtests/bench-strstr.c: New file.
747
c1f75dc3
SP
748 * benchtests/Makefile: Disable parallel execution of targets.
749 (string-bench): Add memcpy.
750 (benchset): New variable to store a list of benchmark sets.
751 (bench-func): Renamed from bench.
752 (bench-set): New target.
753 (bench): Depend on bench-func and bench-set.
754 * benchtests/README: Add section on benchmark sets.
755 * benchtests/bench-memcpy-ifunc.c: New file.
756 * benchtests/bench-memcpy.c: New file.
757 * benchtests/bench-string.h: New file.
758
50fd745b
AS
7592013-06-11 Andreas Schwab <schwab@suse.de>
760
761 [BZ #15577]
762 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
763 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
764 values in the triple.
765 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
766 terminator in the group key.
767
3ee7e9fe
AJ
7682013-06-11 Andreas Jaeger <aj@suse.de>
769
770 * po/zh_TW.po: Update Chinese (traditional) translation from
771 translation project.
772
89fb6835
SP
7732013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
774
775 * include/time.h (__clock_gettime): Add libc_hidden_proto.
776 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
777 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
778 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
779 (clock_getcpuclockid): Likewise.
780 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
781 Add weak_alias and libc_hidden_def.
782 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
783 * rt/clock_gettime.c (clock_gettime): Rename to
784 __clock_gettime. Add weak_alias and libc_hidden_def.
785 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
786 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
787 __clock_nanosleep. Add weak_alias and libc_hidden_def.
788 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
789 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
790 Likewise.
791 * rt/clock_settime.c (clock_settime): Rename to
792 __clock_settime. Add weak_alias and libc_hidden_def.
793 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
794
0efa6f8b
JM
7952013-06-10 Joseph Myers <joseph@codesourcery.com>
796
b8c61b4b
JM
797 * mach/err_boot.sub: Remove trailing whitespace.
798 * mach/err_ipc.sub: Likewise.
799 * mach/err_mach.sub: Likewise.
800
0efa6f8b
JM
801 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
802 (ROUNDING_TESTS_double): Likewise.
803 (ROUNDING_TESTS_long_double): Likewise.
804 (ROUNDING_TESTS): Likewise.
805 * math/libm-test.inc: Include <math-tests.h>.
806 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
807 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
808 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
809 (IF_ROUND_INIT_FE_UPWARD): Likewise.
810
50b818bf
SP
8112013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
812
813 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
814 of assigning.
815
60d2f8f3
JM
8162013-06-08 Joseph Myers <joseph@codesourcery.com>
817
4902d2c3
JM
818 * sysdeps/gnu/errlist.awk: Do not generate space at end of
819 otherwise empty TRANS lines.
820 * sysdeps/gnu/errlist.c: Regenerated.
821
60d2f8f3
JM
822 * catgets/gencat.c (error_print): Use (void) in function
823 definition.
824 * crypt/crypt_util.c (__init_des): Likewise.
825 * crypt/speeds.c (Stop): Likewise.
826 (main): Likewise.
827 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
828 * inet/ruserpass.c (token): Likewise.
829 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
830 * intl/localealias.c (extend_alias_table): Likewise.
831 * intl/plural-exp.c (init_germanic_plural): Likewise.
832 * libio/fcloseall.c (__fcloseall): Likewise.
833 * libio/genops.c (_IO_flush_all): Likewise.
834 (_IO_flush_all_linebuffered): Likewise.
835 (_IO_cleanup): Likewise.
836 (_IO_iter_begin): Likewise.
837 (_IO_iter_end): Likewise.
838 (_IO_list_lock): Likewise.
839 (_IO_list_unlock): Likewise.
840 (_IO_list_resetlock): Likewise.
841 * libio/getchar.c (getchar): Likewise.
842 * libio/getchar_u.c (getchar_unlocked): Likewise.
843 * libio/getwchar.c (getwchar): Likewise.
844 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
845 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
846 * login/getpt.c (__getpt): Likewise.
847 * login/tst-utmp.c (main): Likewise.
848 * malloc/hooks.c (__malloc_check_init): Likewise.
849 * malloc/malloc.c (__malloc_stats): Likewise.
850 * malloc/mtrace.c (tr_break): Likewise.
851 (mtrace): Likewise.
852 (muntrace): Likewise.
853 * misc/fstab.c (endfsent): Likewise.
854 * misc/getclktck.c (__getclktck): Likewise.
855 * misc/getdtsz.c (__getdtablesize): Likewise.
856 * misc/gethostid.c (gethostid): Likewise.
857 * misc/getpagesize.c (__getpagesize): Likewise.
858 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
859 (__get_nprocs): Likewise.
860 (__get_phys_pages): Likewise.
861 (__get_avphys_pages): Likewise.
862 * misc/getttyent.c (getttyent): Likewise.
863 (setttyent): Likewise.
864 (endttyent): Likewise.
865 * misc/getusershell.c (getusershell): Likewise.
866 (endusershell): Likewise.
867 (setusershell): Likewise.
868 (initshells): Likewise.
869 * misc/hsearch.c (__hdestroy): Likewise.
870 * misc/sync.c (sync): Likewise.
871 * misc/syslog.c (closelog_internal): Likewise.
872 (closelog): Likewise.
873 * misc/ttyslot.c (ttyslot): Likewise.
874 * misc/vhangup.c (vhangup): Likewise.
875 * posix/fork.c (__fork): Likewise.
876 * posix/getegid.c (__getegid): Likewise.
877 * posix/geteuid.c (__geteuid): Likewise.
878 * posix/getgid.c (__getgid): Likewise.
879 * posix/getpid.c (__getpid): Likewise.
880 * posix/getppid.c (__getppid): Likewise.
881 * posix/getuid.c (__getuid): Likewise.
882 * posix/pause.c (pause): Likewise.
883 * posix/setpgrp.c (setpgrp): Likewise.
884 * posix/setsid.c (__setsid): Likewise.
885 * posix/test-vfork.c (noop): Likewise.
886 * resolv/gethnamaddr.c (_endhtent): Likewise.
887 (_gethtent): Likewise.
888 (ht_endhostent): Likewise.
889 (gethostent): Likewise.
890 (dns_service): Likewise.
891 * stdlib/drand48.c (drand48): Likewise.
892 * stdlib/lrand48.c (lrand48): Likewise.
893 * stdlib/mrand48.c (mrand48): Likewise.
894 * stdlib/rand.c (rand): Likewise.
895 * stdlib/random.c (__random): Likewise.
896 * stdlib/setenv.c (clearenv): Likewise.
897 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
898 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
899 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
900 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
901 (__get_nprocs): Likewise.
902 (__get_phys_pages): Likewise.
903 (__get_avphys_pages): Likewise.
904 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
905 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
906 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
907 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
908 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
909 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
910 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
911 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
912 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
913 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
914 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
915 * sysdeps/mach/hurd/sync.c (sync): Likewise.
916 * sysdeps/posix/clock.c (clock): Likewise.
917 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
918 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
919 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
920 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
921 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
922 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
923 (__get_nprocs_conf): Likewise.
924 (__get_phys_pages): Likewise.
925 (__get_avphys_pages): Likewise.
926 * time/clock.c (clock): Likewise.
927 * time/tzset.c (__tzname_max): Likewise.
928
2e09a79a
JM
9292013-06-07 Joseph Myers <joseph@codesourcery.com>
930
931 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
932 (__bswap_32): Do not use "register".
933 * crypt/crypt.c (_ufc_doit_r): Likewise.
934 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
935 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
936 * gmon/gmon.c (__monstartup): Likewise.
937 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
938 * hurd/hurdmalloc.c (more_memory): Likewise.
939 (malloc): Likewise.
940 (free): Likewise.
941 (realloc): Likewise.
942 (malloc_fork_prepare): Likewise.
943 (malloc_fork_parent): Likewise.
944 (malloc_fork_child): Likewise.
945 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
946 (_svcauth_des): Likewise.
947 * inet/inet_lnaof.c (inet_lnaof): Likewise.
948 * inet/inet_net.c (inet_network): Likewise.
949 * inet/inet_netof.c (inet_netof): Likewise.
950 * inet/rcmd.c (__validuser2_sa): Likewise.
951 * io/fts.c (fts_open): Likewise.
952 (fts_load): Likewise.
953 (fts_close): Likewise.
954 (fts_read): Likewise.
955 (fts_children): Likewise.
956 (fts_build): Likewise.
957 (fts_stat): Likewise.
958 (fts_sort): Likewise.
959 (fts_alloc): Likewise.
960 (fts_lfree): Likewise.
961 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
962 (_IO_file_xsgetn): Likewise.
963 (_IO_file_xsgetn_mmap): Likewise.
964 * libio/iofopncook.c (_IO_cookie_read): Likewise.
965 (_IO_cookie_write): Likewise.
966 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
967 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
968 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
969 * malloc/obstack.c (_obstack_begin): Likewise.
970 (_obstack_begin_1): Likewise.
971 (_obstack_newchunk): Likewise.
972 (_obstack_allocated_p): Likewise.
973 (obstack_free): Likewise.
974 (_obstack_memory_used): Likewise.
975 * misc/getttyent.c (getttynam): Likewise.
976 (getttyent): Likewise.
977 (skip): Likewise.
978 (value): Likewise.
979 * misc/getusershell.c (initshells): Likewise.
980 * misc/syslog.c (__vsyslog_chk): Likewise.
981 * misc/ttyslot.c (ttyslot): Likewise.
982 * nis/nis_hash.c (__nis_hash): Likewise.
983 * posix/fnmatch_loop.c (FCT): Likewise.
984 * posix/getconf.c (print_all): Likewise.
985 (main): Likewise.
986 * posix/getopt.c (exchange): Likewise.
987 * posix/glob.c (globfree): Likewise.
988 (prefix_array): Likewise.
989 (__glob_pattern_type): Likewise.
990 * resolv/arpa/nameser.h (NS_GET16): Likewise.
991 (NS_GET32): Likewise.
992 (NS_PUT16): Likewise.
993 (NS_PUT32): Likewise.
994 * resolv/gethnamaddr.c (getanswer): Likewise.
995 (gethostbyname2): Likewise.
996 (gethostbyaddr): Likewise.
997 (_gethtent): Likewise.
998 (_gethtbyname2): Likewise.
999 (_gethtbyaddr): Likewise.
1000 * resolv/ns_print.c (dst_s_get_int16): Likewise.
1001 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
1002 * resolv/res_init.c (__res_vinit): Likewise.
1003 (net_mask): Likewise.
1004 * resolv/res_mkquery.c (outchar): Likewise.
1005 (PRINT): Likewise.
1006 * stdio-common/printf_fp.c (outchar): Likewise.
1007 (PRINT): Likewise.
1008 * stdio-common/printf_fphex.c (outchar): Likewise.
1009 (PRINT): Likewise.
1010 * stdio-common/printf_size.c (outchar): Likewise.
1011 (PRINT): Likewise.
1012 * stdio-common/test_rdwr.c (main): Likewise.
1013 * stdio-common/tfformat.c (matches): Likewise.
1014 * stdio-common/vfprintf.c (outchar): Likewise.
1015 (printf_unknown): Likewise.
1016 (buffered_vfprintf): Likewise.
1017 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
1018 * stdio-common/xbug.c (AppendToBuffer): Likewise.
1019 (ReadFile): Likewise.
1020 * stdlib/qsort.c (SWAP): Likewise.
1021 (_quicksort): Likewise.
1022 * stdlib/setenv.c (__add_to_environ): Likewise.
1023 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
1024 * stdlib/strtol_l.c (__strtol_l): Likewise.
1025 * stdlib/tst-strtod.c (main): Likewise.
1026 * stdlib/tst-strtol.c (main): Likewise.
1027 * stdlib/tst-strtoll.c (main): Likewise.
1028 * string/bits/string2.h (__strcmp_cc): Likewise.
1029 (__strcmp_cg): Likewise.
1030 (__strcspn_c1): Likewise.
1031 (__strcspn_c2): Likewise.
1032 (__strcspn_c3): Likewise.
1033 (__strspn_c1): Likewise.
1034 (__strspn_c2): Likewise.
1035 (__strspn_c3): Likewise.
1036 (__strsep_1c): Likewise.
1037 (__strsep_2c): Likewise.
1038 (__strsep_3c): Likewise.
1039 * string/memccpy.c (__memccpy): Likewise.
1040 * string/stpcpy.c (__stpcpy): Likewise.
1041 * string/strcmp.c (strcmp): Likewise.
1042 * string/strrchr.c (strrchr): Likewise.
1043 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
1044 Likewise.
1045 * sysdeps/mach/hurd/getcwd.c
1046 (_hurd_canonicalize_directory_name_internal): Likewise.
1047 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
1048 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
1049 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
1050 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
1051 Likewise, in both definitions.
1052 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
1053 definitions.
1054 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
1055 64] (__bswap_64): Likewise.
1056 * time/test_time.c (main): Likewise.
1057 * time/tzfile.c (__tzfile_read): Likewise.
1058 (__tzfile_compute): Likewise.
1059 * time/tzset.c (__tzset_parse_tz): Likewise.
1060 (tzset_internal): Likewise.
1061 (compute_change): Likewise.
1062 * wcsmbs/wcscat.c (__wcscat): Likewise.
1063 * wcsmbs/wcschr.c (wcschr): Likewise.
1064 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
1065 * wcsmbs/wcscspn.c (wcscspn): Likewise.
1066 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
1067 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
1068 * wcsmbs/wcsspn.c (wcsspn): Likewise.
1069 * wcsmbs/wcsstr.c (wcsstr): Likewise.
1070 * wcsmbs/wmemchr.c (wmemchr): Likewise.
1071 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
1072 * wcsmbs/wmemset.c (wmemset): Likewise.
1073
9e54314b
JM
10742013-06-06 Joseph Myers <joseph@codesourcery.com>
1075
1076 * scripts/config.guess: Update to version 2013-05-16.
1077 * scripts/config.sub: Update to version 2013-04-24.
1078 * scripts/install-sh: Update to version 2011-11-20.07.
1079 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
1080 * scripts/move-if-change: Update to version 2012-01-06 07:23.
1081
350635a5
OB
10822013-06-06 Ondřej Bílka <neleai@seznam.cz>
1083
1084 * debug/fgetws_u_chk.c: Fix leading whitespaces.
1085 * elf/sln.c: Likewise.
1086 * hurd/hurd/ioctl.h: Likewise.
1087 * hurd/hurdmalloc.c: Likewise.
1088 * hurd/xattr.c: Likewise.
1089 * include/shlib-compat.h: Likewise.
1090 * inet/ruserpass.c: Likewise.
1091 * libio/iofgets_u.c: Likewise.
1092 * libio/iofgetws_u.c: Likewise.
1093 * locale/programs/ld-identification.c: Likewise.
1094 * locale/programs/ld-time.c: Likewise.
1095 * mach/msg-destroy.c: Likewise.
1096 * nss/nss_files/files-netgrp.c: Likewise.
1097 * resolv/res_data.c: Likewise.
1098 * soft-fp/op-1.h: Likewise.
1099 * soft-fp/op-2.h: Likewise.
1100 * soft-fp/op-4.h: Likewise.
1101 * soft-fp/op-common.h: Likewise.
1102 * stdio-common/printf_fphex.c: Likewise.
1103 * stdlib/strtod_l.c: Likewise.
1104 * sunrpc/rpc/clnt.h: Likewise.
1105 * sysdeps/generic/framestate.c: Likewise.
1106 * sysdeps/i386/bsd-_setjmp.S: Likewise.
1107 * sysdeps/i386/bsd-setjmp.S: Likewise.
1108 * sysdeps/i386/__longjmp.S: Likewise.
1109 * sysdeps/i386/setjmp.S: Likewise.
1110 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
1111 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
1112 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1113 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
1114 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
1115 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
1116 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
1117 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
1118 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1119 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
1120 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
1121 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
1122 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
1123 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
1124 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
1125 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
1126 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
1127 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
1128 * sysdeps/ieee754/support.c: Likewise.
1129 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
1130 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
1131 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
1132 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
1133 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
1134 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
1135 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
1136 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
1137 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
1138 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
1139 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
1140 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
1141 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
1142 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
1143 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
1144 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
1145 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
1146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
1147
44a988af
OB
11482013-06-05 Ondřej Bílka <neleai@seznam.cz>
1149
25506f09 1150 * posix/transbug.c: Remove executable mode.
44a988af 1151
9c84384c
JM
11522013-06-05 Joseph Myers <joseph@codesourcery.com>
1153
1154 * crypt/speeds.c: Remove trailing whitespace.
1155 * dlfcn/default.c: Likewise.
1156 * elf/ifuncdep2.c: Likewise.
1157 * elf/ifuncmain1.c: Likewise.
1158 * elf/ifuncmain1vis.c: Likewise.
1159 * elf/testobj.h: Likewise.
1160 * elf/tst-stackguard1.c: Likewise.
1161 * gmon/sys/gmon.h: Likewise.
1162 * hurd/hurdmsg.c: Likewise.
1163 * hurd/new-fd.c: Likewise.
1164 * hurd/ports-get.c: Likewise.
1165 * iconvdata/ibm1008_420.c: Likewise.
1166 * inet/tst-getni1.c: Likewise.
1167 * inet/tst-getni2.c: Likewise.
1168 * libio/ioungetc.c: Likewise.
1169 * libio/wfiledoalloc.c: Likewise.
1170 * manual/libm-err-tab.pl: Likewise.
1171 * math/w_dremf.c: Likewise.
1172 * misc/ftruncate.c: Likewise.
1173 * posix/bug-glob2.c: Likewise.
1174 * posix/tst-pcre.c: Likewise.
1175 * posix/wait4.c: Likewise.
1176 * resolv/README: Likewise.
1177 * resolv/res_debug.h: Likewise.
1178 * resolv/tst-inet_ntop.c: Likewise.
1179 * setjmp/bug269-setjmp.c: Likewise.
1180 * soft-fp/extended.h: Likewise.
1181 * soft-fp/op-1.h: Likewise.
1182 * soft-fp/op-2.h: Likewise.
1183 * soft-fp/op-4.h: Likewise.
1184 * soft-fp/op-8.h: Likewise.
1185 * soft-fp/testit.c: Likewise.
1186 * stdio-common/bug16.c: Likewise.
1187 * stdlib/random.c: Likewise.
1188 * sunrpc/rpcsvc/rquota.x: Likewise.
1189 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
1190 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
1191 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
1192 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
1193 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
1194 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
1195 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
1196 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
1197 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
1198 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
1199 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
1200 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
1201 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
1202 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
1203 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
1204 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
1205 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
1206 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
1207 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
1208 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
1209 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
1210 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
1211 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
1212 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
1213 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
1214 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
1215 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
1216 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
1217 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
1218 * sysdeps/ieee754/s_lib_version.c: Likewise.
1219 * sysdeps/mach/hurd/check_fds.c: Likewise.
1220 * sysdeps/mach/hurd/getsockname.c: Likewise.
1221 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
1222 * sysdeps/mach/hurd/recvfrom.c: Likewise.
1223 * sysdeps/powerpc/bits/link.h: Likewise.
1224 * sysdeps/powerpc/dl-procinfo.c: Likewise.
1225 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
1226 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
1227 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
1228 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
1229 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
1230 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
1231 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
1232 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
1233 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
1234 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
1235 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
1236 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
1237 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
1238 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
1239 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
1240 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
1241 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
1242 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
1243 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
1244 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
1245 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
1246 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
1247 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
1248 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
1249 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
1250 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
1251 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
1252 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
1253 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
1254 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
1255 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
1256 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
1257 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
1258 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
1259 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
1260 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
1261 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
1262 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1263 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
1264 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
1265 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
1266 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
1267 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
1268 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
1269 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
1270 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
1271 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
1272 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
1273 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
1274 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
1275 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1276 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
1277 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
1278 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
1279 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1280 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1281 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
1282 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
1283 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1284 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
1285 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
1286 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
1287 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
1288 * sysdeps/powerpc/sysdep.h: Likewise.
1289 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
1290 * sysdeps/s390/s390-64/sub_n.S: Likewise.
1291 * sysdeps/sh/dl-trampoline.S: Likewise.
1292 * sysdeps/sh/memset.S: Likewise.
1293 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
1294 * sysdeps/sh/strlen.S: Likewise.
1295 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
1296 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
1297 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
1298 * sysdeps/sparc/sparc32/rem.S: Likewise.
1299 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
1300 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
1301 * sysdeps/sparc/sparc32/strchr.S: Likewise.
1302 * sysdeps/sparc/sparc32/udiv.S: Likewise.
1303 * sysdeps/sparc/sparc32/urem.S: Likewise.
1304 * sysdeps/sparc/sparc64/add_n.S: Likewise.
1305 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
1306 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
1307 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
1308 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
1309 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
1310 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
1311 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
1312 * sysdeps/unix/bsd/times.c: Likewise.
1313 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
1314 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
1315 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
1316 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
1317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
1318 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
1319 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
1320 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
1321 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
1322 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
1323 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
1324 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
1325 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
1326 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
1327 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
1328 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
1329 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
1330 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
1331 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
1332 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
1333 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
1334 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
1335 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
1336 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
1337 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
1338 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1339 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
1340 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1341 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
1342 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
1343 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
1344 * sysdeps/x86_64/strcspn.S: Likewise.
1345
869378a5
RA
13462013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
1347
1348 * locale/C-translit.h: Revert #include <stdint.h> because this is a
1349 generated file. Regenerate properly from gen-translit.pl.
1350 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
1351 locale/C-translit.h.
1352
840e2943
AS
13532013-06-05 Andreas Schwab <schwab@suse.de>
1354
1355 [BZ #15100]
1356 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
1357 week as 6 instead of -1.
1358 * time/tst-strptime.c (day_tests): Add test case.
1359
4c60cb0c
SP
13602013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
1361
1362 * sysdeps/generic/math_private.h
1363 (libc_feholdexcept_setround_53bit): Replace with
1364 libc_feholdsetround_53bit.
1365 (libc_feupdateenv_53bit): Replace with
1366 libc_feresetround_53bit.
1367 (SET_RESTORE_ROUND_53BIT): Adjust.
1368
d180203e
SP
13692013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
1370
96df079a
SP
1371 * string/test-strchrnul.c: Add copyright header.
1372
d180203e
SP
1373 * posix/tst-getaddrinfo4.c: Increase test timeout.
1374
8b0ccb2d
CD
13752013-06-03 Carlos O'Donell <carlos@redhat.com>
1376
1377 [BZ #15536]
1378 * math/libm-test.inc (MAX_EXP): Remove
1379 (MIN_EXP): Define.
1380 (ulp): Use MIN_EXP - MANT_DIG.
1381 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
1382
3b3c4d40
CD
13832013-05-31 Carlos O'Donell <carlos@redhat.com>
1384
1385 * po/be.po: Revert last change.
1386 * po/zh_CN.po: Likewise.
1387 * po/header.pot: Likewise.
1388
fab7ce3f
JM
13892013-05-31 Joseph Myers <joseph@codesourcery.com>
1390
1391 * Makefile ($(common-objpfx)linkobj/libc.so): Define
1392 link-libc-deps to empty as target-specific variable.
1393 * Makerules (link-libc-args): New variable.
1394 (libc-for-link): Likewise.
1395 (link-libc-deps): Likewise.
1396 (lib%.so): Depend on $(link-libc-deps). Link with
1397 $(link-libc-args).
1398 (build-module): Link with $(link-libc-args).
1399 (build-module-asneeded): Likewise.
1400 (build-module-helper-objlist): Filter out $(link-libc-deps) from
1401 list of objects.
1402 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
1403 target-specific variable.
1404 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
1405 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
1406 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
1407 libc.
1408 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
1409 libc and ld.so.
1410 ($(objpfx)libpcprofile.so): Likewise.
1411 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
1412 libc_nonshared.a.
1413 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
1414 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
1415 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
1416 $(link-libc-deps).
1417 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
1418 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
1419 * login/Makefile ($(objpfx)libutil.so): Likewise.
1420 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
1421 * math/Makefile ($(objpfx)libm.so): Likewise.
1422 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
1423 $(objpfx)libnsl.so): Define libc-for-link as target-specific
1424 variable instead of depending directly on libc.
1425 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
1426 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
1427 $(link-libc-deps).
1428 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
1429 libc.
1430 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
1431 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
1432 ($(objpfx)libanl.so): Likewise.
1433 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
1434 ld.so.
1435 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
1436 $(link-libc-deps).
1437 * sysdeps/i386/fpu/Makefile: Remove file.
1438 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
1439 ($(objpfx)libm.so): Remove dependency on ld.so.
1440
eca5920c
PF
14412013-05-30 Patsy Franklin <pfrankli@redhat.com>
1442
1443 [BZ # 15553]
1444 * nis/yp_xdr.c (XDRMAXNAME): Define.
1445 (XDRMAXRECORD): Define.
1446 (xdr_domainname): Use XDRMAXNAME.
1447 (xdr_mapname): Likewise.
1448 (xdr_peername): Likewise.
1449 (xdr_keydat): Use XDRMAXRECORD.
1450 (xdr_valdat): Likewise.
1451
14522013-05-30 Jeff Law <law@redhat.com>
96945714
JL
1453
1454 [BZ #14256]
1455 * manual/errno.texi (ESTALE): Update to account for more than
1456 just NFS file systems.
1457 * sysdeps/gnu/errlist.c: Regenerated.
1458
b9375348
SP
14592013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
1460
1461 [BZ #15465]
1462 * elf/Makefile (tests): Add tst-null-argv.
1463 (modules-names): Add tst-null-argv-lib.
1464 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
1465 (tst-null-argv-ENV): Set environment for tst-null-argv.
1466 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
1467 (RTLD_PROGNAME): New macro.
1468 * elf/tst-null-argv.c: New test case.
1469 * elf/tst-null-argv-lib.c: Library for test case.
1470 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
1471 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
1472 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
1473 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
1474 * elf/dl-init.c (call_init): Likewise.
1475 (_dl_init): Likewise.
1476 * elf/dl-load.c (print_search_path): Likewise.
1477 (_dl_map_object): Likewise.
1478 * elf/dl-lookup.c (do_lookup_x): Likewise.
1479 (add_dependency): Likewise.
1480 (_dl_lookup_symbol_x): Likewise.
1481 (_dl_debug_bindings): Likewise.
1482 * elf/dl-open.c (_dl_show_scope): Likewise.
1483 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
1484 * elf/dl-version.c (match_symbol): Likewise.
1485 (_dl_check_map_versions): Likewise.
1486 * elf/rtld.c (dl_main): Likewise.
1487 (print_unresolved): Use RTLD_PROGNAME.
1488 (print_missing_version): Likewise.
1489 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
1490 (elf_machine_rela): Likewise.
1491 * sysdeps/powerpc/powerpc32/dl-machine.c
1492 (__process_machine_rela): Likewise.
1493 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
1494 Likewise.
1495 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
1496 Likewise.
1497 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
1498 Likewise.
1499 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
1500 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
1501 Likewise.
1502 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
1503 Likewise.
1504 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
1505
8a9f20c8
CD
15062013-05-28 Carlos O'Donell <carlos@redhat.com>
1507
1508 * po/be.po: Add descriptive title.
1509 * po/zh_CN.po: Likewise.
1510 * po/header.pot: Likewise.
1511
0e60d68e
MF
15122013-05-28 Mike Frysinger <vapier@gentoo.org>
1513
1514 * locale/programs/locarchive.c (create_archive): Inlucde fname in
1515 error message.
1516 (enlarge_archive): Likewise.
1517
56b672e9
BN
15182013-05-28 Ben North <ben@redfrontdoor.org>
1519
1520 * manual/arith.texi (frexp): It is the magnitude of the return
1521 value which lies in [0.5, 1), not the return value itself.
1522
5e056687
AZ
15232013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1524
1525 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1526
2b66ef5d
TS
15272013-05-26 Thomas Schwinge <thomas@codesourcery.com>
1528
528c2405
TS
1529 * stdio-common/bug26.c (main): Correct fscanf template.
1530
07b4c13d
TS
1531 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
1532 declare _dl_skip_args.
1533
ec9dd97c
TS
1534 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
1535 Don't declare.
1536
2b66ef5d
TS
1537 * manual/platform.texi: Add missing @end deftypefun.
1538
4f8dfe27
JM
15392013-05-24 Joseph Myers <joseph@codesourcery.com>
1540
0323d086
JM
1541 [BZ #15529]
1542 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
1543 bit of mantissa of 2^16382.
1544 * math/libm-test.inc (hypot_test_data): Add more tests.
1545
dd4259b9
JM
1546 * math/libm-test.inc: Add drem and pow10 to list of tested
1547 functions.
1548 (pow10_test): New function.
1549 (drem_test): Likewise.
1550 (drem_test_tonearest): Likewise.
1551 (drem_test_towardzero): Likewise.
1552 (drem_test_downward): Likewise.
1553 (drem_test_upward): Likewise.
1554 (main): Call the new functions.
1555
4f8dfe27
JM
1556 * math/libm-test.inc (finite_test_data): Remove.
1557 (finite_test): Run tests from isfinite_test_data.
1558 (gamma_test_data): Remove.
1559 (gamma_test): Run tests from lgamma_test_data.
1560 * sysdeps/i386/fpu/libm-test-ulps: Update.
1561 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1562
d116b7c4
AZ
15632013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
1564
1565 * manual/platform.texi: Add PowerPC PPR function set documentation.
1566 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
1567 implementation.
1568
e96e3767
CD
15692013-05-24 Carlos O'Donell <carlos@redhat.com>
1570
1571 * math/libm-test.inc (MAX_EXP): Define.
1572 (ULPDIFF): Define.
1573 (ulp): New function.
1574 (check_float_internal): Use ULPDIFF.
1575 (cpow_test): Disable failing test.
1576 (check_ulp): Test ulp() implemetnation.
1577 (main): Call check_ulp before starting tests.
1578
b679a606
JM
15792013-05-24 Joseph Myers <joseph@codesourcery.com>
1580
e8bdba36
JM
1581 * math/gen-libm-test.pl (generate_testfile): Do not handle
1582 START_DATA and END_DATA.
1583 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
1584 END_DATA.
1585 (acos_tonearest_test_data): Likewise.
1586 (acos_towardzero_test_data): Likewise.
1587 (acos_downward_test_data): Likewise.
1588 (acos_upward_test_data): Likewise.
1589 (acosh_test_data): Likewise.
1590 (asin_test_data): Likewise.
1591 (asin_tonearest_test_data): Likewise.
1592 (asin_towardzero_test_data): Likewise.
1593 (asin_downward_test_data): Likewise.
1594 (asin_upward_test_data): Likewise.
1595 (asinh_test_data): Likewise.
1596 (atan_test_data): Likewise.
1597 (atanh_test_data): Likewise.
1598 (atan2_test_data): Likewise.
1599 (cabs_test_data): Likewise.
1600 (cacos_test_data): Likewise.
1601 (cacosh_test_data): Likewise.
1602 (carg_test_data): Likewise.
1603 (casin_test_data): Likewise.
1604 (casinh_test_data): Likewise.
1605 (catan_test_data): Likewise.
1606 (catanh_test_data): Likewise.
1607 (cbrt_test_data): Likewise.
1608 (ccos_test_data): Likewise.
1609 (ccosh_test_data): Likewise.
1610 (ceil_test_data): Likewise.
1611 (cexp_test_data): Likewise.
1612 (cimag_test_data): Likewise.
1613 (clog_test_data): Likewise.
1614 (clog10_test_data): Likewise.
1615 (conj_test_data): Likewise.
1616 (copysign_test_data): Likewise.
1617 (cos_test_data): Likewise.
1618 (cos_tonearest_test_data): Likewise.
1619 (cos_towardzero_test_data): Likewise.
1620 (cos_downward_test_data): Likewise.
1621 (cos_upward_test_data): Likewise.
1622 (cosh_test_data): Likewise.
1623 (cosh_tonearest_test_data): Likewise.
1624 (cosh_towardzero_test_data): Likewise.
1625 (cosh_downward_test_data): Likewise.
1626 (cosh_upward_test_data): Likewise.
1627 (cpow_test_data): Likewise.
1628 (cproj_test_data): Likewise.
1629 (creal_test_data): Likewise.
1630 (csin_test_data): Likewise.
1631 (csinh_test_data): Likewise.
1632 (csqrt_test_data): Likewise.
1633 (ctan_test_data): Likewise.
1634 (ctan_tonearest_test_data): Likewise.
1635 (ctan_towardzero_test_data): Likewise.
1636 (ctan_downward_test_data): Likewise.
1637 (ctan_upward_test_data): Likewise.
1638 (ctanh_test_data): Likewise.
1639 (ctanh_tonearest_test_data): Likewise.
1640 (ctanh_towardzero_test_data): Likewise.
1641 (ctanh_downward_test_data): Likewise.
1642 (ctanh_upward_test_data): Likewise.
1643 (erf_test_data): Likewise.
1644 (erfc_test_data): Likewise.
1645 (exp_test_data): Likewise.
1646 (exp_tonearest_test_data): Likewise.
1647 (exp_towardzero_test_data): Likewise.
1648 (exp_downward_test_data): Likewise.
1649 (exp_upward_test_data): Likewise.
1650 (exp10_test_data): Likewise.
1651 (exp2_test_data): Likewise.
1652 (expm1_test_data): Likewise.
1653 (fabs_test_data): Likewise.
1654 (fdim_test_data): Likewise.
1655 (finite_test_data): Likewise.
1656 (floor_test_data): Likewise.
1657 (fma_test_data): Likewise.
1658 (fma_towardzero_test_data): Likewise.
1659 (fma_downward_test_data): Likewise.
1660 (fma_upward_test_data): Likewise.
1661 (fmax_test_data): Likewise.
1662 (fmin_test_data): Likewise.
1663 (fmod_test_data): Likewise.
1664 (fpclassify_test_data): Likewise.
1665 (frexp_test_data): Likewise.
1666 (gamma_test_data): Likewise.
1667 (hypot_test_data): Likewise.
1668 (ilogb_test_data): Likewise.
1669 (isfinite_test_data): Likewise.
1670 (isgreater_test_data): Likewise.
1671 (isgreaterequal_test_data): Likewise.
1672 (isinf_test_data): Likewise.
1673 (isless_test_data): Likewise.
1674 (islessequal_test_data): Likewise.
1675 (islessgreater_test_data): Likewise.
1676 (isnan_test_data): Likewise.
1677 (isnormal_test_data): Likewise.
1678 (issignaling_test_data): Likewise.
1679 (isunordered_test_data): Likewise.
1680 (j0_test_data): Likewise.
1681 (j1_test_data): Likewise.
1682 (jn_test_data): Likewise.
1683 (ldexp_test_data): Likewise.
1684 (lgamma_test_data): Likewise.
1685 (lrint_test_data): Likewise.
1686 (lrint_tonearest_test_data): Likewise.
1687 (lrint_towardzero_test_data): Likewise.
1688 (lrint_downward_test_data): Likewise.
1689 (lrint_upward_test_data): Likewise.
1690 (llrint_test_data): Likewise.
1691 (llrint_tonearest_test_data): Likewise.
1692 (llrint_towardzero_test_data): Likewise.
1693 (llrint_downward_test_data): Likewise.
1694 (llrint_upward_test_data): Likewise.
1695 (log_test_data): Likewise.
1696 (log10_test_data): Likewise.
1697 (log1p_test_data): Likewise.
1698 (log2_test_data): Likewise.
1699 (logb_test_data): Likewise.
1700 (logb_downward_test_data): Likewise.
1701 (lround_test_data): Likewise.
1702 (llround_test_data): Likewise.
1703 (modf_test_data): Likewise.
1704 (nearbyint_test_data): Likewise.
1705 (nextafter_test_data): Likewise.
1706 (nexttoward_test_data): Likewise.
1707 (pow_test_data): Likewise.
1708 (pow_tonearest_test_data): Likewise.
1709 (pow_towardzero_test_data): Likewise.
1710 (pow_downward_test_data): Likewise.
1711 (pow_upward_test_data): Likewise.
1712 (remainder_test_data): Likewise.
1713 (remainder_tonearest_test_data): Likewise.
1714 (remainder_towardzero_test_data): Likewise.
1715 (remainder_downward_test_data): Likewise.
1716 (remainder_upward_test_data): Likewise.
1717 (remquo_test_data): Likewise.
1718 (rint_test_data): Likewise.
1719 (rint_tonearest_test_data): Likewise.
1720 (rint_towardzero_test_data): Likewise.
1721 (rint_downward_test_data): Likewise.
1722 (rint_upward_test_data): Likewise.
1723 (round_test_data): Likewise.
1724 (scalb_test_data): Likewise.
1725 (scalbn_test_data): Likewise.
1726 (scalbln_test_data): Likewise.
1727 (signbit_test_data): Likewise.
1728 (sin_test_data): Likewise.
1729 (sin_tonearest_test_data): Likewise.
1730 (sin_towardzero_test_data): Likewise.
1731 (sin_downward_test_data): Likewise.
1732 (sin_upward_test_data): Likewise.
1733 (sincos_test_data): Likewise.
1734 (sinh_test_data): Likewise.
1735 (sinh_tonearest_test_data): Likewise.
1736 (sinh_towardzero_test_data): Likewise.
1737 (sinh_downward_test_data): Likewise.
1738 (sinh_upward_test_data): Likewise.
1739 (sqrt_test_data): Likewise.
1740 (tan_test_data): Likewise.
1741 (tan_tonearest_test_data): Likewise.
1742 (tan_towardzero_test_data): Likewise.
1743 (tan_downward_test_data): Likewise.
1744 (tan_upward_test_data): Likewise.
1745 (tanh_test_data): Likewise.
1746 (tgamma_test_data): Likewise.
1747 (trunc_test_data): Likewise.
1748 (y0_test_data): Likewise.
1749 (y1_test_data): Likewise.
1750 (yn_test_data): Likewise.
1751 (significand_test_data): Likewise.
1752
b679a606
JM
1753 * math/gen-libm-test.pl (@functions): Remove variable.
1754 (generate_testfile): Don't handle START and END lines.
1755 * math/libm-test.inc (START): New macro.
1756 (END): Likewise.
1757 (END_COMPLEX): Likewise.
1758 (acos_test): Use END macro without arguments.
1759 (acos_test_tonearest): Likewise.
1760 (acos_test_towardzero): Likewise.
1761 (acos_test_downward): Likewise.
1762 (acos_test_upward): Likewise.
1763 (acosh_test): Likewise.
1764 (asin_test): Likewise.
1765 (asin_test_tonearest): Likewise.
1766 (asin_test_towardzero): Likewise.
1767 (asin_test_downward): Likewise.
1768 (asin_test_upward): Likewise.
1769 (asinh_test): Likewise.
1770 (atan_test): Likewise.
1771 (atanh_test): Likewise.
1772 (atan2_test): Likewise.
1773 (cabs_test): Likewise.
1774 (cacos_test): Use END_COMPLEX macro without arguments.
1775 (cacosh_test): Likewise.
1776 (carg_test): Use END macro without arguments.
1777 (casin_test): Use END_COMPLEX macro without arguments.
1778 (casinh_test): Likewise.
1779 (catan_test): Likewise.
1780 (catanh_test): Likewise.
1781 (cbrt_test): Use END macro without arguments.
1782 (ccos_test): Use END_COMPLEX macro without arguments.
1783 (ccosh_test): Likewise.
1784 (ceil_test): Use END macro without arguments.
1785 (cexp_test): Use END_COMPLEX macro without arguments.
1786 (cimag_test): Use END macro without arguments.
1787 (clog_test): Use END_COMPLEX macro without arguments.
1788 (clog10_test): Likewise.
1789 (conj_test): Likewise.
1790 (copysign_test): Use END macro without arguments.
1791 (cos_test): Likewise.
1792 (cos_test_tonearest): Likewise.
1793 (cos_test_towardzero): Likewise.
1794 (cos_test_downward): Likewise.
1795 (cos_test_upward): Likewise.
1796 (cosh_test): Likewise.
1797 (cosh_test_tonearest): Likewise.
1798 (cosh_test_towardzero): Likewise.
1799 (cosh_test_downward): Likewise.
1800 (cosh_test_upward): Likewise.
1801 (cpow_test): Use END_COMPLEX macro without arguments.
1802 (cproj_test): Likewise.
1803 (creal_test): Use END macro without arguments.
1804 (csin_test): Use END_COMPLEX macro without arguments.
1805 (csinh_test): Likewise.
1806 (csqrt_test): Likewise.
1807 (ctan_test): Likewise.
1808 (ctan_test_tonearest): Likewise.
1809 (ctan_test_towardzero): Likewise.
1810 (ctan_test_downward): Likewise.
1811 (ctan_test_upward): Likewise.
1812 (ctanh_test): Likewise.
1813 (ctanh_test_tonearest): Likewise.
1814 (ctanh_test_towardzero): Likewise.
1815 (ctanh_test_downward): Likewise.
1816 (ctanh_test_upward): Likewise.
1817 (erf_test): Use END macro without arguments.
1818 (erfc_test): Likewise.
1819 (exp_test): Likewise.
1820 (exp_test_tonearest): Likewise.
1821 (exp_test_towardzero): Likewise.
1822 (exp_test_downward): Likewise.
1823 (exp_test_upward): Likewise.
1824 (exp10_test): Likewise.
1825 (exp2_test): Likewise.
1826 (expm1_test): Likewise.
1827 (fabs_test): Likewise.
1828 (fdim_test): Likewise.
1829 (finite_test): Likewise.
1830 (floor_test): Likewise.
1831 (fma_test): Likewise.
1832 (fma_test_towardzero): Likewise.
1833 (fma_test_downward): Likewise.
1834 (fma_test_upward): Likewise.
1835 (fmax_test): Likewise.
1836 (fmin_test): Likewise.
1837 (fmod_test): Likewise.
1838 (fpclassify_test): Likewise.
1839 (frexp_test): Likewise.
1840 (gamma_test): Likewise.
1841 (hypot_test): Likewise.
1842 (ilogb_test): Likewise.
1843 (isfinite_test): Likewise.
1844 (isgreater_test): Likewise.
1845 (isgreaterequal_test): Likewise.
1846 (isinf_test): Likewise.
1847 (isless_test): Likewise.
1848 (islessequal_test): Likewise.
1849 (islessgreater_test): Likewise.
1850 (isnan_test): Likewise.
1851 (isnormal_test): Likewise.
1852 (issignaling_test): Likewise.
1853 (isunordered_test): Likewise.
1854 (j0_test): Likewise.
1855 (j1_test): Likewise.
1856 (jn_test): Likewise.
1857 (ldexp_test): Likewise.
1858 (lgamma_test): Likewise.
1859 (lrint_test): Likewise.
1860 (lrint_test_tonearest): Likewise.
1861 (lrint_test_towardzero): Likewise.
1862 (lrint_test_downward): Likewise.
1863 (lrint_test_upward): Likewise.
1864 (llrint_test): Likewise.
1865 (llrint_test_tonearest): Likewise.
1866 (llrint_test_towardzero): Likewise.
1867 (llrint_test_downward): Likewise.
1868 (llrint_test_upward): Likewise.
1869 (log_test): Likewise.
1870 (log10_test): Likewise.
1871 (log1p_test): Likewise.
1872 (log2_test): Likewise.
1873 (logb_test): Likewise.
1874 (logb_test_downward): Likewise.
1875 (lround_test): Likewise.
1876 (llround_test): Likewise.
1877 (modf_test): Likewise.
1878 (nearbyint_test): Likewise.
1879 (nextafter_test): Likewise.
1880 (nexttoward_test): Likewise.
1881 (pow_test): Likewise.
1882 (pow_test_tonearest): Likewise.
1883 (pow_test_towardzero): Likewise.
1884 (pow_test_downward): Likewise.
1885 (pow_test_upward): Likewise.
1886 (remainder_test): Likewise.
1887 (remainder_test_tonearest): Likewise.
1888 (remainder_test_towardzero): Likewise.
1889 (remainder_test_downward): Likewise.
1890 (remainder_test_upward): Likewise.
1891 (remquo_test): Likewise.
1892 (rint_test): Likewise.
1893 (rint_test_tonearest): Likewise.
1894 (rint_test_towardzero): Likewise.
1895 (rint_test_downward): Likewise.
1896 (rint_test_upward): Likewise.
1897 (round_test): Likewise.
1898 (scalb_test): Likewise.
1899 (scalbn_test): Likewise.
1900 (scalbln_test): Likewise.
1901 (signbit_test): Likewise.
1902 (sin_test): Likewise.
1903 (sin_test_tonearest): Likewise.
1904 (sin_test_towardzero): Likewise.
1905 (sin_test_downward): Likewise.
1906 (sin_test_upward): Likewise.
1907 (sincos_test): Likewise.
1908 (sinh_test): Likewise.
1909 (sinh_test_tonearest): Likewise.
1910 (sinh_test_towardzero): Likewise.
1911 (sinh_test_downward): Likewise.
1912 (sinh_test_upward): Likewise.
1913 (sqrt_test): Likewise.
1914 (tan_test): Likewise.
1915 (tan_test_tonearest): Likewise.
1916 (tan_test_towardzero): Likewise.
1917 (tan_test_downward): Likewise.
1918 (tan_test_upward): Likewise.
1919 (tanh_test): Likewise.
1920 (tgamma_test): Likewise.
1921 (trunc_test): Likewise.
1922 (y0_test): Likewise.
1923 (y1_test): Likewise.
1924 (yn_test): Likewise.
1925 (significand_test): Likewise.
1926
bae143d2
OB
19272013-05-24 Ondřej Bílka <neleai@seznam.cz>
1928
1929 [BZ #15381]
1930 * libio/genops.c (_IO_no_init): Initialize wide struct info.
1931
9323d39b
EM
19322013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
1933
d4ea44a0 1934 [BZ #14894]
9323d39b
EM
1935 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
1936 __ppc_mdoio and __ppc_mdoom.
1937 * manual/platform.texi: Document new functions __ppc_yield,
1938 __ppc_mdoio and __ppc_mdoom.
1939
13e23af7
CD
19402013-05-22 Carlos O'Donell <carlos@redhat.com>
1941
1942 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
1943 (main): Mention "tls" pseudo-hwcap is legacy.
1944 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
1945
351fe550
JM
19462013-05-22 Joseph Myers <joseph@codesourcery.com>
1947
1948 * math/gen-libm-test.pl (parse_args): Output only string of
1949 arguments as text for test name, not full call or descriptions of
1950 tests for extra outputs.
1951 (generate_testfile): Do not pass function name to parse_args.
1952 Generate this_func variable from START.
1953 * math/libm-test.inc (struct test_f_f_data): Rename test_name
1954 field to arg_str.
1955 (struct test_ff_f_data): Likewise.
1956 (test_ff_f_data_nexttoward): Likewise.
1957 (struct test_fi_f_data): Likewise.
1958 (struct test_fl_f_data): Likewise.
1959 (struct test_if_f_data): Likewise.
1960 (struct test_fff_f_data): Likewise.
1961 (struct test_c_f_data): Likewise.
1962 (struct test_f_f1_data): Likewise. Remove field extra_name.
1963 (struct test_fF_f1_data): Likewise.
1964 (struct test_ffI_f1_data): Likewise.
1965 (struct test_c_c_data): Rename test_name field to arg_str.
1966 (struct test_cc_c_data): Likewise.
1967 (struct test_f_i_data): Likewise.
1968 (struct test_ff_i_data): Likewise.
1969 (struct test_f_l_data): Likewise.
1970 (struct test_f_L_data): Likewise.
1971 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
1972 and extra2_name.
1973 (COMMON_TEST_SETUP): New macro.
1974 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
1975 (COMMON_TEST_CLEANUP): Likewise.
1976 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
1977 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
1978 macros.
1979 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
1980 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
1981 macros.
1982 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
1983 (RUN_TEST_fff_f): Take argument string. Call new setup and
1984 cleanup macros.
1985 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
1986 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
1987 macros.
1988 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
1989 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
1990 macros.
1991 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
1992 (RUN_TEST_fF_f1): Take argument string. Call new setup and
1993 cleanup macros.
1994 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
1995 (RUN_TEST_fI_f1): Take argument string. Call new setup and
1996 cleanup macros.
1997 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
1998 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
1999 cleanup macros.
2000 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2001 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
2002 macros.
2003 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
2004 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
2005 macros.
2006 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
2007 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
2008 macros.
2009 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
2010 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
2011 cleanup macros.
2012 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
2013 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
2014 cleanup macros.
2015 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
2016 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
2017 macros.
2018 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
2019 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
2020 cleanup macros.
2021 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
2022 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
2023 macros.
2024 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
2025 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
2026 macros.
2027 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
2028 (RUN_TEST_fFF_11): Take argument string. Call new setup and
2029 cleanup macros.
2030 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
2031
85118d4d
EBM
20322013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
2033
2034 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
2035 to _sifields.sigfault.
2036 (si_addr_lsb): Define new macro.
2037 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
2038 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
2039 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
2040
7a44c18f
CD
20412013-05-03 Carlos O'Donell <carlos at redhat.com>
2042
2043 [BZ #15441]
2044 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
2045 returns -1.
2046 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
2047 null return -1.
2048 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
2049 loading the domain.
2050
b50a7181
JM
20512013-05-22 Joseph Myers <joseph@codesourcery.com>
2052
2053 * math/gen-libm-test.pl (parse_args): Do not include expected
2054 result in test name.
2055 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
2056 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2057 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2058 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2059 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2060 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2061
051063c8
SP
20622013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
2063
3ce9e010
SP
2064 * benchtests/Makefile: Sort function entries.
2065
051063c8
SP
2066 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
2067 tanh, asinh, acosh, atanh.
2068 * benchtests/acos-inputs: New file.
2069 * benchtests/acosh-inputs: New file.
2070 * benchtests/asin-inputs: New file.
2071 * benchtests/asinh-inputs: New file.
2072 * benchtests/atanh-inputs: New file.
2073 * benchtests/cosh-inputs: New file.
2074 * benchtests/log-inputs: New file.
2075 * benchtests/sinh-inputs: New file.
2076 * benchtests/tanh-inputs: New file.
2077
47c22455
DL
20782013-05-21 Dmitry V. Levin <ldv@altlinux.org>
2079
2080 [BZ #15339]
2081 * posix/tst-getaddrinfo4.c: New test.
2082 * posix/Makefile (tests): Add it.
2083
3d04f5db
SP
20842013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2085
2086 [BZ #15339]
2087 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
2088 when no services were used.
2089 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
2090 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
2091
d5dd6189
AS
20922013-05-21 Andreas Schwab <schwab@suse.de>
2093
2094 [BZ #15014]
2095 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
2096 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
2097 successful.
2098 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
2099 redundant variable declarations and reallocation of buffer when
2100 parsing as IPv6 address. Always set NSS status when called from
2101 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
2102 buffer too small. Correct computation of needed size.
2103 * nss/Makefile (tests): Add test-digits-dots.
2104 * nss/test-digits-dots.c: New test.
2105
fef94eab
SP
21062013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
2107
2108 * benchtests/Makefile: Remove instructions for adding
2109 benchmark tests.
2110 * benchtests/README: New file to explain how to execute and
2111 enhance the benchmark tests.
2112
e39adf43
AS
21132013-05-21 Andreas Schwab <schwab@suse.de>
2114
2115 [BZ #15493]
2116 * setjmp/Makefile (tests): Add tst-sigsetjmp.
2117 * setjmp/tst-sigsetjmp.c: New test.
2118
b2b671b6
OB
21192013-05-20 Ondřej Bílka <neleai@seznam.cz>
2120
2121 * sysdeps/x86_64/memset.S (memset): New implementation.
2122 (__bzero): Likewise.
2123 (__memset_tail): New function.
2124
2d48b41c
OB
21252013-05-20 Ondřej Bílka <neleai@seznam.cz>
2126
2127 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
2128 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
2129 __memcpy_sse2_unaligned ifunc selection.
2130 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
2131 Add memcpy-sse2-unaligned.S.
2132 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
2133 Add: __memcpy_sse2_unaligned.
2134
f16cc3eb
JM
21352013-05-19 Joseph Myers <joseph@codesourcery.com>
2136
3e694268
JM
2137 [BZ #15490]
2138 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
2139 math_force_eval before restoring floating-point envrionment.
2140 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
2141 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
2142 Likewise.
2143 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
2144 <math_private.h>.
2145 (__nearbyintl): Use math_force_eval before restoring
2146 floating-point environment.
2147 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
2148
db62a907
JM
2149 * math/gen-libm-test.pl (special_functions): Remove.
2150 (parse_args): Don't handle TEST_extra. Handle functions with no
2151 return value.
2152 * math/libm-test.inc (struct test_sincos_data): Replace with
2153 struct test_fFF_11_data.
2154 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
2155 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
2156 (sincos_test_data): Change element type to struct
2157 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
2158 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
2159 RUN_TEST_LOOP_sincos.
2160 * math/README.libm-test: Don't mention special handling of
2161 individual functions.
2162 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
2163 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
2164 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
2165 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
2166 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
2167 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2168
f16cc3eb
JM
2169 * math/gen-libm-test.pl (get_variable): Remove function.
2170 (parse_args): Don't show pointer parameters to call in test
2171 names. Use "extra output N" in test names for extra outputs
2172 rather than naming variables.
2173
3779b5b6
JM
21742013-05-18 Joseph Myers <joseph@codesourcery.com>
2175
2ee094ff
JM
2176 [BZ #15488]
2177 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
2178 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
2179 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
2180 double tests.
2181 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
2182 disable.
2183 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
2184 check_long_double.
2185
3779b5b6
JM
2186 * math/gen-libm-test.pl (@tests): Remove variable.
2187 ($count): Likewise.
2188 (new_test): Remove function.
2189 (show_exceptions): New function.
2190 (special_functions): Use show_exceptions instead of new_test.
2191 (parse_args): Likewise.
2192 (generate_testfile): Pass only function name in generated call to
2193 print_max_error or print_complex_max_error.
2194 (get_ulps): Do not handle complex tests specially.
2195 (output_test): Rename to ...
2196 (get_all_ulps_for_test): ... this. Return a string rather than
2197 printing to a file. Require ulps to be present.
2198 (output_ulps): Generate arrays rather than #defines.
2199 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
2200 (struct ulp_data): New type.
2201 (BUILD_COMPLEX_ULP): Remove macro.
2202 (compare_ulp_data): New function.
2203 (find_ulps): Likewise.
2204 (find_test_ulps): Likewise.
2205 (find_function_ulps): Likewise.
2206 (find_complex_function_ulps): Likewise.
2207 (print_max_error): Determine allowed ulps using
2208 find_function_ulps.
2209 (print_complex_max_error): Determine allowed ulps using
2210 find_complex_function_ulps.
2211 (check_float_internal): Determine max ulps using find_test_ulps.
2212 (check_float): Do not take max_ulp parameter. Update call to
2213 check_float_internal.
2214 (check_complex): Likewise.
2215 (check_int): Do not take max_ulp parameter.
2216 (check_long): Likewise.
2217 (check_bool): Likewise.
2218 (check_longlong): Likewise.
2219 (struct test_f_f_data): Remove max_ulp field.
2220 (struct test_ff_f_data): Likewise.
2221 (struct test_ff_f_data_nexttoward): Likewise.
2222 (struct test_fi_f_data): Likewise.
2223 (struct test_fl_f_data): Likewise.
2224 (struct test_if_f_data): Likewise.
2225 (struct test_fff_f_data): Likewise.
2226 (struct test_c_f_data): Likewise.
2227 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
2228 (struct test_fF_f1_data): Likewise.
2229 (struct test_ffI_f1_data): Likewise.
2230 (struct test_c_c_data): Remove max_ulp field.
2231 (struct test_cc_c_data): Likewise.
2232 (struct test_f_i_data): Likewise.
2233 (struct test_ff_i_data): Likewise.
2234 (struct test_f_l_data): Likewise.
2235 (struct test_f_L_data): Likewise.
2236 (struct test_sincos_data): Likewise.
2237 (RUN_TEST_f_f): Do not handle ulps.
2238 (RUN_TEST_LOOP_f_f): Likewise.
2239 (RUN_TEST_2_f): Likewise.
2240 (RUN_TEST_LOOP_2_f): Likewise.
2241 (RUN_TEST_fff_f): Likewise.
2242 (RUN_TEST_LOOP_fff_f): Likewise.
2243 (RUN_TEST_c_f): Likewise.
2244 (RUN_TEST_LOOP_c_f): Likewise.
2245 (RUN_TEST_f_f1): Likewise.
2246 (RUN_TEST_LOOP_f_f1): Likewise.
2247 (RUN_TEST_fF_f1): Likewise.
2248 (RUN_TEST_LOOP_fF_f1): Likewise.
2249 (RUN_TEST_fI_f1): Likewise.
2250 (RUN_TEST_LOOP_fI_f1): Likewise.
2251 (RUN_TEST_ffI_f1): Likewise.
2252 (RUN_TEST_LOOP_ffI_f1): Likewise.
2253 (RUN_TEST_c_c): Likewise.
2254 (RUN_TEST_LOOP_c_c): Likewise.
2255 (RUN_TEST_cc_c): Likewise.
2256 (RUN_TEST_LOOP_cc_c): Likewise.
2257 (RUN_TEST_f_i): Likewise.
2258 (RUN_TEST_LOOP_f_i): Likewise.
2259 (RUN_TEST_f_i_tg): Likewise.
2260 (RUN_TEST_LOOP_f_i_tg): Likewise.
2261 (RUN_TEST_ff_i_tg): Likewise.
2262 (RUN_TEST_LOOP_ff_i_tg): Likewise.
2263 (RUN_TEST_f_b): Likewise.
2264 (RUN_TEST_LOOP_f_b): Likewise.
2265 (RUN_TEST_f_b_tg): Likewise.
2266 (RUN_TEST_LOOP_f_b_tg): Likewise.
2267 (RUN_TEST_f_l): Likewise.
2268 (RUN_TEST_LOOP_f_l): Likewise.
2269 (RUN_TEST_f_L): Likewise.
2270 (RUN_TEST_LOOP_f_L): Likewise.
2271 (RUN_TEST_sincos): Likewise.
2272 (RUN_TEST_LOOP_sincos): Likewise.
2273
8269107f
JM
22742013-05-17 Joseph Myers <joseph@codesourcery.com>
2275
bb38759d
JM
2276 [BZ #15480]
2277 [BZ #15485]
2278 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
2279 main case of finite arguments, set rounding mode to FE_TONEAREST
2280 and discard exceptions.
2281 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
2282 exceptions.
2283 (remainder_tonearest_test_data): New variable.
2284 (remainder_test_tonearest): New function.
2285 (remainder_towardzero_test_data): New variable.
2286 (remainder_test_towardzero): New function.
2287 (remainder_downward_test_data): New variable.
2288 (remainder_test_downward): New function.
2289 (remainder_upward_test_data): New variable.
2290 (remainder_test_upward): New function.
2291 (main): Call the new test functions.
2292
a00bdcf0
JM
2293 * math/libm-test.inc (struct test_f_f1_data): Remove field
2294 extra_init.
2295 (struct test_fF_f1_data): Likewise.
2296 (struct test_ffI_f1_data): Likewise.
2297 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
2298 based on value of EXTRA_EXPECTED.
2299 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
2300 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
2301 EXTRA_VAR based on value of EXTRA_EXPECTED.
2302 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
2303 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
2304 EXTRA_VAR based on value of EXTRA_EXPECTED.
2305 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
2306 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
2307 EXTRA_VAR based on value of EXTRA_EXPECTED.
2308 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
2309 * math/gen-libm-test.pl (parse_args): Don't output initializers
2310 for extra output values.
2311
de407f79
JM
2312 * math/libm-test.inc (check_int): Expect result to be exactly
2313 equal to expected value and do not handle ulps.
2314 (check_long): Likewise.
2315 (check_longlong): Likewise.
2316
8269107f
JM
2317 * math/libm-test.inc (ceil_test_data): Test for "inexact"
2318 exceptions.
2319 (cimag_test_data): Likewise.
2320 (conj_test_data): Likewise.
2321 (copysign_test_data): Likewise.
2322 (cproj_test_data): Likewise.
2323 (creal_test_data): Likewise.
2324 (fabs_test_data): Likewise.
2325 (fdim_test_data): Likewise.
2326 (finite_test_data): Likewise.
2327 (floor_test_data): Likewise.
2328 (fmax_test_data): Likewise.
2329 (fmin_test_data): Likewise.
2330 (fmod_test_data): Likewise.
2331 (fpclassify_test_data): Likewise.
2332 (frexp_test_data): Likewise.
2333 (ilogb_test_data): Likewise.
2334 (isfinite_test_data): Likewise.
2335 (isgreater_test_data): Likewise.
2336 (isgreaterequal_test_data): Likewise.
2337 (isinf_test_data): Likewise.
2338 (isless_test_data): Likewise.
2339 (islessequal_test_data): Likewise.
2340 (islessgreater_test_data): Likewise.
2341 (isnan_test_data): Likewise.
2342 (isnormal_test_data): Likewise.
2343 (issignaling_test_data): Likewise.
2344 (isunordered_test_data): Likewise.
2345 (ldexp_test_data): Likewise.
2346 (lrint_test_data): Likewise.
2347 (lrint_test_data) [TEST_FLOAT]: Disable one test.
2348 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
2349 (lrint_tonearest_test_data): Test for "inexact" exceptions.
2350 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2351 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
2352 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2353 test input.
2354 (lrint_towardzero_test_data): Test for "inexact" exceptions.
2355 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2356 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
2357 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
2358 that test input.
2359 (lrint_downward_test_data): Test for "inexact" exceptions.
2360 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2361 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
2362 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
2363 test input.
2364 (lrint_upward_test_data): Test for "inexact" exceptions.
2365 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
2366 test input.
2367 (llrint_test_data): Test for "inexact" exceptions.
2368 (llrint_test_data) [TEST_FLOAT]: Disable one test.
2369 (llrint_tonearest_test_data): Test for "inexact" exceptions.
2370 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
2371 (llrint_towardzero_test_data): Test for "inexact" exceptions.
2372 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
2373 (llrint_downward_test_data): Test for "inexact" exceptions.
2374 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
2375 (llrint_upward_test_data): Test for "inexact" exceptions.
2376 (logb_test_data): Likewise.
2377 (logb_downward_test_data): Likewise.
2378 (nextafter_test_data): Likewise.
2379 (nexttoward_test_data): Likewise.
2380 (remainder_test_data): Likewise.
2381 (remquo_test_data): Likewise.
2382 (scalbn_test_data): Likewise.
2383 (scalbln_test_data): Likewise.
2384 (signbit_test_data): Likewise.
2385 (sqrt_test_data): Likewise.
2386 (significand_test_data): Likewise.
2387
48a18de1
SP
23882013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
2389
2390 [BZ #15424]
2391 * benchtests/bench-modf.c (struct args): Mark arg0 as
2392 volatile.
2393 * scripts/bench.pl: Mark members of struct args as volatile.
2394
13d3b41a
AZ
23952013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
2396
68191c1d 2397 [BZ # 15497]
13d3b41a
AZ
2398 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
2399 negative infinity on POWER6 or lower.
2400 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
2401
2848b105
MR
24022013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
2403
2404 [BZ #15442]
2405 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
2406 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
2407 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
2408 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
2409 (_FP_SETQNAN): New macro.
2410 (_FP_SETQNAN_SEMIRAW): Likewise.
2411 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
2412 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
2413 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
2414 (FP_EXTEND): Use _FP_FRAC_SNANP.
2415 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
2416 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
2417 into account.
2418 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2419 New macro.
2420 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
2421 Likewise.
2422
323e5cb7
JM
24232013-05-16 Joseph Myers <joseph@codesourcery.com>
2424
c58b274f
JM
2425 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
2426 with DIVIDE_BY_ZERO_EXCEPTION.
2427 (gamma_test_data): Likewise.
2428 (lgamma_test_data): Likewise.
2429 (log_test_data): Likewise.
2430 (log10_test_data): Likewise.
2431 (log2_test_data): Likewise.
2432 (tgamma_test_data): Likewise.
2433
0ab34904
JM
2434 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
2435 (acos_test_tonearest): Likewise.
2436 (acos_test_towardzero): Likewise.
2437 (acos_test_downward): Likewise.
2438 (acos_test_upward): Likewise.
2439 (acosh_test): Likewise.
2440 (asin_test): Likewise.
2441 (asin_test_tonearest): Likewise.
2442 (asin_test_towardzero): Likewise.
2443 (asin_test_downward): Likewise.
2444 (asin_test_upward): Likewise.
2445 (asinh_test): Likewise.
2446 (atan_test): Likewise.
2447 (atanh_test): Likewise.
2448 (atan2_test): Likewise.
2449 (cabs_test): Likewise.
2450 (cacos_test): Likewise.
2451 (cacosh_test): Likewise.
2452 (casin_test): Likewise.
2453 (casinh_test): Likewise.
2454 (catan_test): Likewise.
2455 (catanh_test): Likewise.
2456 (cbrt_test): Likewise.
2457 (ccos_test): Likewise.
2458 (ccosh_test): Likewise.
2459 (cexp_test): Likewise.
2460 (clog_test): Likewise.
2461 (clog10_test): Likewise.
2462 (cos_test): Likewise.
2463 (cos_test_tonearest): Likewise.
2464 (cos_test_towardzero): Likewise.
2465 (cos_test_downward): Likewise.
2466 (cos_test_upward): Likewise.
2467 (cosh_test): Likewise.
2468 (cosh_test_tonearest): Likewise.
2469 (cosh_test_towardzero): Likewise.
2470 (cosh_test_downward): Likewise.
2471 (cosh_test_upward): Likewise.
2472 (cpow_test): Likewise.
2473 (csin_test): Likewise.
2474 (csinh_test): Likewise.
2475 (csqrt_test): Likewise.
2476 (ctan_test): Likewise.
2477 (ctan_test_tonearest): Likewise.
2478 (ctan_test_towardzero): Likewise.
2479 (ctan_test_downward): Likewise.
2480 (ctan_test_upward): Likewise.
2481 (ctanh_test): Likewise.
2482 (ctanh_test_tonearest): Likewise.
2483 (ctanh_test_towardzero): Likewise.
2484 (ctanh_test_downward): Likewise.
2485 (ctanh_test_upward): Likewise.
2486 (erf_test): Likewise.
2487 (erfc_test): Likewise.
2488 (exp_test): Likewise.
2489 (exp_test_tonearest): Likewise.
2490 (exp_test_towardzero): Likewise.
2491 (exp_test_downward): Likewise.
2492 (exp_test_upward): Likewise.
2493 (exp10_test): Likewise.
2494 (exp2_test): Likewise.
2495 (expm1_test): Likewise.
2496 (fmod_test): Likewise.
2497 (gamma_test): Likewise.
2498 (hypot_test): Likewise.
2499 (j0_test): Likewise.
2500 (j1_test): Likewise.
2501 (jn_test): Likewise.
2502 (lgamma_test): Likewise.
2503 (log_test): Likewise.
2504 (log10_test): Likewise.
2505 (log1p_test): Likewise.
2506 (log2_test): Likewise.
2507 (logb_test_downward): Likewise.
2508 (pow_test): Likewise.
2509 (pow_test_tonearest): Likewise.
2510 (pow_test_towardzero): Likewise.
2511 (pow_test_downward): Likewise.
2512 (pow_test_upward): Likewise.
2513 (remainder_test): Likewise.
2514 (remquo_test): Likewise.
2515 (sin_test): Likewise.
2516 (sin_test_tonearest): Likewise.
2517 (sin_test_towardzero): Likewise.
2518 (sin_test_downward): Likewise.
2519 (sin_test_upward): Likewise.
2520 (sincos_test): Likewise.
2521 (sinh_test): Likewise.
2522 (sinh_test_tonearest): Likewise.
2523 (sinh_test_towardzero): Likewise.
2524 (sinh_test_downward): Likewise.
2525 (sinh_test_upward): Likewise.
2526 (sqrt_test): Likewise.
2527 (tan_test): Likewise.
2528 (tan_test_tonearest): Likewise.
2529 (tan_test_towardzero): Likewise.
2530 (tan_test_downward): Likewise.
2531 (tan_test_upward): Likewise.
2532 (tanh_test): Likewise.
2533 (tgamma_test): Likewise.
2534 (y0_test): Likewise.
2535 (y1_test): Likewise.
2536 (yn_test): Likewise.
2537
323e5cb7
JM
2538 * math/gen-libm-test.pl (adjust_arg): Remove function.
2539 (special_function): Remove argument $in_func. Only handle
2540 generating output for tables of tests, not inside functions.
2541 (parse_args): Likewise.
2542 (generate_testfile): Remove variable $in_func. Update call to
2543 parse_args.
2544 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
2545 (MINUS_ZERO_INIT): Rename macro to minus_zero.
2546 (PLUS_INFTY_INIT): Rename macro to plus_infty.
2547 (MINUS_INFTY_INIT): Rename macro to minus_infty.
2548 (QNAN_VALUE_INIT): Rename macro to qnan_value.
2549 (MAX_VALUE_INIT): Rename macro to max_value.
2550 (MIN_VALUE_INIT): Rename macro to min_value.
2551 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
2552 (plus_zero): Remove variable.
2553 (minus_zero): Likewise.
2554 (plus_infty): Likewise.
2555 (minus_infty): Likewise.
2556 (qnan_value): Likewise.
2557 (max_value): Likewise.
2558 (min_value): Likewise.
2559 (min_subnorm_value): Likewise.
2560
e054f494
RA
25612013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
2562
2563 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
2564 uint64_t or uint32_t usage.
2565 * crypt/sha256-block.c: Likewise.
2566 * crypt/sha256-crypt.c: Likewise.
2567 * crypt/sha256.c: Likewise.
2568 * crypt/sha512-block.c: Likewise.
2569 * crypt/sha512-crypt.c: Likewise.
2570 * crypt/sha512.c: Likewise.
2571 * debug/backtrace-tst.c: Likewise.
2572 * debug/pcprofiledump.c: Likewise.
2573 * elf/cache.c: Likewise.
2574 * elf/dl-cache.c: Likewise.
2575 * elf/dl-misc.c: Likewise.
2576 * elf/dl-profile.c: Likewise.
2577 * elf/dl-support.c: Likewise.
2578 * elf/ldconfig.c: Likewise.
2579 * elf/sprof.c: Likewise.
2580 * iconv/dummy-repertoire.c: Likewise.
2581 * iconv/iconv_charmap.c: Likewise.
2582 * iconv/skeleton.c: Likewise.
2583 * iconvdata/8bit-generic.c: Likewise.
2584 * iconvdata/cp737.h: Likewise.
2585 * iconvdata/cp775.h: Likewise.
2586 * iconvdata/ibm1008.h: Likewise.
2587 * iconvdata/ibm1025.h: Likewise.
2588 * iconvdata/ibm1046.h: Likewise.
2589 * iconvdata/ibm1097.h: Likewise.
2590 * iconvdata/ibm1112.h: Likewise.
2591 * iconvdata/ibm1122.h: Likewise.
2592 * iconvdata/ibm1123.h: Likewise.
2593 * iconvdata/ibm1124.h: Likewise.
2594 * iconvdata/ibm1129.h: Likewise.
2595 * iconvdata/ibm1130.h: Likewise.
2596 * iconvdata/ibm1132.h: Likewise.
2597 * iconvdata/ibm1133.h: Likewise.
2598 * iconvdata/ibm1137.h: Likewise.
2599 * iconvdata/ibm1140.h: Likewise.
2600 * iconvdata/ibm1141.h: Likewise.
2601 * iconvdata/ibm1142.h: Likewise.
2602 * iconvdata/ibm1143.h: Likewise.
2603 * iconvdata/ibm1144.h: Likewise.
2604 * iconvdata/ibm1145.h: Likewise.
2605 * iconvdata/ibm1146.h: Likewise.
2606 * iconvdata/ibm1147.h: Likewise.
2607 * iconvdata/ibm1148.h: Likewise.
2608 * iconvdata/ibm1149.h: Likewise.
2609 * iconvdata/ibm1153.h: Likewise.
2610 * iconvdata/ibm1154.h: Likewise.
2611 * iconvdata/ibm1155.h: Likewise.
2612 * iconvdata/ibm1156.h: Likewise.
2613 * iconvdata/ibm1157.h: Likewise.
2614 * iconvdata/ibm1158.h: Likewise.
2615 * iconvdata/ibm1160.h: Likewise.
2616 * iconvdata/ibm1161.h: Likewise.
2617 * iconvdata/ibm1162.h: Likewise.
2618 * iconvdata/ibm1163.h: Likewise.
2619 * iconvdata/ibm1164.h: Likewise.
2620 * iconvdata/ibm1166.h: Likewise.
2621 * iconvdata/ibm1167.h: Likewise.
2622 * iconvdata/ibm12712.h: Likewise.
2623 * iconvdata/ibm1390.h: Likewise.
2624 * iconvdata/ibm1399.h: Likewise.
2625 * iconvdata/ibm16804.h: Likewise.
2626 * iconvdata/ibm4517.h: Likewise.
2627 * iconvdata/ibm4899.h: Likewise.
2628 * iconvdata/ibm4909.h: Likewise.
2629 * iconvdata/ibm4971.h: Likewise.
2630 * iconvdata/ibm5347.h: Likewise.
2631 * iconvdata/ibm803.h: Likewise.
2632 * iconvdata/ibm856.h: Likewise.
2633 * iconvdata/ibm901.h: Likewise.
2634 * iconvdata/ibm902.h: Likewise.
2635 * iconvdata/ibm9030.h: Likewise.
2636 * iconvdata/ibm9066.h: Likewise.
2637 * iconvdata/ibm921.h: Likewise.
2638 * iconvdata/ibm922.h: Likewise.
2639 * iconvdata/ibm9448.h: Likewise.
2640 * iconvdata/isiri-3342.h: Likewise.
2641 * iconvdata/jis0201.h: Likewise.
2642 * include/link.h: Likewise.
2643 * include/netdb.h: Likewise.
2644 * inet/check_native.c: Likewise.
2645 * inet/check_pf.c: Likewise.
2646 * inet/getipv4sourcefilter.c: Likewise.
2647 * inet/getnameinfo.c: Likewise.
2648 * inet/getsourcefilter.c: Likewise.
2649 * inet/htonl.c: Likewise.
2650 * inet/setipv4sourcefilter.c: Likewise.
2651 * inet/setsourcefilter.c: Likewise.
2652 * inet/test-inet6_opt.c: Likewise.
2653 * inet/tst-network.c: Likewise.
2654 * locale/C-collate.c: Likewise.
2655 * locale/C-ctype.c: Likewise.
2656 * locale/C-time.c: Likewise.
2657 * locale/C-translit.h: Likewise.
2658 * locale/loadarchive.c: Likewise.
2659 * locale/programs/3level.h: Likewise.
2660 * locale/programs/charmap.c: Likewise.
2661 * locale/programs/charmap.h: Likewise.
2662 * locale/programs/ld-address.c: Likewise.
2663 * locale/programs/ld-collate.c: Likewise.
2664 * locale/programs/ld-ctype.c: Likewise.
2665 * locale/programs/ld-identification.c: Likewise.
2666 * locale/programs/ld-measurement.c: Likewise.
2667 * locale/programs/ld-messages.c: Likewise.
2668 * locale/programs/ld-monetary.c: Likewise.
2669 * locale/programs/ld-name.c: Likewise.
2670 * locale/programs/ld-numeric.c: Likewise.
2671 * locale/programs/ld-paper.c: Likewise.
2672 * locale/programs/ld-telephone.c: Likewise.
2673 * locale/programs/ld-time.c: Likewise.
2674 * locale/programs/linereader.c: Likewise.
2675 * locale/programs/locale.c: Likewise.
2676 * locale/programs/locarchive.c: Likewise.
2677 * locale/programs/locfile.h: Likewise.
2678 * locale/programs/repertoire.c: Likewise.
2679 * locale/programs/simple-hash.c: Likewise.
2680 * locale/programs/simple-hash.h: Likewise.
2681 * malloc/memusage.c: Likewise.
2682 * malloc/memusagestat.c: Likewise.
2683 * nis/nis_defaults.c: Likewise.
2684 * nis/nis_hash.c: Likewise.
2685 * nis/nis_print.c: Likewise.
2686 * nis/nis_xdr.c: Likewise.
2687 * nscd/connections.c: Likewise.
2688 * nscd/hstcache.c: Likewise.
2689 * nscd/nscd_gethst_r.c: Likewise.
2690 * nscd/nscd_getserv_r.c: Likewise.
2691 * nscd/nscd_helper.c: Likewise.
2692 * nscd/servicescache.c: Likewise.
2693 * nss/makedb.c: Likewise.
2694 * nss/nss_db/db-XXX.c: Likewise.
2695 * nss/nss_db/db-initgroups.c: Likewise.
2696 * nss/nss_db/db-netgrp.c: Likewise.
2697 * nss/nss_files/files-network.c: Likewise.
2698 * nss/nss_files/files-parse.c: Likewise.
2699 * posix/bug-regex5.c: Likewise.
2700 * posix/fnmatch_loop.c: Likewise.
2701 * posix/regcomp.c: Likewise.
2702 * posix/regexec.c: Likewise.
2703 * posix/tst-rfc3484-2.c: Likewise.
2704 * posix/tst-rfc3484-3.c: Likewise.
2705 * posix/tst-rfc3484.c: Likewise.
2706 * resolv/nss_dns/dns-canon.c: Likewise.
2707 * resolv/nss_dns/dns-network.c: Likewise.
2708 * resolv/res_init.c: Likewise.
2709 * resolv/res_mkquery.c: Likewise.
2710 * resolv/tst-aton.c: Likewise.
2711 * stdlib/cxa_atexit.c: Likewise.
2712 * stdlib/cxa_finalize.c: Likewise.
2713 * stdlib/gen-fpioconst.c: Likewise.
2714 * stdlib/strtol_l.c: Likewise.
2715 * string/tst-endian.c: Likewise.
2716 * sunrpc/auth_des.c: Likewise.
2717 * sunrpc/clnt_udp.c: Likewise.
2718 * sunrpc/rtime.c: Likewise.
2719 * sunrpc/svcauth_des.c: Likewise.
2720 * sunrpc/xdr.c: Likewise.
2721 * sunrpc/xdr_intXX_t.c: Likewise.
2722 * sunrpc/xdr_rec.c: Likewise.
2723 * sysdeps/generic/ldconfig.h: Likewise.
2724 * sysdeps/generic/ldsodefs.h: Likewise.
2725 * sysdeps/generic/memusage.h: Likewise.
2726 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
2727 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
2728 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
2729 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
2730 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
2731 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
2732 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
2733 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
2734 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
2735 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
2736 * sysdeps/posix/getaddrinfo.c: Likewise.
2737 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
2738 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
2739 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
2740 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
2741 * sysdeps/powerpc/test-gettimebase.c: Likewise.
2742 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2743 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
2744 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
2745 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
2746 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
2747 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
2748 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
2749 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
2750 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
2751 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
2752 * sysdeps/x86_64/dl-tls.h: Likewise.
2753 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
2754 * time/alt_digit.c: Likewise.
2755 * time/era.c: Likewise.
2756 * wcsmbs/tst-c16c32-1.c: Likewise.
2757
8c75f674
JM
27582013-05-16 Joseph Myers <joseph@codesourcery.com>
2759
2760 * math/libm-test.inc (struct test_sincos_data): New type.
2761 (RUN_TEST_LOOP_sincos): New macro.
2762 (sincos_test_data): New variable.
2763 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
2764
e6e49e59
RH
27652013-05-16 Richard Henderson <rth@redhat.com>
2766
2767 * math/atest-exp2.c (LIMB64): New macro.
2768 (CONSTSZ): New macro.
2769 (mp_exp1, mp_exp_m1, mp_log2): New variables.
2770 (hexdig): Move ...
2771 (print_mpn_fp): ... to function scope.
2772 (read_mpn_hex): Remove.
2773 (get_log2): Remove.
2774 (exp2_mpn): Use mp_log2.
2775 (main): Use mp_exp1.
2776
15c7c18d
JM
27772013-05-16 Joseph Myers <joseph@codesourcery.com>
2778
105a07df
JM
2779 * math/libm-test.inc: Remove comment about not testing "inexact"
2780 exceptions.
2781 (INEXACT_EXCEPTION): New macro.
2782 (NO_INEXACT_EXCEPTION): Likewise.
2783 (INVALID_EXCEPTION_OK): Update value.
2784 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
2785 (OVERFLOW_EXCEPTION_OK): Likewise.
2786 (UNDERFLOW_EXCEPTION_OK): Likewise.
2787 (IGNORE_ZERO_INF_SIGN): Likewise.
2788 (ERRNO_UNCHANGED): Likewise.
2789 (ERRNO_EDOM): Likewise.
2790 (ERRNO_ERANGE): Likewise.
2791 (test_exceptions): Handle testing "inexact" exceptions.
2792 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
2793 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
2794 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
2795 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
2796 INEXACT_EXCEPTION.
2797 (rint_towardzero_test_data): Likewise.
2798 (rint_downward_test_data): Likewise.
2799 (rint_upward_test_data): Likewise.
2800
e9eee333
JM
2801 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
2802 with OVERFLOW_EXCEPTION.
2803 (exp10_test_data): Likewise.
2804 (exp2_test_data): Likewise.
2805 (expm1_test_data): Likewise.
2806 (lgamma_test_data): Likewise.
2807 (pow_test_data): Likewise.
2808 (tgamma_test_data): Likewise.
2809 (yn_test_data): Remove duplicate test of overflow.
2810
1c38ff73
JM
2811 * math/libm-test.inc (struct test_cc_c_data): New type.
2812 (RUN_TEST_LOOP_cc_c): New macro.
2813 (cpow_test_data): New variable.
2814 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
2815
15c7c18d
JM
2816 * math/libm-test.inc (struct test_f_L_data): New type.
2817 (RUN_TEST_LOOP_f_L): New macro.
2818 (llrint_test_data): New variable.
2819 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
2820 (llrint_tonearest_test_data): New variable.
2821 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
2822 (llrint_towardzero_test_data): New variable.
2823 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
2824 (llrint_downward_test_data): New variable.
2825 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
2826 (llrint_upward_test_data): New variable.
2827 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
2828 (llround_test_data): New variable.
2829 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
2830
f137ff13
PC
28312013-05-13 Peter Collingbourne <pcc@google.com>
2832
2833 * math/atest-exp2.c (get_log2): Remove const attribute.
2834
3608cb24
JM
28352013-05-15 Joseph Myers <joseph@codesourcery.com>
2836
2837 * math/libm-test.inc (struct test_f_l_data): New type.
2838 (RUN_TEST_LOOP_f_l): New macro.
2839 (lrint_test_data): New variable.
2840 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
2841 (lrint_tonearest_test_data): New variable.
2842 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
2843 (lrint_towardzero_test_data): New variable.
2844 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
2845 (lrint_downward_test_data): New variable.
2846 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
2847 (lrint_upward_test_data): New variable.
2848 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
2849 (lround_test_data): New variable.
2850 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
2851
39b1f617
PC
28522013-05-15 Peter Collingbourne <pcc@google.com>
2853
1deff3dc
PC
2854 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
2855 (EXTRACT_WORDS64) Use where appropriate.
2856 (INSERT_WORDS64) Likewise.
2857
791f3ba0
PC
2858 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
2859 constraints with x constraints.
2860 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
2861
39b1f617
PC
2862 * malloc/obstack.c (_obstack_compat): Add initializer.
2863
12fba011
EM
28642013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
2865
2866 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
2867 si_trapno and add si_addr_lsb to _sifields.sigfault.
2868 (si_trapno): Remove macro.
2869 (si_addr_lsb): Define new macro.
2870 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
2871
d369f531
JM
28722013-05-15 Joseph Myers <joseph@codesourcery.com>
2873
b861c6c4
JM
2874 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
2875 instead of TEST_f_l.
2876 (llrint_test_tonearest): Likewise.
2877 (llrint_test_towardzero): Likewise.
2878 (llrint_test_downward): Likewise.
2879 (llrint_test_upward): Likewise.
2880 (llround_test): Likewise.
2881
7abeee12
JM
2882 * math/libm-test.inc (struct test_f_i_data): Add comment.
2883 (RUN_TEST_LOOP_f_b): New macro.
2884 (RUN_TEST_LOOP_f_b_tg): Likewise.
2885 (finite_test_data): New variable.
2886 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
2887 (isfinite_test_data): New variable.
2888 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2889 (isinf_test_data): New variable.
2890 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2891 (isnan_test_data): New variable.
2892 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2893 (isnormal_test_data): New variable.
2894 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2895 (issignaling_test_data): New variable.
2896 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2897 (signbit_test_data): New variable.
2898 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
2899
cbe8c4d3
JM
2900 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
2901 with INVALID_EXCEPTION.
2902 (acosh_test_data): Likewise.
2903 (asin_test_data): Likewise.
2904 (atanh_test_data): Likewise.
2905 (fmod_test_data): Likewise.
2906 (log_test_data): Likewise.
2907 (log10_test_data): Likewise.
2908 (log2_test_data): Likewise.
2909 (pow_test_data): Likewise.
2910 (sqrt_test_data): Likewise.
2911 (y0_test_data): Likewise.
2912 (y1_test_data): Likewise.
2913 (yn_test_data): Likewise.
2914
5575c0e5
JM
2915 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
2916 function contents.
2917
d369f531
JM
2918 * math/libm-test.inc (struct test_ff_i_data): New type.
2919 (RUN_TEST_LOOP_ff_i_tg): New macro.
2920 (isgreater_test_data): New variable.
2921 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2922 (isgreaterequal_test_data): New variable.
2923 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2924 (isless_test_data): New variable.
2925 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2926 (islessequal_test_data): New variable.
2927 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2928 (islessgreater_test_data): New variable.
2929 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2930 (isunordered_test_data): New variable.
2931 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
2932
781fd748
DM
29332013-05-14 David S. Miller <davem@davemloft.net>
2934
2935 * sysdeps/sparc/fpu/libm-test-ulps: Update.
2936
87aa21df
JM
29372013-05-14 Joseph Myers <joseph@codesourcery.com>
2938
5e908270
JM
2939 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
2940
f71172e5
JM
2941 * math/libm-test.inc (struct test_fF_f1_data): Change type of
2942 extra_test to int.
2943 (struct test_f_i_data): Change type of max_ulp to int.
2944
8cfa635a
JM
2945 * math/libm-test.inc (test_ffI_f1_data): New type.
2946 (RUN_TEST_LOOP_ffI_f1): New macro.
2947 (remquo_test_data): New variable.
2948 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
2949
2bcb36b2
JM
2950 * setjmp/tst-setjmp-fp.c: New file.
2951 * setjmp/Makefile (tests): Add tst-setjmp-fp.
2952 (link-libm): New variable.
2953 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
2954
acbd839a
JM
2955 * math/libm-test.inc (struct test_f_i_data): New type.
2956 (RUN_TEST_LOOP_f_i): New macro.
2957 (RUN_TEST_LOOP_f_i_tg): Likewise.
2958 (fpclassify_test_data): New variable.
2959 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
2960 (ilogb_test_data): New variable.
2961 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
2962
e414d745
JM
2963 * math/libm-test.inc (scalbln_test): Correct function name in END
2964 call.
2965
d9c2a0fd
JM
2966 * math/libm-test.inc (struct test_f_f1_data): Add comment.
2967 (RUN_TEST_LOOP_fI_f1): New macro.
2968 (frexp_test_data): New variable.
2969 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
2970
9dc9095d
JM
2971 * math/libm-test.inc (struct test_fF_f1_data): New type.
2972 (RUN_TEST_LOOP_fF_f1): New macro.
2973 (modf_test_data): New variable.
2974 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
2975
87aa21df
JM
2976 * math/libm-test.inc (struct test_f_f1_data): New type.
2977 (RUN_TEST_LOOP_f_f1): New macro.
2978 (gamma_test_data): New variable.
2979 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
2980 (lgamma_test_data): New variable.
2981 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
2982
141af660
CD
29832013-05-13 Carlos O'Donell <carlos@redhat.com>
2984
2985 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
2986 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
2987 (main): Comment "tls" pseudo-hwcap.
2988
6d33265c
JM
29892013-05-13 Joseph Myers <joseph@codesourcery.com>
2990
68fc074c
JM
2991 * math/libm-test.inc (struct test_fl_f_data): New type.
2992 (RUN_TEST_LOOP_fl_f): New variable.
2993 (scalbln_test_data): New variable.
2994 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
2995
243216e1
JM
2996 * math/libm-test.inc (struct test_fi_f_data): New type.
2997 (RUN_TEST_LOOP_fi_f): New macro.
2998 (ldexp_test_data): New variable.
2999 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
3000 (scalbn_test_data): New variable.
3001 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
3002
6a1992e2
JM
3003 * math/libm-test.inc (struct test_c_f_data): New type.
3004 (RUN_TEST_LOOP_c_f): New macro.
3005 (cabs_test_data): New variable.
3006 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
3007 (carg_test_data): New variable.
3008 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
3009 (cimag_test_data): New variable.
3010 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
3011 (creal_test_data): New variable.
3012 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
3013
0e400df5
JM
3014 * math/libm-test.inc (struct test_if_f_data): New type.
3015 (RUN_TEST_LOOP_if_f): New macro.
3016 (jn_test_data): New variable.
3017 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
3018 (yn_test_data): New variable.
3019 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
3020
6d33265c
JM
3021 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
3022
f98ece5f
AZ
30232013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3024
3025 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
3026 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
3027
0f7d347b
SP
30282013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
3029
43fe811b
SP
3030 * benchtests/Makefile (CPPFLAGS-nonlib): Add
3031 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
3032 (bench-deps): Add bench-timing.h.
3033 * benchtests-bench-skeleton.c: Include bench-timing.h.
3034 (main): Use TIMING_* macros instead of clock_gettime.
3035 * benchtests/bench-timing.h: New file.
3036
0f7d347b
SP
3037 [BZ #14582]
3038 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
3039 Renamed from _LIB_VERSION.
3040 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
3041
601a3a5f
JM
30422013-05-12 Joseph Myers <joseph@codesourcery.com>
3043
4f184d30
JM
3044 * math/libm-test.inc (struct test_fff_f_data): New type.
3045 (RUN_TEST_LOOP_fff_f): New macro.
3046 (fma_test_data): New variable.
3047 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
3048 (fma_towardzero_test_data): New variable.
3049 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
3050 (fma_downward_test_data): New variable.
3051 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
3052 (fma_upward_test_data): New variable.
3053 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
3054
08198877
JM
3055 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
3056 (struct test_c_c_data): New type.
3057 (RUN_TEST_LOOP_c_c): New macro.
3058 (cacos_test_data): New variable.
3059 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
3060 (cacosh_test_data): New variable.
3061 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
3062 (casin_test_data): New variable.
3063 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
3064 (casinh_test_data): New variable.
3065 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
3066 (catan_test_data): New variable.
3067 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
3068 (catanh_test_data): New variable.
3069 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
3070 (ccos_test_data): New variable.
3071 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
3072 (ccosh_test_data): New variable.
3073 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
3074 (cexp_test_data): New variable.
3075 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
3076 (clog_test_data): New variable.
3077 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
3078 (clog10_test_data): New variable.
3079 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
3080 (conj_test_data): New variable.
3081 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
3082 (cproj_test_data): New variable.
3083 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
3084 (csin_test_data): New variable.
3085 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
3086 (csinh_test_data): New variable.
3087 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
3088 (csqrt_test_data): New variable.
3089 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
3090 (ctan_test_data): New variable.
3091 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
3092 (ctan_tonearest_test_data): New variable.
3093 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3094 (ctan_towardzero_test_data): New variable.
3095 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3096 (ctan_downward_test_data): New variable.
3097 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3098 (ctan_upward_test_data): New variable.
3099 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3100 (ctanh_test_data): New variable.
3101 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
3102 (ctanh_tonearest_test_data): New variable.
3103 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
3104 (ctanh_towardzero_test_data): New variable.
3105 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
3106 (ctanh_downward_test_data): New variable.
3107 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
3108 (ctanh_upward_test_data): New variable.
3109 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
3110 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
3111 of BUILD_COMPLEX.
3112
601a3a5f
JM
3113 * math/libm-test.inc (struct test_ff_f_data): New type.
3114 (struct test_ff_f_data_nexttoward): Likewise.
3115 (RUN_TEST_LOOP_2_f): New macro.
3116 (RUN_TEST_LOOP_ff_f): Likewise.
3117 (atan2_test_data): New variable.
3118 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
3119 (copysign_test_data): New variable.
3120 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
3121 (fdim_test_data): New variable.
3122 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
3123 (fmax_test_data): New variable.
3124 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
3125 (fmin_test_data): New variable.
3126 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
3127 (fmod_test_data): New variable.
3128 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
3129 (hypot_test_data): New variable.
3130 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
3131 (nextafter_test_data): New variable.
3132 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
3133 (nexttoward_test_data): New variable.
3134 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
3135 (pow_test_data): New variable.
3136 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
3137 (pow_tonearest_test_data): New variable.
3138 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
3139 (pow_towardzero_test_data): New variable.
3140 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
3141 (pow_downward_test_data): New variable.
3142 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
3143 (pow_upward_test_data): New variable.
3144 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
3145 (remainder_test_data): New variable.
3146 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
3147 (scalb_test_data): New variable.
3148 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
3149 * sysdeps/i386/fpu/libm-test-ulps: Update.
3150
74c57478
JM
31512013-05-11 Joseph Myers <joseph@codesourcery.com>
3152
8329e4da
JM
3153 * math/libm-test.inc (fma_test): Use max_value instead of local
3154 variable fltmax.
3155 (nextafter_test): Likewise.
3156
74c57478
JM
3157 * math/libm-test.inc (acos_towardzero_test_data): New variable.
3158 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3159 (acos_downward_test_data): New variable.
3160 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3161 (acos_upward_test_data): New variable.
3162 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3163 (acosh_test_data): New variable.
3164 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
3165 (asin_test_data): New variable.
3166 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
3167 (asin_tonearest_test_data): New variable.
3168 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3169 (asin_towardzero_test_data): New variable.
3170 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3171 (asin_downward_test_data): New variable.
3172 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3173 (asin_upward_test_data): New variable.
3174 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3175 (asinh_test_data): New variable.
3176 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
3177 (atan_test_data): New variable.
3178 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
3179 (atanh_test_data): New variable.
3180 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
3181 (cbrt_test_data): New variable.
3182 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
3183 (ceil_test_data): New variable.
3184 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
3185 (cos_test_data): New variable.
3186 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
3187 (cos_tonearest_test_data): New variable.
3188 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3189 (cos_towardzero_test_data): New variable.
3190 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3191 (cos_downward_test_data): New variable.
3192 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3193 (cos_upward_test_data): New variable.
3194 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3195 (cosh_test_data): New variable.
3196 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
3197 (cosh_tonearest_test_data): New variable.
3198 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3199 (cosh_towardzero_test_data): New variable.
3200 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3201 (cosh_downward_test_data): New variable.
3202 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3203 (cosh_upward_test_data): New variable.
3204 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3205 (erf_test_data): New variable.
3206 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
3207 (erfc_test_data): New variable.
3208 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
3209 (exp_test_data): New variable.
3210 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
3211 (exp_tonearest_test_data): New variable.
3212 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3213 (exp_towardzero_test_data): New variable.
3214 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3215 (exp_downward_test_data): New variable.
3216 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3217 (exp_upward_test_data): New variable.
3218 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3219 (exp10_test_data): New variable.
3220 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
3221 (exp2_test_data): New variable.
3222 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
3223 (expm1_test_data): New variable.
3224 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
3225 (fabs_test_data): New variable.
3226 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
3227 (floor_test_data): New variable.
3228 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
3229 (j0_test_data): New variable.
3230 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
3231 (j1_test_data): New variable.
3232 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
3233 (log_test_data): New variable.
3234 (log_test): Run tests with RUN_TEST_LOOP_f_f.
3235 (log10_test_data): New variable.
3236 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
3237 (log1p_test_data): New variable.
3238 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
3239 (log2_test_data): New variable.
3240 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
3241 (logb_test_data): New variable.
3242 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
3243 (logb_downward_test_data): New variable.
3244 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3245 (nearbyint_test_data): New variable.
3246 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
3247 (rint_test_data): New variable.
3248 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
3249 (rint_tonearest_test_data): New variable.
3250 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3251 (rint_towardzero_test_data): New variable.
3252 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3253 (rint_downward_test_data): New variable.
3254 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3255 (rint_upward_test_data): New variable.
3256 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3257 (round_test_data): New variable.
3258 (round_test): Run tests with RUN_TEST_LOOP_f_f.
3259 (sin_test_data): New variable.
3260 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
3261 (sin_tonearest_test_data): New variable.
3262 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3263 (sin_towardzero_test_data): New variable.
3264 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3265 (sin_downward_test_data): New variable.
3266 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3267 (sin_upward_test_data): New variable.
3268 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3269 (sinh_test_data): New variable.
3270 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
3271 (sinh_tonearest_test_data): New variable.
3272 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3273 (sinh_towardzero_test_data): New variable.
3274 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3275 (sinh_downward_test_data): New variable.
3276 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3277 (sinh_upward_test_data): New variable.
3278 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3279 (sqrt_test_data): New variable.
3280 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
3281 (tan_test_data): New variable.
3282 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
3283 (tan_tonearest_test_data): New variable.
3284 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3285 (tan_towardzero_test_data): New variable.
3286 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
3287 (tan_downward_test_data): New variable.
3288 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
3289 (tan_upward_test_data): New variable.
3290 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
3291 (tanh_test_data): New variable.
3292 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
3293 (tgamma_test_data): New variable.
3294 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
3295 (trunc_test_data): New variable.
3296 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
3297 (y0_test_data): New variable.
3298 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
3299 (y1_test_data): New variable.
3300 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
3301 (significand_test_data): New variable.
3302 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
3303
7187d844
CG
33042013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
3305
3306 [BZ #12387]
3307 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
3308
f63fae73
PT
33092013-05-10 Pino Toscano <toscano.pino@tiscali.it>
3310
3311 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
3312
8a67a4b3
AJ
33132013-05-10 Andreas Jaeger <aj@suse.de>
3314
3315 [BZ #15448]
3316 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
3317 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
3318
51df539d
JM
33192013-05-10 Joseph Myers <joseph@codesourcery.com>
3320
3321 * math/gen-libm-test.pl (adjust_arg): New function.
3322 (special_functions): Handle generating output in both functions
3323 and arrays.
3324 (parse_args): Likewise.
3325 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
3326 $in_func argument to parse_args.
3327 * math/libm-test.inc (struct test_f_f_data): New type.
3328 (IF_ROUND_INIT_): New macro.
3329 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
3330 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
3331 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
3332 (IF_ROUND_INIT_FE_UPWARD): Likewise.
3333 (ROUND_RESTORE_): Likewise.
3334 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
3335 (ROUND_RESTORE_FE_TONEAREST): Likewise.
3336 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
3337 (ROUND_RESTORE_FE_UPWARD): Likewise.
3338 (RUN_TEST_LOOP_f_f): New macro.
3339 (acos_test_data): New variable.
3340 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
3341 (acos_tonearest_test_data): New variable.
3342 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
3343
5c637fe5
SP
33442013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
3345
3346 * benchtests/bench-skeleton.c (startup): Fix coding style.
3347
ab2b9461
JM
33482013-05-10 Joseph Myers <joseph@codesourcery.com>
3349
3350 [BZ #6809]
3351 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
3352 negative infinity argument.
3353 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
3354 negative infinity argument.
3355 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
3356 negative infinity argument.
3357 * math/libm-test.inc (tgamma_test): Expect errno to be set for
3358 domain errors.
3359
4c0fe6fe
FW
33602013-05-10 Florian Weimer <fweimer@redhat.com>
3361
3362 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
3363 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
3364 * iconv/iconv_prog.c (main): Likewise.
3365 * locale/programs/charmap-dir.c (charmap_readdir)
3366 (fopen_uncompressed): Likewise.
3367 * locale/programs/locfile.c (siblings_uncached)
3368 (write_locale_data): Use lstat64 instead of lstat.
3369 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
3370 stat.
3371
a3375d29
AJ
33722013-05-10 Andreas Jaeger <aj@suse.de>
3373
3374 [BZ #15395]
3375 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
3376 localization.
3377 Include <locale.h>.
3378
36129722
CD
33792013-05-09 Carlos O'Donell <carlos@redhat.com>
3380
3381 * elf/dl-close.c (_dl_close_worker): Add comments.
3382
faa7f811
JM
33832013-05-09 Joseph Myers <joseph@codesourcery.com>
3384
ed41ffef
JM
3385 [BZ #15359]
3386 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
3387 high part of pi/2.
3388 (__ieee754_rem_pio2l): Update comments.
3389
d0213cd0
JM
3390 [BZ #15429]
3391 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
3392 high part of pi/2.
3393 (__ieee754_rem_pio2l): Update comments.
3394
0d3e777a
JM
3395 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
3396 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
3397
24f56066
JM
3398 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
3399 M_PI_4l.
3400
faa7f811
JM
3401 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
3402 (M_PI_34_LOG10El): Likewise.
3403 (M_PI2_LOG10El): Likewise.
3404 (M_PI4_LOG10El): Likewise.
3405 (M_PI_LOG10El): Likewise.
3406
e9a5e0fd
AZ
34072013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3408
3409 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3410
d8cd06db
JM
34112013-05-08 Joseph Myers <joseph@codesourcery.com>
3412
a0d9f9d7
JM
3413 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
3414 (MINUS_ZERO_INIT): Likewise.
3415 (PLUS_INFTY_INIT): Likewise.
3416 (MINUS_INFTY_INIT): Likewise.
3417 (QNAN_VALUE_INIT): Likewise.
3418 (MAX_VALUE_INIT): Likewise.
3419 (MIN_VALUE_INIT): Likewise.
3420 (MIN_SUBNORM_VALUE_INIT): Likewise.
3421 (plus_zero): Initialize with PLUS_ZERO_INIT.
3422 (minus_zero): Initialize with MINUS_ZERO_INIT.
3423 (plus_infty): Initialize with PLUS_INFTY_INIT.
3424 (minus_infty): Initialize with MINUS_INFTY_INIT.
3425 (qnan_value): Initialize with QNAN_VALUE_INIT.
3426 (max_value): Initialize with MAX_VALUE_INIT.
3427 (min_value): Initialize with MIN_VALUE_INIT.
3428 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
3429
ae08db3b
JM
3430 * math/libm-test.inc (RUN_TEST_if_f): New macro.
3431 (jn_test): Use TEST_if_f instead of TEST_ff_f.
3432 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
3433 (yn_test): Use TEST_if_f instead of TEST_ff_f.
3434
f44bf14a
JM
3435 * math/libm-test.inc (RUN_TEST_f_f): New macro.
3436 (RUN_TEST_2_f): Likewise.
3437 (RUN_TEST_ff_f): Likewise.
3438 (RUN_TEST_fi_f): Likewise.
3439 (RUN_TEST_fl_f): Likewise.
3440 (RUN_TEST_fff_f): Likewise.
3441 (RUN_TEST_c_f): Likewise.
3442 (RUN_TEST_f_f1): Likewise.
3443 (RUN_TEST_fF_f1): Likewise.
3444 (RUN_TEST_fI_f1): Likewise.
3445 (RUN_TEST_ffI_f1): Likewise.
3446 (RUN_TEST_c_c): Likewise.
3447 (RUN_TEST_cc_c): Likewise.
3448 (RUN_TEST_f_i): Likewise.
3449 (RUN_TEST_f_i_tg): Likewise.
3450 (RUN_TEST_ff_i_tg): Likewise.
3451 (RUN_TEST_f_b): Likewise.
3452 (RUN_TEST_f_b_tg): Likewise.
3453 (RUN_TEST_f_l): Likewise.
3454 (RUN_TEST_f_L): Likewise.
3455 (RUN_TEST_sincos): Likewise.
3456 * math/gen-libm-test.pl (new_test): Take new argument to indicate
3457 whether to show exceptions. Do not include ");\n" in return
3458 value.
3459 (special_functions): Output call to RUN_TEST_sincos instead of
3460 check_float calls. Update calls to new_test.
3461 (parse_args): Output call to single RUN_TEST_* macro instead of
3462 check_* calls and other assignments. Update calls to new_test.
3463
d8cd06db
JM
3464 [BZ #2546]
3465 [BZ #2560]
3466 [BZ #5159]
3467 [BZ #15426]
3468 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
3469 input to result for tgamma overflow.
3470 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
3471 (gamma_coeff): New variable.
3472 (NCOEFF): New macro.
3473 (gamma_positive): New function.
3474 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
3475 underflow here. Use gamma_positive instead of exp (lgamma) for
3476 other arguments.
3477 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
3478 (gamma_coeff): New variable.
3479 (NCOEFF): New macro.
3480 (gammaf_positive): New function.
3481 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
3482 underflow here. Use gamma_positive instead of exp (lgamma) for
3483 other arguments.
3484 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
3485 (gamma_coeff): New variable.
3486 (NCOEFF): New macro.
3487 (gammal_positive): New function.
3488 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
3489 underflow here. Use gamma_positive instead of exp (lgamma) for
3490 other arguments.
3491 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
3492 (gamma_coeff): New variable.
3493 (NCOEFF): New macro.
3494 (gammal_positive): New function.
3495 (__ieee754_gammal_r): Handle positive infinity, overflow and
3496 underflow here. Handle NaN the same as positive infinity. Remove
3497 check x < 0xffffffff for negative integers. Use gamma_positive
3498 instead of exp (lgamma) for other arguments.
3499 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
3500 (gamma_coeff): New variable.
3501 (NCOEFF): New macro.
3502 (gammal_positive): New function.
3503 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
3504 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
3505 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
3506 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
3507 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
3508 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
3509 * sysdeps/generic/math_private.h (__gamma_productf): New
3510 prototype.
3511 (__gamma_product): Likewise.
3512 (__gamma_productl): Likewise.
3513 * math/Makefile (libm-calls): Add gamma_product.
3514 * math/libm-test.inc (tgamma_test): Add more tests.
3515 * sysdeps/i386/fpu/libm-test-ulps: Update.
3516 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3517
bb7cf681
OB
35182013-05-08 Ondřej Bílka <neleai@seznam.cz>
3519
3520 * benchtests/bench-skeleton.c (main): Preheat CPU.
3521
ba853947
AJ
35222013-05-07 Aurelien Jarno <aurelien@aurel32.net>
3523
3524 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
3525
8347c74c
RM
35262013-05-07 Roland McGrath <roland@hack.frob.com>
3527
3528 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
3529 and _dl_skip_args_internal.
3530
e8dd4791
CD
35312013-05-07 Carlos O'Donell <carlos@redhat.com>
3532
3533 * manual/message.texi (Message Translation): Talk about users.
3534 Message to key mapping impacts design.
3535
c7405830
RM
35362013-05-06 Roland McGrath <roland@hack.frob.com>
3537
a9173057
RM
3538 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
3539
976e2f03
RM
3540 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
3541
9723ffc5
RM
3542 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
3543 * sysdeps/wordsize-64/glob64.c: ... here.
3544
962e6658
RM
3545 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
3546 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
3547 New macros.
3548
ee586a6d
RM
3549 * debug/getlogin_r_chk.c: Moved to ...
3550 * login/getlogin_r_chk.c: ... here.
3551 * debug/Makefile (routines): Move getlogin_r_chk to ...
3552 * login/Makefile (routines): ... here.
3553 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
3554 * login/Versions (libc: GLIBC_2.4): ... here.
3555
355f9165
RM
3556 * io/poll.c (__poll): Renamed from poll.
3557 Add libc_hidden_def.
3558 (poll): Define as weak alias.
3559
bd9ffde6
RM
3560 * debug/ptsname_r_chk.c: Moved to ...
3561 * login/ptsname_r_chk.c: ... here.
3562 * debug/Makefile (routines): Move ptsname_r_chk to ...
3563 * login/Makefile (routines): ... here.
3564 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
3565 * login/Versions (libc: GLIBC_2.4): ... here.
3566
8fb16a04
RM
3567 * posix/getlogin.c: Moved to ...
3568 * login/getlogin.c: ... here.
3569 * posix/getlogin_r.c: Moved to ...
3570 * login/getlogin_r.c: ... here.
3571 * posix/getlogin_r.c: Moved to ...
3572 * login/getlogin_r.c: ... here.
3573 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
3574 * login/Makefile (routines): ... here.
3575 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
3576 * login/Versions (libc: GLIBC_2.0): ... here.
3577
b99b892f
RM
3578 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
3579 (setrlimit): Define as weak alias.
3580
c7405830
RM
3581 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
3582 Call __ names for open, ftruncate, and close.
3583 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
3584 (truncate): Define as weak alias.
3585
5bf96de5
JM
35862013-05-06 Joseph Myers <joseph@codesourcery.com>
3587
9ea3513c
JM
3588 * math/gen-libm-test.pl (parse_args): Initialize x before each
3589 test of frexp, modf and remquo.
3590
5bf96de5
JM
3591 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
3592 test signgam value.
3593
16e616a7
AZ
35942013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3595
3596 [BZ #15418]
3597 [BZ #15419]
3598 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
3599 internal tests.
3600 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
3601
d5e82754
RM
36022013-05-06 Roland McGrath <roland@hack.frob.com>
3603
3604 * elf/dl-writev.h: New file.
3605 * elf/dl-misc.c: Include it.
3606 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
3607 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
3608
a7548d41
JM
36092013-05-04 Joseph Myers <joseph@codesourcery.com>
3610
b7dab1e4
JM
3611 * math/libm-test.inc (noXFails): Remove variable.
3612 (noXPasses): Likewise.
3613 (BUILD_COMPLEX_INT): Remove macro.
3614 (print_screen): Remove xfail argument.
3615 (print_screen_max_error): Likewise.
3616 (update_stats): Likewise.
3617 (print_max_error): Likewise. Update calls to other affected
3618 functions.
3619 (print_complex_max_error): Likewise.
3620 (test_single_exception): Update calls to print_screen.
3621 (test_single_errno): Likewise.
3622 (check_float_internal): Remove xfail argument. Update calls to
3623 other affected functions.
3624 (check_float): Likewise.
3625 (check_complex): Likewise.
3626 (check_int): Likewise.
3627 (check_long): Likewise.
3628 (check_bool): Likewise.
3629 (check_longlong): Likewise.
3630 (main): Don't print noXFails and noXPasses.
3631 * math/gen-libm-test.pl (top level): Don't mention expected
3632 failure handling in comment.
3633 (new_test): Don't handle expected failures.
3634 (parse_args): Don't mention expected failure handling in comment.
3635 (generate_testfile): Don't handle expected failures.
3636 (parse_ulps): Likewise.
3637 (print_ulps_file): Likewise.
3638 (get_failure): Remove function.
3639 (output_test): Don't handle expected failures.
3640 * make/README.libm-test: Don't mention expected failure handling.
3641
a7548d41
JM
3642 * math/libm-test.inc (plus_zero): Make const. Add initializer.
3643 (minus_zero): Likewise.
3644 (plus_infty): Likewise.
3645 (minus_infty): Likewise.
3646 (qnan_value): Likewise.
3647 (max_value): Likewise.
3648 (min_value): Likewise.
3649 (min_subnorm_value): Likewise.
3650 (initialize): Do not initialize those variables dynamically.
3651
60bfd54c
RM
36522013-05-03 Roland McGrath <roland@hack.frob.com>
3653
cc0e6ed8
RM
3654 * io/open.c (__open_2): Moved to ...
3655 * io/open_2.c: ... this new file.
3656 * io/open64.c (__open64_2): Moved to ...
3657 * io/open64_2.c: ... this new file.
3658 * io/openat.c (__openat_2): Moved to ...
3659 * io/openat_2.c: ... this new file.
3660 * io/openat64.c (__openat64_2): Moved to ...
3661 * io/openat64_2.c: ... this new file.
3662 * io/Makefile (routines): Add them.
3663 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
3664 * sysdeps/unix/sysv/linux/open_2.c: File removed.
3665 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
3666 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
3667 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
3668 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
3669 (__openat64): Add hidden_ver.
3670 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
3671 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
3672
60bfd54c
RM
3673 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
3674 Separately conditionalize setting of GLRO(dl_sysinfo) so
3675 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
3676 as well, but the actual setting is only under [NEED_DL_SYSINFO].
3677
83e7640f
AZ
36782013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3679
3680 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
3681 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
3682 definition.
3683 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
3684 * sysdeps/unix/sysv/linux/powerpc/init-first.c
3685 (_libc_vdso_platform_setup): Add __vdso_time initialization.
3686 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
3687 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
3688
d5dc2af3
JM
36892013-05-03 Joseph Myers <joseph@codesourcery.com>
3690
c31a5b1e
JM
3691 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
3692 test signgam value.
3693
d5dc2af3
JM
3694 * math/libm-test.inc (hypot_test): Do not use
3695 IGNORE_ZERO_INF_SIGN.
3696
164fd39d
AJ
36972013-05-03 Andreas Jaeger <aj@suse.de>
3698
3699 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
3700 Linux 3.9.
3701 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
3702 (PF_MAX): Adjust for VSOCK change.
3703
8237f48c
AZ
37042013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3705
3706 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3707
9df02941
CD
37082013-05-02 Carlos O'Donell <carlos@redhat.com>
3709
3710 [BZ #15264]
3711 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
3712 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
3713 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
3714
d422395e
DM
37152013-05-02 David S. Miller <davem@davemloft.net>
3716
3717 * sysdeps/sparc/fpu/libm-test-ulps: Update.
3718
a07c5731
OB
37192013-05-01 Ondřej Bílka <neleai@seznam.cz>
3720
3721 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
3722
1324e37f
RM
37232013-05-01 Roland McGrath <roland@hack.frob.com>
3724
3725 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
3726
0695940b
RS
37272013-05-01 Richard Smith <richard@metafoo.co.uk>
3728
bb5f27ad 3729 [BZ #14952]
0695940b
RS
3730 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
3731 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
3732 Use __attribute__ ((__gnu_inline__)).
3733 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
3734 Don't use __attribute__ ((__gnu_inline__)).
3735
10de07f5
JM
37362013-05-01 Joseph Myers <joseph@codesourcery.com>
3737
3738 [BZ #15423]
3739 * math/s_catan.c (__catan): Handle small real or imaginary part of
3740 input specially to avoid spurious underflow.
3741 * math/s_catanf.c (__catanf): Likewise.
3742 * math/s_catanh.c (__catanh): Likewise.
3743 * math/s_catanhf.c (__catanhf): Likewise.
3744 * math/s_catanhl.c (__catanhl): Likewise.
3745 * math/s_catanl.c (__catanl): Likewise.
3746 * math/libm-test.inc (catan_test): Add more tests.
3747 (catanh_test): Likewise.
3748 * sysdeps/i386/fpu/libm-test-ulps: Update.
3749 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3750
cb4d5414
AZ
37512013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3752
3753 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3754
caf84319
JM
37552013-04-30 Joseph Myers <joseph@codesourcery.com>
3756
3757 [BZ #15416]
3758 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
3759 accurately for denominator in atan2.
3760 * math/s_catanf.c (__catanf): Likewise.
3761 * math/s_catanh.c (__catanh): Likewise.
3762 * math/s_catanhf.c (__catanhf): Likewise.
3763 * math/s_catanhl.c (__catanhl): Likewise.
3764 * math/s_catanl.c (__catanl): Likewise.
3765 * math/libm-test.inc (catan_test): Add more tests.
3766 (catanh_test): Likewise.
3767 * sysdeps/i386/fpu/libm-test-ulps: Update.
3768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3769
d569c6ee
SP
37702013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
3771
6dbe713d
SP
3772 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
3773
f0ee064b
SP
3774 * benchtests/Makefile (bench): Remove slow benchmarks.
3775 * benchtests/atan-inputs: Add slow benchmark inputs.
3776 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
3777 (BENCH_FUNC): Accept variant offset.
3778 (VARIANT): Define.
3779 * benchtests/bench-skeleton.c (main): Run benchmark for each
3780 variant.
3781 * benchtests/cos-inputs: Add slow benchmark inputs.
3782 * benchtests/exp-inputs: Likewise.
3783 * benchtests/pow-inputs: Likewise.
3784 * benchtests/sin-inputs: Likewise.
3785 * benchtests/slowatan-inputs: Remove.
3786 * benchtests/slowatan.c: Remove.
3787 * benchtests/slowcos-inputs: Remove.
3788 * benchtests/slowcos.c: Remove.
3789 * benchtests/slowexp-inputs: Remove.
3790 * benchtests/slowexp.c: Remove.
3791 * benchtests/slowpow-inputs: Remove.
3792 * benchtests/slowpow.c: Remove.
3793 * benchtests/slowsin-inputs: Remove.
3794 * benchtests/slowsin.c: Remove.
3795 * benchtests/slowtan-inputs: Remove.
3796 * benchtests/slowtan.c: Remove.
3797 * benchtests/tan-inputs: Add slow benchmark inputs.
3798 * scripts/bench.pl: Parse comments and directives.
3799
d569c6ee
SP
3800 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
3801 in CPPFLAGS.
3802 ($(objpfx)bench-%.c): Remove *-ITER.
3803 * benchtests/bench-modf.c: Remove definition of ITER.
3804 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
3805 (main): Loop for DURATION seconds instead of fixed number of
3806 iterations.
3807 * scripts/bench.pl: Don't expect iterations in parameters.
3808
a6a242fe
RM
38092013-04-29 Roland McGrath <roland@hack.frob.com>
3810
3811 * io/fchdir.c (__fchdir): Renamed from fchdir.
3812 (fchdir): Define as weak alias.
3813
f2da7793
JM
38142013-04-29 Joseph Myers <joseph@codesourcery.com>
3815
3816 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
3817 (ERRNO_EDOM): Likewise.
3818 (ERRNO_ERANGE): Likewise.
3819 (noErrnoTests): New variable.
3820 (init_max_error): Set errno to 0.
3821 (test_single_errno): New function.
3822 (test_errno): Likewise.
3823 (check_float_internal): Call test_errno. Set errno to 0.
3824 (check_complex): Refer to errno tests in comment.
3825 (check_int): Call test_errno. Set errno to 0.
3826 (check_long): Likewise.
3827 (check_bool): Likewise.
3828 (check_longlong): Likewise.
3829 (cos_test): Use ERRNO_* flags for errno tests instead of
3830 check_int.
3831 (expm1_test): Likewise.
3832 (fmod_test): Likewise.
3833 (ilogb_test): Likewise.
3834 (lgamma_test): Likewise.
3835 (pow_test): Likewise.
3836 (remainder_test): Likewise.
3837 (sin_test): Likewise.
3838 (tan_test): Likewise.
3839 (yn_test): Likewise.
3840 (initialize): Set errno to 0.
3841 (main): Print number of errno tests.
3842 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
3843
b1a36ceb
AJ
38442013-04-29 Andreas Jaeger <aj@suse.de>
3845
c3ed8088
AJ
3846 [BZ #15084]
3847 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
3848 and RES_USEVC.
3849
f1a24198
AJ
3850 [BZ #15085]
3851 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
3852 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
3853 unimplemented.
3854
9ce3b2cb
AJ
3855 [BZ #15380]
3856 * stdlib/random.c (__initstate): Return NULL if
3857 __initstate fails.
3858
f1a24198 3859 [BZ #15086]
b1a36ceb
AJ
3860 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
3861 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
3862 RES_SNGLKUPREOP.
3863
7e7b6f36
AZ
38642013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3865
3866 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
3867
4d14f449
JM
38682013-04-29 Joseph Myers <joseph@codesourcery.com>
3869
3870 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
3871 of individual tests.
3872 (casin_test): Likewise.
3873 (casinh_test): Likewise.
3874
5b4217d7
JM
38752013-04-27 Joseph Myers <joseph@codesourcery.com>
3876
3877 [BZ #15409]
3878 * math/s_catan.c (__catan): Handle arguments with large real or
3879 imaginary part separately without squaring.
3880 * math/s_catanf.c (__catanf): Likewise.
3881 * math/s_catanh.c (__catanh): Likewise.
3882 * math/s_catanhf.c (__catanhf): Likewise.
3883 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3884 and redefine.
3885 (__catanhl): Handle arguments with large real or imaginary part
3886 separately without squaring.
3887 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
3888 and redefine.
3889 (__catanl): Handle arguments with large real or imaginary part
3890 separately without squaring.
3891 * math/libm-test.inc (catan_test): Add more tests.
3892 (catanh_test): Likewise.
3893 * sysdeps/i386/fpu/libm-test-ulps: Update.
3894 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
3895
4220c3ef
AJ
38962013-04-27 Andreas Jaeger <aj@suse.de>
3897
3898 [BZ #15007]
3899 * stdlib/stdlib.h: Update guards for qecvt.
3900 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
3901 <stdlib.h>.
3902
4721b2d1
AM
39032013-04-27 Allan McRae <allan@archlinux.org>
3904
3905 * sysdeps/i386/fpu/libm-test-ulps: Update.
3906
f0302940
JM
39072013-04-26 Joseph Myers <joseph@codesourcery.com>
3908
9457fd95
JM
3909 [BZ #15406]
3910 * math/s_catan.c: Include <float.h>.
3911 (__catan): Ensure underflow exception occurs for underflowed
3912 result.
3913 * math/s_catanf.c: Include <float.h>.
3914 (__catanf): Ensure underflow exception occurs for underflowed
3915 result.
3916 * math/s_catanh.c: Include <float.h>.
3917 (__catanh): Ensure underflow exception occurs for underflowed
3918 result.
3919 * math/s_catanhf.c: Include <float.h>.
3920 (__catanhf): Ensure underflow exception occurs for underflowed
3921 result.
3922 * math/s_catanhl.c: Include <float.h>.
3923 (__catanhl): Ensure underflow exception occurs for underflowed
3924 result.
3925 * math/s_catanl.c: Include <float.h>.
3926 (__catanl): Ensure underflow exception occurs for underflowed
3927 result.
3928 * math/libm-test.inc (catan_test): Add more tests.
3929 (catanh_test): Likewise.
3930
f0302940
JM
3931 [BZ #15405]
3932 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
3933 underflowed result.
3934 * math/s_ccoshf.c (__ccoshf): Likewise.
3935 * math/s_ccoshl.c (__ccoshl): Likewise.
3936 * math/s_csin.c (__csin): Likewise.
3937 * math/s_csinf.c (__csinf): Likewise.
3938 * math/s_csinh.c (__csinh): Likewise.
3939 * math/s_csinhf.c (__csinhf): Likewise.
3940 * math/s_csinhl.c (__csinhl): Likewise.
3941 * math/s_csinl.c (__csinl): Likewise.
3942 * math/libm-test.inc (ccos_test): Add more tests.
3943 (ccosh_test): Likewise.
3944 (csin_test): Likewise.
3945 (csinh_test): Likewise.
3946
aa630f59
AZ
39472013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
3948
3949 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
3950 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
3951 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
3952 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
3953 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
3954 powerpc/power5+/fpu folders.
3955 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
3956
3957
1b835983
MT
39582013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
3959
3960 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
3961
73709b26
JM
39622013-04-25 Joseph Myers <joseph@codesourcery.com>
3963
3964 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
3965 additions to variable.
3966 [$(config-machine) = x86_64] (modules-names): Likewise.
3967 ($(objpfx)tst-audit3): Remove dependency.
3968 ($(objpfx)tst-audit3.out): Likewise.
3969 ($(objpfx)tst-audit4): Likewise.
3970 ($(objpfx)tst-audit4.out): Likewise.
3971 ($(objpfx)tst-audit5): Likewise.
3972 ($(objpfx)tst-audit5.out): Likewise.
3973 ($(objpfx)tst-audit6): Likewise.
3974 ($(objpfx)tst-audit6.out): Likewise.
3975 ($(objpfx)tst-audit7): Likewise.
3976 ($(objpfx)tst-audit7.out): Likewise.
3977 (tst-audit3-ENV): Remove variable.
3978 (tst-audit4-ENV): Likewise.
3979 (tst-audit5-ENV): Likewise.
3980 (tst-audit6-ENV): Likewise.
3981 (tst-audit7-ENV): Likewise.
3982 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
3983 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
3984 addition to variable.
3985 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
3986 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
3987 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
3988 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
3989 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
3990 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
3991 tst-audit3, tst-audit4 and tst-audit5.
3992 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
3993 tst-audit6 and tst-audit7.
3994 [$(subdir) = elf] (modules-names): Add audit modules for those
3995 tests.
3996 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
3997 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
3998 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
3999 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
4000 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
4001 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
4002 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
4003 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
4004 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
4005 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
4006 [$(subdir) = elf] (tst-audit3-ENV): New variable.
4007 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
4008 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
4009 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
4010 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
4011 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
4012 Likewise.
4013 [$(subdir) = elf && $(config-cflags-avx) = yes]
4014 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
4015 [$(subdir) = elf && $(config-cflags-avx) = yes]
4016 (CFLAGS-tst-auditmod4a.c): Likewise.
4017 [$(subdir) = elf && $(config-cflags-avx) = yes]
4018 (CFLAGS-tst-auditmod4b.c): Likewise.
4019 [$(subdir) = elf && $(config-cflags-avx) = yes]
4020 (CFLAGS-tst-auditmod6b.c): Likewise.
4021 [$(subdir) = elf && $(config-cflags-avx) = yes]
4022 (CFLAGS-tst-auditmod6c.c): Likewise.
4023 [$(subdir) = elf && $(config-cflags-avx) = yes]
4024 (CFLAGS-tst-auditmod7b.c): Likewise.
4025 * elf/tst-audit3.c: Move to ...
4026 * sysdeps/x86_64/tst-audit3.c: ... here.
4027 * elf/tst-audit4.c: Move to ...
4028 * sysdeps/x86_64/tst-audit4.c: ... here.
4029 * elf/tst-audit5.c: Move to ...
4030 * sysdeps/x86_64/tst-audit5.c: ... here.
4031 * elf/tst-audit6.c: Move to ...
4032 * sysdeps/x86_64/tst-audit6.c: ... here.
4033 * elf/tst-audit7.c: Move to ...
4034 * sysdeps/x86_64/tst-audit7.c: ... here.
4035 * elf/tst-auditmod3a.c: Move to ...
4036 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
4037 * elf/tst-auditmod3b.c: Move to ...
4038 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
4039 * elf/tst-auditmod4a.c: Move to ...
4040 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
4041 * elf/tst-auditmod4b.c: Move to ...
4042 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
4043 * elf/tst-auditmod5a.c: Move to ...
4044 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
4045 * elf/tst-auditmod5b.c: Move to ...
4046 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
4047 * elf/tst-auditmod6a.c: Move to ...
4048 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
4049 * elf/tst-auditmod6b.c: Move to ...
4050 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
4051 * elf/tst-auditmod6c.c: Move to ...
4052 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
4053 * elf/tst-auditmod7a.c: Move to ...
4054 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
4055 * elf/tst-auditmod7b.c: Move to ...
4056 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
4057
1ef74943
PP
40582013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
4059
4060 [BZ #15366]
4061 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
4062 define unconditionally.
4063 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
4064 define unconditionally.
4065 (INT8_C, INT16_C, etc.): Likewise.
4066
93fd48c5
MR
40672013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
4068
ae9552cf
MR
4069 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
4070 __ehdr_start with hidden visibility.
4071
93fd48c5
MR
4072 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
4073
418601aa
CD
40742013-04-24 Carlos O'Donell <carlos@redhat.com>
4075
4076 * math/libm-test.inc (cos_test): Use accurate hex constants.
4077 (sincost_test): Likewise.
4078
2f38fbfe
JM
40792013-04-24 Joseph Myers <joseph@codesourcery.com>
4080
5e221800
JM
4081 * math/libm-test.inc (catan_test): Add more tests.
4082 (catanh_test): Likewise.
4083
77f143fd
JM
4084 * math/s_catanf.c (__catanf): Use suffixed floating-point
4085 constants.
4086 * math/s_catanhf.c (__catanhf): Likewise.
4087 * math/s_catanhl.c (__catanhl): Likewise.
4088 * math/s_catanl.c (__catanl): Likewise.
4089
2f38fbfe
JM
4090 [BZ #15394]
4091 * math/s_catan.c (__catan): Calculate imaginary part of result
4092 with log1p not log unless computing log of number close to 0.
4093 * math/s_catanf.c (__catanf): Likewise.
4094 * math/s_catanl.c (__catanl): Likewise.
4095 * math/s_catanh.c (__catanh): Calculate real part of result with
4096 log1p not log unless computing log of number close to 0.
4097 * math/s_catanhf.c (__catanhf): Likewise.
4098 * math/s_catanhl.c (__catanhl): Likewise.
4099 * math/libm-test.inc (catan_test): Add more tests.
4100 (catanh_test): Likewise.
4101 * sysdeps/i386/fpu/libm-test-ulps: Update.
4102 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4103
45d69176
SP
41042013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
4105
4106 * benchtests/Makefile: Mention files in which fast and slow
4107 paths of math functions are implemented.
4108
87f51853
RM
41092013-04-23 Roland McGrath <roland@hack.frob.com>
4110
4111 * sysdeps/posix/timespec_get.c: New file.
4112
3c026539
AZ
41132013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4114
4115 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
4116 POWER.
4117 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
4118 for POWER.
4119 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
4120 powerpc/power5/fpu folders.
4121 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
4122 * benchtests/Makefile: Add modf testcase.
4123 * benchtests/bench-modf.c: New file: Benchmark test for mo
4124
ff491d14
SP
41252013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
4126
4127 [BZ #14888]
4128 * time/Makefile (tests): Add tst-strptime-whitespace.
4129 * time/strptime_l.c (get_number): Use ISSPACE.
4130 (__strptime_internal): Likewise.
4131 * time/tst-strptime-whitespace.c: New test case.
4132
7ed3f4e8
AS
41332013-04-23 Andreas Schwab <schwab@linux-m68k.org>
4134
4135 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
4136 member.
4137 (_nss_files_init): Set it here.
4138
5c95f7b6
HC
41392013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
4140
4141 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
4142 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
4143 unsigned.
4144
d34c9158
JBG
41452013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
4146
4147 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
4148
2169712d
SP
41492013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
4150
4151 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
4152 size just once.
4153
29c5de99
DM
41542013-04-21 David S. Miller <davem@davemloft.net>
4155
4156 * po/ru.po: Update Russion translation from translation project.
4157
ccdad15d
AC
41582013-04-17 Adam Conrad <adconrad@0c3.net>
4159
4160 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
4161 and setfsgid.
4162
0f122b8d
CD
41632013-04-17 Carlos O'Donell <carlos@redhat.com>
4164
5c5b07da 4165 * configure.in: Remove i386 configure warning. Remove i386 case.
0f122b8d 4166 * configure: Regenerate.
5c5b07da 4167 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
0f122b8d
CD
4168 Add example to error message.
4169 * sysdeps/i386/configure: Regenerate.
4170
037714dd
SP
41712013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
4172
4173 * benchtests/Makefile (bench): Add cos, tan, slowcos and
4174 slowtan.
4175 * benchtests/cos-inputs: New file.
4176 * benchtests/slowcos-inputs: New file.
4177 * benchtests/slowcos.c: New file.
4178 * benchtests/slowtan-inputs: New file.
4179 * benchtests/slowtan.c: New file.
4180 * benchtests/tan-inputs: New file.
4181
e913141d
RM
41822013-04-16 Roland McGrath <roland@hack.frob.com>
4183
4184 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
4185 considered kosher.
4186
a2964074
SP
41872013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
4188
4856bcd2
SP
4189 * benchtests/Makefile: Include cppflags-iterator.mk to add
4190 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
4191
a2964074
SP
4192 * Makefile.in (bench-clean): New target.
4193 * benchtests/Makefile (bench-clean): Likewise.
4194
9fbf9aca
DH
41952013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
4196
4197 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
4198
207d1e2a
TS
41992013-04-15 Thomas Schwinge <thomas@codesourcery.com>
4200
4201 * stdio-common/tstdiomisc.c: Fix coding-style violation.
4202
306dfba9
AS
42032013-04-15 Andreas Schwab <schwab@suse.de>
4204
4205 * nscd/grpcache.c (cache_addgr): Properly check for short write.
4206 * nscd/initgrcache.c (addinitgroupsX): Likewise.
4207 * nscd/pwdcache.c (cache_addpw): Likewise.
4208 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
4209 more than recsize.
4210
206a6699
SP
42112013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4212
4213 * benchtests/Makefile (bench): Write all output to
4214 bench-out.tmp together.
4215
0582f6b3
AS
42162013-04-15 Andreas Schwab <schwab@suse.de>
4217
4218 * nscd/nscd.c (main): Don't fork again after closing files.
4219
acb4325f
SP
42202013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4221
5cb26d0a
SP
4222 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
4223
acb4325f
SP
4224 * benchtests/Rules (bench-deps): Collect dependencies into a
4225 single variable. Add Makefile to dependencies.
4226 ($(objpfx)bench-%.c): Depend on bench-deps.
4227
47792506
RM
42282013-04-12 Roland McGrath <roland@hack.frob.com>
4229 Xavier Roche <roche+kml2@exalead.com>
4230
4231 [BZ #15361]
4232 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
4233 just that it's a file descriptor.
4234 * manual/llio.texi (Synchronizing AIO Operations): Update description
4235 for EBADF error from aio_fsync.
4236
8fc1bee5
SP
42372013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
4238
4239 * Rules (bench): Move target definition...
4240 * benchtests/Makefile: ... here.
4241
aba5e333
CD
42422013-04-11 Carlos O'Donell <carlos@redhat.com>
4243
4244 * math/libm-test.inc (cos_test): Fix PI/2 test.
4245 (sincos_test): Likewise.
4246 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
4247 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
4248
273cdee8
AS
42492013-04-11 Andreas Schwab <schwab@suse.de>
4250
6ecec3b6
AS
4251 [BZ #13988]
4252 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
4253 accept exponent character only when digits were seen.
4254 * stdio-common/Makefile (tests): Add bug26.
4255 * stdio-common/bug26.c: New file.
4256
273cdee8
AS
4257 [BZ #14293]
4258 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
4259 non-freeable.
4260
8da491f5
SP
42612013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
4262
01dc6df9
SP
4263 * Makeconfig (rtld-prefix): Define built linker prefix.
4264 * Rules (run-bench): Use it.
4265 * math/Makefile (run-regen-ulps): Likewise.
4266
8da491f5
SP
4267 * Rules (bench): Remove eval.
4268
abe7f530
SP
42692013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
4270 Roland McGrath <roland@hack.frob.com>
4271 Ondrej Bilka <neleai@seznam.cz>
4272
4273 [BZ #15346]
4274 * time/getdate.c: Include ctype.h and alloca.h.
4275 (__getdate_r): Trim leading and trailing spaces of input.
4276 * time/tst-getdate.c (tests): Add tests with leading and
4277 trailing spaces.
4278
61c23e62
RM
42792013-04-08 Roland McGrath <roland@hack.frob.com>
4280
4281 [BZ #14280]
4282 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
4283 when computing value.
4284
7208a313
CD
42852013-04-06 Carlos O'Donell <carlos@redhat.com>
4286
085b2d41
CD
4287 * math/README.libm-test (How can I generate "libm-test-ulps"?):
4288 Use testrun.sh to run libm tests.
4289
7208a313
CD
4290 [BZ #15309]
4291 * elf/dl-open.c (dl_open_worker): memset all of seen array.
4292
872c0acd
MM
42932013-04-06 Marko Myllynen <myllynen@redhat.com>
4294
4295 [BZ #15264]
4296 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
4297
26510bdd
CD
42982013-04-06 Carlos O'Donell <carlos@redhat.com>
4299
4300 * Makefile.in (regen-ulps): New target.
4301 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
4302 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
4303 [ifneq (no,$(PERL)] (regen-ulps): New target.
4304 [ifeq (no,$(PERL)] (regen-ulps): New target.
4305 * math/libm-test.inc (ulps_file_name): Define.
4306 (output_dir): New variable.
4307 (options): Add "output-dir" option.
4308 (parse_opt): Handle 'o' case.
4309 (main): If output_dir is non-NULL use it as a prefix
4310 otherwise use "".
4311 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
4312
a01f19c8
CD
43132013-04-06 Carlos O'Donell <carlos@redhat.com>
4314
4315 [BZ #10060, #10062]
4316 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
4317 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
4318 fail configure if __sync_val_compare_and_swap is not inlined.
4319 * sysdeps/i386/configure: Regenerate.
4320 * configure.in: Build for i686 when configured for i386.
4321 * configure: Regenerate.
4322 * README: Remove i386 reference.
4323
b7a329a5
CD
43242013-04-06 Carlos O'Donell <carlos@redhat.com>
4325
4326 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
4327 * sysdeps/s390/s390-64/sysdep.h: Likewise.
4328
bf0f50df
TS
43292013-04-05 Thomas Schwinge <thomas@codesourcery.com>
4330
ee091edf
TS
4331 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
4332 (lmsnanval): New variables.
4333 (F): Add conversion tests.
4334 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
4335 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
4336
a8b792d6
TS
4337 * stdio-common/tstdiomisc.c (F): Properly collect individual
4338 tests' results.
4339
a1cbf437
TS
4340 [BZ #14686, #15336]
4341 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
4342 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
4343 Instead, use input NaN values or generate a qNaN by arithmetic
4344 operation. Also fix bugs to comply with the standard.
4345 * math/libm-test.inc (remainder_test): Add more tests.
4346
8b43a0c9
TS
4347 [BZ #15335, #15342]
4348 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
4349 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
4350 input NaN values or generate a qNaN by arithmetic operation.
4351
d91da4ce
TS
4352 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
4353 unreachable code.
4354
bf0f50df
TS
4355 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
4356 definitions.
4357
05e166c8
JM
43582013-04-03 Joseph Myers <joseph@codesourcery.com>
4359
4360 [BZ #14478]
4361 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
4362 underflowed result.
4363 * math/s_cexpf.c (__cexpf): Likewise.
4364 * math/s_cexpl.c (__cexpl): Likewise.
4365 * math/libm-test.inc (cexp_test): Add more tests.
4366
1cef1b19
AS
43672013-04-03 Andreas Schwab <schwab@suse.de>
4368
4369 [BZ #15330]
4370 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
4371 order arrays from heap if bigger than alloca cutoff.
4372
74d87055
TS
43732013-04-03 Thomas Schwinge <thomas@codesourcery.com>
4374
4375 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
4376 (SNAN_TESTS_double): Refer to GCC PR56831.
4377 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
4378 GCC PR56828.
4379
d755bba4
SP
43802013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
4381
90d5d5bb
SP
4382 * Rules (bench): Move bench.out after the run is complete.
4383
73e0cd5d
SP
4384 * Rules (bench): Echo currently running benchmark.
4385
64aabd4b
SP
4386 * benchtests/Makefile (bench): Add atan and slowatan.
4387 * benchtests/atan-inputs: New file.
4388 * benchtests/slowatan-inputs: New file.
4389 * benchtests/slowatan.c: New file.
4390
c871eccd
SP
4391 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
4392 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
4393 its value.
4394
d755bba4
SP
4395 [BZ #15305]
4396 * sysdeps/unix/sysv/linux/kernel-features.h
4397 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
4398 __ASSUME_XFS_RESTRICTED_CHOWN.
4399 * sysdeps/unix/sysv/linux/pathconf.c
4400 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
4401 Save and restore errno.
4402
52ce4860
JM
44032013-04-02 Joseph Myers <joseph@codesourcery.com>
4404
4405 [BZ #15327]
4406 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
4407 arguments using __kernel_casinh.
4408 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
4409 arguments using __kernel_casinhf.
4410 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
4411 arguments using __kernel_casinhl.
4412 * math/libm-test.inc (cacosh_test): Add more tests.
4413 * sysdeps/i386/fpu/libm-test-ulps: Update.
4414 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4415
81f311c2
SP
44162013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
4417
e7906a47
SP
4418 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
4419 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
4420
92e3664b
SP
4421 * bench/Makefile (bench): Add sin and slowsin.
4422 * benchtests/sin-inputs: New file.
4423 * benchtests/slowsin-inputs: New file.
4424 * benchtests/slowsin.c: New file.
4425
81f311c2
SP
4426 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
4427 (bench): Add slowexp and slowpow.
4428 (exp-ITER): Increase iterations.
4429 (pow-ITER): Likewise.
4430 * benchtests/exp-inputs: Change input.
4431 * benchtests/pow-inputs: Likewise.
4432 * benchtests/slowexp-inputs: New file.
4433 * benchtests/slowexp.c: New file.
4434 * benchtests/slowpow-inputs: New file.
4435 * benchtests/slowpow.c: New file.
4436
ab0f1aa9
AZ
44372013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4438
4439 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
4440 instructions.
4441 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
4442 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
4443 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
4444 * benchtests/Makefile: Add rint benchtest.
4445 * benchtests/rint-inputs: Input for rint benchtest.
4446
57267616
TS
44472013-04-02 Thomas Schwinge <thomas@codesourcery.com>
4448
4449 * Versions.def (libm): Add GLIBC_2.18.
4450 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
4451 hidden libm prototypes.
4452 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
4453 * math/Makefile (libm-calls): Add s_issignaling.
4454 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
4455 __issignalingf, __issignalingl. Adjust all libm.abilist files.
4456 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
4457 declaration.
4458 * math/math.h [__USE_GNU] (issignaling): New macro.
4459 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
4460 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
4461 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
4462 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
4463 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
4464 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
4465 * manual/arith.texi (issignaling): New section.
4466 * manual/libm-err-tab.pl (@all_functions): Update comment.
4467 * math/gen-libm-test.pl (parse_args): Apply special handling for
4468 issignaling.
4469 * math/libm-test.inc (print_float, issignaling_test): New
4470 functions.
4471 (check_float_internal): Add issignaling checks.
4472 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
4473 default definition.
4474 * sysdeps/powerpc/math-tests.h: New file.
4475 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
4476 tests.
4477 * math/test-snan.c (TEST_FUNC): Likewise.
4478
6142896d
DM
44792013-03-30 David S. Miller <davem@davemloft.net>
4480
4481 * po/de.po: Update from translation team.
4482
ccc8cadf
JM
44832013-03-30 Joseph Myers <joseph@codesourcery.com>
4484
4485 [BZ #10357]
4486 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4487 imaginary part less than 1.0 and real part less than 0.5
4488 specially.
4489 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4490 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4491 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
4492 (cacos_test): Add more tests.
4493 (casin_test): Likewise.
4494 (casinh_test): Likewise.
4495 * sysdeps/i386/fpu/libm-test-ulps: Update.
4496 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4497
0f6a8d4b
SP
44982013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
4499
0d1029de
SP
4500 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
4501 ONE with its value.
4502
c2d94018
SP
4503 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
4504 (__pow_mp): Replace ONE and MONE with their values.
4505 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4506 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
4507 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4508 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
4509 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4510 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4511
27ec37f1
SP
4512 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
4513
a64d7e0e
SP
4514 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
4515 (__pow_mp): Replace ZERO and MZERO with their values.
4516 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4517 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4518 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
4519 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4520 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4521 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
4522 (__sqr): Likewise.
4523
d26dd3eb
SP
4524 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
4525
0f6a8d4b
SP
4526 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
4527
e57b0c61
RM
45282013-03-28 Roland McGrath <roland@hack.frob.com>
4529
4530 * include/stdlib.h [!SHARED] (__call_tls_dtors):
4531 Declare with __attribute__ ((weak)).
4532 * stdlib/exit.c (__libc_atexit) [!SHARED]:
4533 Call __call_tls_dtors only if it's not NULL.
4534
356b3480
RM
45352013-03-28 Roland McGrath <roland@hack.frob.com>
4536
288f7d79
RM
4537 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
4538 didn't do it already, then set _dl_phdr and _dl_phnum based on the
4539 magic __ehdr_start linker symbol if it's defined.
4540 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
4541 them up here if it was already done.
4542
dc0a0263
RM
4543 * elf/dl-support.c (_dl_phdr): Make pointer to const.
4544 (_dl_aux_init): Use const in cast when setting it.
4545 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
4546 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
4547 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
4548
3d3436ae
RM
4549 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
4550 Declare them here.
4551 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
4552 * csu/libc-tls.c: Nor here.
4553 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
4554
356b3480
RM
4555 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
4556 (__libc_message): Never call vsyslog.
4557
b0f1246a
AM
45582013-03-28 Alan Modra <amodra@gmail.com>
4559
4560 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
4561 Define as empty.
4562 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
4563 Likewise.
4564
fbbe2b9a
AZ
45652013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4566
4567 [BZ #15214]
4568 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
4569 underflow.
4570 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4571
1728ab37
SP
45722013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
4573
7a86be6e
SP
4574 [BZ #15304]
4575 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
4576 Don't add gid passed as argument.
4577
1728ab37
SP
4578 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
4579
3a7182a1
JM
45802013-03-27 Joseph Myers <joseph@codesourcery.com>
4581
4582 [BZ #15307]
4583 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4584 imaginary part between 1.0 and 1.5 and real part less than 0.5
4585 specially.
4586 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4587 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4588 * math/libm-test.inc (cacos_test): Add more tests.
4589 (casin_test): Likewise.
4590 (casinh_test): Likewise.
4591 * sysdeps/i386/fpu/libm-test-ulps: Update.
4592 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4593
6f2e90e7
SP
45942013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
4595
5739f705
SP
4596 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
4597 constants.
4598 (norm): Likewise.
4599 (denorm): Likewise.
4600 (__dbl_mp): Likewise.
4601 (add_magnitudes): Likewise.
4602 (sub_magnitudes): Likewise.
4603 (__add): Likewise.
4604 (__sub): Likewise.
4605 (__mul): Likewise.
4606 (__sqr): Likewise.
4607 (__inv): Likewise.
4608 (__dvd): Likewise.
4609
e375e83d
SP
4610 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
4611 commented code.
4612 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
4613 (__dubcos): Likewise.
4614 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
4615 (__ieee754_acos): Likewise.
4616 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
4617 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
4618 (__exp1): Likewise.
4619 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
4620 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
4621 (log1): Likewise.
4622 (my_log2): Likewise.
4623 (checkint): Likewise.
4624 * sysdeps/ieee754/dbl-64/e_remainder.c
4625 (__ieee754_remainder): Likewise.
4626 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
4627 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
4628 (bsloww): Likewise.
4629 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
4630
6f2e90e7
SP
4631 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
4632 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
4633 MANTISSA_STORE_T to store computations on mantissa. Use
4634 macros for rounding and division.
4635 (denorm): Likewise.
4636 (__dbl_mp): Likewise.
4637 (add_magnitudes): Likewise.
4638 (sub_magnitudes): Likewise.
4639 (__mul): Likewise.
4640 (__sqr): Likewise.
4641 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
4642 powers of two in terms of TWOPOW macro.
4643 (mp_no): Make type of mantissa as MANTISSA_T.
4644 [!RADIXI]: Define RADIXI.
4645 [!TWO52]: Define TWO52.
4646 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
4647
fce14d4e
AZ
46482013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4649
4650 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
4651 llroundl symbol when building for PPC32.
4652
9ad027fb
MW
46532013-03-24 Mark H Weaver <mhw@netris.org>
4654
4655 * manual/arith.texi (Normalization Functions): Fix prototypes for
4656 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
4657
e42a38dd
AZ
46582013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4659
4660 [BZ #13889]
4661 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
4662 high value to check if expl overflow.
4663 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
4664 to check for underflow and overflow.
4665 * math/libm-test.inc: Add exp test.
4666
2e0fb521
DL
46672013-03-21 Dmitry V. Levin <ldv@altlinux.org>
4668
4669 [BZ #11120]
4670 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
4671 with NOT_IN_libc.
4672
b5784d95
AZ
46732013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4674
4675 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
4676 symbol.
4677
5aa4a1a1
TS
46782013-03-21 Thomas Schwinge <thomas@codesourcery.com>
4679
bdef0be7
TS
4680 * math/gen-libm-test.pl (parse_args, special_functions): Properly
4681 wrap blocks consisting of several statements.
4682
5aa4a1a1
TS
4683 * sysdeps/generic/math-tests.h: New file.
4684 * sysdeps/i386/fpu/math-tests.h: Likewise.
4685 * math/test-snan.c: Include it.
4686 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
4687
98c48fe5
JM
46882013-03-21 Joseph Myers <joseph@codesourcery.com>
4689
4690 [BZ #15285]
4691 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
4692 (__ieee754_j0l): Do not improve calculations using cos of twice
4693 input for inputs above LDBL_MAX / 2.0L.
4694 (__ieee754_y0l): Likewise.
4695 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
4696 (__ieee754_j1l): Do not improve calculations using cos of twice
4697 input for inputs above LDBL_MAX / 2.0L.
4698 (__ieee754_y1l): Likewise.
4699 * math/libm-test.inc (j0_test): Add another test.
4700 (j1_test): Likewise.
4701 (y0_test): Likewise.
4702 (y1_test): Likewise.
4703 * sysdeps/i386/fpu/libm-test-ulps: Update.
4704
3775a8bc
SP
47052013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4706
4707 * Rules ($(objpfx)bench-%.c): Include code from a C source
4708 file.
4709
0a1b2ae6
JM
47102013-03-21 Joseph Myers <joseph@codesourcery.com>
4711
4712 [BZ #15287]
4713 * math/k_casinh.c (__kernel_casinh): Handle arguments with
4714 imaginary part 1.0 and real part less than 0.5 specially.
4715 * math/k_casinhf.c (__kernel_casinhf): Likewise.
4716 * math/k_casinhl.c (__kernel_casinhl): Likewise.
4717 * math/libm-test.inc (cacos_test): Add more tests.
4718 (casin_test): Likewise.
4719 (casinh_test): Likewise.
4720 * sysdeps/i386/fpu/libm-test-ulps: Update.
4721 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4722
b33d4ce4
SP
47232013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
4724
4725 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
4726 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
4727
bef0b507
JM
47282013-03-20 Joseph Myers <joseph@codesourcery.com>
4729
4730 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
4731 * config.make.in (config-cflags-sse4): Remove variable.
4732 (config-cflags-avx): Likewise.
4733 (config-cflags-sse2avx): Likewise.
4734 (config-cflags-novzeroupper): Likewise.
4735 (config-asflags-i686): Likewise.
4736 (have-mfma4): Likewise.
4737 (have-as-vis3): Likewise.
4738 (MIG): Likewise.
4739 * configure.in (MIG): Do not AC_SUBST.
4740 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
4741 (libc_cv_cc_sse4): Do not AC_SUBST.
4742 (libc_cv_cc_avx): Likewise.
4743 (libc_cv_cc_sse2avx): Likewise.
4744 (libc_cv_cc_novzeroupper): Likewise.
4745 (libc_cv_cc_fma4): Likewise.
4746 (libc_cv_as_i686): Likewise.
4747 (libc_cv_sparc_as_vis3): Likewise.
4748 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
4749 LIBC_CONFIG_VAR.
4750 (config-asflags-i686): Likewise.
4751 (config-cflags-avx): Likewise.
4752 (config-cflags-sse2avx): Likewise.
4753 (have-mfma4): Likewise.
4754 (config-cflags-novzeroupper): Likewise.
4755 * sysdeps/mach/configure.in (MIG): Likewise.
4756 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
4757 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
4758 LIBC_CONFIG_VAR.
4759 (config-cflags-avx): Likewise.
4760 (config-cflags-sse2avx): Likewise.
4761 (have-mfma4): Likewise.
4762 (config-cflags-novzeroupper): Likewise.
4763 * configure: Regenerated.
4764 * sysdeps/i386/configure: Likewise.
4765 * sysdeps/mach/configure: Likewise.
4766 * sysdeps/sparc/configure: Likewise.
4767 * sysdeps/x86_64/configure: Likewise.
4768
912cc4b3
RM
47692013-03-20 Roland McGrath <roland@hack.frob.com>
4770
4771 [BZ #14812]
4772 * locale/programs/localedef.c (options): Put N_ translation marker
4773 on argument names, not just descriptions.
4774
04eed2b0
MS
47752013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
4776
4777 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
4778
a065ceff
OB
47792013-03-20 Ondřej Bílka <neleai@seznam.cz>
4780
9bb2a810 4781 [BZ #14176]
a065ceff
OB
4782 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
4783
a600e5ce
RM
47842013-03-19 Roland McGrath <roland@hack.frob.com>
4785
4786 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
4787 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
4788 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
4789 [!BEFORE_ABORT] (before_abort): New function.
4790 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
4791 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
4792 (writev_for_fatal): New function.
4793 (WRITEV_FOR_FATAL): New macro; call that.
4794 (backtrace_and_maps): New function.
4795 (BEFORE_ABORT): New macro; call that.
4796 (struct str_list): Type removed.
4797 (__libc_message, __libc_fatal): Functions removed.
4798 Include <sysdeps/posix/libc_fatal.c> instead.
4799
6b18bea6
JM
48002013-03-19 Joseph Myers <joseph@codesourcery.com>
4801
4802 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
4803 constants.
4804 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
4805 double constants.
4806
aaa8cb4b
AS
48072013-03-19 Andreas Schwab <schwab@suse.de>
4808
44673770
AS
4809 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
4810 * sysdeps/gnu/configure: Regenerate.
4811
aaa8cb4b
AS
4812 * configure.in: Substitute libc_cv_rtlddir.
4813 * configure: Regenerate.
4814 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
4815 * Makeconfig (rtlddir, inst_rtlddir): New variables.
4816 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
4817 * elf/Makefile (install-others, CFLAGS-interp.c)
4818 (ldso_install, common-ldd-rewrite): Likewise.
4819 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
4820 $(inst_slibdir)/$(rtld-installed-name).
4821 * scripts/rellns-sh: Add -p option.
4822 * Makerules (make-shlib-link): Use rellns-sh to get relative name
4823 for source.
4824
d3cfc668
SP
48252013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
4826
4827 * manual/nptl.texi: Renamed to ...
4828 * manual/threads.texi: ... this.
4829 * manual/Makefile (chapters): Update.
4830
0e2b9cdd
RM
48312013-03-18 Roland McGrath <roland@hack.frob.com>
4832
4833 [BZ #14812]
4834 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
4835 on argument names, not just descriptions.
0e2b9cdd
RM
4836 * malloc/memusagestat.c (options): Likewise.
4837 * nss/getent.c (options): Likewise.
63270c24
RM
4838
48392013-03-18 Benno Schulenberg <bensberg@justemail.net>
4840
4841 [BZ #14812]
4842 * iconv/iconv_prog.c (options): Put N_ translation marker
4843 on argument names, not just descriptions.
4844 * iconv/iconvconfig.c (options): Likewise.
0e2b9cdd 4845
b2e1393c
OB
48462013-03-18 Ondrej Bilka <neleai@seznam.cz>
4847
4848 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
4849 implementation which is faster on all x86_64 architectures.
4850 Tested on AMD, Intel Nehalem, SNB, IVB.
4851 * sysdeps/x86_64/strnlen.S: Likewise.
4852
4853 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4854 Remove all multiarch strlen and strnlen versions.
4855 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
4856 Remove strlen and strnlen related parts.
4857
4858 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
4859 Inline strlen part.
4860 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
4861
4862 * sysdeps/x86_64/multiarch/strlen.S: Remove.
4863 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
4864 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
4865 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
4866 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
4867 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
4868
ec4ff04d
CD
48692013-03-17 Carlos O'Donell <carlos@redhat.com>
4870
4871 * manual/memory.texi (Malloc Tunable Parameters):
4872 Sort parameters alphabetically. Add comments for missing entries.
4873
cd18e90a
DM
48742013-03-17 David S. Miller <davem@davemloft.net>
4875
4876 * sysdeps/sparc/fpu/libm-test-ulps: Update.
4877
2a185d32
JM
48782013-03-16 Joseph Myers <joseph@codesourcery.com>
4879
d2f9799e
JM
4880 [BZ #15283]
4881 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
4882 for arguments at most half maximum finite value.
4883 * math/libm-test.inc (j0_test): Add more tests.
4884 (j1_test): Likewise.
4885 (y0_test): Likewise.
4886 (y1_test): Likewise.
4887 * sysdeps/i386/fpu/libm-test-ulps: Update.
4888 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4889
2a185d32
JM
4890 [BZ #14155]
4891 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
4892 1 / x and functions P and Q for arguments above 0x1p256L.
4893 (__ieee754_y0l): Likewise.
4894 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
4895 (__ieee754_y1l): Likewise.
4896 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
4897 (j1_test): Likewise.
4898 (y0_test): Likewise.
4899 (y1_test): Likewise.
4900
6cbec759
TS
49012013-03-16 Thomas Schwinge <thomas@codesourcery.com>
4902
4903 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
4904 variable.
4905
bc16e260
RM
49062013-03-15 Roland McGrath <roland@hack.frob.com>
4907
aefc9b8c
RM
4908 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
4909 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
4910 zero since it's initialized to EXEC_PAGESIZE.
4911
bc16e260
RM
4912 * sysdeps/unix/sysv/linux/ldsodefs.h
4913 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
4914 * sysdeps/generic/ldsodefs.h: ... here.
4915
a57da955
TS
49162013-03-15 Thomas Schwinge <thomas@codesourcery.com>
4917
af00a34d
TS
4918 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
4919
495ded2c
TS
4920 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
4921 math/test-snan.c.
4922 * math/test-snan.c: Renamed from
4923 sysdeps/powerpc/fpu/test-powerpc-snan.c.
4924 * math/Makefile (tests): Add test-snan.
4925 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
4926 test-powerpc-snan.
4927
777b0332
TS
4928 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
4929 SUFFIX. Initialize qNaN_var with __builtin_nan family of
4930 functions.
4931 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
4932 __builtin_nan family of functions.
4933 * math/libm-test.inc (initialize): Initialize qnan_value with
4934 __builtin_nan family of functions.
4935 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
4936 Remove variables.
4937 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
4938 Remove functions.
4939 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
4940 storage class. Initialize qNaN_var and sNaN_var with
4941 __builtin_nan and __builtin_nans families of functions,
4942 respectively.
4943
64d063b8
TS
4944 * math/libm-test.inc (acosh_test): Also test with qNaN input.
4945 (sqrt_test): Remove duplicate test with qNaN input.
4946 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
4947 (round_test, signbit_test, significand_test): Note missing +/-Inf
4948 as well as qNaN tests.
4949
67e971f1
TS
4950 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
4951 qNaN_var. Fix a few strings, too.
4952 * math/libm-test.inc (nan_value): Rename to qnan_value.
4953 * math/gen-libm-test.pl (%beautify): Adjust to that.
4954 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
4955 * math/test-misc.c (main): Likewise.
4956 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
4957 to __qnan_bytes, and __qnan_union, respectively.
4958 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
4959 Likewise.
4960 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
4961 and lqnanval, respectively.
4962 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
4963 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
4964 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
4965 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
4966
64487e12
TS
4967 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
4968 * math/test-misc.c (main) [__x86_64__]: Enable test for long
4969 doubles.
4970
e015e27b
TS
4971 * math/test-misc.c (main): Fix copy'n'pastos.
4972 * misc/tst-efgcvt.c (special): Likewise.
4973
a57da955
TS
4974 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
4975 Remove declarations.
4976
1e380345
SP
49772013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4978
4979 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
4980 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
4981 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
4982 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
4983
ef26eece
AZ
49842013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
4985
4986 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
4987 macro to return vdso values correctly in IFUNC implementations.
4988 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
4989 Optimization by using IFUNC.
4990
8cfdb7e0
SP
49912013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4992 Richard Henderson <rth@redhat.com>
4993 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4994
4995 * Makefile.in (bench): New target.
4996 * NEWS: Mention the benchmark framework.
4997 * Rules (bench): Likewise.
4998 (binaries-bench): Generate binaries for functions to
4999 benchmark.
5000 * benchtests/Makefile: New makefile for benchmark tests.
5001 * benchtests/bench-skeleton.c: New skeleton file for benchmark
5002 programs.
5003 * benchtests/exp-inputs: New input file for EXP function.
5004 * benchtests/pow-inputs: New input file for POW function.
5005 * scripts/bench.pl: New script to generate source files for
5006 benchmark programs.
5007
bcda9880
SP
50082013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
5009
d22ca8cd
SP
5010 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
5011 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
5012 computations on mantissa. Use macros for rounding and
5013 division.
5014 (denorm): Likewise.
5015 (__dbl_mp): Likewise.
5016 (add_magnitudes): Likewise.
5017 (sub_magnitudes): Likewise.
5018 (__mul): Likewise.
5019 (__sqr): Likewise.
5020 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
5021 powers of two in terms of TWOPOW macro.
5022 (mp_no): Make type of mantissa as MANTISSA_T.
5023 [!RADIXI]: Define RADIXI.
5024 [!TWO52]: Define TWO52.
5025 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
5026
bcda9880
SP
5027 * manual/nptl.texi (cindex): Modify threads to pthreads.
5028
06d5adfb
JM
50292013-03-15 Joseph Myers <joseph@codesourcery.com>
5030
5031 * sysdeps/x86_64/preconfigure: Regenerated.
5032
41c7328e
JM
50332013-03-14 Joseph Myers <joseph@codesourcery.com>
5034
5035 [BZ #14155]
5036 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
5037 0x1p28 and above.
5038 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
5039 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
5040 0x1p28 and above.
5041 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
5042 * math/libm-test.inc (j0_test): Do not allow one spurious
5043 underflow exception.
5044 (y1_test): Likewise.
5045
e25cfa60
SP
50462013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
5047
0409959c
SP
5048 * manual/Makefile (chapters): Add nptl.
5049 * manual/debug.texi (Debugging Support): Add link to Threads
5050 chapter.
5051 * manual/nptl.texi: New file.
5052
e25cfa60
SP
5053 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
5054
58a1335e
PB
50552013-03-14 Petr Baudis <pasky@ucw.cz>
5056
5057 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
5058 for non-NULL pointer before the memory validity test. Pointed
5059 out by Holger Brunck <holger.brunck@keymile.com>.
5060
9dc7c64f
AS
50612013-03-13 Andreas Schwab <schwab@suse.de>
5062
5063 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
5064 instead of .os.
5065
54206aa6
JM
50662013-03-13 Joseph Myers <joseph@codesourcery.com>
5067
5068 * timezone/zic.c: Update from tzcode 2013b.
5069
e98cdb38
CD
50702013-03-12 Carlos O'Donell <carlos@redhat.com>
5071
5072 * manual/install.texi (Configuring and compiling):
5073 Mention i686 and i586.
5074 * INSTALL: Regenerate.
5075
9967e003
RM
50762013-03-12 Roland McGrath <roland@hack.frob.com>
5077
5078 * sysdeps/init_array/elf-init.c: New file.
5079 * csu/elf-init.c
5080 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
5081 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
5082
5083 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
5084 __gmon_start__ as global, but as static with a .preinit_array pointer.
5085 * sysdeps/init_array/gmon-start.c: New file. Use that.
5086 * sysdeps/init_array/crti.S: New file, empty except for comments.
5087 * sysdeps/init_array/crtn.S: Likewise.
5088
e6b5a293 50892013-03-11 Ondřej Bílka <neleai@seznam.cz>
80f844c9
OB
5090
5091 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
5092 definining bcopy.
80f844c9
OB
5093 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5094 Remove Prefer_SSE_for_memop.
5095 * sysdeps/x86_64/multiarch/init-arch.h: Remove
5096 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
5097 HAS_PREFER_SSE_FOR_MEMOP.
80f844c9
OB
5098 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
5099 memset-x86-64.
80f844c9 5100 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
e6b5a293 5101 Remove bzero, memset ifunc support.
80f844c9
OB
5102 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
5103 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
5104 * sysdeps/x86_64/multiarch/memset.S: Likewise.
5105 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5106
fb6b0fcb
AS
51072013-03-11 Andreas Schwab <schwab@suse.de>
5108
5109 [BZ #15234]
5110 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
5111 by SHLIB_COMPAT.
5112 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
5113 (GLIBC_2.16): Remove pthread_atfork.
5114
3e6bd4b1
PP
51152013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
5116
5117 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
5118 (ptestcases.h): Likewise.
5119
222d7f00
RM
51202013-03-08 Roland McGrath <roland@hack.frob.com>
5121
5122 * Makeconfig ($(common-objpfx)config.status): Depend on
5123 sysdeps/*/preconfigure{,.in} too.
5124
1ba4f030
JM
51252013-03-08 Joseph Myers <joseph@codesourcery.com>
5126
a222d91a
JM
5127 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
5128 (__free_hook): Use void * instead of __malloc_ptr_t.
5129 (__malloc_hook): Likewise.
5130 (__realloc_hook): Likewise.
5131 (__memalign_hook): Likewise.
5132 (__after_morecore_hook): Likewise.
5133 * malloc/arena.c (save_malloc_hook): Likewise.
5134 (save_free_hook): Likewise.
5135 * malloc/hooks.c (malloc_hook_ini): Likewise.
5136 (realloc_hook_ini): Likewise.
5137 (memalign_hook_ini): Likewise.
5138 * malloc/malloc.c (malloc_hook_ini): Likewise.
5139 (realloc_hook_ini): Likewise.
5140 (memalign_hook_ini): Likewise.
5141 (__free_hook): Likewise.
5142 (__malloc_hook): Likewise.
5143 (__realloc_hook): Likewise.
5144 (__memalign_hook): Likewise.
5145 (__libc_malloc): Likewise.
5146 (__libc_free): Likewise.
5147 (__libc_realloc): Likewise.
5148 (__libc_memalign): Likewise.
5149 (__libc_valloc): Likewise.
5150 (__libc_pvalloc): Likewise.
5151 (__libc_calloc): Likewise.
5152 (__posix_memalign): Likewise.
5153 * malloc/morecore.c (__sbrk): Likewise.
5154 (__default_morecore): Likewise.
5155
5cc45e10
JM
5156 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
5157
dd54b864
JM
5158 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
5159 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
5160 __malloc_ptrdiff_t.
5161
1ba4f030
JM
5162 * malloc/malloc.h (__malloc_size_t): Remove macro.
5163 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
5164 __malloc_size_t.
5165 (old_memalign_hook): Likewise.
5166 (old_realloc_hook): Likewise.
5167 (struct hdr): Likewise.
5168 (flood): Likewise.
5169 (mallochook): Likewise.
5170 (memalignhook): Likewise.
5171 (reallochook): Likewise.
5172 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
5173 (tr_old_realloc_hook): Likewise.
5174 (tr_old_memalign_hook): Likewise.
5175 (tr_mallochook): Likewise.
5176 (tr_reallochook): Likewise.
5177 (tr_memalignhook): Likewise.
5178
edf66e57
AZ
51792013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
5180
5181 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
5182 default_ldbl_pack and using as default implementation.
5183 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
5184 implementation.
5185 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
5186 redundant definition.
5187 (ldbl_insert_mantissa): Likewise.
5188 (ldbl_canonicalize): Likewise.
5189 (ldbl_nearbyint): Likewise.
5190 (ldbl_pack): Rename to ldbl_pack_ppc.
5191 (ldbl_unpack): Rename to ldbl_unpack_ppc.
5192 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
5193 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
5194
6d9145d8
SP
51952013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
5196
5197 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
5198 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
5199 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
5200 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
5201 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
5202 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
5203 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
5204 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
5205
4dd4e157
AJ
52062013-03-07 Andreas Jaeger <aj@suse.de>
5207
5208 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
5209 bits/mman-linux.h.
5210
adbb8027
SP
52112013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
5212
ce544b5b
SP
5213 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
5214 Include mpa.h and declare __MPEXP.
5215 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
5216 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
5217 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
5218 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
5219 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
5220 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
5221 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
5222
4cc149fd
SP
5223 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
5224 (__slowpow): Use long double EXPL and LOGL functions to
5225 compute POW.
5226 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
5227 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
5228 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
5229 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
5230 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
5231 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
5232
e6ebd4a7
SP
5233 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
5234 intermediate variable to calculate exponent.
5235 (__sqr): Likewise.
5236 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
5237 Likewise.
5238 (__sqr): Likewise.
5239
82a9811d
SP
5240 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
5241 [!NO__SQR]: Define __sqr.
5242 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
5243 and NO__SQR. Remove all code except __mul and __sqr. Include
5244 sysdeps/ieee754/dbl-64/mpa.c.
5245 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
5246
adbb8027
SP
5247 [BZ #12723]
5248 * posix/Makefile (tests): Add tst-pathconf.
5249 * posix/tst-pathconf.c: New test case.
5250 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
5251 _PC_PIPE_BUF.
5252 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
5253
39120df9
PF
52542013-03-06 Patsy Franklin <pfrankli@redhat.com>
5255
5256 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
5257
67525cb8
AJ
52582013-03-06 Andreas Jaeger <aj@suse.de>
5259
664a9ce4
AJ
5260 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
5261 definition via __MAP_ANONYMOUS.
5262
8e39047d
AJ
5263 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
5264 it's not part of Linux headers.
5265
67525cb8
AJ
5266 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
5267 (MAP_HUGE_MASK): Define.
5268
5269 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5270 Define.
5271 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5272 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5273 Define.
5274 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5275 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
5276 Define.
5277 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5278 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
5279 Define.
5280 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
5281
5282 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
5283 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
5284 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
5285 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
5286 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
5287 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
5288
5289 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
5290 Handle f2fs.
5291
5292 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
5293 Handle f2fs and efivarfs.
5294
5295 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
5296 f2fs.
5297
5298 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
5299 (EFIVARFS_MAGIC): Add.
5300 (F2FS_LINK_MAX): Add.
5301
e1b42695
PP
53022013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
5303
5304 * stdio-common/vfprintf.c: Replace __builtin_expect with
5305 __glibc_unlikely.
5306
2d67d91a
JM
53072013-03-06 Joseph Myers <joseph@codesourcery.com>
5308
5309 [BZ #13550]
5310 * sysdeps/generic/bp-sym.h: Remove file.
5311 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
5312 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
5313 <bp-sym.h> and <bp-asm.h>.
5314 (__longjmp): Don't use BP_SYM.
5315 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
5316 and <bp-asm.h>.
5317 (memcpy): Don't use BP_SYM.
5318 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
5319 <bp-sym.h> and <bp-asm.h>.
5320 (memcpy): Don't use BP_SYM.
5321 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
5322 <bp-asm.h>.
5323 (memcpy): Don't use BP_SYM.
5324 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
5325 <bp-asm.h>.
5326 (memset): Don't use BP_SYM.
5327 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5328 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5329 (__bzero): Don't use BP_SYM.
5330 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5331 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5332 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
5333 <bp-sym.h> and <bp-asm.h>.
5334 (memcmp): Don't use BP_SYM. Remove comment about bounded
5335 pointers.
5336 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
5337 <bp-sym.h> and <bp-asm.h>.
5338 (memcpy): Don't use BP_SYM.
5339 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
5340 <bp-sym.h> and <bp-asm.h>.
5341 (memset): Don't use BP_SYM.
5342 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5343 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5344 (__bzero): Don't use BP_SYM.
5345 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5346 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5347 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
5348 <bp-sym.h> and <bp-asm.h>.
5349 (strncmp): Don't use BP_SYM. Remove comment about bounded
5350 pointers.
5351 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
5352 <bp-sym.h> and <bp-asm.h>.
5353 (memcpy): Don't use BP_SYM.
5354 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
5355 <bp-sym.h> and <bp-asm.h>.
5356 (memset): Don't use BP_SYM.
5357 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5358 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5359 (__bzero): Don't use BP_SYM.
5360 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5361 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5362 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
5363 <bp-sym.h> and <bp-asm.h>.
5364 (__memchr): Don't use BP_SYM.
5365 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
5366 <bp-sym.h> and <bp-asm.h>.
5367 (memcmp): Don't use BP_SYM. Remove comment about bounded
5368 pointers.
5369 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
5370 <bp-sym.h> and <bp-asm.h>.
5371 (memcpy): Don't use BP_SYM.
5372 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
5373 <bp-sym.h> and <bp-asm.h>.
5374 (__mempcpy): Don't use BP_SYM.
5375 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
5376 <bp-sym.h> and <bp-asm.h>.
5377 (__memrchr): Don't use BP_SYM.
5378 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
5379 <bp-sym.h> and <bp-asm.h>.
5380 (memset): Don't use BP_SYM.
5381 (__bzero): Likewise.
5382 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
5383 <bp-sym.h> and <bp-asm.h>.
5384 (__rawmemchr): Don't use BP_SYM.
5385 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
5386 <bp-sym.h> and <bp-asm.h>.
5387 (__STRCMP): Don't use BP_SYM.
5388 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
5389 <bp-sym.h> and <bp-asm.h>.
5390 (strchr): Don't use BP_SYM.
5391 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
5392 <bp-sym.h> and <bp-asm.h>.
5393 (__strchrnul): Don't use BP_SYM.
5394 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
5395 <bp-sym.h> and <bp-asm.h>.
5396 (strlen): Don't use BP_SYM.
5397 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
5398 <bp-sym.h> and <bp-asm.h>.
5399 (strncmp): Don't use BP_SYM. Remove comment about bounded
5400 pointers.
5401 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
5402 <bp-sym.h> and <bp-asm.h>.
5403 (__strnlen): Don't use BP_SYM.
5404 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
5405 <bp-sym.h> and <bp-asm.h>.
5406 (__GI__setjmp): Don't use BP_SYM.
5407 (_setjmp): Likewise.
5408 (__sigsetjmp): Likewise.
5409 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
5410 (L(start_addresses)): Don't use BP_SYM.
5411 (_start): Likewise.
5412 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
5413 <bp-asm.h>.
5414 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
5415 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
5416 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5417 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5418 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
5419 <bp-asm.h>.
5420 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
5421 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
5422 about bounded pointers.
5423 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5424 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5425 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
5426 <bp-asm.h>.
5427 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
5428 about bounded pointers. Remove GKM FIXME comments.
5429 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5430 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
5431 <bp-asm.h>.
5432 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
5433 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
5434 Remove GKM FIXME comments.
5435 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5436 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5437 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
5438 <bp-asm.h>.
5439 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
5440 about bounded pointers. Remove GKM FIXME comment.
5441 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
5442 and <bp-asm.h>.
5443 (strncmp): Don't use BP_SYM. Remove comment about bounded
5444 pointers.
5445 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
5446 <bp-sym.h> and <bp-asm.h>.
5447 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5448 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
5449 <bp-sym.h> and <bp-asm.h>.
5450 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
5451 comment.
5452
cdcf361f
PP
54532013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
5454
5455 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
5456 call free(NULL).
5457
3c4a2b15
DM
54582013-03-05 David S. Miller <davem@davemloft.net>
5459
5460 * po/es.po: Update from translation team.
5461
cdcf361f 54622013-03-05 Andreas Jaeger <aj@suse.de>
890b58d3
AJ
5463
5464 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
5465 <bits/mman-linux.h>.
5466 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5467 is fine.
5468 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
5469 <bits/mman-linux.h> to end of file.
5470 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5471 is fine.
5472 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
5473 <bits/mman-linux.h> to end of file.
5474 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
5475 is fine.
5476 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
5477 <bits/mman-linux.h> to end of file.
5478
5479 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
5480 (MCL_CURRENT, MCL_FUTURE): Define here.
5481
5f67c04f
AK
54822013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5483
8a4473cc 5484 [BZ #15232]
5f67c04f
AK
5485 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
5486 attribute_hidden.
5487 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
5488
c3e94a95
AK
54892013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
5490
5491 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
5492 fourth parameter needed for rt_sigprocmask syscall.
5493 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
5494 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
5495 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
5496 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
5497 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
5498 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
5499
cfb6382a
JM
55002013-03-04 Joseph Myers <joseph@codesourcery.com>
5501
5502 [BZ #13550]
5503 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
5504 comment about bounded pointers.
5505 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
5506 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
5507
539d8e01
AJ
55082013-03-04 Andreas Jaeger <aj@suse.de>
5509
5510 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
5511 common definitions.
5512
5513 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
5514 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
5515 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
5516 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
5517 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
539d8e01
AJ
5518 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
5519
2e167a70 55202013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
e0b780ad
AZ
5521
5522 [BZ #15055]
5523 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
5524 __ieee754_sqrl instead of __sqrl.
5525
68508633
JM
55262013-03-01 Joseph Myers <joseph@codesourcery.com>
5527
5528 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
5529 * sysdeps/powerpc/fpu_control.h: ... here.
5530 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
5531 * sysdeps/powerpc/bits/fenvinline.h: ... here.
5532 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
5533 * sysdeps/powerpc/bits/mathinline.h: ... here.
5534
7775448e
RM
55352013-03-01 Roland McGrath <roland@hack.frob.com>
5536
5537 * elf/dl-hwcaps.c (_dl_important_hwcaps):
5538 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
5539 to just [NEED_DL_SYSINFO_DSO].
5540 * elf/dl-support.c: Likewise.
5541 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
5542 * elf/rtld.c (dl_main): Likewise.
5543 * elf/setup-vdso.h (setup_vdso): Likewise.
5544 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
5545 * sysdeps/unix/sysv/linux/dl-sysdep.c
5546 (_dl_discover_osversion): Likewise.
5547
4e9b5995
CD
55482013-03-01 Carlos O'Donell <carlos@redhat.com>
5549
5550 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
5551 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5552
e23872c8
SP
55532013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
5554
e5c74c63
SP
5555 * NEWS: Mention libm performance improvements and non-x86 PI
5556 futex support.
5557
e23872c8
SP
5558 * csu/libc-start.c (__pthread_initialize_minimal): Change
5559 function arguments.
5560 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
5561
b5510883
JM
55622013-02-28 Joseph Myers <joseph@codesourcery.com>
5563
5564 [BZ #13550]
5565 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
5566 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
5567 <bp-sym.h> and <bp-asm.h>.
5568 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5569 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
5570 and <bp-asm.h>.
5571 (memcpy): Don't use BP_SYM.
5572 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
5573 <bp-asm.h>.
5574 (__mpn_add_n): Don't use BP_SYM.
5575 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
5576 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
5577 and <bp-asm.h>.
5578 (__mpn_addmul_1): Don't use BP_SYM.
5579 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5580 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
5581 <bp-sym.h>.
5582 (_setjmp): Don't use BP_SYM.
5583 (__novmx_setjmp): Likewise.
5584 (__GI__setjmp): Likewise.
5585 (__vmx_setjmp): Likewise.
5586 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
5587 <bp-sym.h>.
5588 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
5589 (__bzero): Don't use BP_SYM.
5590 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
5591 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
5592 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
5593 <bp-sym.h> and <bp-asm.h>.
5594 (memcpy): Don't use BP_SYM.
5595 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
5596 <bp-sym.h> and <bp-asm.h>.
5597 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5598 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
5599 <bp-sym.h> and <bp-asm.h>.
5600 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
5601 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
5602 <bp-asm.h>.
5603 (__mpn_lshift): Don't use BP_SYM.
5604 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5605 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
5606 <bp-asm.h>.
5607 (memset): Don't use BP_SYM.
5608 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
5609 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
5610 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
5611 <bp-asm.h>.
5612 (__mpn_mul_1): Don't use BP_SYM.
5613 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5614 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
5615 <bp-sym.h> and <bp-asm.h>.
5616 (memcmp): Don't use BP_SYM.
5617 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
5618 <bp-sym.h> and <bp-asm.h>.
5619 (memcpy): Don't use BP_SYM.
5620 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
5621 <bp-sym.h> and <bp-asm.h>.
5622 (memset): Don't use BP_SYM.
5623 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
5624 <bp-sym.h> and <bp-asm.h>.
5625 (strncmp): Don't use BP_SYM.
5626 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
5627 <bp-sym.h> and <bp-asm.h>.
5628 (memcpy): Don't use BP_SYM.
5629 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
5630 <bp-sym.h> and <bp-asm.h>.
5631 (memset): Don't use BP_SYM.
5632 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
5633 <bp-sym.h> and <bp-asm.h>.
5634 (__memchr): Don't use BP_SYM.
5635 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
5636 <bp-sym.h> and <bp-asm.h>.
5637 (memcmp): Don't use BP_SYM.
5638 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
5639 <bp-sym.h> and <bp-asm.h>.
5640 (memcpy): Don't use BP_SYM.
5641 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
5642 <bp-sym.h> and <bp-asm.h>.
5643 (__mempcpy): Don't use BP_SYM.
5644 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
5645 <bp-sym.h> and <bp-asm.h>.
5646 (__memrchr): Don't use BP_SYM.
5647 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
5648 <bp-sym.h> and <bp-asm.h>.
5649 (memset): Don't use BP_SYM.
5650 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
5651 <bp-sym.h> and <bp-asm.h>.
5652 (__rawmemchr): Don't use BP_SYM.
5653 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
5654 <bp-sym.h> and <bp-asm.h>.
5655 (__STRCMP): Don't use BP_SYM.
5656 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
5657 <bp-sym.h> and <bp-asm.h>.
5658 (strchr): Don't use BP_SYM.
5659 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
5660 <bp-sym.h> and <bp-asm.h>.
5661 (__strchrnul): Don't use BP_SYM.
5662 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
5663 <bp-sym.h> and <bp-asm.h>.
5664 (strlen): Don't use BP_SYM.
5665 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
5666 <bp-sym.h> and <bp-asm.h>.
5667 (strncmp): Don't use BP_SYM.
5668 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
5669 <bp-sym.h> and <bp-asm.h>.
5670 (__strnlen): Don't use BP_SYM.
5671 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
5672 <bp-asm.h>.
5673 (__mpn_rshift): Don't use BP_SYM.
5674 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
5675 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
5676 <bp-sym.h> and <bp-asm.h>.
5677 (__sigsetjmp): Don't use BP_SYM.
5678 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
5679 (L(start_addresses)): Don't use BP_SYM.
5680 (_start): Likewise.
5681 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
5682 <bp-asm.h>.
5683 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
5684 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5685 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5686 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
5687 <bp-asm.h>.
5688 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
5689 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
5690 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
5691 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
5692 <bp-asm.h>.
5693 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
5694 comments.
5695 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
5696 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
5697 <bp-asm.h>.
5698 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
5699 FIXME comments.
5700 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
5701 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
5702 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
5703 <bp-asm.h>.
5704 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
5705 comment.
5706 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
5707 and <bp-asm.h>.
5708 (strncmp): Don't use BP_SYM,
5709 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
5710 <bp-asm.h>.
5711 (__mpn_sub_n): Don't use BP_SYM.
5712 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
5713 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
5714 and <bp-asm.h>.
5715 (__mpn_submul_1): Don't use BP_SYM.
5716 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
5717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
5718 <bp-sym.h> and <bp-asm.h>.
5719 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
5720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
5721 <bp-sym.h> and <bp-asm.h>.
5722 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
5723 comment.
5724
8d19fe64
SP
57252013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
5726
5727 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
5728 Use ZK to minimize writes to Z.
5729 (sub_magnitudes): Simplify code a bit.
5730 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
5731 Use ZK to minimize writes to Z.
5732 (sub_magnitudes): Simplify code a bit.
5733
85bd816a
RM
57342013-02-27 Roland McGrath <roland@hack.frob.com>
5735
5736 * csu/gmon-start.c: Add special exception to license text.
5737
b5977bf2
RH
57382013-02-27 Richard Henderson <rth@redhat.com>
5739
5740 * scripts/config.guess: Update from config.git.
5741 * scripts/config.sub: Likewise.
5742
11d6e2f2
SP
57432013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
5744
09c14ed2
SP
5745 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
5746
a688864e
SP
5747 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
5748
6295157a
SP
5749 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
5750
b8de2202
SP
5751 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
5752
11d6e2f2
SP
5753 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
5754
7e80ddb8
RM
57552013-02-26 Roland McGrath <roland@hack.frob.com>
5756
5757 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
5758 [$(build-shared = yes].
7e80ddb8 5759
7da6d9ed
SP
57602013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5761
45f05884
SP
5762 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
5763 (__mul): Reduce iterations for calculating mantissa.
5764
2236d359
SP
5765 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
5766 MPTWO.
5767 (__mpranred): Likewise.
5768
7da6d9ed
SP
5769 [BZ #15160]
5770 * malloc/memusagestat.c (main): Draw graphs for heap and stack
5771 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
5772
b7688c42
PE
57732013-02-26 Paul Eggert <eggert@cs.ucla.edu>
5774
5775 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
5776 Define __attribute__.
5777
53a5c423
SP
57782013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
5779
5780 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
5781 unused.
5782 * posix/regex_internal.h (__attribute): Remove.
5783 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
5784 (re_string_context_at): Likewise.
5785 (bitset_not): Use __attribute__ and mark function as possibly
5786 unused.
5787 (bitset_merge): Likewise.
5788 (bitset_mask): Likewise.
5789 (re_string_char_size_at): Likewise.
5790 (re_string_wchar_at): Likewise.
5791 (re_string_elem_size_at): Likewise.
5792
60f5a8b5
SP
57932013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
5794
2a983a2e
SP
5795 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
5796 code.
5797 (cc32): Likewise.
5798
e69804d1
SP
5799 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
5800 (__acr): Likewise.
5801 (__cpy): Likewise.
5802 (norm): Likewise.
5803 (denorm): Likewise.
5804 (__dbl_mp): Likewise.
5805 (add_magnitudes): Likewise.
5806 (sub_magnitudes): Likewise.
5807 (__mul): Likewise.
5808 (__inv): Likewise.
5809
2f22a1e8
SP
5810 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
5811 style.
5812
8930ddc7
SP
5813 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
5814 style.
5815
dc60cb11
SP
5816 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
5817 code.
5818
60f5a8b5
SP
5819 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
5820 up changes with default code.
5821 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
5822 Likewise.
5823
b4d1fd33
AM
58242013-02-24 Allan McRae <allan@archlinux.org>
5825
faf6f8bc
AM
5826 * manual/socket.texi (The Internet Namespace): Order menu items
5827 to match that in the file.
5828
b4d1fd33
AM
5829 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
5830 node listing of the info page menu.
5831
2366713d
JM
58322013-02-21 Joseph Myers <joseph@codesourcery.com>
5833
5834 [BZ #13550]
5835 * sysdeps/i386/bp-asm.h: Remove file.
5836 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
5837 (PARMS): Do not use macros from bp-asm.h.
5838 (S1): Likewise.
5839 (S2): Likewise.
5840 (SIZE): Likewise.
5841 (__mpn_add_n): Do not use BP_SYM
5842 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
5843 "bp-asm.h".
5844 (PARMS): Do not use macros from bp-asm.h.
5845 (S1): Likewise.
5846 (SIZE): Likewise.
5847 (__mpn_addmul_1): Do not use BP_SYM
5848 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
5849 "bp-asm.h".
5850 (PARMS): Do not use macros from bp-asm.h.
5851 (SIGMSK): Likewise.
5852 (_setjmp): Likewise. Do not use BP_SYM.
5853 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
5854 "bp-asm.h".
5855 (PARMS): Do not use macros from bp-asm.h.
5856 (SIGMSK): Likewise.
5857 (setjmp): Likewise. Do not use BP_SYM.
5858 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
5859 "bp-asm.h".
5860 (PARMS): Do not use macros from bp-asm.h.
5861 (__frexp): Do not use BP_SYM.
5862 (frexp): Likewise.
5863 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
5864 "bp-asm.h".
5865 (PARMS): Do not use macros from bp-asm.h.
5866 (__frexpf): Do not use BP_SYM.
5867 (frexpf): Likewise.
5868 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
5869 "bp-asm.h".
5870 (PARMS): Do not use macros from bp-asm.h.
5871 (__frexpl): Do not use BP_SYM.
5872 (frexpl): Likewise.
5873 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
5874 "bp-asm.h".
5875 (PARMS): Do not use macros from bp-asm.h.
5876 (__remquo): Do not use BP_SYM.
5877 (remquo): Likewise.
5878 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
5879 "bp-asm.h".
5880 (PARMS): Do not use macros from bp-asm.h.
5881 (__remquof): Do not use BP_SYM.
5882 (remquof): Likewise.
5883 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
5884 "bp-asm.h".
5885 (PARMS): Do not use macros from bp-asm.h.
5886 (__remquol): Do not use BP_SYM.
5887 (remquol): Likewise.
5888 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
5889 "bp-asm.h".
5890 (PARMS): Do not use macros from bp-asm.h.
5891 (DEST): Likewise.
5892 (SRC): Likewise.
5893 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
5894 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
5895 "bp-asm.h".
5896 (PARMS): Do not use macros from bp-asm.h.
5897 (strlen): Do not use BP_SYM.
5898 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
5899 "bp-asm.h".
5900 (PARMS): Do not use macros from bp-asm.h.
5901 (S1): Likewise.
5902 (S2): Likewise.
5903 (SIZE): Likewise.
5904 (__mpn_add_n): Do not use BP_SYM.
5905 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
5906 "bp-asm.h".
5907 (PARMS): Do not use macros from bp-asm.h.
5908 (S1): Likewise.
5909 (SIZE): Likewise.
5910 (__mpn_addmul_1): Do not use BP_SYM.
5911 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
5912 weak_alias.
5913 (bzero): Likewise.
5914 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
5915 "bp-asm.h".
5916 (PARMS): Do not use macros from bp-asm.h.
5917 (S): Likewise.
5918 (SIZE): Likewise.
5919 (__mpn_lshift): Do not use BP_SYM.
5920 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
5921 "bp-asm.h".
5922 (PARMS): Do not use macros from bp-asm.h.
5923 (DEST): Likewise.
5924 (SRC): Likewise.
5925 (LEN): Likewise.
5926 (memcpy): Likewise. Do not use BP_SYM.
5927 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
5928 libc_hidden_def and weak_alias.
5929 (mempcpy): Do not use BP_SYM in weak_alias.
5930 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
5931 "bp-asm.h".
5932 (PARMS): Do not use macros from bp-asm.h.
5933 (DEST): Likewise.
5934 (LEN): Likewise.
5935 [!BZERO_P] (CHR): Likewise.
5936 (memset): Likewise. Do not use BP_SYM.
5937 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
5938 "bp-asm.h".
5939 (PARMS): Do not use macros from bp-asm.h.
5940 (S1): Likewise.
5941 (SIZE): Likewise.
5942 (__mpn_mul_1): Do not use BP_SYM.
5943 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
5944 "bp-asm.h".
5945 (PARMS): Do not use macros from bp-asm.h.
5946 (S): Likewise.
5947 (SIZE): Likewise.
5948 (__mpn_rshift): Do not use BP_SYM.
5949 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
5950 "bp-asm.h".
5951 (PARMS): Do not use macros from bp-asm.h.
5952 (STR): Likewise.
5953 (CHR): Likewise.
5954 (strchr): Likewise. Do not use BP_SYM.
5955 (index): Do not use BP_SYM in weak_alias.
5956 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
5957 "bp-asm.h".
5958 (PARMS): Do not use macros from bp-asm.h.
5959 (DEST): Likewise.
5960 (SRC): Likewise.
5961 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
5962 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
5963 "bp-asm.h".
5964 (PARMS): Do not use macros from bp-asm.h.
5965 (strlen): Do not use BP_SYM.
5966 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
5967 "bp-asm.h".
5968 (PARMS): Do not use macros from bp-asm.h.
5969 (S1): Likewise.
5970 (S2): Likewise.
5971 (SIZE): Likewise.
5972 (__mpn_sub_n): Do not use BP_SYM.
5973 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
5974 "bp-asm.h".
5975 (PARMS): Do not use macros from bp-asm.h.
5976 (S1): Likewise.
5977 (SIZE): Likewise.
5978 (__mpn_submul_1): Do not use BP_SYM.
5979 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
5980 "bp-asm.h".
5981 (PARMS): Do not use macros from bp-asm.h.
5982 (S1): Likewise.
5983 (S2): Likewise.
5984 (SIZE): Likewise.
5985 (__mpn_add_n): Do not use BP_SYM.
5986 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
5987 weak_alias.
5988 (bzero): Likewise.
5989 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
5990 "bp-asm.h".
5991 (PARMS): Do not use macros from bp-asm.h.
5992 (BLK2): Likewise.
5993 (LEN): Likewise.
5994 (memcmp): Do not use BP_SYM.
5995 (bcmp): Do not use BP_SYM in weak_alias.
5996 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
5997 "bp-asm.h".
5998 (PARMS): Do not use macros from bp-asm.h.
5999 (DEST): Likewise.
6000 (SRC): Likewise.
6001 (LEN): Likewise.
6002 (memcpy): Likewise. Do not use BP_SYM.
6003 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
6004 "bp-asm.h".
6005 (PARMS): Do not use macros from bp-asm.h.
6006 (DEST): Likewise.
6007 (SRC): Likewise.
6008 (LEN): Likewise.
6009 (memmove): Likewise. Do not use BP_SYM.
6010 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
6011 "bp-asm.h".
6012 (PARMS): Do not use macros from bp-asm.h.
6013 (DEST): Likewise.
6014 (SRC): Likewise.
6015 (LEN): Likewise.
6016 (__mempcpy): Likewise. Do not use BP_SYM.
6017 (mempcpy): Do not use BP_SYM in weak_alias.
6018 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
6019 "bp-asm.h".
6020 (PARMS): Do not use macros from bp-asm.h.
6021 (DEST): Likewise.
6022 (LEN): Likewise.
6023 [!BZERO_P] (CHR): Likewise.
6024 (memset): Likewise. Do not use BP_SYM.
6025 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
6026 "bp-asm.h".
6027 (PARMS): Do not use macros from bp-asm.h.
6028 (STR2): Likewise.
6029 (strcmp): Do not use BP_SYM.
6030 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
6031 "bp-asm.h".
6032 (PARMS): Do not use macros from bp-asm.h.
6033 (STR): Likewise.
6034 (DELIM): Likewise.
6035 [USE_AS_STRTOK_R] (SAVE): Likewise.
6036 (FUNCTION): Likewise. Do not use BP_SYM.
6037 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
6038 aliases.
6039 (strtok_r): Likewise.
6040 (__GI___strtok_r): Likewise.
6041 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6042 (PARMS): Do not use macros from bp-asm.h.
6043 (S): Likewise.
6044 (SIZE): Likewise.
6045 (__mpn_lshift): Do not use BP_SYM.
6046 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6047 (PARMS): Do not use macros from bp-asm.h.
6048 (STR): Likewise.
6049 (CHR): Likewise.
6050 (__memchr): Do not use BP_SYM.
6051 (memchr): Do not use BP_SYM in weak_alias.
6052 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6053 (PARMS): Do not use macros from bp-asm.h.
6054 (BLK2): Likewise.
6055 (LEN): Likewise.
6056 (memcmp): Do not use BP_SYM.
6057 (bcmp): Do not use BP_SYM in weak_alias.
6058 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
6059 (PARMS): Do not use macros from bp-asm.h.
6060 (S1): Likewise.
6061 (SIZE): Likewise.
6062 (__mpn_mul_1): Do not use BP_SYM.
6063 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
6064 "bp-asm.h".
6065 (PARMS): Do not use macros from bp-asm.h.
6066 (STR): Likewise.
6067 (CHR): Likewise.
6068 (__rawmemchr): Do not use BP_SYM.
6069 (rawmemchr): Do not use BP_SYM in weak_alias.
6070 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
6071 (PARMS): Do not use macros from bp-asm.h.
6072 (S): Likewise.
6073 (SIZE): Likewise.
6074 (__mpn_rshift): Do not use BP_SYM.
6075 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
6076 (PARMS): Do not use macros from bp-asm.h.
6077 (SIGMSK): Likewise.
6078 (__sigsetjmp): Likewise. Do not use BP_SYM.
6079 * sysdeps/i386/start.S: Do not include "bp-sym.h".
6080 (_start): Do not use BP_SYM.
6081 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
6082 (PARMS): Do not use macros from bp-asm.h.
6083 (DEST): Likewise.
6084 (SRC): Likewise.
6085 (__stpcpy): Likewise. Do not use BP_SYM.
6086 (stpcpy): Do not use BP_SYM in weak_alias.
6087 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
6088 "bp-asm.h".
6089 (PARMS): Do not use macros from bp-asm.h.
6090 (DEST): Likewise.
6091 (SRC): Likewise.
6092 (LEN): Likewise.
6093 (__stpncpy): Likewise. Do not use BP_SYM.
6094 (stpncpy): Do not use BP_SYM in weak_alias.
6095 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
6096 (PARMS): Do not use macros from bp-asm.h.
6097 (STR): Likewise.
6098 (CHR): Likewise.
6099 (strchr): Likewise. Do not use BP_SYM.
6100 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
6101 "bp-asm.h".
6102 (PARMS): Do not use macros from bp-asm.h.
6103 (STR): Likewise.
6104 (CHR): Likewise.
6105 (__strchrnul): Likewise. Do not use BP_SYM.
6106 (strchrnul): Do not use BP_SYM in weak_alias.
6107 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
6108 "bp-asm.h".
6109 (PARMS): Do not use macros from bp-asm.h.
6110 (STOP): Likewise.
6111 (strcspn): Do not use BP_SYM.
6112 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
6113 "bp-asm.h".
6114 (PARMS): Do not use macros from bp-asm.h.
6115 (STR): Likewise.
6116 (STOP): Likewise.
6117 (strpbrk): Likewise. Do not use BP_SYM.
6118 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
6119 "bp-asm.h".
6120 (PARMS): Do not use macros from bp-asm.h.
6121 (STR): Likewise.
6122 (CHR): Likewise.
6123 (strrchr): Likewise. Do not use BP_SYM.
6124 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
6125 (PARMS): Do not use macros from bp-asm.h.
6126 (SKIP): Likewise.
6127 (strspn): Do not use BP_SYM.
6128 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
6129 (PARMS): Do not use macros from bp-asm.h.
6130 (STR): Likewise.
6131 (DELIM): Likewise.
6132 (SAVE): Likewise.
6133 (FUNCTION): Likewise. Do not use BP_SYM.
6134 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
6135 aliases.
6136 (strtok_r): Likewise.
6137 (__GI___strtok_r): Likewise.
6138 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
6139 (PARMS): Do not use macros from bp-asm.h.
6140 (S1): Likewise.
6141 (S2): Likewise.
6142 (SIZE): Likewise.
6143 (__mpn_sub_n): Do not use BP_SYM.
6144 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
6145 "bp-asm.h".
6146 (PARMS): Do not use macros from bp-asm.h.
6147 (S1): Likewise.
6148 (SIZE): Likewise.
6149 (__mpn_submul_1): Do not use BP_SYM.
6150 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
6151 <bp-sym.h>.
6152 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
6153 and <bp-asm.h>.
6154 (PARMS): Do not use macros from bp-asm.h.
6155 (FLAGS): Likewise.
6156 (PTID): Likewise.
6157 (TLS): Likewise.
6158 (CTID): Likewise.
6159 (__clone): Do not use BP_SYM.
6160 (clone): Do not use BP_SYM in weak_alias.
6161 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
6162 and <bp-asm.h>.
6163 (PARMS): Do not use macros from bp-asm.h.
6164 (LEN): Likewise.
6165 (__mmap64): Do not use BP_SYM.
6166 (mmap64): Do not use BP_SYM in weak_alias.
6167 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
6168 <bp-sym.h> and <bp-asm.h>.
6169 (PARMS): Do not use macros from bp-asm.h.
6170 (__posix_fadvise64_l64): Do not use BP_SYM.
6171 * sysdeps/unix/sysv/linux/i386/semtimedop.S
6172 (PARMS): Do not use macros from bp-asm.h.
6173 (NSOPS): Likewise.
6174 (semtimedop): Do not use BP_SYM.
6175 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
6176 and <bp-asm.h>.
6177
582a3cff
AM
61782013-02-21 Allan McRae <allan@archlinux.org>
6179
6180 * manual/message.texi (Charset conversion in gettext):
6181 Move @end statement to beginning of line.
6182
bab8a695
SP
61832013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6184
80945231
SP
6185 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
6186 static.
6187 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
6188 Likewise.
6189
bab8a695
SP
6190 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
6191 (denorm): Likewise.
6192 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
6193 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
6194
e21d7aa7
AK
61952013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6196
6197 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
6198 tail-call to the resolved function if pltexit isn't needed.
6199
4c7a4263
SP
62002013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
6201
6202 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
6203 or Y being zero as being unlikely.
6204 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
6205 Likewise.
6206
41f49342
CD
62072013-02-20 Carlos O'Donell <carlos@redhat.com>
6208
6209 * manual/nss.texi (System Databases and Name Service Switch):
6210 Remove frobnicate @pxref.
6211
50022a93
TS
62122013-02-20 Thomas Schwinge <thomas@codesourcery.com>
6213
6214 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
6215 __attribute__ ((unused)) to __attribute__ ((__unused__)).
6216
08cbd996
PM
62172013-02-20 Petr Machata <pmachata@redhat.com>
6218
6219 * elf/elf.h (R_ARM_TARGET1): New macro.
6220 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
6221 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
6222 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
6223 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
6224 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
6225 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
6226 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
6227 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
6228 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
6229 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
6230 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
6231 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
6232 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
6233 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
6234 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
6235 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
6236 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
6237 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
6238 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
6239 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
6240 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
6241 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
6242 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
6243 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
6244 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
6245 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
6246 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
6247 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
6248 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
6249 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
6250 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
6251 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
6252 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
6253 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
6254 (R_ARM_THM_GOT_BREL12): Likewise.
6255 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
6256 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
6257 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
6258 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
6259 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
6260 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
6261 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
6262 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
6263 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
6264
c7b275d6
TS
62652013-02-20 Thomas Schwinge <thomas@codesourcery.com>
6266
6267 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
6268 __attribute_used__ to __attribute__ ((unused)).
6269
20cd7fb3
SP
62702013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
6271
6272 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
6273 powerpc mpa.c.
6274 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
6275 comment formatting.
6276 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
6277
92945b52
JM
62782013-02-19 Joseph Myers <joseph@codesourcery.com>
6279
6280 [BZ #13550]
6281 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
6282 Remove macro.
6283 (ENTER): Remove both macro definitions.
6284 (LEAVE): Likewise.
6285 (CHECK_BOUNDS_LOW): Likewise.
6286 (CHECK_BOUNDS_HIGH): Likewise.
6287 (CHECK_BOUNDS_BOTH): Likewise.
6288 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
6289 (RETURN_BOUNDED_POINTER): Likewise.
6290 (RETURN_NULL_BOUNDED_POINTER): Likewise.
6291 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
6292 (POP_ERRNO_LOCATION_RETURN): Likewise.
6293 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
6294 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6295 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
6296 macros.
6297 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6298 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
6299 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
6300 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
6301 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
6302 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
6303 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
6304 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
6305 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
6306 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
6307 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
6308 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
6309 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6310 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
6311 removed macros.
6312 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6313 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
6314 macros.
6315 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6316 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
6317 * sysdeps/i386/i586/memset.S (memset): Likewise.
6318 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
6319 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6320 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
6321 macros.
6322 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6323 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
6324 Change uses of L(2) to L(out).
6325 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
6326 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
6327 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
6328 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6329 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
6330 removed macros.
6331 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6332 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
6333 macros.
6334 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6335 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
6336 (RETURN): Do not use macro LEAVE.
6337 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
6338 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
6339 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
6340 * sysdeps/i386/i686/memset.S (memset): Likewise.
6341 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
6342 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
6343 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
6344 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
6345 Likewise.
6346 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6347 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
6348 L(1_2) and L(1_3) into L(1).
6349 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6350 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
6351 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6352 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
6353 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
6354 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
6355 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
6356 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6357 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
6358 macros.
6359 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
6360 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
6361 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
6362 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
6363 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
6364 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
6365 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
6366 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
6367 * sysdeps/i386/strcspn.S (strcspn): Likewise.
6368 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
6369 * sysdeps/i386/strrchr.S (strrchr): Likewise.
6370 * sysdeps/i386/strspn.S (strspn): Likewise.
6371 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
6372 conditional code.
6373 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
6374 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
6375 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
6376 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
6377 L(1_3) into L(1_1).
6378 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
6379 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
6380 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
6381 macros.
6382 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
6383
2389741a
JJ
63842013-02-19 Jakub Jelinek <jakub@redhat.com>
6385
6386 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
6387 macro.
6388
2016b3cd
SP
63892013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
6390
e4f22324
SP
6391 * math/atest-exp.c (exp_mpn): Remove ROUND.
6392 * math/atest-exp2.c (exp_mpn): Likewise.
6393 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
6394
2016b3cd
SP
6395 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
6396 * stdlib/tst-tls-atexit-lib.c: Likewise.
6397 * stdlib/tst-tls-atexit.c: Likewise.
6398
4be9b544
MF
63992013-02-18 Mike Frysinger <vapier@gentoo.org>
6400
6401 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
6402 and __attribute_alloc_size__.
6403
2f62b9ee
MF
64042013-02-18 Mike Frysinger <vapier@gentoo.org>
6405
6406 * include/programs/xmalloc.h: Change __attribute_alloc_size to
6407 __attribute_alloc_size__.
6408 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
6409 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
6410
6ff444c4
MF
64112013-02-18 Mike Frysinger <vapier@gentoo.org>
6412
6413 * include/programs/xmalloc.h: New file.
6414 * catgets/gencat.c: Include it.
6415 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
6416 * elf/pldd.c: Likewise.
6417 * iconv/iconv_charmap.c: Likewise.
6418 * iconv/iconvconfig.c: Likewise.
6419 * iconv/strtab.c: Likewise.
6420 * locale/programs/locale.c: Likewise.
6421 * locale/programs/localedef.h: Likewise.
6422 * locale/programs/simple-hash.c: Likewise.
6423 * nscd/nscd.h: Likewise.
6424 * nss/makedb.c: Likewise.
6425 * sysdeps/generic/ldconfig.h: Likewise.
6426
be179c8a
SP
64272013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
6428
ba384f6e
SP
6429 * Versions.def: Add GLIBC_2.18.
6430 * include/link.h (struct link_map): New member l_tls_dtor_count.
6431 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
6432 (__call_tls_dtors): Likewise.
6433 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
6434 __cxa_thread_atexit_impl.
6435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
6436 Likewise.
6437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
6438 Likewise.
6439 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6440 Likewise.
6441 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6442 Likewise.
6443 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
6444 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
6445 Likewise.
6446 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
6447 Likewise.
6448 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
6449 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
6450 Likewise.
6451 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
6452 (tests): Add test case tst-tls-atexit.
6453 (modules-names): Add shared library for tst-tls-atexit.
6454 * stdlib/Versions (GLIBC_2.17): Add __cxa_thread_atexit_impl.
6455 (GLIBC_PRIVATE): Add __call_tls_dtors.
6456 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
6457 for libstdc++.
6458 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
6459 * stdlib/tst-tls-atexit.c: New test case.
6460 * stdlib/tst-tls-atexit-lib.c: New test case.
6461
ffaa74cf 6462 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
ffaa74cf 6463
be179c8a
SP
6464 * elf/Versions (ld): Add _dl_find_dso_for_object.
6465 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
6466 * elf/dl-open.c (_dl_find_dso_for_object): New function.
6467 (dl_open_worker): Use _dl_find_dso_for_object.
6468 * elf/dl-sym.c (do_sym): Likewise.
6469 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
6470
f78b5caa
AK
64712013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
6472
6473 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
6474 Syntactic changes only.
6475 (_dl_runtime_profile): Do a tail-call to the resolved function.
6476
29691210
JM
64772013-02-17 Joseph Myers <joseph@codesourcery.com>
6478
6479 [BZ #13550]
6480 * sysdeps/x86_64/bp-asm.h: Remove file.
6481 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
6482 <bp-sym.h> and <bp-asm.h>.
6483 (__clone): Do not use BP_SYM.
6484 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
6485 <bp-sym.h> and <bp-asm.h>.
6486 * sysdeps/unix/x86_64/sysdep.S: Likewise.
6487 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
6488 "bp-asm.h".
6489 (_setjmp): Do not use BP_SYM.
6490 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
6491 "bp-asm.h".
6492 (setjmp): Do not use BP_SYM.
6493 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
6494 libc_hidden_def.
6495 (mempcpy): Do not use BP_SYM in weak_alias.
6496 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
6497 "bp-asm.h".
6498 (strchr): Do not use BP_SYM.
6499 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
6500 "bp-asm.h".
6501 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
6502 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
6503 (_start): Do not use BP_SYM.
6504 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
6505 "bp-asm.h".
6506 (strcat): Do not use BP_SYM.
6507 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
6508 "bp-asm.h".
6509 (STRCMP): Do not use BP_SYM.
6510 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
6511 "bp-asm.h".
6512 (STRCPY): Do not use BP_SYM.
6513 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
6514 "bp-asm.h".
6515 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
6516 "bp-asm.h".
6517 (FUNCTION): Do not use BP_SYM.
6518 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
6519 weak_alias.
6520 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
6521
f238fd19
AJ
65222013-02-17 Andreas Jaeger <aj@suse.de>
6523
6524 * time/Versions: Sort entries.
6525 * string/Versions: Likewise.
6526 * resolv/Versions: Likewise.
6527 * posix/Versions: Likewise.
6528 * iconv/Versions: Likewise.
6529 * elf/Versions: Likewise.
6530 * wcsmbs/Versions: Likewise.
6531
bd07f23c 65322013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
4709fe76 6533
22af19f9
SP
6534 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
6535 loop termination condition.
6536
4709fe76
SP
6537 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
6538 variable to calculate EZ.
6539 (__sqr): Likewise.
2d0e0f29
SP
6540
6541 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
6542 the lower precision input.
6543
daaa7713
JM
65442013-02-15 Joseph Myers <joseph@codesourcery.com>
6545
6546 [BZ #13550]
6547 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
6548 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
6549 (run-via-rtld-prefix): Do not handle %-bp tests.
6550 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
6551 (all-object-suffixes): Remove .ob.
6552 (bppfx): Remove variable.
6553 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
6554 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
6555 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
6556 [$(build-bounded) = yes] (libtype.ob): Likewise.
6557 * Makerules (elide-routines.ob): Remove variable.
6558 (do-tests-clean): Do not handle *-bp.out.
6559 (common-mostlyclean): Do not handle *-bp and *-bp.out.
6560 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
6561 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
6562 (tests): Do not include $(tests-bp.out).
6563 (xtests): Do not include $(xtests-bp.out).
6564 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
6565 [$(build-bounded) = yes] ($(addprefix
6566 $(objpfx),$(binaries-bounded))): Remove rule.
6567 ($(objpfx)%-bp.out): Remove rule.
6568 * config.make.in (build-bounded): Remove variable.
6569 * crypt/Makefile [$(build-bounded) = yes]
6570 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
6571 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
6572 append to variable.
6573 [$(build-bounded) = yes] (install-lib): Likewise.
6574 [$(build-bounded) = yes] (generated): Likewise.
6575 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
6576 Remove rule.
6577 * intl/Makefile [$(build-bounded) = yes]
6578 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
6579 * math/Makefile [$(build-bounded) = yes]
6580 ($(tests:%=$(objpfx)%-bp): Likewise.
6581 * misc/Makefile [$(build-bounded) = yes]
6582 ($(objpfx)tst-tsearch-bp): Likewise.
6583 * nptl/Makeconfig (bounded-thread-library): Remove variable.
6584 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
6585 Remove dependency.
6586 * string/Makefile (o-objects.ob): Remove variable.
6587 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
6588 (CFLAGS-.ob): Remove variable.
6589 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
6590 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
6591 both definitions of variable.
6592 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
6593 (ASFLAGS-.ob): Remove variable.
6594
e97ed6dd
JM
65952013-02-14 Joseph Myers <joseph@codesourcery.com>
6596
2bdd4ca6
JM
6597 [BZ #13550]
6598 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
6599 Remove __BOUNDED_POINTERS__ from condition.
6600 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
6601 * string/bits/string2.h [!__NO_STRING_INLINES &&
6602 !__BOUNDED_POINTERS__]: Likewise.
6603 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
6604 Likewise.
6605 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
6606 Remove conditional code.
6607 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
6608 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
6609 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
6610 condition.
6611
e97ed6dd
JM
6612 [BZ #13550]
6613 * csu/libc-start.c: Do not include <bp-sym.h>.
6614 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
6615 * elf/dl-open.c: Do not include <bp-sym.h>.
6616 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
6617 * math/fegetenv.c: Do not include <bp-sym.h>.
6618 (fegetenv): Do not use BP_SYM in versioned symbols.
6619 * nptl/sysdeps/pthread/bits/libc-lockP.h
6620 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
6621 <bp-sym.h>.
6622 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6623 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
6624 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6625 (__pthread_mutex_destroy): Likewise.
6626 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6627 (__pthread_mutex_lock): Likewise.
6628 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6629 (__pthread_mutex_trylock): Likewise.
6630 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6631 (__pthread_mutex_unlock): Likewise.
6632 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6633 (__pthread_mutexattr_init): Likewise.
6634 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6635 (__pthread_mutexattr_destroy): Likewise.
6636 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6637 (__pthread_mutexattr_settype): Likewise.
6638 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6639 (__pthread_rwlock_init): Likewise.
6640 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6641 (__pthread_rwlock_destroy): Likewise.
6642 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6643 (__pthread_rwlock_rdlock): Likewise.
6644 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6645 (__pthread_rwlock_tryrdlock): Likewise.
6646 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6647 (__pthread_rwlock_wrlock): Likewise.
6648 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6649 (__pthread_rwlock_trywrlock): Likewise.
6650 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6651 (__pthread_rwlock_unlock): Likewise.
6652 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6653 (__pthread_key_create): Likewise.
6654 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6655 (__pthread_setspecific): Likewise.
6656 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6657 (__pthread_getspecific): Likewise.
6658 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
6659 Likewise.
6660 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6661 (_pthread_cleanup_push_defer): Likewise.
6662 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6663 (_pthread_cleanup_pop_restore): Likewise.
6664 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
6665 (pthread_setcancelstate): Likewise.
6666 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
6667 <bp-sym.h>.
6668 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
6669 (memchr): Do not use BP_SYM in weak_alias.
6670 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
6671 (fegetenv): Do not use BP_SYM in versioned symbols.
6672 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
6673 (fesetenv): Do not use BP_SYM in versioned symbols.
6674 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6675 (feupdateenv): Do not use BP_SYM in versioned symbols.
6676 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6677 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6678 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
6679 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
6680 (open64): Do not use BP_SYM in weak_alias.
6681 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
6682 (fegetenv): Do not use BP_SYM in versioned symbols.
6683 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
6684 (fesetenv): Do not use BP_SYM in versioned symbols.
6685 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
6686 (feupdateenv): Do not use BP_SYM in versioned symbols.
6687 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
6688 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
6689 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
6690 (feraiseexcept): Do not use BP_SYM in versioned symbols.
6691 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
6692 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
6693 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
6694 <bp-sym.h>.
6695 (__libc_start_main): Do not use BP_SYM.
6696
d6752ccd
SP
66972013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
6698
cb57ce60
SP
6699 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
6700 redundant return line.
6701 (norm): Likewise.
6702 (denorm): Likewise.
6703 (dbl_mp): Likewise.
6704 (sub_magnitudes): Likewise.
6705 (__add): Likewise.
6706 (__sub): Likewise.
6707 (__mul): Likewise.
6708 (__inv): Likewise.
6709 (__dvd): Likewise.
6710 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
6711 (norm): Likewise.
6712 (denorm): Likewise.
6713 (dbl_mp): Likewise.
6714 (sub_magnitudes): Likewise.
6715 (__add): Likewise.
6716 (__sub): Likewise.
6717 (__mul): Likewise.
6718 (__inv): Likewise.
6719 (__dvd): Likewise.
6720
f414520d
SP
6721 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
6722 instead of __mul.
6723 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
6724 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
6725 (cc32): Likewise.
6726
d6752ccd
SP
6727 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
6728 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
6729 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
6730 of __mul for squares.
6731 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
6732 function
6733 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
6734 Likewise.
6735 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
6736 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
6737
70d9946a
JM
67382013-02-13 Joseph Myers <joseph@codesourcery.com>
6739
6740 [BZ #13550]
6741 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
6742 code.
6743 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
6744 prototype or function definition. Rename ubp_* variables and
6745 parameters. Remove argv definitions conditional on
6746 [__BOUNDED_POINTERS__].
6747 * debug/backtrace.c (__backtrace): Do not use __unbounded.
6748 * elf/dl-runtime.c (_dl_fixup): Likewise.
6749 * include/set-hooks.h (RUN_HOOK): Likewise.
6750 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
6751 definition.
6752 * string/strcpy.c (strcpy): Do not use __unbounded.
6753 * sysdeps/generic/frame.h (struct layout): Likewise.
6754 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
6755 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
6756 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
6757 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
6758 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
6759 (__backtrace): Likewise.
6760 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
6761 use __ptrvalue.
6762 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
6763 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6764 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
6765 Likewise.
6766 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
6767 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
6768 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6769 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
6770 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
6771 Do not use __unbounded.
6772 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
6773 Rename __unboundedrlimits parameter to rlimits in prototype.
6774 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
6775 Do not use __unbounded.
6776 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
6777 not use __ptrvalue.
6778 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
6779 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
6780 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
6781 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
6782 __ptrvalue or __unbounded.
6783 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
6784 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
6785 use __unbounded.
6786 (__new_msgctl): Do not use __ptrvalue.
6787 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
6788 __unbounded.
6789 (__libc_msgrcv): Do not use __ptrvalue.
6790 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
6791 startup_info): Do not use __unbounded.
6792 (__libc_start_main): Likewise. Rename ubp_* variables and
6793 parameters. Remove argv definitions conditional on
6794 [__BOUNDED_POINTERS__].
6795 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
6796 __ptrvalue.
6797 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
6798 use __unbounded.
6799 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
6800 or __ptrvalue.
6801 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
6802 use __unbounded.
6803 (__new_shmctl): Do not use __ptrvalue.
6804 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
6805 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
6806 Likewise.
6807 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
6808 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
6809 (__libc_sigaction): Likewise.
6810 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
6811 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
6812 Likewise.
6813 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
6814
cc7834d6
OB
68152013-02-13 Ondřej Bílka <neleai@seznam.cz>
6816
ffb1ec7b 6817 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
170704c9
OB
6818
6819 * string/mempcpy.c: Implement by calling memcpy.
6820
bdf02814
SP
68212013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
6822
c2af38aa
SP
6823 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
6824
4e92d59e
SP
6825 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
6826 evaluation.
6827
909279a5
SP
6828 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
6829 values in the mantissa.
6830
bdf02814
SP
6831 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
6832 minimize writes to Z.
6833 (sub_magnitudes): Simplify code a bit.
6834
cd525923
RM
68352013-02-12 Roland McGrath <roland@hack.frob.com>
6836
6837 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
6838 from the message. The linker prefixes all warnings with that already.
6839
7e2f0d2d
AS
68402013-02-12 Andreas Schwab <schwab@suse.de>
6841
a445af0b
AS
6842 [BZ #15078]
6843 * posix/regexec.c (extend_buffers): Add parameter min_len.
6844 (check_matching): Pass minimum needed length.
6845 (clean_state_log_if_needed): Likewise.
6846 (get_subexp): Likewise.
6847 * posix/Makefile (tests): Add bug-regex34.
6848 (bug-regex34-ENV): Define.
6849 * posix/bug-regex34.c: New file.
6850
7e2f0d2d
AS
6851 [BZ #11561]
6852 * posix/regcomp.c (parse_bracket_exp): When looking up collating
6853 elements compare against the byte sequence of it, not its name.
6854 * posix/Makefile (tests): Add bug-regex35.
6855 (bug-regex35-ENV): Define.
6856 * posix/bug-regex35.c: New file.
6857
a175b684
TV
68582013-02-11 Tom de Vries <tom@codesourcery.com>
6859
6860 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
6861 comment.
6862 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
6863 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
6864 (CHECK_EOL): Add undef.
6865
310998fe 68662013-02-11 Ondřej Bílka <neleai@seznam.cz>
41eda41d
OB
6867
6868 * bits/stdlib-bsearch.h: New file.
6869 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
310998fe 6870 * stdlib/stdlib.h: Likewise.
41eda41d 6871
8ded91fb
RM
68722013-02-11 Roland McGrath <roland@hack.frob.com>
6873
6874 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
6875 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
6876 declaration.
6877 * manual/search.texi (Array Search Function): Add missing const in
6878 lfind prototype.
6879 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
6880 declaration to use rlim_t.
6881 (Basic Scheduling Functions): Remove erroneous const from
6882 sched_getparam prototype. Remove erroneous * from
6883 sched_get_priority_max and sched_get_priority_min prototypes.
6884 (Resource Usage): Fix summary @comment on vtimes to refer to
6885 sys/vtimes.h rather than vtimes.h.
6886 Add missing *s in vtimes prototype.
6887 (Limits on Resources): Fix ulimit prototype to return long int.
6888 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
6889 prototypes to use long int rather than double.
6890 (BSD Random): Fix initstate and setstate to use char *, not void *.
6891 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
6892 prototype to make second argument 'struct aiocb64 *const[]'.
6893 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
6894 (Status of AIO Operations): Remove erroneous const in aio_return and
6895 aio_return64 prototypes.
6896 (Synchronizing I/O): Fix sync prototype to return void.
6897 * manual/startup.texi (Suboptions): Remove an erroneous const in
6898 getsubopt prototype.
6899 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
6900 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
6901 use size_t rather than int.
6902 (Scanning All Users): Likewise for getpwent_r.
6903 (Setting Groups): Add missing const to setgroups prototype.
6904 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
6905 * manual/socket.texi (Host Names): Fix gethostbyaddr and
6906 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
6907 'const void *' rather than 'const char *'.
6908 (Host Address Functions): Likewise for inet_ntop.
6909 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
6910 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
6911 ssize_t for return value.
6912 (Sending Data): Likewise for send, sendto, sendmsg.
6913 (Socket Option Functions): Add a missing const in setsockopt prototype.
6914 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
6915 use wchar_t for the argument.
6916 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
6917 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
6918 take no arguments.
6919 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
6920 double/float/long double for second argument.
6921 Fix return types of significand, significandf, significandl.
6922 * manual/filesys.texi (Setting Permissions): Use mode_t for second
6923 argument in fchmod prototype.
6924 (File Owner): Use uid_t and gid_t in fchown prototype.
6925 (File Times): Add const to utimes, futimes, and lutimes prototypes.
6926 (Making Special Files): Use mode_t and dev_t in mknod prototype.
6927 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
6928 use 'const struct dirent **' as argument types to CMP function pointer
6929 argument.
6930 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
6931 (File Times): Fix summary magic @comment for struct utimbuf and utime
6932 to refer to utime.h, not time.h.
6933 * manual/string.texi (Argz Functions): Add missing const in
6934 argz_extract and argz_next prototypes.
6935 (Finding Tokens in a String): Likewise for basename.
6936 (String/Array Comparison): Fix typo in wcscasecmp prototype.
6937 (Copying and Concatenation): Fix typo in wmemmove prototype.
6938 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
6939 (Signal Stack): Remove erroneous const in sigstack prototype.
6940 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
6941 prototype.
6942 (Simple Calendar Time): Likewise for stime.
6943 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
6944 prototype.
6945 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
6946 say sys/sysctl.h instead.
6947 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
6948 and vsyslog prototypes.
6949
fe77fe6d
TV
69502013-02-11 Tom de Vries <tom@codesourcery.com>
6951
6952 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
6953 Remove.
6954
3a09b620
RM
69552013-02-11 Roland McGrath <roland@hack.frob.com>
6956
6957 * misc/sys/mman.h: Fix typo in mremap comment.
6958
550a0b89
RM
69592013-02-08 Roland McGrath <roland@hack.frob.com>
6960
6961 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
6962 the '\0' terminator.
6963
a2da1673
JM
69642013-02-08 Joseph Myers <joseph@codesourcery.com>
6965
6966 [BZ #13550]
6967 * debug/segfault.c: Don't include <bp-checks.h>.
6968 * sysdeps/generic/bp-checks.h: Remove file.
6969 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
6970 (__GETDENTS): Don't use CHECK_N.
6971 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
6972 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
6973 (__getgroups): Don't use CHECK_N.
6974 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
6975 (setgroups): Don't use CHECK_N.
6976 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
6977 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
6978 (__libc_msgrcv): Don't use CHECK_N.
6979 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
6980 (__libc_msgsnd): Don't use CHECK_N.
6981 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
6982 <bp-checks.h>.
6983 (__libc_pread): Don't use CHECK_N.
6984 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
6985 include <bp-checks.h>.
6986 (__libc_pread64): Don't use CHECK_N.
6987 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
6988 include <bp-checks.h>.
6989 (__libc_pwrite): Don't use CHECK_N.
6990 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
6991 include <bp-checks.h>.
6992 (__libc_pwrite64): Don't use CHECK_N.
6993 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
6994 <bp-checks.h>.
6995 (__libc_pread): Don't use CHECK_N.
6996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
6997 include <bp-checks.h>.
6998 (__libc_pread64): Don't use CHECK_N.
6999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
7000 include <bp-checks.h>.
7001 (__libc_pwrite): Don't use CHECK_N.
7002 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
7003 include <bp-checks.h>.
7004 (__libc_pwrite64): Don't use CHECK_N.
7005 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
7006 (do_pread): Don't use CHECK_N.
7007 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
7008 (do_pread64): Don't use CHECK_N.
7009 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
7010 (do_pwrite): Don't use CHECK_N.
7011 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
7012 (do_pwrite64): Don't use CHECK_N.
7013 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
7014 (__libc_readv): Don't use CHECK_N.
7015 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
7016 (semop): Don't use CHECK_N.
7017 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
7018 <bp-checks.h>.
7019 (semtimedop): Don't use CHECK_N.
7020 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
7021 (__libc_pread): Don't use CHECK_N.
7022 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
7023 <bp-checks.h>.
7024 (__libc_pread64): Don't use CHECK_N.
7025 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
7026 <bp-checks.h>.
7027 (__libc_pwrite): Don't use CHECK_N.
7028 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
7029 <bp-checks.h>.
7030 (__libc_pwrite64): Don't use CHECK_N.
7031 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
7032 <bp-checks.h>.
7033 (__libc_msgrcv): Don't use CHECK_N.
7034 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
7035 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
7036 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
7037 (__libc_writev): Don't use CHECK_N.
7038
b84660a8
RM
70392013-02-08 Roland McGrath <roland@hack.frob.com>
7040
7f3e75f8
RM
7041 * string/strcpy.c: Removed unused variable.
7042
b84660a8
RM
7043 * Makeconfig (+sysdep-includes): Define with := rather than =.
7044 Use an existing include/ subdir of each sysdeps dir before it.
7045
471514d3
CD
70462013-02-08 Carlos O'Donell <carlos@redhat.com>
7047
7048 * nscd/connection.c (register_traced_file): Comment function.
7049 [HAVE_INOTIFY] (union __inev): Define.
7050 [HAVE_INOTIFY] (inotify_check_files): New function.
7051 [HAVE_INOTIFY] (clear_db_cache): Likewise.
7052 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
7053 clear_db_cache.
7054 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
7055
b2d3c3be
CD
70562013-02-08 Carlos O'Donell <carlos@redhat.com>
7057
7058 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
7059 loaded if not already and that a failure is permanent.
7060
b39949d2
CD
70612013-02-08 Carlos O'Donell <carlos@redhat.com>
7062
ddacd1db 7063 [BZ #15006]
b39949d2
CD
7064 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
7065 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
7066
b2c9eff4
JM
70672013-02-08 Joseph Myers <joseph@codesourcery.com>
7068
f3aae3f3
JM
7069 [BZ #13550]
7070 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
7071 (CHECK_1_NULL_OK): Likewise.
7072 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
7073 (__fxstat): Do not use CHECK_1.
7074 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
7075 <bp-checks.h>.
7076 (___fxstat64): Do not use CHECK_1.
7077 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
7078 <bp-checks.h>.
7079 (__fxstatat): Do not use CHECK_1.
7080 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
7081 <bp-checks.h>.
7082 (__fxstatat64): Do not use CHECK_1.
7083 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
7084 <bp-checks.h>.
7085 (__fxstat): Do not use CHECK_1.
7086 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
7087 <bp-checks.h>.
7088 (__fxstatat): Do not use CHECK_1.
7089 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
7090 <bp-checks.h>.
7091 (__getresgid): Do not use CHECK_1.
7092 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
7093 <bp-checks.h>.
7094 (__getresuid): Do not use CHECK_1.
7095 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
7096 <bp-checks.h>.
7097 (__lxstat): Do not use CHECK_1.
7098 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
7099 <bp-checks.h>.
7100 (__old_msgctl): Do not use CHECK_1.
7101 (__new_msgctl): Likewise.
7102 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
7103 <bp-checks.h>.
7104 (__new_setrlimit): Do not use CHECK_1.
7105 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
7106 <bp-checks.h>.
7107 (__old_shmctl): Do not use CHECK_1.
7108 (__new_shmctl): Likewise.
7109 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
7110 <bp-checks.h>.
7111 (__xstat): Do not use CHECK_1.
7112 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
7113 (__lxstat): Do not use CHECK_1.
7114 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
7115 <bp-checks.h>.
7116 (___lxstat64): Do not use CHECK_1.
7117 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
7118 (__old_msgctl): Do not use CHECK_1.
7119 (__new_msgctl): Likewise.
7120 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
7121 <bp-checks.h>.
7122 (__gettimeofday): Do not use CHECK_1.
7123 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
7124 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
7125 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
7126 <bp-checks.h>.
7127 (__gettimeofday): Do not use CHECK_1.
7128 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
7129 (__old_shmctl): Do not use CHECK_1_NULL_OK.
7130 (__new_shmctl): Do not use CHECK_1.
7131 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
7132 <bp-checks.h>.
7133 (do_sigtimedwait): Do not use CHECK_1.
7134 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
7135 <bp-checks.h>.
7136 (do_sigwaitinfo): Do not use CHECK_1.
7137 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
7138 <bp-checks.h>.
7139 (msgctl): Do not use CHECK_1.
7140 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
7141 <bp-checks.h>.
7142 (shmctl): Do not use CHECK_1.
7143 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
7144 (ustat): Do not use CHECK_1.
7145 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
7146 <bp-checks.h>.
7147 (__fxstat): Do not use CHECK_1.
7148 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
7149 <bp-checks.h>.
7150 (__fxstatat): Do not use CHECK_1.
7151 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
7152 <bp-checks.h>.
7153 (__lxstat): Do not use CHECK_1.
7154 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
7155 <bp-checks.h>.
7156 (__xstat): Do not use CHECK_1.
7157 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
7158 (__xstat): Do not use CHECK_1.
7159 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
7160 (___xstat64): Do not use CHECK_1.
7161
b2c9eff4
JM
7162 [BZ #13550]
7163 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
7164 definitions.
7165 (CHECK_BOUNDS_HIGH): Likewise.
7166 * string/strcpy.c: Do not include <bp-checks.h>.
7167 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
7168
f1d70dad
RM
71692013-02-07 Roland McGrath <roland@hack.frob.com>
7170
7171 * nscd/nscd-client.h (__nscd_drop_map_ref):
7172 Add __attribute__ ((unused)).
7173 * nis/nss-nisplus.h (niserr2nss): Likewise.
7174
7175 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
7176 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
7177
7178 * csu/libc-tls.c (init_static_tls, init_slotinfo):
7179 Remove inline keyword.
7180 * include/rounding-mode.h (round_away): Likewise.
7181 * libio/wfileops.c (adjust_wide_data): Likewise.
7182 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
7183 (__m128i_strloadu_tolower): Likewise.
7184 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
7185 (__m128i_strloadu_tolower): Likewise.
7186 * time/mktime.c (ydhms_diff): Likewise.
7187 * locale/elem-hash.h (elem_hash): Likewise.
7188 * locale/setlocale.c (setdata): Likewise.
7189 * posix/regex_internal.h (re_string_char_size_at): Likewise.
7190 (re_string_wchar_at): Likewise.
7191 (bitset_not, bitset_merge, bitset_mask): Likewise.
7192 [!(__GNUC__ > 3)] (inline): Remove macro.
7193 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
7194 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
7195 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
7196 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
7197 * string/memcmp.c (memcmp_bytes): Likewise.
7198 * locale/programs/locarchive.c (compute_hashval): Likewise.
7199 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
7200 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
7201 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
7202 * nss/getent.c (print_rpc, print_protocols): Likewise.
7203 (print_passwd, print_group, print_aliases): Likewise.
7204 * nis/nss-nisplus.h (niserr2nss): Likewise.
7205 * nscd/connections.c (restart_p): Likewise.
7206 Change return type to bool.
7207
eab55bfb
RM
72082013-02-05 Roland McGrath <roland@hack.frob.com>
7209
7bd642f5
RM
7210 * Makeconfig (all-Depend-files): Add existing
7211 $(sorted-subdirs:=/Depend) files.
7212 (all-subdirs): Remove nss.
7213 * sysdeps/unix/inet/Subdirs: Add it here instead.
7214 * hesiod/Depend: New file.
7215
573c29b2
RM
7216 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
7217 instead of calling alloca.
7218
b2e25af0
RM
7219 * io/lseek.c (__lseek): Rename to __libc_lseek.
7220 Define __lseek as an alias.
7221
eab55bfb
RM
7222 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
7223
9a0d1941
CD
72242013-02-04 Carlos O'Donell <carlos@redhat.com>
7225
7226 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
7227 else clause and remove check for non-standard endianness.
7228
b83bbec4
DM
72292013-02-04 David S. Miller <davem@davemloft.net>
7230
7231 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7232
6277fdab
JM
72332013-02-04 Joseph Myers <joseph@codesourcery.com>
7234
7235 [BZ #13550]
7236 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
7237 (__ubp_memchr): Remove prototype.
7238 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
7239 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
7240 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
7241 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
7242 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
7243 Remove alias.
7244 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
7245 (__ubp_memchr): Likewise.
7246 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
7247 (__ubp_memchr): Likewise.
7248 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
7249 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
7250 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
7251 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
7252 CHECK_STRING.
7253 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
7254 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
7255 (__getcwd): Do not use CHECK_STRING.
7256 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
7257 <bp-checks.h>.
7258 (__real_chown): Do not use CHECK_STRING.
7259 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
7260 <bp-checks.h>.
7261 (fchownat): Do not use CHECK_STRING.
7262 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
7263 CHECK_STRING.
7264 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
7265 <bp-checks.h>.
7266 (__lchown): Do not use CHECK_STRING.
7267 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
7268 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
7269 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
7270 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
7271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
7272 include <bp-checks.h>.
7273 (truncate64): Do not use CHECK_STRING.
7274 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
7275 <bp-checks.h>.
7276 (__real_chown): Do not use CHECK_STRING.
7277 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
7278 <bp-checks.h>.
7279 (__lchown): Do not use CHECK_STRING.
7280 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
7281 <bp-checks.h>.
7282 (__chown): Do not use CHECK_STRING.
7283 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
7284 <bp-checks.h>.
7285 (truncate64): Do not use CHECK_STRING.
7286 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
7287 Likewise.
7288 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
7289 (__xmknod): Do not use CHECK_STRING.
7290 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
7291 <bp-checks.h>.
7292 (__xmknodat): Do not use CHECK_STRING.
7293 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
7294 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
7295
903ae060
AS
72962013-02-04 Andreas Schwab <schwab@suse.de>
7297
7298 [BZ #14142]
7299 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
7300 * include/netdb.h: Likewise for h_errno.
7301 * elf/tst-stackguard1.c: Include <tls.h>.
7302
542f9466
JK
73032013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
7304
7305 * elf/link.h (struct link_map): Extend the l_addr comment.
7306 * include/link.h (struct link_map): Likewise.
7307
e782a927
JM
73082013-02-01 Joseph Myers <joseph@codesourcery.com>
7309
7310 [BZ #13550]
7311 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
7312 (BOUNDED_1): Remove macro.
7313 * debug/backtrace.c: Don't include <bp-checks.h>.
7314 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
7315 (__backtrace): Likewise.
7316 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
7317 <bp-checks.h>.
7318 (__backtrace): Don't use BOUNDED_1.
7319 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
7320 <bp-checks.h>.
7321 (__backtrace): Don't use BOUNDED_1.
7322 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
7323 (__backtrace): Don't use BOUNDED_1.
7324 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
7325 (shmat): Don't use BOUNDED_N.
7326
8cf28c5e
JM
73272013-01-31 Joseph Myers <joseph@codesourcery.com>
7328
3a7ac8a0
JM
7329 [BZ #13550]
7330 * sysdeps/generic/bp-start.h: Remove file.
7331 * csu/libc-start.c: Don't include <bp-start.h>.
7332 (LIBC_START_MAIN): Set up __environ directly instead of using
7333 INIT_ARGV_and_ENVIRON.
7334 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
7335 <bp-start.h>.
7336
f3499f95
JM
7337 [BZ #13550]
7338 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
7339 definitions.
7340 (CHECK_FCNTL): Likewise.
7341 (CHECK_N_PAGES): Likewise.
7342
32a45bea
JM
7343 [BZ #13550]
7344 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
7345 definitions.
7346 (CHECK_SIGSET_NULL_OK): Likewise.
7347 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
7348 <bp-checks.h>.
7349 (sigpending): Don't use CHECK_SIGSET.
7350 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
7351 <bp-checks.h>.
7352 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7353 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
7354 <bp-checks.h>.
7355 (do_sigsuspend): Don't use CHECK_SIGSET.
7356 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
7357 use CHECK_SIGSET.
7358 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
7359 (do_sigwait): Don't use CHECK_SIGSET.
7360 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
7361 use CHECK_SIGSET.
7362 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
7363 include <bp-checks.h>.
7364 (sigpending): Don't use CHECK_SIGSET.
7365 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
7366 include <bp-checks.h>.
7367 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7368 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
7369 <bp-checks.h>.
7370 (sigpending): Don't use CHECK_SIGSET.
7371 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
7372 <bp-checks.h>.
7373 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
7374
2e8a5c8c
JM
7375 [BZ #13550]
7376 * sysdeps/generic/bp-semctl.h: Remove file.
7377 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
7378 <bp-checks.h> and <bp-semctl.h>.
7379 (__old_semctl): Don't use CHECK_SEMCTL.
7380 (__new_semctl): Likewise.
7381 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
7382 and <bp-semctl.h>.
7383 (__old_semctl): Don't use CHECK_SEMCTL.
7384 (__new_semctl): Likewise.
7385 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
7386 <bp-checks.h> and <bp-semctl.h>.
7387 (__old_semctl): Don't use CHECK_SEMCTL.
7388 (__new_semctl): Likewise.
7389 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
7390 <bp-checks.h> and <bp-semctl.h>.
7391 (semctl): Don't use CHECK_SEMCTL.
7392
c2d54929
JM
7393 [BZ #13550]
7394 * Makerules (elide-bp-thunks): Remove variable.
7395 (elide-routines.oS): Don't use $(elide-bp-thunks).
7396 (elide-routines.os): Likewise.
7397 (elide-routines.o): Likewise.
7398 (elide-routines.op): Likewise.
7399 (elide-routines.og): Likewise.
7400 (objects): Don't use $(bp-thunks).
7401 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
7402 include.
7403 (common-generated): Do not add s-proto-bp.d.
7404 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
7405 (int): Likewise.
7406 (typ): Likewise.
7407 Do not generate makefile rules for bounded-pointer thunks.
7408 * sysdeps/generic/bp-thunks.h: Remove file.
7409 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
7410 * sysdeps/unix/s-proto-bp.S: Likewise.
7411
8cf28c5e
JM
7412 [BZ #15062]
7413 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
7414 parts of result separately when argument is not close to line from
7415 -i to i and one part of argument is small.
7416 * math/k_casinhf.c (__kernel_casinhf): Likewise.
7417 * math/k_casinhl.c (__kernel_casinhl): Likewise.
7418 * math/libm-test.inc (cacos_test): Add more tests.
7419 (casin_test): Likewise.
7420 (casinh_test): Likewise.
7421 * sysdeps/i386/fpu/libm-test-ulps: Update.
7422 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7423
c4e33b8d
DM
74242013-01-31 David S. Miller <davem@davemloft.net>
7425
7426 * po/de.po: Update from translation team.
7427
3b60b421
MK
74282013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
7429
7430 * time/tzfile.c: Include stdint.h for SIZE_MAX.
7431
bb931195
TS
74322013-01-25 Thomas Schwinge <thomas@codesourcery.com>
7433
b5a5da23
TS
7434 * configure.in (_AC_PROG_CC_C89): New definition.
7435 * configure: Regenerate.
7436
bb931195
TS
7437 * configure.in (AC_PROG_CPP): New definition.
7438 * configure: Regenerate.
7439
8c53a12c
JM
74402013-01-23 Joseph Myers <joseph@codesourcery.com>
7441
7442 * debug/tst-backtrace.h: New file.
7443 * debug/tst-backtrace2.c: Include tst-backtrace.h.
7444 (ret): Remove variable.
7445 (x): Likewise.
7446 (FAIL): Remove macro.
7447 (NO_INLINE): Likewise.
7448 (fn1): Use match function instead of strstr.
7449 * debug/tst-backtrace3.c: Include tst-backtrace.h.
7450 (ret): Remove variable.
7451 (x): Likewise.
7452 (FAIL): Remove macro.
7453 (NO_INLINE): Likewise.
7454 (fn): Use match function instead of strstr.
7455 * debug/tst-backtrace4.c: Include tst-backtrace.h.
7456 (ret): Remove variable.
7457 (x): Likewise.
7458 (FAIL): Remove macro.
7459 (NO_INLINE): Likewise.
7460 (handle_signal): Use match function instead of strstr.
7461 * debug/tst-backtrace5.c: Include tst-backtrace.h.
7462 (ret): Remove variable.
7463 (x): Likewise.
7464 (FAIL): Remove macro.
7465 (NO_INLINE): Likewise.
7466 (handle_signal): Use match function instead of strstr.
7467
4858fa2a
RM
74682013-01-23 Roland McGrath <roland@hack.frob.com>
7469
7470 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
7471
bae8e7f5
DM
74722013-01-23 David S. Miller <davem@davemloft.net>
7473
7474 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
7475 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
7476 argument of CAS if possible.
7477 * sysdeps/sparc/sparc64/bits/atomic.h
7478 (__arch_compare_and_exchange_val_32_acq): Likewise.
7479 (__arch_compare_and_exchange_val_64_acq): Likewise.
7480
9cbbc4ae
PT
74812013-01-23 Pino Toscano <toscano.pino@tiscali.it>
7482
7483 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
7484 * sysdeps/posix/ulimit.c: ... this.
92a601b8 7485 Include <limits.h>.
67b3f58c 7486 * sysdeps/unix/bsd/ulimit.c: Remove file.
9cbbc4ae 7487
5655a0b5
AC
74882013-01-23 Adam Conrad <adconrad@0c3.net>
7489
7490 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
7491 (LDFLAGS-tst-array5): Likewise.
7492
052aff95
JM
74932013-01-23 Joseph Myers <joseph@codesourcery.com>
7494
7495 [BZ #15036]
7496 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
7497 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
7498 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
7499 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
7500
7c1e01aa
DM
75012013-01-21 David S. Miller <davem@davemloft.net>
7502
7503 * sysdeps/sparc/backtrace.c: New file.
7504 * sysdeps/sparc/sparc32/backtrace.h: New file.
7505 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
7506 * sysdeps/sparc/sparc64/backtrace.h: New file.
7507 * sysdeps/sparc/sparc64/backtrace.c: Delete.
7508 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
7509 -funwind-tables.
7510
ab087e0a
AS
75112013-01-21 Andreas Schwab <schwab@suse.de>
7512
7513 [BZ #15020]
7514 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
7515 closed its stdout.
7516
ed689c2f
AS
75172013-01-20 Andreas Schwab <schwab@linux-m68k.org>
7518
7519 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
7520 "mpa2.h".
7521 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7522
31d470ac
JM
75232013-01-18 Joseph Myers <joseph@codesourcery.com>
7524 Mark Mitchell <mark@codesourcery.com>
7525 Tom de Vries <tom@codesourcery.com>
7526 Paul Pluzhnikov <ppluzhnikov@google.com>
7527
7528 * debug/tst-backtrace2.c: New file.
7529 * debug/tst-backtrace3.c: Likewise.
7530 * debug/tst-backtrace4.c: Likewise.
7531 * debug/tst-backtrace5.c: Likewise.
7532 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
7533 (CFLAGS-tst-backtrace3.c): Likewise.
7534 (CFLAGS-tst-backtrace4.c): Likewise.
7535 (CFLAGS-tst-backtrace5.c): Likewise.
7536 (LDFLAGS-tst-backtrace2): Likewise.
7537 (LDFLAGS-tst-backtrace3): Likewise.
7538 (LDFLAGS-tst-backtrace4): Likewise.
7539 (LDFLAGS-tst-backtrace5): Likewise.
7540 (tests): Add new tests tst-backtrace2, tst-backtrace3,
7541 tst-backtrace4 and tst-backtrace5.
7542
90567f30 75432013-01-18 Anton Blanchard <anton@samba.org>
471a1672
AB
7544 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
7545
7546 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
7547 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
7548 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
7549 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
7550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
7551 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
7552 "+r" and remove output regs list as redundant. Add explicit inline
7553 asm to specify register of return val to work around compiler codegen
7554 bug. Remove (int) cast on return value. Add return type parameter to
7555 use in macro so that this macro does not truncate return value for
7556 64-bit values.
7557 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
7558 pass to INTERNAL_VSYSCALL_NCS.
7559 (INLINE_VSYSCALL): Add 'long int' as return type to
7560 INTERNAL_VSYSCALL_NCS macro invocation.
7561 (INTERNAL_VSYSCALL): Add 'long int' as return type to
7562 INTERNAL_VSYSCALL_NCS macro invocation.
7563 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7564
d3b9ea61
SP
75652013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
7566
0b57daeb
SP
7567 [BZ #14496]
7568 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
7569 Fix application of SIMD FP exception mask.
7570
caa99d06
SP
7571 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
7572 mp_no from a power of two.
7573 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
7574 __mpexp_twomm1. Use __pow_mp.
7575
d3b9ea61
SP
7576 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
7577 multiplication.
7578
1dbaee3c
DM
75792013-01-17 David S. Miller <davem@davemloft.net>
7580
7581 * sysdeps/sparc/fpu/libm-test-ulps: Update.
7582
728d7b43
JM
75832013-01-17 Joseph Myers <joseph@codesourcery.com>
7584
7585 [BZ #15023]
7586 * include/complex.h: Condition contents on [!_COMPLEX_H].
7587 (__kernel_casinhf): New prototype.
7588 (__kernel_casinh): Likewise.
7589 (__kernel_casinhl): Likewise.
7590 * math/Makefile (libm_calls): Add k_casinh.
7591 * math/k_casinh.c: New file.
7592 * math/k_casinhf.c: Likewise.
7593 * math/k_casinhl.c: Likewise.
7594 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
7595 finite nonzero arguments.
7596 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
7597 finite nonzero arguments.
7598 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
7599 finite nonzero arguments.
7600 * math/s_casinh.c: Do not include <float.h>.
7601 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
7602 * math/s_casinhf.c: Do not include <float.h>.
7603 (__casinhf): Move code for finite nonzero arguments to
7604 k_casinhf.c.
7605 * math/s_casinhl.c: Do not include <float.h>.
7606 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
7607 redefine.
7608 (__casinhl): Move code for finite nonzero arguments to
7609 k_casinhl.c.
7610 * math/libm-test.inc (cacos_test): Add more tests.
7611 * sysdeps/i386/fpu/libm-test-ulps: Update.
7612 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7613
2a26ef3a
PT
76142013-01-17 Pino Toscano <toscano.pino@tiscali.it>
7615
7616 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
7617 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
7618 [!HAVE_MREMAP]: Remove [defined linux] case.
7619 * malloc/arena.c: Do not include <malloc-sysdep.h>.
7620
a897655d
SP
76212013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
7622
7623 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
7624
881ebe89 76252013-01-17 H.J. Lu <hongjiu.lu@intel.com>
22676eaf
L
7626
7627 * elf/elf.h (R_386_SIZE32): New relocation.
7628 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
7629 R_386_SIZE32.
7630 (elf_machine_rela): Likewise.
7631 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
7632 R_X86_64_SIZE64 and R_X86_64_SIZE32.
7633
59981e9b
JM
76342013-01-17 Joseph Myers <joseph@codesourcery.com>
7635
7636 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
7637 (FP_FAST_FMA): Do not define.
7638 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
7639 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
7640 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
7641 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
7642 !_SOFT_FLOAT]: Likewise.
7643 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
7644 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
7645 value.
7646 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
7647 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
7648 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
7649 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
7650 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
7651 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
7652 file.
7653
cfa8054f
AS
76542013-01-16 Andreas Schwab <schwab@suse.de>
7655
7656 [BZ #14327]
7657 * include/stdlib.h (__mktemp): Add declaration.
7658 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
7659 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
7660
dd930cc5
SP
76612013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
7662
881ebe89
SP
7663 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
7664 definitions.
7665 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
7666 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
7667 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
7668 definitions here.
7669 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
7670 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
7671 definitions.
7672 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
7673 and ONE.
7674 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
7675 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
7676 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
7677 definitions.
7678 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
7679 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
7680 definitions.
7681 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
f93a8d15 7682
dd930cc5
SP
7683 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
7684
c19a9f89
DM
76852013-01-15 David S. Miller <davem@davemloft.net>
7686
1aa61767
DM
7687 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7688 trunc{,f} to libm-sysdep_routes.
7689 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7690 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
7691 file.
7692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
7693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
7694 file.
7695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
7696 file.
7697 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
7698 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
7699 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
7700 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
7701 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
7702 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
7703 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
7704 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
7705
c42d5e98
DM
7706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7707 nearbyint{,f} to libm-sysdep_routes.
7708 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
7710 New file.
7711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
7712 file.
7713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
7714 New file.
7715 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
7716 file.
7717 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
7718 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
7719 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
7720 file.
7721 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
7722 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
7723 file.
7724 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
7725 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
7726 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
7727
c19a9f89
DM
7728 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
7729 libc_feholdexcept and libc_fesetenv.
7730
357679d2
MF
77312013-01-15 Mike Frysinger <vapier@gentoo.org>
7732
7733 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
7734
65a82e3d
DM
77352013-01-14 David S. Miller <davem@davemloft.net>
7736
8b954ab9
DM
7737 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
7738 (SPARC_ASM_VIS2_IFUNC): Likewise.
7739 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
7740 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
7741 use of 'siam' instruction.
7742 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
7743 Likewise.
7744 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
7745 Likewise.
7746 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
7747 Likewise.
7748 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
7749 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
7750 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
7751 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
7752 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
7753 file.
7754 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
7755 file.
7756 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
7757 file.
7758 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
7759 file.
7760 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
7761 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
7762 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
7763 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
7764 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
7765 new VIS2 routines.
7766 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
7767 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
7768 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
7769 Likewise.
7770 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
7771 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
7772 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
7773 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
7774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
7775 routines to libm-sysdep_routines.
7776 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
7777
65a82e3d
DM
7778 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
7779 fdim/fdimf to libm-sysdep_routines.
7780 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
7781 file.
7782 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
7783 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
7784 file.
7785 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
7786 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
7787 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
7788 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
7789 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
7790 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
7791 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
7792
e34ab705
SP
77932013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
7794
2a91b573
SP
7795 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
7796 to optimize copies.
7797
1066a534
SP
7798 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
7799 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
7800 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
7801
e34ab705
SP
7802 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
7803 local variable MPTWO.
7804 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
7805 Likewise.
7806
aba5e596
MF
78072013-01-13 Mike Frysinger <vapier@gentoo.org>
7808
7809 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
7810 GLOB_NOESCAPE.
7811
e557e9e5
MF
78122013-01-13 Mike Frysinger <vapier@gentoo.org>
7813
7814 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
7815
0428cec9
MF
78162013-01-13 Mike Frysinger <vapier@gentoo.org>
7817
7818 * manual/pattern.texi (glob_t): Document gl_flags.
7819 (glob64_t): Likewise.
7820
8794a964
DM
78212013-01-11 David S. Miller <davem@davemloft.net>
7822
66438c3f
RM
7823 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
7824 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
7825 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
32fcb36d
DM
7826 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
7827 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
7828 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
7829 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
7830 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
7831 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
7832 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
7833 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
7834 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
7835 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
7836
4ae4244d
DM
7837 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
7838 sparc V9 rather than using V8 code.
7839 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
7840 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
7841
8794a964
DM
7842 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
7843 Move to...
7844 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
7845 Here.
7846
6270516e
RM
78472013-01-11 Roland McGrath <roland@hack.frob.com>
7848
7849 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
7850 not in the main loop.
7851 * configure: Regenerated.
7852
6a57d931
JM
78532013-01-11 Joseph Myers <joseph@codesourcery.com>
7854
7855 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
7856 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
7857 to just #else.
7858 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
7859 [!__GLIBC_HAVE_LONG_LONG] case.
7860 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
7861 condition to just #else.
7862 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
7863 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
7864 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
7865 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
7866 unconditional.
7867 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
7868 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
7869 #elif condition to just #else.
7870 * sysdeps/unix/sysv/linux/sys/sysmacros.h
7871 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
7872 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
7873 #elif condition to just #else.
7874
0e8529e9
SE
78752013-01-11 Steve Ellcey <sellcey@mips.com>
7876
7877 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
7878 (EF_MIPS_ARCH_64): Fix value.
7879 (EF_MIPS_ARCH_32R2): New.
7880 (EF_MIPS_ARCH_64R2): New.
7881
740b3dbe
L
78822013-01-11 H.J. Lu <hongjiu.lu@intel.com>
7883
7884 * Makeconfig (+link-pie-before-libc): New.
7885 (+link-pie-after-libc): Likewise.
7886 (+link-pie-tests): Likewise.
7887 (+link-pie): Rewritten.
7888 (link-before-libc): Remove $(config-LDFLAGS).
7889 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
7890 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
7891 (config-LDFLAGS): Renamed to ...
7892 (rtld-LDFLAGS): This.
7893 (rtld-tests-LDFLAGS): New macro.
7894 (link-libc-rpath-link): Likewise.
7895 (link-libc-tests-rpath-link): Likewise.
7896 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
7897 (link-libc): Prepand $(link-libc-rpath-link).
7898 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
7899 (test-program-prefix): New macro.
7900 (test-via-rtld-prefix): Likewise.
7901 (test-program-cmd): Likewise.
7902 (host-test-program-cmd): Likewise.
7903 * Makefile ($(common-objpfx)testrun.sh): Replace
7904 $(run-program-prefix) with $(test-program-prefix).
7905 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
7906 $(rtld-LDFLAGS).
7907 ($(common-objpfx)shlib.lds): Likewise.
7908 (build-module-helper): Likewise.
7909 ($(common-objpfx)format.lds): Likewise.
7910 * Rules (binaries-pie-tests): New.
7911 (binaries-pie-notests): Likewise.
7912 (binaries-pie): Rewritten.
7913 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
7914 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
7915 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
7916 (make-test-out): Replace $(host-built-program-cmd) with
7917 $(host-test-program-cmd).
7918 * config.make.in (build-hardcoded-path-in-tests): New variable.
7919 * configure.in (--enable-hardcoded-path-in-tests): New configure
7920 option.
7921 (hardcoded_path_in_tests): New AC_SUBST.
7922 * configure: Regenerated.
7923 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
7924 $(built-program-cmd) with $(test-program-cmd).
7925 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
7926 (test_program_cmd): This.
7927 * elf/Makefile ($(objpfx)order.out): Run test with
7928 $(test-program-prefix).
7929 ($(objpfx)order2.out): Likewise.
7930 ($(objpfx)tst-initorder.out): Likewise.
7931 ($(objpfx)tst-initorder2.out): Likewise.
7932 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
7933 $(test-program-cmd).
7934 ($(objpfx)tst-array1-static.out): Likewise.
7935 ($(objpfx)tst-array2.out): Likewise.
7936 ($(objpfx)tst-array3.out): Likewise.
7937 ($(objpfx)tst-array4.out): Likewise.
7938 ($(objpfx)tst-array5.out): Likewise.
7939 ($(objpfx)tst-array5-static.out): Likewise.
7940 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
7941 $(test-program-cmd).
7942 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
7943 $(run-program-prefix) with $(test-program-prefix).
7944 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
7945 (test_program_prefix): This.
7946 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
7947 $(run-program-prefix) with $(test-program-prefix).
7948 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
7949 (test_program_prefix): This.
7950 * iconvdata/tst-tables.sh: Likewise.
7951 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
7952 $(run-program-prefix) with $(test-program-prefix).
7953 ($(objpfx)tst-translit.out): Likewise.
7954 ($(objpfx)tst-gettext2.out): Likewise.
7955 ($(objpfx)tst-gettext4.out): Likewise.
7956 ($(objpfx)tst-gettext6.out): Likewise.
7957 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
7958 (test_program_prefix): This.
7959 * intl/tst-gettext2.sh: Likewise.
7960 * intl/tst-gettext4.sh Likewise.
7961 * intl/tst-gettext6.sh: Likewise.
7962 * intl/tst-translit.sh: Likewise.
7963 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
7964 with $(test-program-cmd).
7965 * libio/Makefile ($(objpfx)test-freopen.out): Replace
7966 $(run-program-prefix) with $(test-program-prefix).
7967 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
7968 (test_program_prefix): This.
7969 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
7970 $(run-program-prefix) with $(test-program-prefix).
7971 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
7972 (test_program_prefix): This.
7973 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
7974 * posix/Makefile ($(objpfx)globtest.out): Replace
7975 $(run-via-rtld-prefix) and $(test-wrapper) with
7976 $(test-program-prefix) and $(test-via-rtld-prefix).
7977 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
7978 $(test-program-prefix).
7979 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
7980 $(host-test-program-cmd).
7981 (tst-spawn-ARGS): Likewise.
7982 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
7983 $(test-program-prefix).
7984 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
7985 (test_via_rtld_prefix): This.
7986 (test_wrapper): Renamed to ...
7987 (test_program_prefix): This.
7988 (run_program_prefix): Replaced by test_program_prefix.
7989 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
7990 (test_program_prefix): This.
7991 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
7992 with $(host-test-program-cmd).
7993 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
7994 $(run-program-prefix) with $(test-program-prefix).
7995 ($(objpfx)tst-printf.out): Likewise.
7996 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
7997 $(test-program-cmd).
7998 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
7999 (test_program_prefix): This.
8000 * stdio-common/tst-unbputc.sh: Likewise.
8001 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
8002 $(run-program-prefix) with $(test-program-prefix).
8003 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
8004 (test_program_prefix): This.
8005 * string/Makefile ($(objpfx)tst-svc.out): Replace
8006 $(built-program-cmd) with $(test-program-cmd).
8007
c6fe55cf
AJ
80082013-01-11 Andreas Jaeger <aj@suse.de>
8009
8010 [BZ #15003]
8011 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
8012 value. Sync with Linux 3.7.
8013
9e6919c8
DM
80142013-01-10 David S. Miller <davem@davemloft.net>
8015
8016 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
8017 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
8018 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
8019
1c9f1a02
RM
80202013-01-10 Roland McGrath <roland@hack.frob.com>
8021
8022 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
8023 never set.
8024 * configure: Regenerated.
8025
b9de2dde
DM
80262013-01-10 David S. Miller <davem@davemloft.net>
8027
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
e7f68ef4
RM
80332013-01-10 Roland McGrath <roland@hack.frob.com>
8034
8035 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
8036 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
8037 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
8038 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
8039 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
8040 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
8041 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
8042 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
8043 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
8044 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
8045 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
8046 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
8047 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
8048 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
8049 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
8050 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
8051 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
8052 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
8053 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
8054 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
8055 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
8056 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
8057 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
8058 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
8059 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
8060 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
8061 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
8062
5a47cc9c
DM
80632013-01-10 David S. Miller <davem@davemloft.net>
8064
8065 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8066
4cf8f209
L
80672013-01-10 H.J. Lu <hongjiu.lu@intel.com>
8068
8069 * posix/Makefile (tests-static): New variable.
8070 (tests): Add $(tests-static).
8071 (tst-exec-static-ARGS): New variable.
8072 (tst-spawn-static-ARGS): Likewise.
8073 * posix/tst-exec-static.c: New file.
8074 * posix/tst-spawn-static.c: Likewise.
8075 * posix/tst-exec.c: Support run directly.
8076 * posix/tst-spawn.c: Likewise.
8077
fed0faa1
JM
80782013-01-10 Joseph Myers <joseph@codesourcery.com>
8079
828beb13
JM
8080 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
8081 long.
8082 * math/bits/mathcalls.h (llrint): Likewise.
8083 (llround): Likewise.
8084 * stdlib/stdlib.h (struct drand48_data): Likewise.
8085 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
8086 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
8087 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
8088 Likewise.
8089 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
8090 Likewise.
8091 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
8092 (elf_greg_t): Likewise.
8093 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
8094 (__jmp_buf): Likewise.
8095 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
8096 definitions.
8097 (llrint): Likewise, for all definitions.
8098 (llrintl): Likewise.
8099
fed0faa1
JM
8100 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
8101 Remove [__GNUC__] condition.
8102 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
8103 condition to just [__USE_ISOC99].
8104 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
8105
1a20cb20
L
81062013-01-10 H.J. Lu <hongjiu.lu@intel.com>
8107
8108 [BZ #14200]
8109 * sysdeps/unix/sysv/linux/x86/bits/environments.h
8110 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
8111 defined.
8112 (_POSIX_V6_ILP32_OFF32): Likewise.
8113 (_XBS5_ILP32_OFF32): Likewise.
8114 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
8115 (__ILP32_OFFBIG_LDFLAGS): Likewise.
8116
751b85f7
SP
81172013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
8118
7490eb81
SP
8119 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
8120
751b85f7
SP
8121 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
8122 doubles __mpexp_twomm1. Adjust usage.
8123 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
8124 Remove.
8125
988197f0
AS
81262013-01-10 Andreas Schwab <schwab@suse.de>
8127
8128 [BZ #14964]
8129 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
8130 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
8131
e83d7298
DM
81322013-01-09 David S. Miller <davem@davemloft.net>
8133
034ed64b 8134 [BZ #15003]
e83d7298
DM
8135 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
8136 TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
8137 TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
8138 TCP_FASTOPEN): Define.
8139 (tcp_repair_opt): New structure.
8140 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
8141 enum values.
8142 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
8143 TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
8144 TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
8145 (tcp_cookie_transactions): New structure.
8146
d5e0b9bd
AB
81472013-01-09 Anton Blanchard <anton@samba.org>
8148
8149 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
8150 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
8151 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
8152 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
8153
0c07e3ea
JM
81542013-01-09 Joseph Myers <joseph@codesourcery.com>
8155
8156 * include/features.h (__USE_ANSI): Remove.
8157
232f7002
RM
81582013-01-09 Roland McGrath <roland@hack.frob.com>
8159
ad98e30c
RM
8160 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
8161
232f7002
RM
8162 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
8163
950c99ca
SP
81642013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
8165
b5792741
SP
8166 * sysdeps/s390/fpu/libm-test-ulps: Update.
8167
47cf2278
SP
8168 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8169
950c99ca
SP
8170 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
8171 (__acr): Likewise.
8172 (__cpy): Likewise.
8173 (norm): Likewise.
8174 (denorm): Likewise.
8175 (__mp_dbl): Likewise.
8176 (__dbl_mp): Likewise.
8177 (add_magnitudes): Likewise.
8178 (sub_magnitudes): Likewise.
8179 (__add): Likewise.
8180 (__sub): Likewise.
8181 (__mul): Likewise.
8182 (__inv): Likewise.
8183 (__dvd): Likewise.
8184 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
8185 (__acr): Likewise.
8186 (__cpy): Likewise.
8187 (norm): Likewise.
8188 (denorm): Likewise.
8189 (__mp_dbl): Likewise.
8190 (__dbl_mp): Likewise.
8191 (add_magnitudes): Likewise.
8192 (sub_magnitudes): Likewise.
8193 (__add): Likewise.
8194 (__sub): Likewise.
8195 (__mul): Likewise.
8196 (__inv): Likewise.
8197 (__dvd): Likewise.
8198 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
8199 (__acr): Likewise.
8200 (__cpy): Likewise.
8201 (norm): Likewise.
8202 (denorm): Likewise.
8203 (__mp_dbl): Likewise.
8204 (__dbl_mp): Likewise.
8205 (add_magnitudes): Likewise.
8206 (sub_magnitudes): Likewise.
8207 (__add): Likewise.
8208 (__sub): Likewise.
8209 (__mul): Likewise.
8210 (__inv): Likewise.
8211 (__dvd): Likewise.
8212
eede9df9
JM
82132013-01-08 Joseph Myers <joseph@codesourcery.com>
8214
8215 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
8216 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
8217 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
8218 2 && __USE_EXTERN_INLINES]: Likewise.
8219
c40ea3d9
AJ
82202013-01-08 Andreas Jaeger <aj@suse.de>
8221
8222 [BZ# 14985]
8223 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
8224 Remove.
8225 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
8226 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
8227
2ccdea26
AB
82282013-01-07 Anton Blanchard <anton@samba.org>
8229
8230 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
8231 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
8232 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
8233 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
8234 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
8235 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
8236 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
8237 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8238 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8239 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8240 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8241 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8242 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8243 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
8244 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
8245 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8246 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8247 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
8248 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
8249 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
8250 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
8251 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
8252 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
8253 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
8254 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
8255 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
8256 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8257 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
8258 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
8259 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8260 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
8261 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8262 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8263 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
8264 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
8265 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
8266 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
8267 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
8268 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
8269 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
8270 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
8271 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
8272 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
8273
a9708fed
JM
82742013-01-07 Joseph Myers <joseph@codesourcery.com>
8275
375607b9
JM
8276 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
8277 (__MALLOC_PMT): Likewise.
8278 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
8279 [__GNUC__], only on [_LIBC].
8280 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8281 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
8282 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
8283 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
8284 forward declaration.
8285 (realloc_hook_ini): Likewise.
8286 (memalign_hook_ini): Likewise.
8287 (__libc_memalign): Do not use __MALLOC_PMT in variable
8288 declaration.
8289 (__libc_valloc): Likewise.
8290 (__libc_pvalloc): Likewise.
8291 (__libc_calloc): Likewise.
8292 (__posix_memalign): Likewise.
8293
a9708fed
JM
8294 [BZ #14996]
8295 * math/s_casinh.c: Include <float.h>.
8296 (__casinh): Do not do computation with squaring and square root
8297 for large arguments.
8298 * math/s_casinhf.c: Include <float.h>.
8299 (__casinhf): Do not do computation with squaring and square root
8300 for large arguments.
8301 * math/s_casinhl.c: Include <float.h>.
8302 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
8303 (__casinhl): Do not do computation with squaring and square root
8304 for large arguments.
8305 * math/libm-test.inc (casin_test): Add more tests.
8306 (casinh_test): Likewise.
8307 * sysdeps/i386/fpu/libm-test-ulps: Update.
8308 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8309
afec409a
L
83102013-01-04 H.J. Lu <hongjiu.lu@intel.com>
8311
8312 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
8313 (__x86_64_raw_data_cache_size): Likewise.
8314 (__x86_64_data_cache_size_half): Likewise.
8315 (__x86_64_raw_data_cache_size_half): Likewise.
8316 (__x86_64_shared_cache_size): Likewise.
8317 (__x86_64_raw_shared_cache_size): Likewise.
8318 (__x86_64_shared_cache_size_half): Likewise.
8319 (__x86_64_raw_shared_cache_size_half): Likewise.
8320 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
8321 to ...
8322 (__x86_data_cache_size): This.
8323 (__x86_64_raw_data_cache_size): Renamed to ...
8324 (__x86_raw_data_cache_size): This.
8325 (__x86_64_data_cache_size_half): Renamed to ...
8326 (__x86_data_cache_size_half): This.
8327 (__x86_64_raw_data_cache_size_half): Renamed to ...
8328 (__x86_raw_data_cache_size_half): This.
8329 (__x86_64_shared_cache_size): Renamed to ...
8330 (__x86_shared_cache_size): This.
8331 (__x86_64_raw_shared_cache_size): Renamed to ...
8332 (__x86_raw_shared_cache_size): This.
8333 (__x86_64_shared_cache_size_half): Renamed to ...
8334 (__x86_shared_cache_size_half): This.
8335 (__x86_64_raw_shared_cache_size_half): Renamed to ...
8336 (__x86_raw_shared_cache_size_half): This.
8337 * sysdeps/x86_64/memcpy.S: Updated.
8338 * sysdeps/x86_64/memset.S: Likewise.
8339 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
8340 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
8341 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
8342
0b3986d0
DM
83432013-01-04 David S. Miller <davem@davemloft.net>
8344
8345 * sysdeps/sparc/fpu/libm-test-ulps: Update.
8346
e47686e9
AS
83472013-01-04 Andreas Schwab <schwab@linux-m68k.org>
8348
d643bac1
AS
8349 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
8350 1 to avoid redefinition warning.
8351 (__USE_GNU): Don't define.
8352 (init_signaling_nan): Protoize.
8353
e47686e9
AS
8354 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8355
b18decba
SP
83562013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8357
fffb407f
SP
8358 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
8359 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
8360 (__cpymn): Likewise.
8361 (norm): Remove commented code.
8362 (denorm): Likewise.
8363 (__mp_dbl): Likewise.
8364 (__inv): Likewise.
8365 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
8366 (__cpymn): Likewise.
8367 (norm): Remove commented code.
8368 (denorm): Likewise.
8369 (__mp_dbl): Likewise.
8370 (__inv): Likewise.
8371
b18decba
SP
8372 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
8373 mp_no value for 1.0 and 2.0.
8374 (norm): Use RADIXI instead of radixi.d.
8375 (denorm): Likewise.
8376 (__mul): Use 0.0 instead of zero.d.
8377 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
8378 mp_no value for 1.0 and 2.0.
8379 (norm): Use RADIXI instead of radixi.d.
8380 (denorm): Likewise.
8381 (__mul): Use 0.0 instead of zero.d.
8382
cdc1c96f
JM
83832013-01-04 Joseph Myers <joseph@codesourcery.com>
8384
8385 [BZ #14994]
8386 * math/s_casinh.c (__casinh): Reduce finite argument to first
8387 quadrant then set signs of results at the end.
8388 * math/s_casinhf.c (__casinhf): Likewise.
8389 * math/s_casinhl.c (__casinhl): Likewise.
8390 * math/libm-test.inc (casin_test): Add more tests.
8391 (casinh_test): Likewise.
8392 * sysdeps/i386/fpu/libm-test-ulps: Update.
8393 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8394
302913e1
SP
83952013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
8396
6420d207
SP
8397 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
8398
a9e48ab4
SP
8399 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
8400
b7837264
SP
8401 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
8402 declarations.
8403 (denorm): Likewise.
8404 (__mp_dbl): Likewise.
8405 (__inv): Likewise.
8406
f8af25d2
SP
8407 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
8408 and adjust the header comment.
8409
302913e1
SP
8410 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
8411 variable name from declaration.
8412
5d7dd1ca
L
84132013-01-03 H.J. Lu <hongjiu.lu@intel.com>
8414
8415 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
8416 Initialize COMMON_CPUID_INDEX_7 element.
8417 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
8418 (CPUID_RTM): Likewise.
8419 (HAS_RTM): Likewise.
8420 (COMMON_CPUID_INDEX_7): New enum.
8421
2f5f40f4
AS
84222013-01-03 Andreas Schwab <schwab@linux-m68k.org>
8423
8424 [BZ #14981]
8425 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
8426 size is zero, record memory as freed.
8427
4056f4a0
AJ
84282013-01-03 Andreas Jaeger <aj@suse.de>
8429
8430 * po/ia.po: Add new Interlingua translation.
8431
ab15736f 84322012-01-03 Allan McRae <allan@archlinux.org>
fd80f0b7
AM
8433
8434 * locale/programs/localedef.c: Fix description of '--posix' flag.
8435
568035b7
JM
84362013-01-02 Joseph Myers <joseph@codesourcery.com>
8437
e6898b8d
JM
8438 * NEWS: Update dates in second copyright notice.
8439 * README: Update copyright dates in example.
8440 * manual/libc.texinfo: Update copyright dates.
8441 * scripts/test-installation.pl: Update copyright date in --version
8442 output.
8443
0e2f9562
JM
8444 * hurd/ctty-input.c: Fix copyright notice formatting.
8445 * hurd/ctty-output.c: Likewise.
8446 * hurd/dtable.c: Likewise.
8447 * hurd/hurd-raise.c: Likewise.
8448 * hurd/hurdprio.c: Likewise.
8449 * hurd/msgportdemux.c: Likewise.
8450 * misc/sys/file.h: Likewise.
8451 * misc/sys/ioctl.h: Likewise.
8452 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
8453 * sysdeps/mach/hurd/chdir.c: Likewise.
8454 * sysdeps/mach/hurd/fchdir.c: Likewise.
8455 * sysdeps/mach/hurd/rename.c: Likewise.
8456 * sysdeps/mach/hurd/rmdir.c: Likewise.
8457 * sysdeps/mach/hurd/seekdir.c: Likewise.
8458 * sysdeps/mach/hurd/setsid.c: Likewise.
8459 * sysdeps/posix/wait3.c: Likewise.
8460
568035b7
JM
8461 * All files with FSF copyright notices: Update copyright dates
8462 using scripts/update-copyrights.
8463 * intl/plural.c: Regenerated.
8464 * locale/programs/charmap-kw.h: Likewise.
8465 * locale/programs/locfile-kw.h: Likewise.
8466
da08f647
SP
84672013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
8468
0f5477af
SP
8469 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
8470 four values.
8471
44e0d4c2
SP
8472 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
8473 calculation loop and add branch prediction.
8474
4d55b4e5
SP
8475 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
8476 check access beyond bounds of m1np.
8477
da08f647
SP
8478 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8479 MPTWO.
8480 (__inv): Remove local variable MPTWO to use the global
8481 constant.
8482 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
8483 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8484 variable MPTWO.
8485 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
8486 MP3HALFS static const.
8487
8e051029
DM
84882013-01-01 David S. Miller <davem@davemloft.net>
8489
8490 * po/ca.po: Update from translation team.
8491
f4cf5f2d
JM
84922013-01-01 Joseph Myers <joseph@codesourcery.com>
8493
8494 * scripts/update-copyrights: New file.
8495 * Makeconfig: Reformat copyright notice.
8496 * ctype/ctype.h: Likewise.
8497 * debug/swprintf_chk.c: Likewise.
8498 * elf/dl-cache.c: Likewise.
8499 * elf/dl-debug.c: Likewise.
8500 * elf/dl-object.c: Likewise.
8501 * grp/initgroups.c: Likewise.
8502 * hurd/Makefile: Likewise.
8503 * hurd/hurd/signal.h: Likewise.
8504 * hurd/hurdfault.c: Likewise.
8505 * hurd/hurdioctl.c: Likewise.
8506 * hurd/hurdlookup.c: Likewise.
8507 * hurd/intr-msg.c: Likewise.
8508 * iconv/gconv_open.c: Likewise.
8509 * libio/swprintf.c: Likewise.
8510 * locale/lc-ctype.c: Likewise.
8511 * locale/nl_langinfo.c: Likewise.
8512 * mach/Machrules: Likewise.
8513 * mach/Makefile: Likewise.
8514 * malloc/obstack.h: Likewise.
8515 * manual/Makefile: Likewise.
8516 * manual/tsort.awk: Likewise.
8517 * misc/bits/stab.def: Likewise.
8518 * nis/nis_print_group_entry.c: Likewise.
8519 * nis/nis_table.c: Likewise.
8520 * nis/nss_compat/compat-pwd.c: Likewise.
8521 * nis/nss_compat/compat-spwd.c: Likewise.
8522 * po/Makefile: Likewise.
8523 * posix/fnmatch.c: Likewise.
8524 * posix/regex.h: Likewise.
8525 * resolv/Makefile: Likewise.
8526 * resolv/nss_dns/dns-network.c: Likewise.
8527 * resolv/res_hconf.c: Likewise.
8528 * scripts/gen-sorted.awk: Likewise.
8529 * soft-fp/soft-fp.h: Likewise.
8530 * stdio-common/printf.h: Likewise.
8531 * stdlib/monetary.h: Likewise.
8532 * stdlib/random.c: Likewise.
8533 * stdlib/random_r.c: Likewise.
8534 * sysdeps/generic/Makefile: Likewise.
8535 * sysdeps/gnu/Makefile: Likewise.
8536 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
8537 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
8538 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
8539 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
8540 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
8541 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
8542 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
8543 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
8544 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
8545 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
8546 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
8547 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
8548 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
8549 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
8550 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
8551 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
8552 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
8553 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
8554 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
8555 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
8556 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
8557 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
8558 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
8559 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
8560 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
8561 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
8562 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
8563 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
8564 * sysdeps/mach/hurd/errnos.awk: Likewise.
8565 * sysdeps/mach/hurd/fork.c: Likewise.
8566 * sysdeps/mach/hurd/getcwd.c: Likewise.
8567 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
8568 * sysdeps/mach/hurd/mmap.c: Likewise.
8569 * sysdeps/mach/hurd/utimes.c: Likewise.
8570 * sysdeps/mach/hurd/xmknod.c: Likewise.
8571 * sysdeps/posix/profil.c: Likewise.
8572 * sysdeps/posix/readdir_r.c: Likewise.
8573 * sysdeps/powerpc/bits/mathdef.h: Likewise.
8574 * sysdeps/powerpc/bits/setjmp.h: Likewise.
8575 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
8576 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
8577 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
8578 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
8579 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
8580 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
8581 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
8582 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
8583 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
8584 * sysdeps/pthread/lio_listio.c: Likewise.
8585 * sysdeps/sparc/dl-procinfo.h: Likewise.
8586 * sysdeps/unix/i386/sysdep.S: Likewise.
8587 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
8588 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
8589 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
8590 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
8591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
8592 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
8593 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
8594 * sysdeps/unix/sysv/linux/speed.c: Likewise.
8595 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
8596 * sysdeps/wordsize-32/divdi3.c: Likewise.
8597 * time/sys/time.h: Likewise.
8598 * wcsmbs/Makefile: Likewise.
8599
0549fbba
DM
86002013-01-01 David S. Miller <davem@davemloft.net>
8601
a141f1a7
DM
8602 * po/fr.po: Update from translation team.
8603
0549fbba
DM
8604 * catgets/gencat.c: Update copyright year.
8605 * csu/version.c: Likewise.
8606 * debug/catchsegv.sh: Likewise.
8607 * debug/pcprofiledump.c: Likewise.
8608 * debug/xtrace.sh: Likewise.
8609 * elf/ldconfig.c: Likewise.
8610 * elf/ldd.bash.in: Likewise.
8611 * elf/pldd.c: Likewise.
8612 * elf/sotruss.ksh: Likewise.
8613 * elf/sprof.c: Likewise.
8614 * iconv/iconv_prog.c: Likewise.
8615 * iconv/iconvconfig.c: Likewise.
8616 * locale/programs/locale.c: Likewise.
8617 * locale/programs/localedef.c: Likewise.
8618 * login/programs/pt_chown.c: Likewise.
8619 * malloc/memusage.sh: Likewise.
8620 * malloc/memusagestat.c: Likewise.
8621 * malloc/mtrace.pl: Likewise.
8622 * nscd/nscd.c: Likewise.
8623 * nss/getent.c: Likewise.
8624 * nss/makedb.c: Likewise.
8625 * posix/getconf.c: Likewise.
8626
18ea052c
SP
86272012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
8628
8629 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
8630 numbers.
8631
9c89fca6
MF
86322012-12-30 Mike Frysinger <vapier@gentoo.org>
8633
8634 * math/bits/mathcalls.h (modf): Use __nonnull.
8635
085ec079
SP
86362012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
8637
8638 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
8639 (split): Use macro CN instead of the bare value.
8640 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
8641 could be used.
8642 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
8643 instead of the bare value.
8644 (power1): Likewise.
8645
6d9f97e1
SP
86462012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8647
d63f73be
SP
8648 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
8649 __ATAN_TWOM.
8650 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8651
6d9f97e1
SP
8652 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
8653 their values.
8654 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
8655 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
8656 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
8657 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
8658
4c4febf5
AJ
86592012-12-28 Andreas Jaeger <aj@suse.de>
8660
af5843ef
AJ
8661 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
8662 values are from Linux 3.7.
8663
4c4febf5
AJ
8664 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
8665 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
8666
99136f82
SP
86672012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
8668
2f216c3c 8669 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
91998e44
SP
8670 TRUE case.
8671
99136f82
SP
8672 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
8673 (norm): Likewise.
8674 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
8675 variables with preprocessor constants.
8676 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
8677 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
8678 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
8679
7fffbdff
BH
86802012-12-27 Bruno Haible <bruno@clisp.org>
8681
8682 [BZ #14317]
8683 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
8684 only if needed.
8685
b76eb5f0
SP
86862012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
8687
31a7fe5c
SP
8688 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
8689 and use variable directly.
8690 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
8691
b76eb5f0
SP
8692 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
8693 MPONE.
8694 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
8695 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
8696 variable MPONE.
8697 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
8698 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
8699 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
8700 include directive. Remove local variable MPONE.
8701 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
8702 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
8703 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
8704
2c8bfe7d
DM
87052012-12-25 David S. Miller <davem@davemloft.net>
8706
8707 * version.h (RELEASE): Set to "development".
8708 (VERSION): Set to "2.17.90".
8709 * NEWS: Add 2.18 section.
8710
147d03b0
DM
87112012-12-21 David S. Miller <davem@davemloft.net>
8712
8713 * po/hr.po: Update from translation team.
8714
a8ebb2b9
AK
87152012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
8716
8717 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
8718
95b4f1b6
SE
87192012-12-19 Steve Ellcey <sellcey@mips.com>
8720
b2d94007 8721 * NEWS: Mention new memcpy for MIPS.
95b4f1b6 8722
cedb2a90
MS
87232012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
8724
8725 * manual/contrib.texi (Contributors): Spelling correction.
8726
bbf527d6
DM
87272012-12-15 David S. Miller <davem@davemloft.net>
8728
8729 * po/ru.po: Update from translation team.
8730
bc38c906
DM
87312012-12-13 David S. Miller <davem@davemloft.net>
8732
85429b1a
DM
8733 * NEWS: Mention IFUNC testsuite enhancements.
8734
d283e353
DM
8735 * po/pl.po: Update from translation team.
8736 * po/bg.po: Likewise.
8737
bc38c906
DM
8738 * manual/contrib.texi (Contributors): Update entries for Hongjiu
8739 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
8740
a181b0d7
DM
87412012-12-11 David S. Miller <davem@davemloft.net>
8742
4641d57e
DM
8743 * po/sv.po: Update from translation team.
8744
f7bc6495
DM
8745 * po/vi.po: Update from translation team.
8746
6fc9048f
DM
8747 * po/cs.po: Update from translation team.
8748
a181b0d7
DM
8749 * po/de.po: Update from translation team.
8750 * po/eo.po: Likewise.
8751 * po/nl.po: Likewise.
8752
f70bfe80
SP
87532012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
8754
3c8b4190
SP
8755 [BZ #14246]
8756 * manual/argp.texi (Argp Helper Functions): Move node to follow
8757 Argp Parsing State.
8758
f70bfe80
SP
8759 [BZ #14872]
8760 * manual/conf.texi (Limits on File System Capacity): Mention if
8761 terminating null is included in the max size.
8762
188f0adf
AJ
87632012-12-10 Andreas Jaeger <aj@suse.de>
8764
8765 * po/cs.po: Update from translation team.
8766
56e7d3ad
SP
87672012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
8768
8769 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
8770 void pointer and cast to uintptr_t.
8771 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
8772 path.
8773 * sysdeps/s390/s390-64/memcpy.S: Likewise.
8774 * sysdeps/s390/s390-64/memset.S: Likewise.
8775
76f2d2ea 87762012-12-08 Benno Schulenberg <bensberg@justemail.net>
c430c4af
BS
8777
8778 [BZ #14833]
8779 * menual/message.texi (Message Translation): Fix typos.
8780 (Helper programs for gettext): Likewise.
8781
67cbf9a2
AS
87822012-12-07 Andreas Schwab <schwab@linux-m68k.org>
8783
8784 [BZ #14898]
8785 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
8786 Change to -1.
8787
682d0e9a
DM
87882012-12-07 David S. Miller <davem@davemloft.net>
8789
8790 * po/libc.pot: Update.
8791
573cd484
RH
87922012-12-07 Richard Henderson <rth@redhat.com>
8793
7e9da188 8794 [BZ #10114]
573cd484
RH
8795 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
8796 normal/normal case to before the switch.
8797 (_FP_DIV): Likewise.
8798
e933a943
MF
87992012-12-06 Carlos O'Donell <carlos@systemhalted.org>
8800 Mike Frysinger <vapier@gentoo.org>
8801
8802 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
8803 check for __NR_fadvise64_64.
8804
82123268
CM
88052012-12-06 Chris Metcalf <cmetcalf@tilera.com>
8806
8807 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
8808 0, not just to plain "0" as a statement.
8809 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
8810 with cw.
8811
d9814526
JM
88122012-12-06 Joseph Myers <joseph@codesourcery.com>
8813
8814 * NEWS: Use sourceware.org in Bugzilla URL.
8815
7728c574
SP
88162012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
8817
f16946dd
SP
8818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
8819 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
8820
5704bbcb
SP
8821 * stdio-common/tst-put-error.c (do_test): Add newline to the
8822 padded test to ensure flush.
8823
17aa0516
JL
88242012-12-05 Jeff Law <law@redhat.com>
8825
8826 * sunrpc/etc.rpc (fedfs_admin): Add entry.
8827
363313b5
JM
88282012-12-05 Joseph Myers <joseph@codesourcery.com>
8829
effbd42a
JM
8830 * README: Don't refer to ports add-on as distributed separately.
8831 Mention AArch64 in list of systems supported in the ports add-on.
8832
87600365
JM
8833 * LICENSES: Add more non-FSF copyright and license notices.
8834
a0d7066a
JM
8835 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
8836 ((unused)).
8837
66ca5a5b
JM
8838 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
8839
363313b5
JM
8840 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
8841 10000 as width of padded output.
8842
b37984ad
JM
88432012-12-04 Joseph Myers <joseph@codesourcery.com>
8844
9003570a
JM
8845 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
8846
b37984ad
JM
8847 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
8848 variable LX with __attribute__ ((unused)).
8849 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
8850 Likewise.
8851 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
8852 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
8853 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
8854 with __attribute__ ((unused)).
8855
c8df52ec
DM
88562012-12-04 David S. Miller <davem@abraco.davemloft.net>
8857
8858 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
8859
b3b099af
JM
88602012-12-04 Joseph Myers <joseph@codesourcery.com>
8861
c33aa6e3
JM
8862 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
8863 (CFLAGS-nldbl-acos.c): New variable.
8864 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
8865 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
8866 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
8867 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
8868 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
8869 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
8870 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
8871 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
8872 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
8873 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
8874 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
8875 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
8876 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
8877 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
8878 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
8879 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
8880 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
8881 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
8882 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
8883 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
8884 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
8885 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
8886 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
8887 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
8888 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
8889 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
8890 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
8891 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
8892 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
8893 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
8894 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
8895 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
8896 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
8897 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
8898 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
8899 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
8900 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
8901 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
8902 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
8903 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
8904 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
8905 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
8906 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
8907 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
8908 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
8909 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
8910 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
8911 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
8912 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
8913 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
8914 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
8915 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
8916 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
8917 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
8918 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
8919 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
8920 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
8921 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
8922 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
8923 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
8924 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
8925 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
8926 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
8927 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
8928 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
8929 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
8930 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
8931 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
8932 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
8933 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
8934 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
8935 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
8936 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
8937 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
8938 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
8939 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
8940 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
8941 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
8942 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
8943 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
8944 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
8945 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
8946 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
8947 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
8948 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
8949 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
8950 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
8951 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
8952 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
8953 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
8954 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
8955 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
8956 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
8957 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
8958 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
8959 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
8960 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
8961
20f0018d
JM
8962 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
8963 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
8964
b3b099af
JM
8965 [BZ #14914]
8966 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
8967 whole low double instead of just low 47 bits when splitting values
8968 into two parts.
8969
029264d1
AM
89702012-12-03 Allan McRae <allan@archlinux.org>
8971
8972 * manual/stdio.texi (Predefined Printf Handlers): Remove
8973 @hsep and @vsep usage.
8974
c9d6789e
MF
89752012-12-03 Mike Frysinger <vapier@gentoo.org>
8976
8977 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
8978 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
8979
4b7634a5
JL
89802012-12-03 Jeff Law <law@redhat.com>
8981
8982 * time/sys/time.h (settimeofday): Do not mark TV argument
8983 as __nonnull.
8984
eb6cbd24
MF
89852012-12-01 Mike Frysinger <vapier@gentoo.org>
8986
8987 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
8988 when currently writing and seek to current position when not.
8989 * libio/Makefile (tests): Remove bug-fclose1.
8990 * libio/bug-fclose1.c: Delete.
8991
f638872a
JM
89922012-12-01 Joseph Myers <joseph@codesourcery.com>
8993
8994 * manual/arith.texi (feenableexcept): Fix typo.
8995 (fedisableexcept): Likewise.
8996
48085d14
RM
89972012-11-30 Roland McGrath <roland@hack.frob.com>
8998
8999 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
9000 second, differently-typed declaration, rather than a cast.
9001
1a538b9f
SP
90022012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
9003
9004 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
9005 * include/rpc/svc.h: ... here.
9006
d07f2ff1 90072012-11-30 Aurelien Jarno <aurel32@debian.org>
cc8bb21c
AJ
9008
9009 [BZ #13013]
9010 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
9011 depending n and resplen2 to catch cases where answer
9012 equals answerp2.
9013
c93ec1f0
CD
90142012-11-29 Carlos O'Donell <carlos@systemhalted.org>
9015
9016 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
9017 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
9018
37db69de
MF
90192012-11-29 Mike Frysinger <vapier@gentoo.org>
9020
9021 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
9022
e10c4e4f
RM
90232012-11-29 Roland McGrath <roland@hack.frob.com>
9024
9025 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
9026
2af1b328
JL
90272012-11-28 Jeff Law <law@redhat.com>
9028
9029 [BZ #13761]
9030 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
9031 dataset_temporary. Track alloca usage into alloca_used.
9032 If dataset is large allocate and release it via malloc/free.
9033
111db5b1
FW
90342012-06-04 Florian Weimer <fweimer@redhat.com>
9035
f06cc227 9036 [BZ #14197]
111db5b1
FW
9037 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
9038
dd694abd
DM
90392012-11-28 David S. Miller <davem@davemloft.net>
9040
9041 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9042
9984dd01
JM
90432012-11-28 Joseph Myers <joseph@codesourcery.com>
9044
9045 [BZ #14803]
9046 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
9047 of pi/2 rounded to nearest to 64 bits.
9048 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
9049 nearest to 64 bits.
9050 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
9051 bits.
9052
14bc93a9
JL
90532012-11-28 Jeff Law <law@redhat.com>
9054 Martin Osvald <mosvald@redhat.com>
9055
9056 [BZ #14889]
9057 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
9058 * sunrpc/svc.c: Include time.h.
9059 (__svc_accept_failed): New function.
9060 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
9061 any reason other than EINTR, call __svc_accept_failed.
9062 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
9063 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
9064
e3c6aa3a
AS
90652012-11-28 Andreas Schwab <schwab@suse.de>
9066
9067 * scripts/abilist.awk: Also handle indirect functions in .opd
9068 section.
9069
1bead169
JM
90702012-11-28 Joseph Myers <joseph@codesourcery.com>
9071
9072 [BZ #13881]
9073 * sysdeps/x86/fpu/powl_helper.c: New file.
9074 * sysdeps/x86/fpu/Makefile: Likewise.
9075 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
9076 (p3): New object.
9077 (__ieee754_powl): Use __powl_helper for finite arguments except
9078 integer exponents below 8.
9079 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
9080 (p3): New object.
9081 (__ieee754_powl): Use __powl_helper for finite arguments except
9082 integer exponents below 8.
9083 * math/libm-test.inc (pow_test): Add more tests and enable some
9084 previously disabled tests.
9085 * sysdeps/i386/fpu/libm-test-ulps: Update.
9086 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9087
0817d63d
SP
90882012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
9089 Carlos O'Donell <carlos_odonell@mentor.com>
9090
9091 * nss/makedb.c (is_prime): Assert that input is odd and greater
9092 than 4. Note that fact in a comment too.
9093 (next_prime): Add 4 to input.
9094
de2fd463
SP
90952012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
9096
9097 [BZ #11741]
9098 * libio/Makefile (tests): Add test case tst-fwrite-error.
9099 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
9100 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
9101 * libio/tst-fwrite-error.c: New test case.
9102
c515fb51
L
91032012-11-26 H.J. Lu <hongjiu.lu@intel.com>
9104
9105 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
9106 before casting to void *.
9107 * include/libc-internal.h (__pointer_type): New macro.
9108 (__integer_if_pointer_type_sub): Likewise.
9109 (__integer_if_pointer_type): Likewise.
9110 (cast_to_integer): Likewise.
9111 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
9112 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
9113 before casting to atomic64_t.
9114 (atomic_exchange_acq): Likewise.
9115 (__arch_exchange_and_add_body): Likewise.
9116 (__arch_add_body): Likewise.
9117 (atomic_add_negative): Likewise.
9118 (atomic_add_zero): Likewise.
9119
4cf77aa9
JM
91202012-11-26 Joseph Myers <joseph@codesourcery.com>
9121
9122 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
9123 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
9124 (add_fdes): Likewise.
9125 (linear_search_fdes): Likewise.
9126 (binary_search_unencoded_fdes): Likewise.
9127
d260b3b4
AS
91282012-11-26 Andreas Schwab <schwab@linux-m68k.org>
9129
9130 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
9131
67060746
AC
91322012-11-24 Adam Conrad <adconrad@0c3.net>
9133
9134 * configure.in: Autodetect C++ header directories.
9135 * configure: Regenerated.
9136
800938a1
MF
91372012-11-23 Mike Frysinger <vapier@gentoo.org>
9138
9139 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
9140
4e6e34e6
AS
91412012-11-23 Andreas Schwab <schwab@linux-m68k.org>
9142
9143 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9144
7c7feb47
JM
91452012-11-22 Joseph Myers <joseph@codesourcery.com>
9146
7184dcdf
JM
9147 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
9148 LDBL_MANT_DIG == 106]: Disable some tests.
9149 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9150 Likewise.
9151 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
9152 Likewise.
9153
0a42601f
JM
9154 [BZ #14871]
9155 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
9156 input for small inputs. Return +/- pi/2 for large inputs.
9157 * math/libm-test.inc (atan_test): Add more tests.
9158
79c9b9fe
JM
9159 * sysdeps/generic/unwind-dw2-fde-glibc.c
9160 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
9161 __attribute__ ((unused)).
9162
c60d3bf2
JM
9163 [BZ #14645]
9164 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
9165 x * y if x and y are nonzero and z is zero.
9166
ef1e0867
JM
9167 [BZ #14811]
9168 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
9169 nonzero exponents with absolute value below 0x1p-117 to +/-
9170 0x1p-117.
9171
1468ded3
JM
9172 [BZ #14869]
9173 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
9174 up arguments below 2**-450, not just those below 2**-500.
9175 * math/libm-test.inc (hypot_test): Add another test.
9176
8e27e3cc
JM
9177 [BZ #14868]
9178 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
9179 Return a+b for ratio over 2**120, not 2**60.
9180 * math/libm-test.inc (hypot_test): Add another test.
9181
c9c0279b
JM
9182 * math/libm-test.inc (clog_test): Use
9183 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
9184 (clog10_test): Likewise.
9185
7c7feb47
JM
9186 [BZ #6778]
9187 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
9188
fff1530e
AS
91892012-11-22 Andreas Schwab <schwab@suse.de>
9190
9191 * sysdeps/i386/fpu/libm-test-ulps: Update.
9192
94558d30
PT
91932012-11-22 Pino Toscano <toscano.pino@tiscali.it>
9194
9195 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
9196 printf output with newline.
9197
7e1be741
L
91982012-11-21 H.J. Lu <hongjiu.lu@intel.com>
9199
6bfea974
L
9200 [BZ #14865]
9201 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
9202 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
9203 -z nodlopen, -z initfirst and -z execstack support.
9204 * configure: Regenerated.
9205
7e1be741
L
9206 * elf/elf.h (DF_1_NODIRECT): New macro.
9207 (DF_1_IGNMULDEF): Likewise.
9208 (DF_1_NOKSYMS): Likewise.
9209 (DF_1_NOHDR): Likewise.
9210 (DF_1_EDITED): Likewise.
9211 (DF_1_NORELOC): Likewise.
9212 (DF_1_SYMINTPOSE): Likewise.
9213 (DF_1_GLOBAUDIT): Likewise.
9214 (DF_1_SINGLETON): Likewise.
9215 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
9216 DT_1_SUPPORTED_MASK bits.
9217 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
9218
105ce2ce
CD
92192012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
9220
9221 * sysdeps/unix/make-syscalls.sh: Document prefixes.
9222
123be9de
TS
92232012-11-20 Thomas Schwinge <thomas@codesourcery.com>
9224
d072f3f7
TS
9225 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
9226 macro.
9227
123be9de
TS
9228 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
9229 (sendmmsg): Move declarations...
9230 * socket/sys/socket.h: ... here.
9231 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
9232 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
9233 include it from...
9234 * socket/recvmmsg.c: ... this new file.
9235 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
9236 (sendmmsg): Rename to __sendmmsg, create weak alias and make
9237 definition of __sendmmsg hidden.
9238 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
9239 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
9240 Move ENOSYS stub into and include it from...
9241 * socket/sendmmsg.c: ... this new file.
9242 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
9243 (sysdep_routines): Move recvmmsg and sendmmsg...
9244 * socket/Makefile (routines): ... here.
9245 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
9246 (GLIBC_PRIVATE): Add __sendmmsg.
9247 * include/sys/socket.h (__sendmmsg): Add declarations.
9248 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
9249 sendmmsg.
9250
cf9a5d18
JM
92512012-11-20 Joseph Myers <joseph@codesourcery.com>
9252
9253 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
9254 variable I1 with __attribute__ ((unused)).
9255 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
9256
ecd4caf9
JM
92572012-11-19 Joseph Myers <joseph@codesourcery.com>
9258
be14d48f
JM
9259 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
9260 DUMMY variables with __attribute__ ((unused)).
9261
ecd4caf9
JM
9262 * bits/byteswap.h: Include <bits/types.h>.
9263 (__bswap_64): Use __uint64_t instead of unsigned long long int.
9264
986cab95
PT
92652012-11-19 Pino Toscano <toscano.pino@tiscali.it>
9266
9267 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
9268 string_t. Do not manually set errno.
9269 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
9270 length with __strnlen. Make sure to both set errno and return it on
9271 failure.
9272
6d33cc9d
DM
92732012-11-19 David S. Miller <davem@davemloft.net>
9274
9275 With help from Joseph Myers.
9276 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
9277 very large arguments properly.
9278 * math/libm-test.inc (atan_test): New tests.
9279 (atan2_test): New tests.
9280 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9281 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9282
ee663277
JM
92832012-11-19 Joseph Myers <joseph@codesourcery.com>
9284
877f2d8e
JM
9285 [BZ #14856]
9286 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
9287 Define to 3.
9288
116fc08a
JM
9289 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
9290 [POSIX] (EADDRNOTAVAIL): Likewise.
9291 [POSIX] (EAFNOSUPPORT): Likewise.
9292 [POSIX] (EALREADY): Likewise.
9293 [POSIX] (ECONNABORTED): Likewise.
9294 [POSIX] (ECONNREFUSED): Likewise.
9295 [POSIX] (ECONNRESET): Likewise.
9296 [POSIX] (EDESTADDRREQ): Likewise.
9297 [POSIX] (EDQUOT): Likewise.
9298 [POSIX] (EHOSTUNREACH): Likewise.
9299 [POSIX] (EIDRM): Likewise.
9300 [POSIX] (EISCONN): Likewise.
9301 [POSIX] (ELOOP): Likewise.
9302 [POSIX] (EMULTIHOP): Likewise.
9303 [POSIX] (ENETDOWN): Likewise.
9304 [POSIX] (ENETUNREACH): Likewise.
9305 [POSIX] (ENOBUFS): Likewise.
9306 [POSIX] (ENODATA): Likewise.
9307 [POSIX] (ENOLINK): Likewise.
9308 [POSIX] (ENOMSG): Likewise.
9309 [POSIX] (ENOPROTOOPT): Likewise.
9310 [POSIX] (ENOSR): Likewise.
9311 [POSIX] (ENOSTR): Likewise.
9312 [POSIX] (ENOTCONN): Likewise.
9313 [POSIX] (ENOTSOCK): Likewise.
9314 [POSIX] (EOPNOTSUPP): Likewise.
9315 [POSIX] (EOVERFLOW): Likewise.
9316 [POSIX] (EPROTO): Likewise.
9317 [POSIX] (EPROTONOSUPPORT): Likewise.
9318 [POSIX] (EPROTOTYPE): Likewise.
9319 [POSIX] (ESTALE): Likewise.
9320 [POSIX] (ETIME): Likewise.
9321 [POSIX] (ETXTBSY): Likewise.
9322 [POSIX] (EWOULDBLOCK): Likewise.
9323 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
9324 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
9325 [POSIX] (SEEK_CUR): Likewise.
9326 [POSIX] (SEEK_END): Likewise.
9327 [POSIX || UNIX98] (mode_t): Do not require.
9328 [POSIX] (off_t): Likewise.
9329 [POSIX] (pid_t): Likewise.
9330 [POSIX] (sys/stat.h): Do not allow header.
9331 [POSIX] (unistd.h): Likewise.
9332 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
9333 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
9334 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
9335 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
9336 require.
9337 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
9338 sigevent): Specify elements.
9339 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
9340 entry.
9341 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
9342 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
9343
a483863f
JM
9344 * conform/data/cpio.h-data [POSIX]: Disable whole file.
9345 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
9346 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
9347 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
9348 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
9349 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
9350 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
9351 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
9352 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
9353 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
9354 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
9355 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
9356 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
9357 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
9358 Likewise.
9359 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
9360 Likewise.
9361 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
9362 Likewise.
9363 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
9364 Likewise.
9365 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
9366 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
9367 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
9368 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
9369 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
9370 Specify lower bound on value.
9371 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
9372 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
9373 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
9374 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
9375 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
9376 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
9377 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
9378 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
9379 value.
9380 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
9381 as optional.
9382 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
9383 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
9384 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
9385 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
9386 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
9387 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
9388 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
9389 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
9390 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
9391 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
9392 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
9393 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
9394 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
9395 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
9396 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
9397 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
9398 entry.
9399 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
9400 optional.
9401 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
9402 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
9403 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
9404 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
9405 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
9406 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
9407 Likewise.
9408 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
9409 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
9410 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
9411 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
9412 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
9413 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
9414 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
9415 as optional.
9416 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
9417 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
9418 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
9419 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
9420 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
9421 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
9422 specify as optional.
9423 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
9424 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
9425 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
9426 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
9427 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
9428 [XPG3] (NL_LANGMAX): Likewise.
9429 [POSIX || XPG3] (NL_MSGMAX): Likewise.
9430 [POSIX || XPG3] (NL_NMAX): Likewise.
9431 [POSIX || XPG3] (NL_SETMAX): Likewise.
9432 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
9433 [XPG3] (NZERO): Likewise.
9434 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
9435 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
9436 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
9437 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
9438 (REG_ERANGE): Expect.
9439 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
9440 optional-constant.
9441 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
9442 Use (void) in prototype.
9443 [POSIX] (*_t): Allow.
9444 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
9445 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
9446 (WRDE_BADVAL): Expect.
9447
5ba924e3
JM
9448 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
9449 expect.
9450 [XPG3 || XPG4] (O_RSYNC): Likewise.
9451 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
9452 Likewise.
9453 [XPG3 || XPG4] (pthread_sigmask): Likewise.
9454 [XPG3 || XPG4] (sigqueue): Likewise.
9455 [XPG3 || XPG4] (sigtimedwait): Likewise.
9456 [XPG3 || XPG4] (sigwaitinfo): Likewise.
9457 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
9458 [XPG3 || XPG4] (vsnprintf): Likewise.
9459 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
9460 Likewise.
9461 [XPG3 || XPG4] (blksize_t): Likewise.
9462 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
9463 Likewise.
9464 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
9465 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
9466 [XPG3 || XPG4] (struct itimerspec): Likewise.
9467 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
9468 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
9469 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
9470 [XPG3 || XPG4] (clockid_t): Likewise.
9471 [XPG3 || XPG4] (timer_t): Likewise.
9472 [XPG3 || XPG4] (clock_getres): Likewise.
9473 [XPG3 || XPG4] (clock_gettime): Likewise.
9474 [XPG3 || XPG4] (clock_settime): Likewise.
9475 [XPG3 || XPG4] (nanosleep): Likewise.
9476 [XPG3 || XPG4] (timer_create): Likewise.
9477 [XPG3 || XPG4] (timer_delete): Likewise.
9478 [XPG3 || XPG4] (timer_gettime): Likewise.
9479 [XPG3 || XPG4] (timer_getoverrun): Likewise.
9480 [XPG3 || XPG4] (timer_settime): Likewise.
9481 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
9482 [XPG3 || XPG4] (getlogin_r): Likewise.
9483 [XPG3 || XPG4] (pread): Likewise.
9484 [XPG3 || XPG4] (pthread_atfork): Likewise.
9485 [XPG3 || XPG4] (pwrite): Likewise.
9486
ee663277
JM
9487 [BZ #14835]
9488 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
9489 <bits/siginfo.h>.
9490
942caa16
PT
94912012-11-19 Pino Toscano <toscano.pino@tiscali.it>
9492
e19af380
PT
9493 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
9494 finalizing MALLSTREAM.
9495
942caa16
PT
9496 * sysdeps/mach/hurd/syncfs.c: New file.
9497
cfde9b46
SP
94982012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
9499
9500 [BZ #14719]
9501 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
9502 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
9503 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
9504 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
9505 (_nss_dns_gethostbyname4_r): Likewise.
9506 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
9507 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
9508
f6da27e5
PH
95092012-11-19 Peng Haitao <penght@cn.fujitsu.com>
9510
9511 [BZ #13763]
9512 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
9513
6665d4a2
SM
95142012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
9515
1f51ee92
SM
9516 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
9517 * elf/cache.c (print_entry): Print ",AArch64" for
9518 FLAG_AARCH64_LIB64
9519
6665d4a2
SM
9520 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
9521 * elf/cache.c (print_entry): Print ",hard-float" for
9522 FLAG_ARM_LIBHF.
9523
05b227bd
DM
95242012-11-18 David S. Miller <davem@davemloft.net>
9525
9526 With help from Joseph Myers.
9527 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
9528 cutoff to 2**-13.
9529 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
9530 cutoff to 2**-25.
9531 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
9532 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
9533 small.
9534 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
9535 * math/libm-test.inc (y0_test): New tests.
9536 (y1_test): New tests.
9537 * sysdeps/i386/fpu/libm-test-ulps: Update.
9538 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9539 * sysdeps/sparc/fpu/libm-test-ulps: Update.
9540
786b0b67
AS
95412012-11-18 Andreas Schwab <schwab@linux-m68k.org>
9542
9543 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
9544 64-bit targets.
9545 * configure: Regenerated.
9546
8e18b86d
DM
95472012-11-17 David S. Miller <davem@davemloft.net>
9548
9549 [BZ #14811]
9550 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
9551 nonzero exponents with absolute value below 0x1p-128 to +/-
9552 0x1p-128.
9553
531f1ae0
JM
95542012-11-17 Joseph Myers <joseph@codesourcery.com>
9555
12df29e2
JM
9556 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
9557
150dc1a0
JM
9558 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
9559
531f1ae0
JM
9560 * posix/getconf-speclist.c: New file.
9561 * posix/posix-envs.def: Likewise.
9562 * posix/confstr.c (START_ENV_GROUP): New macro.
9563 (END_ENV_GROUP): Likewise.
9564 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9565 (KNOWN_PRESENT_ENV_STRING): Likewise.
9566 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9567 (UNKNOWN_ENVIRONMENT): Likewise.
9568 (confstr): Include posix-envs.def instead of handling
9569 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
9570 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
9571 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
9572 (END_ENV_GROUP): Likewise.
9573 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
9574 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
9575 (UNKNOWN_ENVIRONMENT): Likewise.
9576 (__sysconf): Include posix-envs.def instead of handling associated
9577 cases directly here.
9578 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
9579 preprocessing getconf-speclist.c rather than running getconf or
9580 generating empty file.
9581
a93f9cbc
PT
95822012-11-16 Pino Toscano <toscano.pino@tiscali.it>
9583
9584 * scripts/check-local-headers.sh: Ignore 'mach' headers.
9585
d64d9f87
AL
95862012-11-16 Andrej Lajovic <natrij@gmail.com>
9587
9588 [BZ #14672]
9589 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
9590
447885eb
DM
95912012-11-16 David S. Miller <davem@davemloft.net>
9592
9593 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
9594 smaller than LDBL_EPSILON/2.0L, just return xm1.
9595
bcbf9830
L
95962012-11-16 H.J. Lu <hongjiu.lu@intel.com>
9597
9598 * elf/tst-array1.c (init): Set constructor priority to 1000.
9599 (fini): Set destructor priority to 1000.
9600 * elf/tst-array2dep.c: Likewise.
9601
2b766585
SP
96022012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9603
9604 [BZ #11741]
9605 * libio/fileops.c (_IO_new_file_write): Correctly return error.
9606 (_IO_new_file_xsputn): Also return EOF if none of the input
9607 data was written when overflow failed.
9608 * libio/iopadn.c (_IO_padn): Likewise.
9609 * libio/iowpadn.c (_IO_wpadn): Likewise.
9610 * stdio-common/tst-put-error.c: Add copyright notice.
9611 (do_test): Add case for printing padded string.
9612 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
9613 _IO_padn returned error.
9614 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
9615 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
9616 return EOF.
9617
b1848fde
SP
96182012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
9619
9620 * libio/libioP.h: Add comment note that the references to C++
9621 bits are now obsolete.
9622
2fd89785
MS
96232012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9624
9625 * math/libm-test.inc (check_complex): Use asprintf.
9626
e3ea5409
JM
96272012-11-14 Joseph Myers <joseph@codesourcery.com>
9628
9629 * debug/pcprofiledump.c (print_version): Update copyright year.
9630 * malloc/memusagestat.c (print_version): Likewise.
9631
2e64d265
L
96322012-11-14 H.J. Lu <hongjiu.lu@intel.com>
9633
9634 [BZ #14831]
9635 * elf/Makefile (tests): Add tst-audit8.
9636 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
9637 ($(objpfx)tst-audit8.out): New target.
9638 (tst-audit8-ENV): New variable.
9639 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
9640 audit if l_reloc_result is NULL.
9641 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
9642 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
9643 * elf/tst-audit8.c: New file.
9644
c485e4d2
MS
96452012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9646
9647 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
9648 * misc/Makefile (CFLAGS-select.c): Define.
9649 * posix/Makefile (CFLAGS-pause.c): Define.
9650
3a0d900a
DM
96512012-11-13 David S. Miller <davem@davemloft.net>
9652
9653 * crypt/Makefile: Move test targets after toplevel Rules
9654 inclusion. Grab any necessary sysdep routines when linking.
9655 * crypt/md5.c (md5_process_block): Remove define, we will always
9656 name it __md5_process_block.
9657 (md5_finish_ctx): Update md5_process_block call.
9658 (md5_stream): Likewise.
9659 (md5_process_bytes): Likewise.
9660 (md5_process_block): Rename to __md5_process_block and move to ...
9661 * crypt/md5-block.c: ... here.
9662 * crypt/sha256.c (sha256_process_block): Move to ...
9663 * crypt/sha256-block.c: ... here.
9664 * crypt/sha512.c (sha512_process_block): Move to ...
9665 * crypt/sha512-block.c: ... here.
9666 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
9667 path.
9668 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
9669 * sysdeps/sparc/sparc64/multiarch/Makefile
9670 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
9671 crypt subdir.
9672 (localedef-aux): Add md5 crypto assembler when in locale subdir.
9673 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
9674 multiarch changes.
9675 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
9676 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
9677 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
9678 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
9679 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
9680 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
9681 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
9682 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
9683 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
9684 file.
9685 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
9686 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
9687 file.
9688 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
9689
8ca89318
JM
96902012-11-13 Joseph Myers <joseph@codesourcery.com>
9691
e27d476a
JM
9692 * timezone/tzselect.ksh: Update from tzcode git revision
9693 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
9694 * timezone/zdump.c: Likewise.
9695 * timezone/zic.c: Likewise.
9696 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
9697 in TZVERSION setting, not $(PKGVERSION).
9698 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
9699 REPORT_BUGS_TO settings.
9700
8ca89318
JM
9701 [BZ #14838]
9702 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
9703 macro.
9704
47594329
MS
97052012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9706
9707 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
9708 detection to immediately after _FP_ROUND().
9709 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
9710 bits are 0.
9711
640ac3f1
DM
97122012-11-11 David S. Miller <davem@davemloft.net>
9713
9714 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
9715 inttypes.h
9716 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
9717 __close rather than their public counterparts.
9718
3d2577bb
JM
97192012-11-10 Joseph Myers <joseph@codesourcery.com>
9720
9721 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
9722 file.
9723 [UNIX98] (sem_timedwait): Do not expect.
9724 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
9725 [XPG4 || UNIX98] (sockatmark): Do not expect.
9726 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
9727 (clock_getcpuclockid): Do not expect.
9728 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
9729 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
9730 Do not expect.
9731 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
9732 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
9733 [UNIX98] (vwscanf): Likewise.
9734 [UNIX98] (vswscanf): Likewise.
9735
fb1ae1ee
JM
97362012-11-09 Joseph Myers <joseph@codesourcery.com>
9737
9ec6f8bd
JM
9738 * timezone/version.h: Remove file.
9739 * timezone/README: Do not refer to version.h.
9740 * timezone/Makefile ($(objpfx)zic.o): New dependency on
9741 $(objpfx)version.h.
9742 ($(objpfx)zdump.o): Likewise.
c3f81911 9743 ($(objpfx)version.h): New target.
9ec6f8bd 9744
0aa8f8a1
JM
9745 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
9746 2012i.
9747 * timezone/README: Don't mention modification to tzselect.ksh.
9748 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
9749 work on unmodified tzselect.ksh. Substitute version numbers in
9750 tzselect.ksh.
9751
4e87147f
JM
9752 * Makefile (format-me): Remove.
9753 (INSTALL): Adjust indentation. Use commands directly instead of
9754 using $(format-me).
9755
8b748aed
JM
9756 * aclocal.m4 (ACX_PKGVERSION): New macro.
9757 (ACX_BUGURL): Likewise.
9758 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
9759 (PKGVERSION): New AC_DEFINE_UNQUOTED.
9760 (REPORT_BUGS_TO): Likewise.
9761 * configure: Regenerated.
9762 * config.h.in (PKGVERSION): New macro.
9763 (REPORT_BUGS_TO): Likewise.
9764 * config.make.in (PKGVERSION): New variable.
9765 (PKGVERSION_TEXI): Likewise.
9766 (REPORT_BUGS_TO): Likewise.
9767 (REPORT_BUGS_TEXI): Likewise.
9768 * Makefile (format-me): Use -I$(common-objpfx)manual.
9769 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
9770 ($(common-objpfx)manual/%): New target.
9771 (manual/%): Remove target.
9772 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
9773 (print_version): Use PKGVERSION.
9774 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
9775 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
9776 and REPORT_BUGS_TO.
9777 ($(objpfx)xtrace): Likewise.
9778 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
9779 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
9780 (print_version): Use PKGVERSION.
9781 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
9782 (do_version): Use PKGVERSION.
9783 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
9784 REPORT_BUGS_TO.
9785 (common-ldd-rewrite): Likewise.
9786 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
9787 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
9788 (print_version): Use PKGVERSION.
9789 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
9790 * elf/pldd.c (argp_program_bug_address): Remove variable.
9791 (more_help): New function.
9792 (argp): Use more_help.
9793 (print_version): Use PKGVERSION.
9794 * elf/sln.c (main): Use PKGVERSION.
9795 (usage): Use REPORT_BUGS_TO.
9796 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
9797 (top level): Use PKGVERSION.
9798 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
9799 (print_version): Use PKGVERSION.
9800 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
9801 (print_version): Use PKGVERSION.
9802 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
9803 (print_version): Use PKGVERSION.
9804 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
9805 (print_version): Use PKGVERSION.
9806 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
9807 (print_version): Use PKGVERSION.
9808 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
9809 (print_version): Use PKGVERSION.
9810 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
9811 and BUGURL.
9812 ($(objpfx)memusage): Likewise.
9813 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
9814 (do_version): Use PKGVERSION.
9815 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
9816 (print_version): Use PKGVERSION.
9817 * malloc/mtrace.pl ($PACKAGE): Remove variable.
9818 ($PKGVERSION): New variable.
9819 ($REPORT_BUGS_TO): Likewise.
9820 (usage): Use $REPORT_BUGS_TO.
9821 (top level): Use $PKGVERSION.
9822 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
9823 ($(objpfx)pkgvers.texi): New rule.
9824 ($(objpfx)stamp-pkgvers): Likewise.
9825 * manual/install.texi: Include pkgvers.texi.
9826 (--with-pkgversion): Document new configure option.
9827 (--with-bugurl): Likewise.
9828 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
9829 than necessarily for this particular distribution. Use
9830 REPORT_BUGS_TO for where to report bugs.
9831 * INSTALL: Regenerated.
9832 * manual/libc.texinfo: Include pkgvers.texi.
9833 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
9834 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
9835 (print_version): Use PKGVERSION.
9836 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
9837 (print_version): Use PKGVERSION.
9838 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
9839 (print_version): Use PKGVERSION.
9840 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
9841 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
9842 macro.
9843 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
9844 (print_version): Use PKGVERSION.
9845 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
9846 (print_version): Use PKGVERSION.
9847 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
9848 and PKGVERSION.
9849
92e4b6a9
JM
9850 * timezone/checktab.awk: Update from tzcode 2012i.
9851 * timezone/ialloc.c: Likewise.
9852 * timezone/private.h: Likewise.
9853 * timezone/scheck.c: Likewise.
9854 * timezone/tzfile.h: Likewise.
9855 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
9856 (TZVERSION): Hardcode tzcode version number.
9857 * timezone/zdump.c: Update from tzcode 2012i.
9858 * timezone/zic.c: Likewise.
9859 * timezone/version.h: New file.
9860 * timezone/README: Describe version.h. Update upstream location.
9861
9bde902c
JM
9862 [BZ #14824]
9863 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
9864 (mktemp): Enable declaration.
9865 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
9866 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
9867 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
9868 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
9869 Likewise.
9870 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
9871 Likewise.
9872 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
9873 Likewise.
9874 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
9875 Likewise.
9876 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
9877 Likewise.
9878 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
9879 Likewise.
9880
fb1ae1ee
JM
9881 [BZ #14821]
9882 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
9883 offset in buffer as u_int32_t not u_long. Consistently use memcpy
9884 for copies of such integer values.
9885 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
9886 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
9887
2c1adbcb
AJ
98882012-11-09 Andreas Jaeger <aj@suse.de>
9889
9890 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
9891 definitions and declarations that are provided by
9892 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
9893
d0f8457e
AK
98942012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
9895
3a235abb 9896 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
d0f8457e
AK
9897 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
9898 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
9899 definition.
9900
57241e26
MS
99012012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
9902
9903 * elf/elf.h: Update comment before AArch64 relocations.
9904
60e8270d
DM
99052012-11-07 David S. Miller <davem@davemloft.net>
9906
9907 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
9908 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
9909 (__start_context): Declare.
9910 (__makecontext_ret): Delete.
9911 (__makecontext): Hook up __start_context instead of
9912 __makecontext_ret.
9913 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
9914 (sysdep_routines): Add __start_context when in stdlib.
9915
0fbb0fbc
JM
99162012-11-07 Joseph Myers <joseph@codesourcery.com>
9917
9918 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
9919 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
9920 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
9921 hardcoded "nm".
9922 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
9923 (READELF): New variable. Use it instead of hardcoded "readelf".
9924
eb48db7e
L
99252012-11-07 H.J. Lu <hongjiu.lu@intel.com>
9926
9927 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
9928 * sysdeps/x86/Makefile: Here.
9929 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
9930 * sysdeps/x86/tst-xmmymm.sh: This.
9931
05bcf62a
JM
99322012-11-07 Joseph Myers <joseph@codesourcery.com>
9933
c4b6cf53
JM
9934 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
9935 expectations.
9936 [UNIX98] (pthread_barrier_t): Do not expect.
9937 [UNIX98] (pthread_barrierattr_t): Likewise.
9938 [UNIX98] (pthread_spinlock_t): Likewise.
9939 [UNIX98] (pthread_barrier_destroy): Likewise.
9940 [UNIX98] (pthread_barrier_init): Likewise.
9941 [UNIX98] (pthread_barrier_wait): Likewise.
9942 [UNIX98] (pthread_barrierattr_destroy): Likewise.
9943 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
9944 [UNIX98] (pthread_barrierattr_init): Likewise.
9945 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
9946 [UNIX98] (pthread_getcpuclockid): Likewise.
9947 [UNIX98] (pthread_mutex_timedlock): Likewise.
9948 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
9949 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
9950 [UNIX98] (pthread_sigmask): Likewise.
9951 [UNIX98] (pthread_spin_destroy): Likewise.
9952 [UNIX98] (pthread_spin_init): Likewise.
9953 [UNIX98] (pthread_spin_lock): Likewise.
9954 [UNIX98] (pthread_spin_trylock): Likewise.
9955 [UNIX98] (pthread_spin_unlock): Likewise.
9956 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
9957 Do not expect.
9958 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
9959 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
9960 [XPG3 || XPG4] (pthread_cond_t): Likewise.
9961 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
9962 [XPG3 || XPG4] (pthread_key_t): Likewise.
9963 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
9964 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
9965 [XPG3 || XPG4] (pthread_once_t): Likewise.
9966 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
9967 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
9968 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
9969 [XPG3 || XPG4] (pthread_t): Likewise.
9970
cbe6e120
JM
9971 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
9972 not expect.
9973 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
9974
1b126443
JM
9975 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
9976 Change function return type to int.
9977
b961a573
JM
9978 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
9979 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
9980 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
9981 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
9982 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
9983 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
9984 [!POSIX] (posix_madvise): Likewise.
9985 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
9986 && !UNIX98].
9987 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
9988 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
9989 (mode_t): Likewise.
9990 (posix_mem_offset): Likewise.
9991 (posix_typed_mem_get_info): Likewise.
9992 (posix_typed_mem_open): Likewise.
9993
9e188909
JM
9994 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
9995 Change condition to [XOPEN2K8].
9996
05bcf62a
JM
9997 * conform/conformtest.pl: Preprocess allow-header data with -x c
9998 instead of from stdin.
9999 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
10000 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
10001 [C99-based standards] (cerfc): Likewise.
10002 [C99-based standards] (cexp2): Likewise.
10003 [C99-based standards] (cexpm1): Likewise.
10004 [C99-based standards] (clog10): Likewise.
10005 [C99-based standards] (clog1p): Likewise.
10006 [C99-based standards] (clog2): Likewise.
10007 [C99-based standards] (clgamma): Likewise.
10008 [C99-based standards] (ctgamma): Likewise.
10009 [C99-based standards] (cerff): Likewise.
10010 [C99-based standards] (cerfcf): Likewise.
10011 [C99-based standards] (cexp2f): Likewise.
10012 [C99-based standards] (cexpm1f): Likewise.
10013 [C99-based standards] (clog10f): Likewise.
10014 [C99-based standards] (clog1pf): Likewise.
10015 [C99-based standards] (clog2f): Likewise.
10016 [C99-based standards] (clgammaf): Likewise.
10017 [C99-based standards] (ctgammaf): Likewise.
10018 [C99-based standards] (cerfl): Likewise.
10019 [C99-based standards] (cerfcl): Likewise.
10020 [C99-based standards] (cexp2l): Likewise.
10021 [C99-based standards] (cexpm1l): Likewise.
10022 [C99-based standards] (clog10l): Likewise.
10023 [C99-based standards] (clog1pl): Likewise.
10024 [C99-based standards] (clog2l): Likewise.
10025 [C99-based standards] (clgammal): Likewise.
10026 [C99-based standards] (ctgammal): Likewise.
10027 * conform/data/inttypes.h-data [C99-based standards]: Include
10028 stdint.h-data. Remove all expectations for stdint.h contents.
10029 [C99-based standards] (PRI*): Do not allow.
10030 [C99-based standards] (SCN*): Likewise.
10031 [C99-based standards] (*_t): Likewise.
10032 [C99-based-standards] (PRId8): Expect macro.
10033 [C99-based-standards] (PRIi8): Likewise.
10034 [C99-based-standards] (PRIo8): Likewise.
10035 [C99-based-standards] (PRIu8): Likewise.
10036 [C99-based-standards] (PRIx8): Likewise.
10037 [C99-based-standards] (PRIX8): Likewise.
10038 [C99-based-standards] (SCNd8): Likewise.
10039 [C99-based-standards] (SCNi8): Likewise.
10040 [C99-based-standards] (SCNo8): Likewise.
10041 [C99-based-standards] (SCNu8): Likewise.
10042 [C99-based-standards] (SCNx8): Likewise.
10043 [C99-based-standards] (PRIdLEAST8): Likewise.
10044 [C99-based-standards] (PRIiLEAST8): Likewise.
10045 [C99-based-standards] (PRIoLEAST8): Likewise.
10046 [C99-based-standards] (PRIuLEAST8): Likewise.
10047 [C99-based-standards] (PRIxLEAST8): Likewise.
10048 [C99-based-standards] (PRIXLEAST8): Likewise.
10049 [C99-based-standards] (SCNdLEAST8): Likewise.
10050 [C99-based-standards] (SCNiLEAST8): Likewise.
10051 [C99-based-standards] (SCNoLEAST8): Likewise.
10052 [C99-based-standards] (SCNuLEAST8): Likewise.
10053 [C99-based-standards] (SCNxLEAST8): Likewise.
10054 [C99-based-standards] (PRIdFAST8): Likewise.
10055 [C99-based-standards] (PRIiFAST8): Likewise.
10056 [C99-based-standards] (PRIoFAST8): Likewise.
10057 [C99-based-standards] (PRIuFAST8): Likewise.
10058 [C99-based-standards] (PRIxFAST8): Likewise.
10059 [C99-based-standards] (PRIXFAST8): Likewise.
10060 [C99-based-standards] (SCNdFAST8): Likewise.
10061 [C99-based-standards] (SCNiFAST8): Likewise.
10062 [C99-based-standards] (SCNoFAST8): Likewise.
10063 [C99-based-standards] (SCNuFAST8): Likewise.
10064 [C99-based-standards] (SCNxFAST8): Likewise.
10065 [C99-based-standards] (PRId16): Likewise.
10066 [C99-based-standards] (PRIi16): Likewise.
10067 [C99-based-standards] (PRIo16): Likewise.
10068 [C99-based-standards] (PRIu16): Likewise.
10069 [C99-based-standards] (PRIx16): Likewise.
10070 [C99-based-standards] (PRIX16): Likewise.
10071 [C99-based-standards] (SCNd16): Likewise.
10072 [C99-based-standards] (SCNi16): Likewise.
10073 [C99-based-standards] (SCNo16): Likewise.
10074 [C99-based-standards] (SCNu16): Likewise.
10075 [C99-based-standards] (SCNx16): Likewise.
10076 [C99-based-standards] (PRIdLEAST16): Likewise.
10077 [C99-based-standards] (PRIiLEAST16): Likewise.
10078 [C99-based-standards] (PRIoLEAST16): Likewise.
10079 [C99-based-standards] (PRIuLEAST16): Likewise.
10080 [C99-based-standards] (PRIxLEAST16): Likewise.
10081 [C99-based-standards] (PRIXLEAST16): Likewise.
10082 [C99-based-standards] (SCNdLEAST16): Likewise.
10083 [C99-based-standards] (SCNiLEAST16): Likewise.
10084 [C99-based-standards] (SCNoLEAST16): Likewise.
10085 [C99-based-standards] (SCNuLEAST16): Likewise.
10086 [C99-based-standards] (SCNxLEAST16): Likewise.
10087 [C99-based-standards] (PRIdFAST16): Likewise.
10088 [C99-based-standards] (PRIiFAST16): Likewise.
10089 [C99-based-standards] (PRIoFAST16): Likewise.
10090 [C99-based-standards] (PRIuFAST16): Likewise.
10091 [C99-based-standards] (PRIxFAST16): Likewise.
10092 [C99-based-standards] (PRIXFAST16): Likewise.
10093 [C99-based-standards] (SCNdFAST16): Likewise.
10094 [C99-based-standards] (SCNiFAST16): Likewise.
10095 [C99-based-standards] (SCNoFAST16): Likewise.
10096 [C99-based-standards] (SCNuFAST16): Likewise.
10097 [C99-based-standards] (SCNxFAST16): Likewise.
10098 [C99-based-standards] (PRId32): Likewise.
10099 [C99-based-standards] (PRIi32): Likewise.
10100 [C99-based-standards] (PRIo32): Likewise.
10101 [C99-based-standards] (PRIu32): Likewise.
10102 [C99-based-standards] (PRIx32): Likewise.
10103 [C99-based-standards] (PRIX32): Likewise.
10104 [C99-based-standards] (SCNd32): Likewise.
10105 [C99-based-standards] (SCNi32): Likewise.
10106 [C99-based-standards] (SCNo32): Likewise.
10107 [C99-based-standards] (SCNu32): Likewise.
10108 [C99-based-standards] (SCNx32): Likewise.
10109 [C99-based-standards] (PRIdLEAST32): Likewise.
10110 [C99-based-standards] (PRIiLEAST32): Likewise.
10111 [C99-based-standards] (PRIoLEAST32): Likewise.
10112 [C99-based-standards] (PRIuLEAST32): Likewise.
10113 [C99-based-standards] (PRIxLEAST32): Likewise.
10114 [C99-based-standards] (PRIXLEAST32): Likewise.
10115 [C99-based-standards] (SCNdLEAST32): Likewise.
10116 [C99-based-standards] (SCNiLEAST32): Likewise.
10117 [C99-based-standards] (SCNoLEAST32): Likewise.
10118 [C99-based-standards] (SCNuLEAST32): Likewise.
10119 [C99-based-standards] (SCNxLEAST32): Likewise.
10120 [C99-based-standards] (PRIdFAST32): Likewise.
10121 [C99-based-standards] (PRIiFAST32): Likewise.
10122 [C99-based-standards] (PRIoFAST32): Likewise.
10123 [C99-based-standards] (PRIuFAST32): Likewise.
10124 [C99-based-standards] (PRIxFAST32): Likewise.
10125 [C99-based-standards] (PRIXFAST32): Likewise.
10126 [C99-based-standards] (SCNdFAST32): Likewise.
10127 [C99-based-standards] (SCNiFAST32): Likewise.
10128 [C99-based-standards] (SCNoFAST32): Likewise.
10129 [C99-based-standards] (SCNuFAST32): Likewise.
10130 [C99-based-standards] (SCNxFAST32): Likewise.
10131 [C99-based-standards] (PRId64): Likewise.
10132 [C99-based-standards] (PRIi64): Likewise.
10133 [C99-based-standards] (PRIo64): Likewise.
10134 [C99-based-standards] (PRIu64): Likewise.
10135 [C99-based-standards] (PRIx64): Likewise.
10136 [C99-based-standards] (PRIX64): Likewise.
10137 [C99-based-standards] (SCNd64): Likewise.
10138 [C99-based-standards] (SCNi64): Likewise.
10139 [C99-based-standards] (SCNo64): Likewise.
10140 [C99-based-standards] (SCNu64): Likewise.
10141 [C99-based-standards] (SCNx64): Likewise.
10142 [C99-based-standards] (PRIdLEAST64): Likewise.
10143 [C99-based-standards] (PRIiLEAST64): Likewise.
10144 [C99-based-standards] (PRIoLEAST64): Likewise.
10145 [C99-based-standards] (PRIuLEAST64): Likewise.
10146 [C99-based-standards] (PRIxLEAST64): Likewise.
10147 [C99-based-standards] (PRIXLEAST64): Likewise.
10148 [C99-based-standards] (SCNdLEAST64): Likewise.
10149 [C99-based-standards] (SCNiLEAST64): Likewise.
10150 [C99-based-standards] (SCNoLEAST64): Likewise.
10151 [C99-based-standards] (SCNuLEAST64): Likewise.
10152 [C99-based-standards] (SCNxLEAST64): Likewise.
10153 [C99-based-standards] (PRIdFAST64): Likewise.
10154 [C99-based-standards] (PRIiFAST64): Likewise.
10155 [C99-based-standards] (PRIoFAST64): Likewise.
10156 [C99-based-standards] (PRIuFAST64): Likewise.
10157 [C99-based-standards] (PRIxFAST64): Likewise.
10158 [C99-based-standards] (PRIXFAST64): Likewise.
10159 [C99-based-standards] (SCNdFAST64): Likewise.
10160 [C99-based-standards] (SCNiFAST64): Likewise.
10161 [C99-based-standards] (SCNoFAST64): Likewise.
10162 [C99-based-standards] (SCNuFAST64): Likewise.
10163 [C99-based-standards] (SCNxFAST64): Likewise.
10164 [C99-based-standards] (PRIdMAX): Likewise.
10165 [C99-based-standards] (PRIiMAX): Likewise.
10166 [C99-based-standards] (PRIoMAX): Likewise.
10167 [C99-based-standards] (PRIuMAX): Likewise.
10168 [C99-based-standards] (PRIxMAX): Likewise.
10169 [C99-based-standards] (PRIXMAX): Likewise.
10170 [C99-based-standards] (SCNdMAX): Likewise.
10171 [C99-based-standards] (SCNiMAX): Likewise.
10172 [C99-based-standards] (SCNoMAX): Likewise.
10173 [C99-based-standards] (SCNuMAX): Likewise.
10174 [C99-based-standards] (SCNxMAX): Likewise.
10175 [C99-based-standards] (PRIdPTR): Likewise.
10176 [C99-based-standards] (PRIiPTR): Likewise.
10177 [C99-based-standards] (PRIoPTR): Likewise.
10178 [C99-based-standards] (PRIuPTR): Likewise.
10179 [C99-based-standards] (PRIxPTR): Likewise.
10180 [C99-based-standards] (PRIXPTR): Likewise.
10181 [C99-based-standards] (SCNdPTR): Likewise.
10182 [C99-based-standards] (SCNiPTR): Likewise.
10183 [C99-based-standards] (SCNoPTR): Likewise.
10184 [C99-based-standards] (SCNuPTR): Likewise.
10185 [C99-based-standards] (SCNxPTR): Likewise.
10186 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
10187 allow.
10188 * conform/data/stdint.h-data: Update comments to clarify
10189 requirements.
10190 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
10191 type.
10192 [C99-based standards] (INT8_MAX): Likewise.
10193 [C99-based standards] (INT16_MIN): Likewise.
10194 [C99-based standards] (INT16_MAX): Likewise.
10195 [C99-based standards] (INT32_MIN): Likewise.
10196 [C99-based standards] (INT32_MAX): Likewise.
10197 [C99-based standards] (INT64_MIN): Likewise.
10198 [C99-based standards] (INT64_MAX): Likewise.
10199 [C99-based standards] (UINT8_MAX): Likewise.
10200 [C99-based standards] (UINT16_MAX): Likewise.
10201 [C99-based standards] (UINT32_MAX): Likewise.
10202 [C99-based standards] (UINT64_MAX): Likewise.
10203 [C99-based standards] (INT_LEAST8_MIN): Likewise.
10204 [C99-based standards] (INT_LEAST8_MAX): Likewise.
10205 [C99-based standards] (INT_LEAST16_MIN): Likewise.
10206 [C99-based standards] (INT_LEAST16_MAX): Likewise.
10207 [C99-based standards] (INT_LEAST32_MIN): Likewise.
10208 [C99-based standards] (INT_LEAST32_MAX): Likewise.
10209 [C99-based standards] (INT_LEAST64_MIN): Likewise.
10210 [C99-based standards] (INT_LEAST64_MAX): Likewise.
10211 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
10212 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
10213 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
10214 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
10215 [C99-based standards] (INT_FAST8_MIN): Likewise.
10216 [C99-based standards] (INT_FAST8_MAX): Likewise.
10217 [C99-based standards] (INT_FAST16_MIN): Likewise.
10218 [C99-based standards] (INT_FAST16_MAX): Likewise.
10219 [C99-based standards] (INT_FAST32_MIN): Likewise.
10220 [C99-based standards] (INT_FAST32_MAX): Likewise.
10221 [C99-based standards] (INT_FAST64_MIN): Likewise.
10222 [C99-based standards] (INT_FAST64_MAX): Likewise.
10223 [C99-based standards] (UINT_FAST8_MAX): Likewise.
10224 [C99-based standards] (UINT_FAST16_MAX): Likewise.
10225 [C99-based standards] (UINT_FAST32_MAX): Likewise.
10226 [C99-based standards] (UINT_FAST64_MAX): Likewise.
10227 [C99-based standards] (INTPTR_MIN): Likewise.
10228 [C99-based standards] (INTPTR_MAX): Likewise.
10229 [C99-based standards] (UINTPTR_MAX): Likewise.
10230 [C99-based standards] (INTMAX_MIN): Likewise.
10231 [C99-based standards] (INTMAX_MAX): Likewise.
10232 [C99-based standards] (UINTMAX_MAX): Likewise.
10233 [C99-based standards] (PTRDIFF_MIN): Likewise.
10234 [C99-based standards] (PTRDIFF_MAX): Likewise.
10235 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
10236 [C99-based standards] (SIZE_MAX): Likewise.
10237 [C99-based standards] (WCHAR_MAX): Likewise.
10238 [C99-based standards] (WINT_MAX): Likewise.
10239 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
10240 constraint on value.
10241 [C99-based standards] (WCHAR_MIN): Likewise.
10242 [C99-based standards] (WINT_MIN): Likewise.
10243 [C99-based standards] (*_t): Allow.
10244 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
10245 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
10246 Include math.h-data and complex.h-data. Remove all expectations
10247 of math.h and complex.h contents.
10248 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
10249 at end of line.
10250 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
10251 (struct tm): Expect tag.
10252 [C99-based-standards] (wcstof): Expect function.
10253 [C99-based-standards] (wcstold): Likewise.
10254 [C99-based-standards] (wcstoll): Likewise.
10255 [C99-based-standards] (wcstoull): Likewise.
10256 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
10257 macro-int-constant. Specify type.
10258 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
10259 constraint on value.
10260 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
10261 Specify type.
10262 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
10263 Specify value.
10264 [ISO C standards]: Do not allow headers.
10265 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
10266 wcs[abcdefghijklmnopqrstuvwxyz]*.
10267 [ISO C standards] (*_t): Do not allow.
10268 * conform/data/wctype.h-data [C99-based standards] (iswblank):
10269 Expect function.
10270 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
10271 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
10272 Specify type.
10273 [ISO C standards]: Do not allow headers.
10274 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
10275 is[abcdefghijklmnopqrstuvwxyz]*.
10276 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
10277 to[abcdefghijklmnopqrstuvwxyz]*.
10278 [ISO C standards] (*_t): Do not allow.
10279 * conform/data/stdalign.h-data: New file.
10280 * conform/data/stdbool.h-data: Likewise.
10281 * conform/data/stdnoreturn.h-data: Likewise.
10282
7514feb8
RM
102832012-11-07 Roland McGrath <roland@hack.frob.com>
10284
10285 [BZ #14815]
10286 * manual/filesys.texi (Directory Entries): Typo fix.
10287 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
10288
19b2ecfc
MS
102892012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
10290
10291 * elf/elf.h (EM_AARCH64): New macro.
10292 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
10293 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
10294 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
10295 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
10296 (R_AARCH64_TLSDESC): Likewise.
10297 (NT_ARM_TLS): Likewise.
10298 (NT_ARM_HW_BREAK): Likewise.
10299 (NT_ARM_HW_WATCH): Likewise.
10300
60e235ee
JM
103012012-11-07 Joseph Myers <joseph@codesourcery.com>
10302
10303 [BZ #14811]
10304 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
10305 (__ieee754_powl): Saturate nonzero exponents with absolute value
10306 below 0x1p-79 to +/- 0x1p-79.
10307 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
10308 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
10309 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
10310 nonzero exponents with absolute value below 0x1p-32 to +/-
10311 0x1p-32.
10312 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
10313 (__ieee754_powl): Saturate nonzero exponents with absolute value
10314 below 0x1p-79 to +/- 0x1p-79.
10315 * math/libm-test.inc (pow_test): Add more tests.
10316
0ab234b7
AK
103172012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
10318
10319 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
10320 _dl_s390_cap_flags with kernel. Increase string length.
10321 (_dl_s390_platforms): Add z196 and zEC12.
10322
45832f74
JM
103232012-11-07 Joseph Myers <joseph@codesourcery.com>
10324
10325 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
10326 Change XOPEN21K to XOPEN2K.
10327
19218757
MK
103282012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
10329
10330 * string/memmove.c: Use memcpy when possible.
10331
c5f45721
AJ
103322012-11-06 Andreas Jaeger <aj@suse.de>
10333
10334 * po/eo.po: Update from translation team.
10335
82477c28
JM
103362012-11-06 Joseph Myers <joseph@codesourcery.com>
10337
10338 [BZ #14793]
10339 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
10340 exponent and small x and y exponents, scale x or y up. Increase
10341 by 2 the exponent used in scaling up.
10342 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10343 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10344 * math/libm-test.inc (fma_test): Add more tests.
10345 (fma_test_towardzero): Likewise.
10346 (fma_test_downward): Likewise.
10347 (fma_test_upward): Likewise.
10348
99252c8c
JM
103492012-11-05 Joseph Myers <joseph@codesourcery.com>
10350
acfa885f
JM
10351 [BZ #14805]
10352 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
10353 fenv_t *.
10354
99252c8c
JM
10355 [BZ #14801]
10356 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
10357 namespace for names of struct fields.
10358 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
10359 fenv_t fields.
10360 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
10361 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
10362
d6d98dea
ST
103632012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
10364
10365 [BZ #3665]
10366 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
10367
e10bb107
TS
103682012-11-04 Thomas Schwinge <thomas@codesourcery.com>
10369
10370 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
10371 PTR_DEMANGLE.
10372
10373 [BZ #5246]
10374 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
10375 PTR_DEMANGLE.
10376
a0c2940d
JM
103772012-11-04 Joseph Myers <joseph@codesourcery.com>
10378
10379 [BZ #14797]
10380 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
10381 definitely overflow as x * y not x * y + z.
10382 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10383 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10384 * math/libm-test.inc (fma_test): Add more tests.
10385 (fma_test_towardzero): Likewise.
10386 (fma_test_downward): Likewise.
10387 (fma_test_upward): Likewise.
10388
b830319d
TS
103892012-11-04 Thomas Schwinge <thomas@codesourcery.com>
10390
10391 [BZ #157]
10392
10393 * include/stub-tag.h: Remove file.
10394 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
10395 '#include' of it.
10396 * manual/maint.texi (Porting): Don't reference it.
10397 * Makerules ($(objpfx)stubs): Likewise.
10398 * dirent/closedir.c: Don't include <stub-tag.h>.
10399 * dirent/dirfd.c: Likewise.
10400 * dirent/fdopendir.c: Likewise.
10401 * dirent/getdents.c: Likewise.
10402 * dirent/getdents64.c: Likewise.
10403 * dirent/opendir.c: Likewise.
10404 * dirent/readdir.c: Likewise.
10405 * dirent/readdir64.c: Likewise.
10406 * dirent/readdir64_r.c: Likewise.
10407 * dirent/readdir_r.c: Likewise.
10408 * dirent/rewinddir.c: Likewise.
10409 * dirent/seekdir.c: Likewise.
10410 * dirent/telldir.c: Likewise.
10411 * gmon/profil.c: Likewise.
10412 * grp/setgroups.c: Likewise.
10413 * inet/if_index.c: Likewise.
10414 * io/access.c: Likewise.
10415 * io/chdir.c: Likewise.
10416 * io/chmod.c: Likewise.
10417 * io/chown.c: Likewise.
10418 * io/close.c: Likewise.
10419 * io/dup.c: Likewise.
10420 * io/dup2.c: Likewise.
10421 * io/dup3.c: Likewise.
10422 * io/euidaccess.c: Likewise.
10423 * io/faccessat.c: Likewise.
10424 * io/fchdir.c: Likewise.
10425 * io/fchmod.c: Likewise.
10426 * io/fchmodat.c: Likewise.
10427 * io/fchown.c: Likewise.
10428 * io/fchownat.c: Likewise.
10429 * io/fcntl.c: Likewise.
10430 * io/flock.c: Likewise.
10431 * io/fstatfs.c: Likewise.
10432 * io/fstatfs64.c: Likewise.
10433 * io/fstatvfs.c: Likewise.
10434 * io/fstatvfs64.c: Likewise.
10435 * io/futimens.c: Likewise.
10436 * io/fxstat.c: Likewise.
10437 * io/fxstat64.c: Likewise.
10438 * io/fxstatat.c: Likewise.
10439 * io/fxstatat64.c: Likewise.
10440 * io/getcwd.c: Likewise.
10441 * io/isatty.c: Likewise.
10442 * io/lchmod.c: Likewise.
10443 * io/lchown.c: Likewise.
10444 * io/link.c: Likewise.
10445 * io/linkat.c: Likewise.
10446 * io/lseek.c: Likewise.
10447 * io/lseek64.c: Likewise.
10448 * io/lxstat64.c: Likewise.
10449 * io/mkdir.c: Likewise.
10450 * io/mkdirat.c: Likewise.
10451 * io/mkfifo.c: Likewise.
10452 * io/mkfifoat.c: Likewise.
10453 * io/open.c: Likewise.
10454 * io/open64.c: Likewise.
10455 * io/openat.c: Likewise.
10456 * io/openat64.c: Likewise.
10457 * io/pipe.c: Likewise.
10458 * io/pipe2.c: Likewise.
10459 * io/poll.c: Likewise.
10460 * io/posix_fadvise.c: Likewise.
10461 * io/posix_fadvise64.c: Likewise.
10462 * io/posix_fallocate.c: Likewise.
10463 * io/posix_fallocate64.c: Likewise.
10464 * io/read.c: Likewise.
10465 * io/readlink.c: Likewise.
10466 * io/readlinkat.c: Likewise.
10467 * io/rmdir.c: Likewise.
10468 * io/sendfile.c: Likewise.
10469 * io/sendfile64.c: Likewise.
10470 * io/statfs.c: Likewise.
10471 * io/statfs64.c: Likewise.
10472 * io/statvfs.c: Likewise.
10473 * io/statvfs64.c: Likewise.
10474 * io/symlink.c: Likewise.
10475 * io/symlinkat.c: Likewise.
10476 * io/ttyname.c: Likewise.
10477 * io/ttyname_r.c: Likewise.
10478 * io/umask.c: Likewise.
10479 * io/unlink.c: Likewise.
10480 * io/unlinkat.c: Likewise.
10481 * io/utime.c: Likewise.
10482 * io/utimensat.c: Likewise.
10483 * io/write.c: Likewise.
10484 * io/xmknod.c: Likewise.
10485 * io/xmknodat.c: Likewise.
10486 * io/xstat.c: Likewise.
10487 * io/xstat64.c: Likewise.
10488 * login/getpt.c: Likewise.
10489 * login/grantpt.c: Likewise.
10490 * login/unlockpt.c: Likewise.
10491 * math/e_acoshl.c: Likewise.
10492 * math/e_acosl.c: Likewise.
10493 * math/e_asinl.c: Likewise.
10494 * math/e_atan2l.c: Likewise.
10495 * math/e_atanhl.c: Likewise.
10496 * math/e_coshl.c: Likewise.
10497 * math/e_expl.c: Likewise.
10498 * math/e_fmodl.c: Likewise.
10499 * math/e_gammal_r.c: Likewise.
10500 * math/e_hypotl.c: Likewise.
10501 * math/e_j0l.c: Likewise.
10502 * math/e_j1l.c: Likewise.
10503 * math/e_jnl.c: Likewise.
10504 * math/e_lgammal_r.c: Likewise.
10505 * math/e_log10l.c: Likewise.
10506 * math/e_log2l.c: Likewise.
10507 * math/e_logl.c: Likewise.
10508 * math/e_powl.c: Likewise.
10509 * math/e_rem_pio2l.c: Likewise.
10510 * math/e_sinhl.c: Likewise.
10511 * math/e_sqrtl.c: Likewise.
10512 * math/fclrexcpt.c: Likewise.
10513 * math/fedisblxcpt.c: Likewise.
10514 * math/feenablxcpt.c: Likewise.
10515 * math/fegetenv.c: Likewise.
10516 * math/fegetexcept.c: Likewise.
10517 * math/fegetround.c: Likewise.
10518 * math/feholdexcpt.c: Likewise.
10519 * math/fesetenv.c: Likewise.
10520 * math/fesetround.c: Likewise.
10521 * math/feupdateenv.c: Likewise.
10522 * math/fgetexcptflg.c: Likewise.
10523 * math/fraiseexcpt.c: Likewise.
10524 * math/fsetexcptflg.c: Likewise.
10525 * math/ftestexcept.c: Likewise.
10526 * math/k_cosl.c: Likewise.
10527 * math/k_rem_pio2l.c: Likewise.
10528 * math/k_sinl.c: Likewise.
10529 * math/k_tanl.c: Likewise.
10530 * math/s_asinhl.c: Likewise.
10531 * math/s_atanl.c: Likewise.
10532 * math/s_cbrtl.c: Likewise.
10533 * math/s_erfl.c: Likewise.
10534 * math/s_expm1l.c: Likewise.
10535 * math/s_log1pl.c: Likewise.
10536 * math/s_tanhl.c: Likewise.
10537 * misc/acct.c: Likewise.
10538 * misc/brk.c: Likewise.
10539 * misc/chflags.c: Likewise.
10540 * misc/chroot.c: Likewise.
10541 * misc/fchflags.c: Likewise.
10542 * misc/fgetxattr.c: Likewise.
10543 * misc/flistxattr.c: Likewise.
10544 * misc/fremovexattr.c: Likewise.
10545 * misc/fsetxattr.c: Likewise.
10546 * misc/fsync.c: Likewise.
10547 * misc/ftruncate.c: Likewise.
10548 * misc/futimes.c: Likewise.
10549 * misc/futimesat.c: Likewise.
10550 * misc/getdomain.c: Likewise.
10551 * misc/getdtsz.c: Likewise.
10552 * misc/gethostid.c: Likewise.
10553 * misc/gethostname.c: Likewise.
10554 * misc/getloadavg.c: Likewise.
10555 * misc/getpagesize.c: Likewise.
10556 * misc/getsysstats.c: Likewise.
10557 * misc/getxattr.c: Likewise.
10558 * misc/gtty.c: Likewise.
10559 * misc/ioctl.c: Likewise.
10560 * misc/lgetxattr.c: Likewise.
10561 * misc/listxattr.c: Likewise.
10562 * misc/llistxattr.c: Likewise.
10563 * misc/lremovexattr.c: Likewise.
10564 * misc/lsetxattr.c: Likewise.
10565 * misc/lutimes.c: Likewise.
10566 * misc/madvise.c: Likewise.
10567 * misc/mincore.c: Likewise.
10568 * misc/mlock.c: Likewise.
10569 * misc/mlockall.c: Likewise.
10570 * misc/mmap.c: Likewise.
10571 * misc/mprotect.c: Likewise.
10572 * misc/msync.c: Likewise.
10573 * misc/munlock.c: Likewise.
10574 * misc/munlockall.c: Likewise.
10575 * misc/munmap.c: Likewise.
10576 * misc/preadv.c: Likewise.
10577 * misc/preadv64.c: Likewise.
10578 * misc/ptrace.c: Likewise.
10579 * misc/pwritev.c: Likewise.
10580 * misc/pwritev64.c: Likewise.
10581 * misc/readv.c: Likewise.
10582 * misc/reboot.c: Likewise.
10583 * misc/remap_file_pages.c: Likewise.
10584 * misc/removexattr.c: Likewise.
10585 * misc/revoke.c: Likewise.
10586 * misc/select.c: Likewise.
10587 * misc/setdomain.c: Likewise.
10588 * misc/setegid.c: Likewise.
10589 * misc/seteuid.c: Likewise.
10590 * misc/sethostid.c: Likewise.
10591 * misc/sethostname.c: Likewise.
10592 * misc/setregid.c: Likewise.
10593 * misc/setreuid.c: Likewise.
10594 * misc/setxattr.c: Likewise.
10595 * misc/sstk.c: Likewise.
10596 * misc/stty.c: Likewise.
10597 * misc/swapoff.c: Likewise.
10598 * misc/swapon.c: Likewise.
10599 * misc/sync.c: Likewise.
10600 * misc/syncfs.c: Likewise.
10601 * misc/syscall.c: Likewise.
10602 * misc/truncate.c: Likewise.
10603 * misc/ualarm.c: Likewise.
10604 * misc/usleep.c: Likewise.
10605 * misc/ustat.c: Likewise.
10606 * misc/utimes.c: Likewise.
10607 * misc/vhangup.c: Likewise.
10608 * misc/writev.c: Likewise.
10609 * posix/_exit.c: Likewise.
10610 * posix/alarm.c: Likewise.
10611 * posix/execve.c: Likewise.
10612 * posix/fexecve.c: Likewise.
10613 * posix/fork.c: Likewise.
10614 * posix/fpathconf.c: Likewise.
10615 * posix/getaddrinfo.c: Likewise.
10616 * posix/getegid.c: Likewise.
10617 * posix/geteuid.c: Likewise.
10618 * posix/getgid.c: Likewise.
10619 * posix/getgroups.c: Likewise.
10620 * posix/getlogin.c: Likewise.
10621 * posix/getlogin_r.c: Likewise.
10622 * posix/getpgid.c: Likewise.
10623 * posix/getpid.c: Likewise.
10624 * posix/getppid.c: Likewise.
10625 * posix/getresgid.c: Likewise.
10626 * posix/getresuid.c: Likewise.
10627 * posix/getsid.c: Likewise.
10628 * posix/getuid.c: Likewise.
10629 * posix/glob64.c: Likewise.
10630 * posix/nanosleep.c: Likewise.
10631 * posix/pathconf.c: Likewise.
10632 * posix/pause.c: Likewise.
10633 * posix/posix_madvise.c: Likewise.
10634 * posix/pread.c: Likewise.
10635 * posix/pread64.c: Likewise.
10636 * posix/pwrite.c: Likewise.
10637 * posix/pwrite64.c: Likewise.
10638 * posix/sched_getaffinity.c: Likewise.
10639 * posix/sched_getp.c: Likewise.
10640 * posix/sched_gets.c: Likewise.
10641 * posix/sched_primax.c: Likewise.
10642 * posix/sched_primin.c: Likewise.
10643 * posix/sched_rr_gi.c: Likewise.
10644 * posix/sched_setaffinity.c: Likewise.
10645 * posix/sched_setp.c: Likewise.
10646 * posix/sched_sets.c: Likewise.
10647 * posix/sched_yield.c: Likewise.
10648 * posix/setgid.c: Likewise.
10649 * posix/setlogin.c: Likewise.
10650 * posix/setpgid.c: Likewise.
10651 * posix/setresgid.c: Likewise.
10652 * posix/setresuid.c: Likewise.
10653 * posix/setsid.c: Likewise.
10654 * posix/setuid.c: Likewise.
10655 * posix/sleep.c: Likewise.
10656 * posix/spawni.c: Likewise.
10657 * posix/sysconf.c: Likewise.
10658 * posix/times.c: Likewise.
10659 * posix/wait.c: Likewise.
10660 * posix/wait3.c: Likewise.
10661 * posix/wait4.c: Likewise.
10662 * posix/waitpid.c: Likewise.
10663 * resolv/gai_sigqueue.c: Likewise.
10664 * resource/getpriority.c: Likewise.
10665 * resource/getrlimit.c: Likewise.
10666 * resource/getrusage.c: Likewise.
10667 * resource/nice.c: Likewise.
10668 * resource/setpriority.c: Likewise.
10669 * resource/setrlimit.c: Likewise.
10670 * resource/ulimit.c: Likewise.
10671 * rt/aio_cancel.c: Likewise.
10672 * rt/aio_fsync.c: Likewise.
10673 * rt/aio_read.c: Likewise.
10674 * rt/aio_sigqueue.c: Likewise.
10675 * rt/aio_suspend.c: Likewise.
10676 * rt/aio_write.c: Likewise.
10677 * rt/clock_getres.c: Likewise.
10678 * rt/clock_gettime.c: Likewise.
10679 * rt/clock_nanosleep.c: Likewise.
10680 * rt/clock_settime.c: Likewise.
10681 * rt/lio_listio.c: Likewise.
10682 * rt/mq_close.c: Likewise.
10683 * rt/mq_getattr.c: Likewise.
10684 * rt/mq_notify.c: Likewise.
10685 * rt/mq_open.c: Likewise.
10686 * rt/mq_receive.c: Likewise.
10687 * rt/mq_send.c: Likewise.
10688 * rt/mq_setattr.c: Likewise.
10689 * rt/mq_timedreceive.c: Likewise.
10690 * rt/mq_timedsend.c: Likewise.
10691 * rt/mq_unlink.c: Likewise.
10692 * rt/shm_open.c: Likewise.
10693 * rt/shm_unlink.c: Likewise.
10694 * rt/timer_create.c: Likewise.
10695 * rt/timer_delete.c: Likewise.
10696 * rt/timer_getoverr.c: Likewise.
10697 * rt/timer_gettime.c: Likewise.
10698 * rt/timer_settime.c: Likewise.
10699 * setjmp/__longjmp.c: Likewise.
10700 * setjmp/setjmp.c: Likewise.
10701 * signal/kill.c: Likewise.
10702 * signal/killpg.c: Likewise.
10703 * signal/raise.c: Likewise.
10704 * signal/sigaction.c: Likewise.
10705 * signal/sigaltstack.c: Likewise.
10706 * signal/sigblock.c: Likewise.
10707 * signal/sigignore.c: Likewise.
10708 * signal/sigintr.c: Likewise.
10709 * signal/signal.c: Likewise.
10710 * signal/sigpause.c: Likewise.
10711 * signal/sigpending.c: Likewise.
10712 * signal/sigqueue.c: Likewise.
10713 * signal/sigreturn.c: Likewise.
10714 * signal/sigset.c: Likewise.
10715 * signal/sigsetmask.c: Likewise.
10716 * signal/sigstack.c: Likewise.
10717 * signal/sigsuspend.c: Likewise.
10718 * signal/sigtimedwait.c: Likewise.
10719 * signal/sigvec.c: Likewise.
10720 * signal/sigwait.c: Likewise.
10721 * signal/sigwaitinfo.c: Likewise.
10722 * signal/sysv_signal.c: Likewise.
10723 * socket/accept.c: Likewise.
10724 * socket/accept4.c: Likewise.
10725 * socket/bind.c: Likewise.
10726 * socket/connect.c: Likewise.
10727 * socket/getpeername.c: Likewise.
10728 * socket/getsockname.c: Likewise.
10729 * socket/getsockopt.c: Likewise.
10730 * socket/isfdtype.c: Likewise.
10731 * socket/listen.c: Likewise.
10732 * socket/recv.c: Likewise.
10733 * socket/recvfrom.c: Likewise.
10734 * socket/recvmsg.c: Likewise.
10735 * socket/send.c: Likewise.
10736 * socket/sendmsg.c: Likewise.
10737 * socket/sendto.c: Likewise.
10738 * socket/setsockopt.c: Likewise.
10739 * socket/shutdown.c: Likewise.
10740 * socket/sockatmark.c: Likewise.
10741 * socket/socket.c: Likewise.
10742 * socket/socketpair.c: Likewise.
10743 * stdio-common/ctermid.c: Likewise.
10744 * stdio-common/cuserid.c: Likewise.
10745 * stdio-common/remove.c: Likewise.
10746 * stdio-common/rename.c: Likewise.
10747 * stdio-common/renameat.c: Likewise.
10748 * stdio-common/tempname.c: Likewise.
10749 * stdlib/getcontext.c: Likewise.
10750 * stdlib/makecontext.c: Likewise.
10751 * stdlib/setcontext.c: Likewise.
10752 * stdlib/swapcontext.c: Likewise.
10753 * stdlib/system.c: Likewise.
10754 * streams/fattach.c: Likewise.
10755 * streams/fdetach.c: Likewise.
10756 * streams/getmsg.c: Likewise.
10757 * streams/getpmsg.c: Likewise.
10758 * streams/putmsg.c: Likewise.
10759 * streams/putpmsg.c: Likewise.
10760 * sysdeps/unix/bsd/getpt.c: Likewise.
10761 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
10762 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
10763 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
10764 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
10765 Likewise.
10766 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
10767 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
10768 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
10769 * sysvipc/msgctl.c: Likewise.
10770 * sysvipc/msgget.c: Likewise.
10771 * sysvipc/msgrcv.c: Likewise.
10772 * sysvipc/msgsnd.c: Likewise.
10773 * sysvipc/semctl.c: Likewise.
10774 * sysvipc/semget.c: Likewise.
10775 * sysvipc/semop.c: Likewise.
10776 * sysvipc/semtimedop.c: Likewise.
10777 * sysvipc/shmat.c: Likewise.
10778 * sysvipc/shmctl.c: Likewise.
10779 * sysvipc/shmdt.c: Likewise.
10780 * sysvipc/shmget.c: Likewise.
10781 * termios/tcdrain.c: Likewise.
10782 * termios/tcflow.c: Likewise.
10783 * termios/tcflush.c: Likewise.
10784 * termios/tcgetattr.c: Likewise.
10785 * termios/tcgetpgrp.c: Likewise.
10786 * termios/tcsendbrk.c: Likewise.
10787 * termios/tcsetattr.c: Likewise.
10788 * termios/tcsetpgrp.c: Likewise.
10789 * time/adjtime.c: Likewise.
10790 * time/clock.c: Likewise.
10791 * time/getitimer.c: Likewise.
10792 * time/gettimeofday.c: Likewise.
10793 * time/setitimer.c: Likewise.
10794 * time/settimeofday.c: Likewise.
10795 * time/stime.c: Likewise.
10796 * time/time.c: Likewise.
10797
107982012-11-04 Pino Toscano <toscano.pino@tiscali.it>
72e182e3 10799
a20492cf
PT
10800 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
10801 /usr/old/bin.
10802
72e182e3
PT
10803 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
10804 instead of spaces.
10805 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
10806
fbeafede
JM
108072012-11-03 Joseph Myers <joseph@codesourcery.com>
10808
5b5b04d6
JM
10809 [BZ #14796]
10810 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
10811 FE_TONEAREST before applying Dekker multiplication and Knuth
10812 addition. Clear inexact exceptions and check for exact zero
10813 results afterwards.
10814 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
10815 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
10816 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
10817 * math/libm-test.inc (fma_test): Add more tests.
10818 (fma_test_towardzero): Likewise.
10819 (fma_test_downward): Likewise.
10820 (fma_test_upward): Likewise.
10821 * sysdeps/generic/math_private.h (default_libc_fesetround): New
10822 function.
10823 (libc_fesetround): New macro.
10824 (libc_fesetroundf): Likewise.
10825 (libc_fesetroundl): Likewise.
10826 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
10827 function.
10828 (libc_fesetround_387): Likewise.
10829 (libc_fesetroundf): New macro.
10830 (libc_fesetround): Likewise.
10831 (libc_fesetroundl): Likewise.
10832 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
10833 function.
10834 (libc_fesetroundf): New macro.
10835 (libc_fesetround): Likewise.
10836 (libc_fesetroundl): Likewise.
10837 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
10838 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
10839 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
10840 libm_hidden_ver.
10841 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
10842 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
10843 libm_hidden_def.
10844 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
10845 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
10846 libm_hidden_ver.
10847 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
10848 libm_hidden_def.
10849
fbeafede
JM
10850 [BZ #3439]
10851 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
10852 integer constant usable in #if and use that to give value to enum
10853 constant.
10854 (FE_DIVBYZERO): Likewise.
10855 (FE_UNDERFLOW): Likewise.
10856 (FE_OVERFLOW): Likewise.
10857 (FE_INVALID): Likewise.
10858 (FE_INVALID_SNAN): Likewise.
10859 (FE_INVALID_ISI): Likewise.
10860 (FE_INVALID_IDI): Likewise.
10861 (FE_INVALID_ZDZ): Likewise.
10862 (FE_INVALID_IMZ): Likewise.
10863 (FE_INVALID_COMPARE): Likewise.
10864 (FE_INVALID_SOFTWARE): Likewise.
10865 (FE_INVALID_SQRT): Likewise.
10866 (FE_INVALID_INTEGER_CONVERSION): Likewise.
10867 (FE_TONEAREST): Likewise.
10868 (FE_TOWARDZERO): Likewise.
10869 (FE_UPWARD): Likewise.
10870 (FE_DOWNWARD): Likewise.
10871 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
10872 (FE_DIVBYZERO): Likewise.
10873 (FE_OVERFLOW): Likewise.
10874 (FE_UNDERFLOW): Likewise.
10875 (FE_INEXACT): Likewise.
10876 (FE_TONEAREST): Likewise.
10877 (FE_DOWNWARD): Likewise.
10878 (FE_UPWARD): Likewise.
10879 (FE_TOWARDZERO): Likewise.
10880 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
10881 (FE_UNDERFLOW): Likewise.
10882 (FE_OVERFLOW): Likewise.
10883 (FE_DIVBYZERO): Likewise.
10884 (FE_INVALID): Likewise.
10885 (FE_TONEAREST): Likewise.
10886 (FE_TOWARDZERO): Likewise.
10887 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
10888 (FE_OVERFLOW): Likewise.
10889 (FE_UNDERFLOW): Likewise.
10890 (FE_DIVBYZERO): Likewise.
10891 (FE_INEXACT): Likewise.
10892 (FE_TONEAREST): Likewise.
10893 (FE_TOWARDZERO): Likewise.
10894 (FE_UPWARD): Likewise.
10895 (FE_DOWNWARD): Likewise.
10896 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
10897 (FE_DIVBYZERO): Likewise.
10898 (FE_OVERFLOW): Likewise.
10899 (FE_UNDERFLOW): Likewise.
10900 (FE_INEXACT): Likewise.
10901 (FE_TONEAREST): Likewise.
10902 (FE_DOWNWARD): Likewise.
10903 (FE_UPWARD): Likewise.
10904 (FE_TOWARDZERO): Likewise.
10905
105ca950
CM
109062012-11-02 Chris Metcalf <cmetcalf@tilera.com>
10907
10908 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
10909
a542b389
AS
109102012-11-03 Andreas Schwab <schwab@linux-m68k.org>
10911
10912 * scripts/cross-test-ssh.sh (command): Use newlines to separate
10913 commands. Quote $PWD.
10914 (blacklist_exports): Don't use remove_newlines. Replace "declare
10915 -x" by "export".
10916 (remove_newlines): Remove.
10917
f62c8abc
L
109182012-11-02 H.J. Lu <hongjiu.lu@intel.com>
10919
10920 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
10921 * stdlib/stdlib.h (atof): Moved to ...
10922 * include/bits/stdlib-float.h: Here. New file.
10923 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
10924 * stdlib/bits/stdlib-float.h: New file.
10925 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
10926 -mno-sse -mno-mmx.
10927 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
10928 <xmmintrin.h>.
10929
0155d5b2
JM
109302012-11-02 Joseph Myers <joseph@codesourcery.com>
10931
a68d0680
JM
10932 * conform/conformtest.pl (@headers): Add fenv.h.
10933 * conform/data/fenv.h-data: New file.
10934 * include/fenv.h [_ISOMAC]: Disable all contents of file except
10935 include of <math/fenv.h>.
10936
caf7f573
JM
10937 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
10938 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
10939 && !UNIX98]. Enables tests for XOPEN2K8.
10940 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
10941 POSIX2008]: Likewise.
10942
6c073ad6
JM
10943 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
10944 (struct rusage): Do not expect type or its members.
10945
0155d5b2
JM
10946 [BZ #3439]
10947 * math/math.h (FP_NAN): Define macro to integer constant usable in
10948 #if and use that to give value to enum constant.
10949 (FP_INFINITE): Likewise.
10950 (FP_ZERO): Likewise.
10951 (FP_SUBNORMAL): Likewise.
10952 (FP_NORMAL): Likewise.
10953
b5dcacb4
AS
109542012-11-02 Andreas Schwab <schwab@linux-m68k.org>
10955
10956 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
10957 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
10958 arguments.
10959
f7934be8
RM
109602012-11-02 Roland McGrath <roland@hack.frob.com>
10961
10962 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
10963 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
10964 autoconf-time if not.
10965 * configure.in: Remove AC_PREREQ.
10966
d7d08bde
TMQMF
109672012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10968
10969 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
10970 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
10971 of the internal implementation.
10972
dcdae19a
JM
109732012-11-02 Joseph Myers <joseph@codesourcery.com>
10974
10975 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
10976 except include of <misc/sys/syslog.h>.
10977
d6cffd3e
AS
109782012-11-01 Andreas Schwab <schwab@linux-m68k.org>
10979
10980 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
10981 function returns with a NULL context exit with zero.
10982
b3563932
TMQMF
109832012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10984
10985 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
10986
b288a93d
L
109872012-11-01 H.J. Lu <hongjiu.lu@intel.com>
10988
10989 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
10990 (run_program_cmd): This.
10991 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
10992 (tst_langinfo): New variable. Use it.
10993
a2421a68
SAS
109942012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
10995
10996 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
10997 floating point opcodes.
10998
6f796e1b
TS
109992012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11000
7402596b
TS
11001 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
11002 variable.
11003
d0d4f868
TS
11004 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
11005
6f796e1b
TS
11006 * sysdeps/mach/hurd/powerpc: Remove directory.
11007 * sysdeps/mach/powerpc: Likewise.
11008
4da224a2
AS
110092012-11-01 Andreas Schwab <schwab@linux-m68k.org>
11010
11011 * scripts/check-local-headers.sh: Ignore c++ headers.
11012
341dd673
TS
110132012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11014
11015 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
11016 __libc_cleanup_region_start argument.
11017
473611b2
JM
110182012-11-01 Joseph Myers <joseph@codesourcery.com>
11019
11020 [BZ #14784]
11021 [BZ #14785]
11022 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
11023 x * y using scaling, not as x * y + z.
11024 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11025 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11026 * math/libm-test.inc (fma_test): Add more tests.
11027 (fma_test_towardzero): Likewise.
11028 (fma_test_downward): Likewise.
11029 (fma_test_upward): Likewise.
11030
4078da3d
TS
110312012-11-01 Thomas Schwinge <thomas@codesourcery.com>
11032
11033 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
11034
903252aa
JM
110352012-10-31 Joseph Myers <joseph@codesourcery.com>
11036
11037 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
11038 New variable.
11039
cbc818d0
TS
110402012-10-31 Thomas Schwinge <thomas@codesourcery.com>
11041
11042 * rt/tst-shm.c (worker): Correct checking for mmap failure.
11043
5a03cb1e
AS
110442012-10-31 Andreas Schwab <schwab@linux-m68k.org>
11045
11046 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11047 Fix sort order.
11048 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11049 Likewise.
11050
90aff2ff
TMQMF
110512012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
11052
11053 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11054 Fix the order of the list for glibc 2.17.
11055 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11056 Likewise.
11057
1818fcb7
AS
110582012-10-31 Andreas Schwab <schwab@linux-m68k.org>
11059
11060 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11061
ef82f4da
JM
110622012-10-31 Joseph Myers <joseph@codesourcery.com>
11063
16a0e2ec
JM
11064 [BZ #14610]
11065 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
11066 for low part of x being zero before using __atanl (y).
11067 * math/libm-test.inc (atan2_test): Add another test.
11068
0eb69512
JM
11069 * manual/install.texi (Configuring and compiling): Document
11070 general use of test-wrapper and test-wrapper-env.
11071 * INSTALL: Regenerated.
11072
ef82f4da
JM
11073 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
11074 (__fma): Do not extract and scale down low bits on after-rounding
11075 systems when result rounded to normal precision would have normal
11076 exponent.
11077 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
11078 (__fmal): Do not extract and scale down low bits on after-rounding
11079 systems when result rounded to normal precision would have normal
11080 exponent.
11081 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
11082 (__fmal): Do not extract and scale down low bits on after-rounding
11083 systems when result rounded to normal precision would have normal
11084 exponent.
11085 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
11086 macro.
11087 (fma_test): Add more tests.
11088 (fma_test_towardzero): Likewise.
11089 (fma_test_downward): Likewise.
11090 (fma_test_upward): Likewise.
11091
954ef0d9
L
110922012-10-30 H.J. Lu <hongjiu.lu@intel.com>
11093
11094 * sysdeps/i386/tininess.h: Renamed to ...
11095 * sysdeps/x86/tininess.h: This.
11096 * sysdeps/x86_64/tininess.h: Removed.
11097
df61ffb2
JM
110982012-10-30 Joseph Myers <joseph@codesourcery.com>
11099
11100 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
11101 input. Use $(build-program-cmd).
11102 ($(objpfx)tst-array1-static.out): Likewise.
11103 ($(objpfx)tst-array2.out): Likewise.
11104 ($(objpfx)tst-array3.out): Likewise.
11105 ($(objpfx)tst-array4.out): Likewise.
11106 ($(objpfx)tst-array5.out): Likewise.
11107 ($(objpfx)tst-array5-static.out): Likewise.
11108
01767843
CM
111092012-10-30 Chris Metcalf <cmetcalf@tilera.com>
11110
47cc1490
CM
11111 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
11112 if defined.
11113
01767843
CM
11114 * nss/nsswitch.h (nss_interface_function): Provide new
11115 macro for use with NSS functions.
11116 * grp/initgroups.c: Use new macro.
11117 * nss/getXXbyYY.c: Likewise.
11118 * nss/getXXbyYY_r.c: Likewise.
11119 * nss/getXXent.c: Likewise.
11120 * nss/getXXent_r.c: Likewise.
11121 * sysdeps/posix/getaddrinfo.c: Likewise.
11122
8321aa97
AJ
111232012-10-30 Andreas Jaeger <aj@suse.de>
11124
11125 * po/ru.po: Update Russion translation from translation project.
11126
2a27fd6d
JM
111272012-10-30 Joseph Myers <joseph@codesourcery.com>
11128
8627a232
JM
11129 [BZ #14152]
11130 [BZ #14783]
11131 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
11132 result and shift together with sticky bit instead of replicating
11133 round-to-nearest rounding.
11134 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
11135 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
11136 * math/libm-test.inc (fma_test): Add more tests. Do not permit
11137 missing underflow exceptions.
11138 (fma_test_towardzero): Add more tests.
11139 (fma_test_downward): Likewise.
11140 (fma_test_upward): Likewise.
11141
2a27fd6d
JM
11142 [BZ #14047]
11143 * sysdeps/generic/tininess.h: New file.
11144 * sysdeps/i386/tininess.h: Likewise.
11145 * sysdeps/sh/tininess.h: Likewise.
11146 * sysdeps/x86_64/tininess.h: Likewise.
11147 * stdlib/tst-strtod-underflow.c: Likewise.
11148 * stdlib/tst-tininess.c: Likewise.
11149 * stdlib/strtod_l.c: Include <tininess.h>.
11150 (round_and_return): Do not set errno for exact underflow cases.
11151 Force an underflow exception when setting errno for underflow.
11152 Determine underflow based on rounding to normal precision if
11153 TININESS_AFTER_ROUNDING.
11154 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
11155 ERANGE for exact underflow cases.
11156 * stdlib/Makefile (tests): Add tst-tininess and
11157 tst-strtod-underflow.
11158 ($(objpfx)tst-tininess): Use $(link-libm).
11159 ($(objpfx)tst-strtod-underflow): Likewise.
11160
e7170363
AJ
111612012-10-30 Andreas Jaeger <aj@suse.de>
11162
e5088dc6
AJ
11163 [BZ#14767]
11164 * elf/Makefile (tests): Remove conditional for have-initfini-array
11165 since this is now always required and the variable does not exist
11166 anymore.
11167 (tests-static): Likewise.
11168 (modules-names): Likewise.
11169
e7170363 11170 * po/eo.po: Add Esperanto translation from translation project.
b0988f10
AJ
11171
11172 * elf/tst-array1.c (fini_array): Make writeable so that it can be
11173 merged with constructor/destructor.
11174 (init_array): Likewise.
11175 * elf/tst-array2dep.c (fini_array): Likewise.
11176 (init_array): Likewise.
11177
60457d8a
MF
111782012-10-29 Mike Frysinger <vapier@gentoo.org>
11179
11180 * manual/message.texi: Delete @cartouche tags.
11181
8bece752
PT
111822012-10-29 Pino Toscano <toscano.pino@tiscali.it>
11183
94ce799f
PT
11184 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
11185 EOPNOTSUPP.
11186 * sysdeps/mach/hurd/fsync.c: Likewise.
11187
8bece752
PT
11188 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
11189 [_POSIX_REALTIME_SIGNALS]: Change condition to
11190 [_POSIX_REALTIME_SIGNALS > 0].
11191
86ebe6b1
AJ
111922012-10-27 Andreas Jaeger <aj@suse.de>
11193
11194 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
11195 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
11196 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
11197 [__WORDSIZE != 64]: Likewise.
11198
54399c08
L
111992012-10-26 H.J. Lu <hongjiu.lu@intel.com>
11200
11201 * iconvdata/tst-table.sh: Remove ${SHELL}.
11202 * iconvdata/tst-tables.sh: Likewise.
11203
e2211bed
DM
112042012-10-25 David S. Miller <davem@davemloft.net>
11205
11206 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11207 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
11208 of strtoull.
11209
f303f97c
DM
11210 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
11211 ifunc-impl-list.c
11212 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
11213 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
11214 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
11215 file.
11216
1e9d84cd
RM
112172012-10-25 Roland McGrath <roland@hack.frob.com>
11218
11219 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11220 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
11221 __getdirentries.
11222
df381762
JM
112232012-10-25 Joseph Myers <joseph@codesourcery.com>
11224 Jim Blandy <jimb@codesourcery.com>
11225
11226 * scripts/cross-test-ssh.sh: New file.
11227 * manual/install.texi (Configuring and compiling): Document use of
11228 cross-test-ssh.sh.
11229 * INSTALL: Regenerated.
11230
bff64913
PT
112312012-10-25 Pino Toscano <toscano.pino@tiscali.it>
11232
11233 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
11234 EOPNOTSUPP.
11235
25fe8932
JM
112362012-10-25 Joseph Myers <joseph@codesourcery.com>
11237
11238 * Makeconfig (run-program-prefix): Fix comment.
11239
cc1290d0
JM
112402012-10-24 Joseph Myers <joseph@codesourcery.com>
11241 Jim Blandy <jimb@codesourcery.com>
11242
11243 * Makeconfig (test-wrapper): New variable,
11244 (test-wrapper-env): Likewise.
11245 [$(cross-compiling) = yes && $(test-wrapper) != ""]
11246 (run-built-tests): Define to yes.
11247 (run-program-prefix): Use $(test-wrapper).
11248 (built-program-cmd): Likewise.
11249 * Rules (make-test-out): Use $(test-wrapper-env) and
11250 $(host-built-program-cmd).
11251 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
11252 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
11253 tst-pathopt.sh.
11254 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
11255 $(test-wrapper-env) to tst-rtld-load-self.sh.
11256 ($(objpfx)order2.out): Use $(test-wrapper).
11257 ($(objpfx)tst-initorder.out): Likewise.
11258 ($(objpfx)tst-initorder2.out): Likewise.
11259 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
11260 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
11261 (test_wrapper_env): New variable. Use it to run ld.so.
11262 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
11263 Use it to run ld.so.
11264 (test_wrapper_env): Likewise.
11265 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
11266 $(test-wrapper) to run-iconv-test.sh.
11267 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
11268 (ICONV): Use $test_wrapper.
11269 * posix/Makefile ($(objpfx)globtest.out): Pass
11270 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
11271 globtest.sh, not $(run-program-prefix).
11272 * posix/globtest.sh (run_via_rtld_prefix): New variable.
11273 (test_wrapper): Likewise.
11274 (test_wrapper_env): Likewise. Use it to run globtest with HOME
11275 set together with run_via_rtld_prefix.
11276 (run_program_prefix): Define in terms of test_wrapper and
11277 run_via_rtld_prefix.
11278
6e6249d0
RM
112792012-10-24 Roland McGrath <roland@hack.frob.com>
11280
11281 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
11282 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
11283 Targets removed.
11284
11285 [BZ #14743]
11286 * include/time.h: Remove librt_hidden_proto (clock_gettime).
11287 Declare __clock_getres, __clock_gettime, __clock_settime,
11288 __clock_nanosleep, and __clock_getcpuclockid.
11289 * rt/clock_gettime.c: Define __clock_gettime as an alias.
11290 Remove librt_hidden_def (clock_gettime).
11291 * sysdeps/unix/clock_gettime.c: Likewise.
11292 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
11293 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
11294 * rt/clock_getres.c: Define __clock_getres as an alias.
11295 * sysdeps/posix/clock_getres.c: Likewise.
11296 * rt/clock_settime.c: Define __clock_settime as an alias.
11297 * sysdeps/unix/clock_settime.c: Likewise.
11298 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
11299 * sysdeps/unix/clock_nanosleep.c: Likewise.
11300 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
11301 * rt/clock-compat.c: New file.
11302 * rt/Makefile (librt-routines): Add clock-compat and move
11303 $(clock-routines) to ...
11304 (routines): ... here, new variable.
11305 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
11306 Don't add get_clockfreq here.
11307 * rt/Versions (libc: GLIBC_2.17): New version set.
11308 Add clock_* symbols here.
11309 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
11310 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
11311 (GLIBC_2.17): Add clock_* symbols.
11312 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
11313 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
11314 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11316 Likewise.
11317 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11318 Likewise.
11319 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11320 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
11321 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
11322 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
11323 * NEWS: Mention the move.
11324
11325 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
11326 Use __open, __read, __close rather than their public counterparts.
11327 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
11328 (__get_clockfreq_via_cpuinfo): Likewise.
11329 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
11330 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
11331
11332 * config.h.in (HAVE_IFUNC): New #undef.
11333 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
11334 was successful.
11335 * configure: Regenerated.
11336
0cae3f4b
MF
113372012-10-24 Mike Frysinger <vapier@gentoo.org>
11338
11339 * configure.in: Move READELF check to start of file.
11340 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
11341 libc_cv_asm_gnu_indirect_function in the process.
11342 * configure: Regenerated.
11343
8175a253
MF
113442012-10-24 Mike Frysinger <vapier@gentoo.org>
11345
11346 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
11347 send the output to /dev/null.
11348 (libc_cv_cc_with_libunwind): Likewise.
11349 (libc_cv_as_noexecstack): Likewise.
11350 * configure: Regenerate.
11351
0708a7d1
JM
113522012-10-24 Joseph Myers <joseph@codesourcery.com>
11353
10b40d85
JM
11354 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
11355
0708a7d1
JM
11356 * posix/globtest.sh (TMPDIR): Do not set.
11357 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
11358 (testout): Likewise.
11359
9fddec1a
AJ
113602012-10-24 Andreas Jaeger <aj@suse.de>
11361
3a8db22f
AJ
11362 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
11363 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
11364 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
11365 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
11366 posix_fadvise64, posix_fallocate64.
11367
9fddec1a
AJ
11368 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
11369 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
11370 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
11371 Likewise.
11372 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
11373 Likewise.
11374 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
11375
11376 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
11377 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
11378 <bits/fcntl-linux.h>.
11379 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
11380
11381 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
11382 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
11383 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
11384 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
11385 [__WORDSIZE != 64]: Likewise.
11386
ebfd1bbd
JM
113872012-10-23 Joseph Myers <joseph@codesourcery.com>
11388
03ac099f
JM
11389 * Makeconfig (run-built-tests): New variable.
11390 * Rules [$(cross-compiling) = yes]: Change condition to
11391 [$(run-built-tests) = no].
11392 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
11393 to [$(run-built-tests) = yes].
11394 * elf/Makefile [$(cross-compiling) = no]: Likewise
11395 * grp/Makefile [$(cross-compiling) = no]: Likewise.
11396 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
11397 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
11398 * intl/Makefile [$(cross-compiling) = no]: Likewise.
11399 * io/Makefile [$(cross-compiling) = no]: Likewise.
11400 * libio/Makefile [$(cross-compiling) = no]: Likewise.
11401 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
11402 * misc/Makefile [$(cross-compiling) = no]: Likewise.
11403 * posix/Makefile [$(cross-compiling) = no]: Likewise.
11404 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
11405 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
11406 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
11407 * string/Makefile [$(cross-compiling) = no]: Likewise.
11408
ebfd1bbd
JM
11409 * posix/Makefile ($(objpfx)globtest.out): Pass
11410 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
11411 $(rtld-installed-name).
11412 * posix/globtest.sh (elf_objpfx): Remove variable.
11413 (rtld_installed_name): Likewise.
11414 (library_path): Likewise.
11415 (run_program_prefix): New variable. Use for running globtest
11416 binary.
11417
166bca24
JB
114182012-10-23 Jim Blandy <jimb@codesourcery.com>
11419 Joseph Myers <joseph@codesourcery.com>
11420
11421 * Makeconfig (host-built-program-cmd): New variable.
11422 * elf/Makefile (tst-stackguard1-ARGS): Use
11423 $(host-built-program-cmd).
11424 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
11425 (tst-spawn-ARGS): Likewise.
11426 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
11427
88866099
JM
114282012-10-23 Joseph Myers <joseph@codesourcery.com>
11429 Jim Blandy <jimb@codesourcery.com>
11430
11431 * Makeconfig (run-via-rtld-prefix): New variable.
11432 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
11433 (built-program-cmd): Likewise.
11434
b4b4c296
AJ
114352012-10-22 Andreas Jaeger <aj@suse.de>
11436
11437 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
11438 __O_RSYNC if it exists, otherwise to O_SYNC.
11439
6fb54a22
JB
114402012-10-22 Jim Blandy <jimb@codesourcery.com>
11441 Joseph Myers <joseph@codesourcery.com>
11442
11443 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
11444 /dev/null.
11445 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
11446 from /dev/null
11447 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
11448 /dev/null.
11449
481b90b9
AJ
114502012-10-22 Andreas Jaeger <aj@suse.de>
11451
2a0e2669
AJ
11452 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
11453 Define always.
11454 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
11455
76e38f9a
AJ
11456 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
11457 bits/fcntl-linux.h.
11458
7cd37b43
AJ
11459 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
11460 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
11461
481b90b9
AJ
11462 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
11463 to __O_LARGEFILE.
11464 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
11465 to __O_LARGEFILE.
11466
aba75984
JB
114672012-10-21 Jim Blandy <jimb@codesourcery.com>
11468 Joseph Myers <joseph@codesourcery.com>
11469
11470 * config.make.in (NM): New variable.
11471
88d4247f
AJ
114722012-10-21 Andreas Jaeger <aj@suse.de>
11473
11474 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
11475 definitions and declarations that are provided by
11476 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
11477
f2eed205
L
114782012-10-20 H.J. Lu <hongjiu.lu@intel.com>
11479
11480 [BZ #14683]
11481 * elf/Makefile (tests-static): Add tst-leaks1-static.
11482 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
11483 ($(objpfx)tst-leaks1-static): New rule.
11484 ($(objpfx)tst-leaks1-static-mem): Likewise.
11485 (tst-leaks1-static-ENV): New macro.
11486 * elf/dl-open.c (dl_open_worker): Check the main application
11487 only if SHARED is defined.
11488 * elf/tst-leaks1-static.c: New file.
11489
335e6931
AJ
114902012-10-20 Andreas Jaeger <aj@suse.de>
11491
11492 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
11493 generic values for Linux.
11494 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
11495 and declarations that are provided by <bits/fcntl-linux.h> and
11496 include <bits/fcntl-linux.h>.
11497 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
11498 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
11499
ac5c94d3
RM
115002012-10-20 Roland McGrath <roland@hack.frob.com>
11501
11502 * io/fcntl.h: Move include of <bits/types.h> to the top and
11503 include it unconditionally.
11504
de54b33a
L
115052012-10-20 H.J. Lu <hongjiu.lu@intel.com>
11506
228cfb01
L
11507 * wcsmbs/Makefile (tests-ifunc): New variable.
11508 (tests): Add $(tests-ifunc).
11509 * wcsmbs/test-wcschr-ifunc.c: New file.
11510 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
11511 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
11512 * wcsmbs/test-wcslen-ifunc.c: Likewise.
11513 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
11514 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
11515
69f07e5f
L
11516 * string/Makefile (tests-ifunc): New variable.
11517 (tests): Add $(tests-ifunc).
11518 * string/test-memccpy.c (TEST_NAME): New macro.
11519 * string/test-memchr.c (TEST_NAME): Likewise.
11520 * string/test-memcmp.c (TEST_NAME): Likewise.
11521 * string/test-memcpy.c (TEST_NAME): Likewise.
11522 * string/test-memmem.c (TEST_NAME): Likewise.
11523 * string/test-memmove.c (TEST_NAME): Likewise.
11524 * string/test-memset.c (TEST_NAME): Likewise.
11525 * string/test-rawmemchr.c (TEST_NAME): Likewise.
11526 * string/test-stpcpy.c (TEST_NAME): Likewise.
11527 * string/test-stpncpy.c (TEST_NAME): Likewise.
11528 * string/test-strcasecmp.c (TEST_NAME): Likewise.
11529 * string/test-strcasestr.c (TEST_NAME): Likewise.
11530 * string/test-strcat.c (TEST_NAME): Likewise.
11531 * string/test-strchr.c (TEST_NAME): Likewise.
11532 * string/test-strcmp.c(TEST_NAME): Likewise.
11533 * string/test-strcpy.c (TEST_NAME): Likewise.
11534 * string/test-strcspn.c (TEST_NAME): Likewise.
11535 * string/test-strlen.c (TEST_NAME): Likewise.
11536 * string/test-strncasecmp.c (TEST_NAME): Likewise.
11537 * string/test-strncmp.c (TEST_NAME): Likewise.
11538 * string/test-strncpy.c (TEST_NAME): Likewise.
11539 * string/test-strnlen.c (TEST_NAME): Likewise.
11540 * string/test-strpbrk.c (TEST_NAME): Likewise.
11541 * string/test-strrchr.c (TEST_NAME): Likewise.
11542 * string/test-strspn.c (TEST_NAME): Likewise.
11543 * string/test-strstr.c (TEST_NAME): Likewise.
11544 * string/test-bcopy-ifunc.c: New file.
11545 * string/test-bzero-ifunc.c: Likewise.
11546 * string/test-memccpy-ifunc.c: Likewise.
11547 * string/test-memchr-ifunc.c: Likewise.
11548 * string/test-memcmp-ifunc.c: Likewise.
11549 * string/test-memcpy-ifunc.c: Likewise.
11550 * string/test-memmem-ifunc.c: Likewise.
11551 * string/test-memmove-ifunc.c: Likewise.
11552 * string/test-mempcpy-ifunc.c: Likewise.
11553 * string/test-memset-ifunc.c: Likewise.
11554 * string/test-rawmemchr-ifunc.c: Likewise.
11555 * string/test-stpcpy-ifunc.c: Likewise.
11556 * string/test-stpncpy-ifunc.c: Likewise.
11557 * string/test-strcasecmp-ifunc.c: Likewise.
11558 * string/test-strcasestr-ifunc.c: Likewise.
11559 * string/test-strcat-ifunc.c: Likewise.
11560 * string/test-strchr-ifunc.c: Likewise.
11561 * string/test-strchrnul-ifunc.c: Likewise.
11562 * string/test-strcmp-ifunc.c: Likewise.
11563 * string/test-strcpy-ifunc.c: Likewise.
11564 * string/test-strcspn-ifunc.c: Likewise.
11565 * string/test-strlen-ifunc.c: Likewise.
11566 * string/test-strncasecmp-ifunc.c: Likewise.
11567 * string/test-strncat-ifunc.c: Likewise.
11568 * string/test-strncmp-ifunc.c: Likewise.
11569 * string/test-strncpy-ifunc.c: Likewise.
11570 * string/test-strnlen-ifunc.c: Likewise.
11571 * string/test-strpbrk-ifunc.c: Likewise.
11572 * string/test-strrchr-ifunc.c: Likewise.
11573 * string/test-strspn-ifunc.c: Likewise.
11574 * string/test-strstr-ifunc.c: Likewise.
11575
de54b33a
L
11576 * debug/Makefile (tests-ifunc): New variable.
11577 (tests): Add $(tests-ifunc).
11578 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
11579 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
11580 * debug/test-stpcpy_chk-ifunc.c: New file.
11581 * debug/test-strcpy_chk-ifunc.c: Likewise.
11582
88481c16
SP
115832012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
11584
11585 [BZ #13601]
11586 * elf/dl-load.c (open_verify): Retry read if the entire ELF
11587 header is not read in.
11588
135948bd
JM
115892012-10-19 Joseph Myers <joseph@codesourcery.com>
11590
89f1c388
JM
11591 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
11592 script to $(SHELL) as $<. Pass $(common-objpfx) to script
11593 directly. Pass built executable to script as
11594 $(built-program-cmd).
11595 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
11596 $testprogram without using LD_LIBRARY_PATH and $ldso.
11597
e40a0d21
JM
11598 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
11599 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
11600 $(rtld-installed-name).
11601 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
11602 (rtld_installed_name): Likewise.
11603 (library_path): Likewise.
11604 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
11605 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
11606 $(run-program-prefix) to tst-tables.sh.
11607 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
11608 it to run tst-table-from and tst-table-to.
11609 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
11610 Pass it to tst-table.sh.
11611 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
11612 $(run-program-prefix) to tst-gettext.sh.
11613 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
11614 tst-translit.sh.
11615 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
11616 tst-gettext2.sh.
11617 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
11618 to run tst-gettext.
11619 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
11620 to run tst-gettext2.
11621 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
11622 to run tst-translit.
11623 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
11624 $(run-program-prefix) to tst-mtrace.sh.
11625 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
11626 to run tst-mtrace.
11627 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
11628 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
11629 $(rtld-installed-name).
11630 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
11631 (rtld_installed_name): Likewise.
11632 (run_program_prefix): New variable. Use it to run wordexp-test.
11633
728e272a
JM
11634 * Makeconfig (ARCH): Remove all definitions.
11635 (machine): Likewise.
11636 [ARCH]: Remove conditional code.
11637 [!objdir]: Give error.
11638 [!objdir] (objpfx): Remove.
11639 [!objdir] (common-objpfx): Likewise.
11640 [!objdir] (common-objdir): Likewise.
11641 * configure.in (config_makefile): Remove. Hardcode Makefile in
11642 AC_CONFIG_FILES call.
11643 * configure: Regenerated.
11644
d528cdcf
JM
11645 [BZ #13888]
11646 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
11647 or TMPDIR.
11648 (testout): Likewise.
11649
135948bd
JM
11650 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
11651 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
11652 $(rtld-installed-name).
11653 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
11654 (rtld_installed_name): Likwise.
11655 (runit): Remove function.
11656 (run_getconf): New variable, Use it for running getconf binary.
11657
38c78296
L
116582012-10-18 H.J. Lu <hongjiu.lu@intel.com>
11659
11660 [BZ #14716]
11661 * string/test-memmem.c (check_result): New function.
11662 (do_one_test): Use it.
11663 (check1): New function.
11664 (test_main): Use it.
11665
d077f65f
MT
116662012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
11667
11668 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
11669
ced52c71
JM
116702012-10-18 Joseph Myers <joseph@codesourcery.com>
11671
11672 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
11673 (_G_LSEEK64): Likewise.
11674 (_G_MMAP64): Likewise.
11675 (_G_FSTAT64): Likewise.
11676 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
11677 (_G_LSEEK64): Likewise.
11678 (_G_MMAP64): Likewise.
11679 (_G_FSTAT64): Likewise.
11680 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
11681 unconditional. Call __mmap64 directly.
11682 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
11683 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
11684 __lseek64 directly.
11685 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
11686 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
11687 __mmap64 directly.
11688 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
11689 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
11690 __lseek64 directly.
11691 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
11692 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
11693 __lseek64 directly.
11694 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
11695 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
11696 __lseek64 directly.
11697 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
11698 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
11699 __fxstat64 directly.
11700 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
11701 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
11702 unconditional.
11703 (freopen64) [!_G_OPEN64]: Remove conditional code.
11704 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
11705 unconditional.
11706 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
11707 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
11708 unconditional.
11709 (ftello64) [!_G_LSEEK64]: Remove conditional code.
11710 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
11711 unconditional.
11712 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
11713 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
11714 unconditional.
11715 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
11716 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
11717 unconditional.
11718 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
11719 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
11720 unconditional.
11721 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
11722 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
11723 unconditional.
11724 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
11725
b741de23
SP
117262012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
11727
11728 [BZ #12140]
11729 * manual/memory.texi (Malloc Tunable Parameters): Add note
11730 about free list pointers overwriting some perturb bytes.
11731 Wording suggested by Roland McGrath.
11732
f9b9d9c9
JM
117332012-10-17 Joseph Myers <joseph@codesourcery.com>
11734
11735 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
11736 (lgamma_test): Likewise.
11737 (tgamma_test): Likewise.
11738
172a631a
FW
117392012-10-16 Florian Weimer <fweimer@redhat.com>
11740
11741 [BZ #14700]
11742 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
11743 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
11744
e9f37252
MK
117452012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
11746
11747 * NEWS: Mention BZ #14716.
11748 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
11749 when removing AVAILABLE1_USES_J macro.
11750
d394eb74
L
117512012-10-12 H.J. Lu <hongjiu.lu@intel.com>
11752
11753 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
11754 (__bswap_64): __uint64_t for unsigned 64-bit int.
11755
ca38dc17
AS
117562012-10-12 Andreas Schwab <schwab@linux-m68k.org>
11757
11758 * include/string.h (memmem): Declare libc hidden alias.
11759 * string/memmem.c (memmem): Define libc hidden alias.
11760 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
11761 __read, __close instead of open, read, close.
11762
9a387d1f
L
117632012-10-11 H.J. Lu <hongjiu.lu@intel.com>
11764
ac49ecaf
L
11765 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
11766 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
11767 global and hidden.
11768 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
11769 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
11770 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
11771 Likewise.
11772 (__rawmemchr_sse2): Likewise.
11773 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
11774 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
11775 (__strchr_sse2): Likewise.
11776 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
11777 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
11778 (__strcasecmp_sse2): Likewise.
11779 (__strncasecmp_sse2): Likewise.
11780 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
11781 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
11782 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
11783 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
11784 (__strrchr_sse2): Likewise.
11785 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
11786 ifunc-impl-list.c.
11787 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
11788 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
11789 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
11790 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
11791 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
11792 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
11793 * sysdeps/x86_64/multiarch/memset.S: Likewise.
11794 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
11795 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
11796 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
11797 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
11798 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
11799 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
11800 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
11801 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
11802 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
11803 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
11804 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
11805 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
11806 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
11807 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
11808 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
11809 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
11810 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
11811 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
11812 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11813 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
11814 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
11815 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
11816 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
11817
b090e8ea
L
11818 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
11819 global and hidden.
11820 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
11821 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
11822 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
11823 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
11824 Likewise.
11825 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
11826 Likewise.
11827 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
11828 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
11829 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
11830 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
11831 ifunc-impl-list.c.
11832 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
11833 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
11834 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
11835 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
11836 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
11837 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
11838 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
11839 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
11840 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
11841 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
11842 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
11843 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
11844 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
11845 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
11846 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
11847 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
11848 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
11849 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
11850 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
11851 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
11852 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
11853 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
11854 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
11855 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
11856 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
11857 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
11858 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
11859 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
11860 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
11861 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
11862 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
11863 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
11864 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
11865 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
11866 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
11867 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
11868 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
11869 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
11870 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
11871 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
11872 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
11873
11dd4af6
L
11874 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
11875 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
11876 * include/ifunc-impl-list.h: New file.
11877 * misc/ifunc-impl-list.c: Likewise.
11878 * misc/Makefile (routines): Add ifunc-impl-list.
11879 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
11880 * string/test-string.h: Include <ifunc-impl-list.h>.
11881 [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
11882 impl_array): New variables.
11883 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
11884 are defined.
11885 (test_init): Call __libc_ifunc_impl_list to initialize
11886 func_list if TEST_IFUNC and TEST_NAME are defined.
11887
9a387d1f
L
11888 * string/Makefile (strop-tests): Add bcopy and bzero.
11889 * string/test-bcopy.c: New file.
11890 * string/test-bzero.c: Likewise.
11891 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
11892 defined.
11893 * string/test-memset.c: Support bzero test if TEST_BZERO is
11894 defined.
11895 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
11896 __libc_memmove.
11897 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
11898 __libc_memset.
11899 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
11900 of memset.
11901
472371b9
JM
119022012-10-10 Joseph Myers <joseph@codesourcery.com>
11903
1e4a9536
JM
11904 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
11905 * configure: Regenerated.
11906
d173d12e
JM
11907 * Makeconfig (+link-static-before-libc): Don't include
11908 $(link-static-libc).
11909
472371b9
JM
11910 * libio/libio.h (_IO_pos_t): Remove.
11911
89a3ad0b
AO
119122012-10-10 Alexandre Oliva <aoliva@redhat.com>
11913
11914 * NEWS: Add note about FIPS mode. Wording suggested by Roland
11915 McGrath.
11916
e7451425
AO
119172012-10-10 Alexandre Oliva <aoliva@redhat.com>
11918
11919 * crypt/crypt-entry.c: Include fips-private.h.
11920 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
11921 * crypt/md5c-test.c (main): Tolerate disabled MD5.
11922 * sysdeps/unix/sysv/linux/fips-private.h: New file.
11923 * sysdeps/generic/fips-private.h: New file, dummy fallback.
11924
4ba74a35
AO
119252012-10-10 Alexandre Oliva <aoliva@redhat.com>
11926
11927 * crypt/crypt-private.h: Include stdbool.h.
11928 (_ufc_setup_salt_r): Return bool.
11929 * crypt/crypt-entry.c: Include errno.h.
11930 (__crypt_r): Return NULL with EINVAL for bad salt.
11931 * crypt/crypt_util.c (bad_for_salt): New.
11932 (_ufc_setup_salt_r): Check that salt is long enough and within
11933 the specified alphabet.
11934 * crypt/badsalttest.c: New file.
11935 * crypt/Makefile (tests): Add it.
11936 ($(objpfx)badsalttest): New.
11937
f96f1242
MK
119382012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
11939
11940 * NEWS: Add entry for BZ #14602.
11941
0e8e0c1c
JM
119422012-10-09 Joseph Myers <joseph@codesourcery.com>
11943
11944 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
11945 type-generic.
11946 * math/libm-test.inc: Update comment listing what functions and
11947 macros are tested.
11948 (isgreater_test): New function.
11949 (isgreaterequal_test): Likewise.
11950 (isless_test): Likewise.
11951 (islessequal_test): Likewise.
11952 (islessgreater_test): Likewise.
11953 (isunordered_test): Likewise.
11954 (main): Call the new functions.
11955
273edc5e
RM
119562012-10-09 Roland McGrath <roland@hack.frob.com>
11957
b8493de0
RM
11958 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
11959 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
11960 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
11961 * sysdeps/i386/configure: Regenerated.
11962 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
11963 * sysdeps/mach/configure: Regenerated.
11964 * sysdeps/mach/hurd/configure: Regenerated.
11965 * sysdeps/powerpc/configure: Regenerated.
11966 * sysdeps/powerpc/powerpc32/configure: Regenerated.
11967 * sysdeps/powerpc/powerpc64/configure: Regenerated.
11968 * sysdeps/s390/s390-32/configure: Regenerated.
11969 * sysdeps/s390/s390-64/configure: Regenerated.
11970 * sysdeps/sh/configure: Regenerated.
11971 * sysdeps/sparc/configure: Regenerated.
11972 * sysdeps/unix/sysv/linux/configure: Regenerated.
11973 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
11974 * sysdeps/x86_64/configure: Regenerated.
11975
273edc5e
RM
11976 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
11977 defined. Don't check if MAP is NULL.
11978
c8450f70
JM
119792012-10-09 Joseph Myers <joseph@codesourcery.com>
11980
11981 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
11982 (_G_stat64): Likewise.
11983 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
11984 (_G_stat64): Likewise.
11985 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
11986 instead of struct _G_stat64.
11987 * libio/fileops.c (mmap_remap_check): Likewise.
11988 (decide_maybe_mmap): Likewise.
11989 (_IO_new_file_seekoff): Likewise.
11990 (_IO_file_stat): Likewise.
11991 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
11992 _G_off64_t.
11993 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
11994 instead of struct _G_stat64.
11995 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
11996
57e605ba
MK
119972012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
11998
11999 [BZ #14602]
12000 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12001 Replace with ...
12002 (CHECK_EOL): New macro.
12003 (two_way_short_needle): Check beginning of haystack for EOL. Use
12004 CHECK_EOL.
12005 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12006 Replace with CHECK_EOL.
12007 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
12008 Replace with CHECK_EOL.
12009
ef1bb361
JM
120102012-10-08 Joseph Myers <joseph@codesourcery.com>
12011
12012 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
12013 type-generic.
12014 * math/libm-test.inc: Update comment listing what functions and
12015 macros are tested.
12016 (finite_test): New function.
12017 (isinf_test): Likewise.
12018 (isnan_test): Likewise.
12019 (fpclassify_test): Test subnormal input.
12020 (isfinite_test): Likewise.
12021 (isnormal_test): Likewise.
12022 (main): Call the new functions.
12023
55f11534
JN
120242012-10-08 Jonathan Nieder <jrnieder@gmail.com>
12025
12026 [BZ #14660]
12027 * Makerules (%.dynsym): Force C locale when running
12028 $(OBJDUMP) --dynamic-syms.
12029
1ab29350
AS
120302012-10-08 Andreas Schwab <schwab@linux-m68k.org>
12031
12032 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
12033 <stdint.h>.
12034
f1ecb7ef
DM
120352012-10-06 David S. Miller <davem@davemloft.net>
12036
12037 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
12038 upper 32-bits of the length value in %o2 since we use branch-on-register
12039 tests which consider the entire 64-bit register.
12040
5d41d91a
L
120412012-10-06 H.J. Lu <hongjiu.lu@intel.com>
12042
12043 * string/test-strstr.c (check2): Add a test for page boundary.
12044
3baddb72
DM
120452012-10-05 David S. Miller <davem@davemloft.net>
12046
12047 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
12048 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
12049 file.
12050 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12051 sysdep_routines.
12052 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12053 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
12054 and bzero when HWCAP_SPARC_CRYPTO is present.
12055
9cee5585
L
120562012-10-05 H.J. Lu <hongjiu.lu@intel.com>
12057
d7e0dab9
L
12058 [BZ #14602]
12059 * string/test-strstr.c (check2): New function.
12060 (test_main): Call check2.
12061
03759f47
L
12062 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
12063 and bug-strchr1.
12064 * string/bug-strcasestr1.c (do_test): Moved to ...
12065 * string/test-strcasestr.c (check1): Here. New function.
12066 (do_one_test): Break out result checking code into ...
12067 (check_result): This. New function.
12068 (do_one_test): Call check_result.
12069 (test_main): Call check1.
12070 * string/bug-strchr1.c (do_test): Moved to ...
12071 * string/test-strchr.c (check1): Here. New function.
12072 (do_one_test): Break out result checking code into ...
12073 (check_result): This. New function.
12074 (do_one_test): Call check_result.
12075 (test_main): Call check1.
12076 * string/bug-strstr1.c (main): Moved to ...
046f153e 12077 * string/test-strstr.c (check1): Here. New function.
03759f47
L
12078 (do_one_test): Break out result checking code into ...
12079 (check_result): This. New function.
12080 (do_one_test): Call check_result.
12081 (test_main): Call check1.
12082 * string/bug-strcasestr1.c: Removed.
12083 * string/bug-strchr1.c: Likewise.
12084 * string/bug-strstr1.c: Likewise.
12085
53cea63e
L
12086 * elf/Makefile (dl-routines): Add hwcaps.
12087 * elf/dl-support.c (_dl_important_hwcaps): Removed.
12088 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
12089 (_dl_important_hwcaps): Moved to ...
12090 * elf/dl-hwcaps.c: Here. New file.
12091 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
12092
9cee5585 12093 [BZ #14557]
bb859b06
L
12094 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
12095 if IS_IN_rtld isn't defined.
12096
9cee5585
L
12097 * elf/dl-support.c (_dl_sysinfo_map): New.
12098 Include "get-dynamic-info.h" and "setup-vdso.h".
12099 (_dl_non_dynamic_init): Call setup_vdso.
12100 * elf/dynamic-link.h: Don't include <assert.h>.
12101 (elf_get_dynamic_info): Moved to ...
12102 * elf/get-dynamic-info.h: Here. New file.
12103 * elf/dynamic-link.h: Include "get-dynamic-info.h".
12104 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
12105 * elf/setup-vdso.h: Here. New file.
12106 * elf/rtld.c: Include "setup-vdso.h".
12107 (dl_main): Call setup_vdso.
12108
23c31b76
JM
121092012-10-05 Joseph Myers <joseph@codesourcery.com>
12110
28234b07
JM
12111 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
12112 creal in comment listing functions tested. List finite, isinf,
12113 isnan, isless, islessequal, isgreater, isgreaterequal,
12114 islessgreater, isunordered, lgamma_r and pow10 as functions and
12115 macros not tested. Mention which functions not tested are aliases
12116 for other functions. Fix typo. Note that signs of NaNs are not
12117 tested.
12118
23c31b76
JM
12119 * scripts/config.guess: Update from config.git.
12120 * scripts/config.sub: Likewise.
12121
9043e228
RM
121222012-10-04 Roland McGrath <roland@hack.frob.com>
12123
12124 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
12125 * misc/madvise.c (madvise): Renamed to __madvise.
12126 Make madvise a weak alias.
12127 * include/sys/mman.h: Declare __madvise.
12128 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
12129 * sysdeps/unix/syscalls.list
12130 (madvise): Make __madvise the strong name, and madvise a weak alias.
12131 * sysdeps/unix/sysv/linux/syscalls.list
12132 (madvise, mmap): Remove redundant entries.
12133 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
12134 * malloc/malloc.c (mtrim): Likewise.
12135 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
12136
f57f8055
RM
121372012-10-03 Roland McGrath <roland@hack.frob.com>
12138
12139 * sysdeps/mach/hurd/dl-cache.c: File removed.
12140 * config.h.in (USE_LDCONFIG): New #undef.
12141 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
12142 * configure: Regenerated.
12143 * elf/Makefile (dl-routines): Add dl-cache only under
12144 [$(use-ldconfig) = yes].
12145 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
12146 cache on [USE_LDCONFIG].
12147 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
12148 [USE_LDCONFIG].
12149 * elf/rtld.c (dl_main): Likewise.
12150
5bb0c10a
PT
121512012-10-03 Pino Toscano <toscano.pino@tiscali.it>
12152
12153 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
12154 _SC_LEVEL4_CACHE_LINESIZE.
12155
010188c6
RM
121562012-10-03 Roland McGrath <roland@hack.frob.com>
12157
12158 * sysdeps/unix/bsd/confstr.h: File removed.
12159
b6c5ec07
AO
121602012-10-02 Alexandre Oliva <aoliva@redhat.com>
12161
12162 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
12163 sys/sdt-config.h.
12164
408223d4
RM
121652012-10-02 Roland McGrath <roland@hack.frob.com>
12166
12167 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
12168 Make 'mapoff' field ElfW(Off) rather than off_t.
12169
bb9510dc
DL
121702012-10-02 Dmitry V. Levin <ldv@altlinux.org>
12171
fc997c6e
DL
12172 * nscd/Makefile: Remove nscd-cflags and all its users.
12173 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
12174 (CFLAGS-nonlib): Add compiler flags for nscd modules.
12175
bb9510dc
DL
12176 [BZ #10631]
12177 * malloc.c (malloc_printerr): Clarify error message.
12178
05699367
L
121792012-10-02 H.J. Lu <hongjiu.lu@intel.com>
12180
12181 [BZ #14648]
12182 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
12183 Set bit_FMA_Usable if FMA is supported.
12184 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
12185 macro.
12186 (bit_FMA4_Usable): Updated.
12187 (index_FMA_Usable): New macro.
12188 (CPUID_FMA): Likewise
12189 (HAS_FMA): Defined with bit_FMA_Usable.
12190
51367701
RM
121912012-10-01 Roland McGrath <roland@hack.frob.com>
12192
12193 * bits/types.h (__swblk_t): Type removed.
12194 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
12195 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
12196 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
12197 (__SWBLK_T_TYPE): Likewise.
12198 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
12199 (__SWBLK_T_TYPE): Likewise.
12200 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
12201 (__SWBLK_T_TYPE): Likewise.
12202 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
12203 (__SWBLK_T_TYPE): Likewise.
12204
4d57bf63 122052012-10-01 Patsy Franklin <pfrankli@redhat.com>
1e9d84cd 12206 Honza Horak <hhorak@redhat.com>
4d57bf63
JL
12207
12208 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
12209 (xdr_mapname): Use YPMAXMAP as maxsize.
12210 (xdr_peername): Use YPMAXPEER as maxsize.
12211 (xdr_keydat): Use YPAXRECORD as maxsize.
12212 (xdr_valdat): Use YPMAXRECORD as maxsize.
12213
93c65d43
RM
122142012-10-01 Roland McGrath <roland@hack.frob.com>
12215
497a03d6
RM
12216 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
12217
93c65d43
RM
12218 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
12219 * csu/init-first.c: ... here.
12220 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
12221 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
12222 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
12223 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
12224 * sysdeps/i386/init-first.c: File removed.
12225 * sysdeps/sh/init-first.c: File removed.
12226
bec749fd
JM
122272012-10-01 Joseph Myers <joseph@codesourcery.com>
12228
12229 [BZ #14645]
12230 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
12231 if x * y might underflow to zero and z is zero.
12232 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
12233 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12234 * math/libm-test.inc (min_subnorm_value): New variable.
12235 (fma_test): Add more tests.
12236 (fma_test_towardzero): Likewise.
12237 (fma_test_downward): Likewise
12238 (fma_test_upward): Likewise.
12239 (initialize): Set min_subnorm_value.
12240
8ec5b013
JM
122412012-09-29 Joseph Myers <joseph@codesourcery.com>
12242
12243 [BZ #14638]
12244 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
12245 0 + 0.
12246 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
12247 mode for addition resulting in exact zero.
12248 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
12249 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
12250 exact 0 + 0.
12251 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
12252 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
12253 * math/libm-test.inc (fma_test): Add more tests.
12254 (fma_test_towardzero): New function.
12255 (fma_test_downward): Likewise.
12256 (fma_test_upward): Likewise.
12257 (main): Call the new functions.
12258
b1fa802e
DM
122592012-09-28 David S. Miller <davem@davemloft.net>
12260
12261 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
12262
d3b9fd9e
RM
122632012-09-28 Roland McGrath <roland@hack.frob.com>
12264
ea4d37b3
RM
12265 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
12266 instead of SIGALRM.
12267
ac51c949
RM
12268 * sysdeps/gnu/_G_config.h: Moved to ...
12269 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
12270 * sysdeps/mach/hurd/_G_config.h: Moved to ...
12271 * sysdeps/generic/_G_config.h: ... here.
12272
28c195f7
RM
12273 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
12274
848917f9
RM
12275 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
12276
6bacf05b
RM
12277 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
12278 Conditionalize target on [libnss_test1.so-version].
12279
91363dbb
RM
12280 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
12281
cc87f7d8
RM
12282 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
12283 (elfobjdir): Move out of conditionals.
12284
b1c608fe
RM
12285 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
12286 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
12287 (__nss_lookup_function): Conditionalize label remove_from_tree on
12288 [!DO_STATIC_NSS || SHARED], matching its only use.
d3b9fd9e 12289
1d9a6d96
DM
122902012-09-28 David S. Miller <davem@davemloft.net>
12291
12292 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
12293 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
12294 file.
12295 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
12296 sysdep_routines.
12297 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
12298 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
12299 when HWCAP_SPARC_CRYPTO is present.
12300
72581615
PT
123012012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12302
12303 * io/tst-mknodat.c: Create a FIFO instead of a socket.
12304
715a900c
JL
123052012-09-28 Andreas Schwab <schwab@linux-m68k.org>
12306
12307 [BZ #6530]
12308 * stdio-common/vfprintf.c (process_string_arg): Revert
12309 2000-07-22 change.
12310
123112011-09-28 Jonathan Nieder <jrnieder@gmail.com>
12312
12313 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
12314 for testcase.
12315 * stdio-common/tst-sprintf.c: Include <locale.h>
12316 (main): Test sprintf's handling of incomplete multibyte
12317 characters.
12318
9bac1d86
L
123192012-09-28 H.J. Lu <hongjiu.lu@intel.com>
12320
12321 * elf/dl-runtime.c (VERSYMIDX): Removed.
12322 * elf/dl-version.c (VERSYMIDX): Likewise.
12323 * elf/do-rel.h (VERSYMIDX): Likewise.
12324 (VALIDX): Likewise.
12325 * elf/dynamic-link.h (VERSYMIDX): Likewise.
12326 * elf/rtld.c (VALIDX): Likewise.
12327 (ADDRIDX): Likewise.
9bac1d86
L
12328 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
12329 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
12330 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
9c464f9c
L
12331 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
12332 (VALIDX): Likewise.
12333 (ADDRIDX): Likewise.
9bac1d86 12334
b31606c0
PT
123352012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12336
12337 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
12338
11541177
JL
123392012-09-28 Dmitry V. Levin <ldv@altlinux.org>
12340
12341 [BZ #11438]
12342 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
12343 to global scope.
12344 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
12345 addresses are in the same scope as 192.0.2/24.
12346 * posix/gai.conf: Document new scope table defaults.
12347
adb26fae
SP
123482012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12349
12350 [BZ #5298]
12351 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
12352 for ftell. Compute offsets from write pointers instead.
12353 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
12354
4573c6b0
SP
123552012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
12356
12357 [BZ #14543]
12358 * libio/Makefile (tests): New test case tst-fseek.
12359 * libio/tst-fseek.c: New test case to verify that fseek/ftell
12360 combination works in wide mode.
12361 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
12362 state when the external buffer state changes.
12363
aa9bbfe6
DM
123642012-09-27 David S. Miller <davem@davemloft.net>
12365
12366 [BZ #14376]
12367 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
12368 pass reloc->r_addend in as the 'high' argument to
12369 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
12370
784421e7
DM
12371 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12372
c39bc8b8
PT
123732012-09-28 Pino Toscano <toscano.pino@tiscali.it>
12374
12375 * rt/tst-aio2.c: Include <pthread.h>.
12376 * rt/tst-aio3.c: Likewise.
12377
1ccc2399
SE
123782012-09-27 Steve Ellcey <sellcey@mips.com>
12379
12380 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
12381
31ed4153
L
123822012-09-27 H.J. Lu <hongjiu.lu@intel.com>
12383
25f5f885
L
12384 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
12385 contents on [SHARED].
31ed4153 12386
b7bfe116
MP
123872012-09-26 Marek Polacek <polacek@redhat.com>
12388
12389 [BZ #14530]
12390 [BZ #13741]
12391 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
12392 for C++ and GCC <4.3 as well as for non GCC compilers.
12393
43c4edba
MT
123942012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
12395
12396 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12397
6a1bf82f
RM
123982012-09-25 Roland McGrath <roland@hack.frob.com>
12399
12400 * Makefile.in (all, install): Declare with .PHONY.
12401 Reported by Michael Hope <michael.hope@linaro.org>.
12402
8ad11b9a
TMQMF
124032012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
12404
12405 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
12406 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
12407 system header.
12408 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
12409 Likewise.
12410 (sydep_routines): Add the new and the internal functions.
12411 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
12412 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
12413 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
12414 (GLIBC_2.17): Add the new function.
12415 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
12416 (GLIBC_2.17): Likewise.
12417 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
12418 (GLIBC_2.17): Likewise.
12419 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
12420 (GLIBC_2.17): Likewise.
12421 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
12422
7e2fca8d
AM
124232012-09-25 Alan Modra <amodra@gmail.com>
12424
12425 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
12426 Add release barrier before setting once_control to say
12427 initialisation is done. Add hints on lwarx. Use macro in
12428 place of isync.
12429 (clear_once_control): Add release barrier.
12430
b87c4b24
JM
124312012-09-25 Joseph Myers <joseph@codesourcery.com>
12432
d032e0d2
JM
12433 [BZ #13629]
12434 * math/s_clog.c (__clog): Handle more values close to |z| = 1
12435 specially.
12436 * math/s_clog10.c (__clog10): Likewise.
12437 * math/s_clog10f.c (__clog10f): Likewise.
12438 * math/s_clog10l.c (__clog10l): Likewise.
12439 * math/s_clogf.c (__clogf): Likewise.
12440 * math/s_clogl.c (__clogl): Likewise.
12441 * math/Makefile (libm-calls): Add x2y2m1.
12442 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
12443 (__x2y2m1): Likewise.
12444 (__x2y2m1l): Likewise.
12445 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
12446 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
12447 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
12448 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
12449 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
12450 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
12451 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
12452 * sysdeps/i386/fpu/libm-test-ulps: Update.
12453 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12454
b87c4b24
JM
12455 [BZ #14621]
12456 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
12457 int as type of variable DEPTH.
12458 (glob): Use size_t instead of int as type of variables NEWCOUNT
12459 and OLD_PATHC.
12460
6d3bf199
LD
124612012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12462
22bf5c17
LD
12463 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
12464 Add s_sincosf-sse2.
12465 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
12466 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
12467 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
12468 macros for using routine as __sincosf_ia32.
12469 Use macro for function declaration and weak_alias.
12470 * sysdeps/i386/fpu/libm-test-ulps: Update.
12471
12472 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
12473 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12474
12475 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
6d3bf199
LD
12476 subnormal argument.
12477 * math/s_cexpf.c (__cexpf): Likewise.
12478 * math/s_csinf.c (__csinf): Likewise.
12479 * math/s_csinhf.c (__csinhf): Likewise.
12480 * math/s_ctanf.c (__ctanf): Likewise.
12481 * math/s_ctanhf.c (__ctanhf): Likewise.
12482 * math/s_ccosh.c (__ccoshf): Likewise.
12483 * math/s_cexp.c (__cexpl): Likewise.
12484 * math/s_csin.c (__csin): Likewise.
12485 * math/s_csinh.c (__csinh): Likewise.
12486 * math/s_ctan.c (__ctan): Likewise.
12487 * math/s_ctanh.c (ctanh): Likewise.
12488 * math/s_ccoshl.c (__ccoshl): Likewise.
12489 * math/s_cexpl.c (__cexpl): Likewise.
12490 * math/s_csinl.c (__csinl): Likewise.
12491 * math/s_csinhl.c (__csinhl): Likewise.
12492 * math/s_ctanl.c (__ctanl): Likewise.
12493 * math/s_ctanhl.c (__ctanhl): Likewise.
12494
203e5603
JM
124952012-09-25 Joseph Myers <joseph@codesourcery.com>
12496
12497 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
12498 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
12499 (_IO_off_t): Define to __off_t, not _G_off_t.
12500 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
12501 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
12502 (_IO_wint_t): Define to wint_t, not _G_wint_t.
12503 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
12504 type of __dummy and __dummy2 fields.
12505 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
12506 (_G_ssize_t): Likewise.
12507 (_G_off_t): Likewise.
12508 (_G_pid_t): Likewise.
12509 (_G_uid_t): Likewise.
12510 (_G_wchar_t): Likewise.
12511 (_G_wint_t): Likewise.
12512 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
12513 (_G_ssize_t): Likewise.
12514 (_G_off_t): Likewise.
12515 (_G_pid_t): Likewise.
12516 (_G_uid_t): Likewise.
12517 (_G_wchar_t): Likewise.
12518 (_G_wint_t): Likewise.
12519 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
12520 (_G_ssize_t): Likewise.
12521 (_G_off_t): Likewise.
12522 (_G_pid_t): Likewise.
12523 (_G_uid_t): Likewise.
12524 (_G_wchar_t): Likewise.
12525 (_G_wint_t): Likewise.
12526
9fab36eb
SP
125272012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12528
12529 * malloc/arena.c: Include malloc-sysdep.h.
12530 (shrink_heap): Use check_may_shrink_heap to decide if madvise
12531 is sufficient to shrink the heap or an unmap is needed.
12532 * sysdeps/generic/malloc-sysdep.h: New file. Define
12533 new function check_may_shrink_heap.
12534 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
12535 new function check_may_shrink_heap.
12536
2b4f00d1
SP
125372012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
12538
12539 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
12540 comments.
12541
9a9028b1
DL
125422012-09-24 Dmitry V. Levin <ldv@altlinux.org>
12543
57c69bef
DL
12544 * catgets/test-gencat.sh: Add "set -e".
12545 * elf/tst-pathopt.sh: Likewise.
12546 * grp/tst_fgetgrent.sh: Likewise.
12547 * iconvdata/run-iconv-test.sh: Likewise.
12548 * intl/tst-gettext.sh: Likewise.
12549 * intl/tst-gettext2.sh: Likewise.
12550 * intl/tst-gettext4.sh: Likewise.
12551 * intl/tst-gettext6.sh: Likewise.
12552 * intl/tst-translit.sh: Likewise.
12553 * io/ftwtest-sh: Likewise.
12554 * libio/test-freopen.sh: Likewise.
12555 * malloc/tst-mtrace.sh: Likewise.
12556 * posix/globtest.sh: Likewise.
12557 * posix/tst-getconf.sh: Likewise.
12558 * posix/wordexp-tst.sh: Likewise.
12559 * stdio-common/tst-printf.sh: Likewise.
12560 * stdio-common/tst-unbputc.sh: Likewise.
12561 * stdlib/tst-fmtmsg.sh: Likewise.
12562 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12563 * catgets/Makefile: Do not specify -e option when running
12564 testsuite shell scripts.
12565 * elf/Makefile: Likewise.
12566 * grp/Makefile: Likewise.
12567 * iconvdata/Makefile: Likewise.
12568 * intl/Makefile: Likewise.
12569 * io/Makefile: Likewise.
12570 * libio/Makefile: Likewise.
12571 * malloc/Makefile: Likewise.
12572 * posix/Makefile: Likewise.
12573 * stdio-common/Makefile: Likewise.
12574 * stdlib/Makefile: Likewise.
12575 * sysdeps/x86_64/Makefile: Likewise.
12576
9a9028b1
DL
12577 * io/ftwtest-sh: Add copyright header.
12578 * posix/globtest.sh: Likewise.
12579 * posix/tst-getconf.sh: Likewise.
12580 * posix/wordexp-tst.sh: Likewise.
12581 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
12582
ced6f16e
L
125832012-09-24 H.J. Lu <hongjiu.lu@intel.com>
12584
94b32c39
L
12585 [BZ #13679]
12586 * Makeconfig (+link): Defined as $(+link-static) if
12587 $(build-shared) isn't yes.
12588 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
12589 isn't yes.
12590 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
12591
189e935b
L
12592 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
12593
ced6f16e
L
12594 [BZ #14562]
12595 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
12596 new chunk size with MALLOC_ALIGN_MASK.
12597
a9f8e53a
JM
125982012-09-24 Joseph Myers <joseph@codesourcery.com>
12599
12600 [BZ #5044]
12601 * stdio-common/printf_fphex.c: Include <stdbool.h> and
12602 <rounding-mode.h>.
12603 (__printf_fphex): Determine rounding using get_rounding_mode and
12604 round_away.
12605 * stdio-common/tst-printf-round.c (struct hex_test): New
12606 structure.
12607 (hex_tests): New variable.
12608 (test_hex_in_one_mode): New function.
12609 (do_test): Also run tests for hex float output.
12610
43153109
JM
126112012-09-21 Joseph Myers <joseph@codesourcery.com>
12612
12613 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12614 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12615 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
12616 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
12617 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
12618 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
12619 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12620 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
12621
8a26625d
JM
126222012-09-20 Joseph Myers <joseph@codesourcery.com>
12623
12624 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
12625 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
12626 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
12627 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
12628
f3fd569c
DL
126292012-09-19 Dmitry V. Levin <ldv@altlinux.org>
12630
12631 [BZ #14579]
12632 * elf/rtld.c (dl_main): Limit the check for self loading to normal
12633 mode only.
12634 * elf/tst-rtld-load-self.sh: New test.
12635 * elf/Makefile: Run it.
12636
63bbedd4
JM
126372012-09-18 Joseph Myers <joseph@codesourcery.com>
12638
12639 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
12640 (tst-writev-ENV): Remove.
12641 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
12642
626f8b6a
CM
126432012-09-17 Chris Metcalf <cmetcalf@tilera.com>
12644
12645 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
12646
b7aaa4d6
JM
126472012-09-17 Joseph Myers <joseph@codesourcery.com>
12648
12649 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
12650 unconditional.
12651 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
12652 Likewise.
12653 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
12654 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
12655 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
12656 Likewise.
12657
65513990
L
126582012-09-14 H.J. Lu <hongjiu.lu@intel.com>
12659
12660 [BZ #14587]
12661 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
12662 * config.make.in (have-cpp-asm-debuginfo): Removed.
12663 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
12664 * configure: Regenerated.
12665
784761be
JM
126662012-09-14 Joseph Myers <joseph@codesourcery.com>
12667
12668 [BZ #5044]
12669 * stdio-common/printf_fp.c: Include <stdbool.h> and
12670 <rounding-mode.h>.
12671 (___printf_fp): Determine rounding using get_rounding_mode and
12672 round_away.
12673 * stdio-common/tst-printf-round.c: New file.
12674 * stdio-common/Makefile (tests): Add tst-printf-round.
12675 (link-libm): New variable.
12676 ($(objpfx)tst-printf-round): Depend in $(link-libm).
12677
9503345f
L
126782012-09-13 H.J. Lu <hongjiu.lu@intel.com>
12679
12680 [BZ #14576]
12681 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
12682 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
12683 Likewise.
12684 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
12685 Likewise.
12686
ad35fc00
JM
126872012-09-13 Joseph Myers <joseph@codesourcery.com>
12688
12689 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
12690 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12691 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12692 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
12693
6c9b0f68
JM
126942012-09-12 Joseph Myers <joseph@codesourcery.com>
12695
12696 [BZ #14518]
12697 * include/rounding-mode.h: New file.
12698 * sysdeps/generic/get-rounding-mode.h: Likewise.
12699 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
12700 * stdlib/strtod_l.c: Include <rounding-mode.h>.
12701 (MAX_VALUE): New macro.
12702 (MIN_VALUE): Likewise.
12703 (overflow_value): New function.
12704 (underflow_value): Likewise.
12705 (round_and_return): Use overflow_value and underflow_value to
12706 determine return values in overflow and underflow cases. Use
12707 round_away to determine rounding depending on rounding mode.
12708 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
12709 determine return values in overflow and underflow cases.
12710 * stdlib/tst-strtod-round.c: Include <fenv.h>.
12711 (struct test_results): New structure.
12712 (struct test): Use struct test_results to store expected results
12713 for all rounding modes.
12714 (TEST): Include expected results for all rounding modes.
12715 (test_in_one_mode): New function.
12716 (do_test): Use test_in_one_mode to compute and check results.
12717 Check results for all rounding modes.
12718 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
12719 $(link-libm).
12720
19fcedd5
AM
127212012-12-09 Allan McRae <allan@archlinux.org>
12722
1e9d84cd 12723 * sysdeps/i386/fpu/libm-test-ulps: Update
19fcedd5 12724
8bbfd2f1
JM
127252012-09-11 Joseph Myers <joseph@codesourcery.com>
12726
12727 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
12728 (_G_int32_t): Likewise.
12729 (_G_uint16_t): Likewise.
12730 (_G_uint32_t): Likewise.
12731 (_G_HAVE_BOOL): Likewise.
12732 (_G_HAVE_ATEXIT): Likewise.
12733 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12734 (_G_HAVE_IO_FILE_OPEN): Likewise.
12735 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
12736 (_G_int32_t): Likewise.
12737 (_G_uint16_t): Likewise.
12738 (_G_uint32_t): Likewise.
12739 (_G_HAVE_BOOL): Likewise.
12740 (_G_HAVE_ATEXIT): Likewise.
12741 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12742 (_G_HAVE_IO_FILE_OPEN): Likewise.
12743 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
12744 (_G_int32_t): Likewise.
12745 (_G_uint16_t): Likewise.
12746 (_G_uint32_t): Likewise.
12747 (_G_HAVE_BOOL): Likewise.
12748 (_G_HAVE_ATEXIT): Likewise.
12749 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
12750 (_G_HAVE_IO_FILE_OPEN): Likewise.
12751
b1dc5912
L
127522012-09-11 H.J. Lu <hongjiu.lu@intel.com>
12753
12754 * csu/libc-tls.c: Update copyright years.
12755
0e886ef9
JM
127562012-09-10 Joseph Myers <joseph@codesourcery.com>
12757
28361c5e
JM
12758 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
12759 [!_G_USING_THUNKS]: Remove conditional code.
12760 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
12761 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
12762
0e886ef9
JM
12763 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
12764 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
12765 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12766 (_G_VTABLE_LABEL_PREFIX): Likewise.
12767 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12768 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12769 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12770 (_G_VTABLE_LABEL_PREFIX): Likewise.
12771 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
12772 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
12773 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
12774 (_G_VTABLE_LABEL_PREFIX): Likewise.
12775 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
12776
bcba7aa2
L
127772012-09-10 H.J. Lu <hongjiu.lu@intel.com>
12778
12779 * libio/Makefile: Include ../Makeconfig before tests.
12780 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
12781 only if $(build-shared) is yes.
12782
06585ee8
L
12783 * iconv/gconv_db.c: Update copyright years.
12784
80ccd52c
LD
127852012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
12786
12787 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
12788 unwind info if defined PIC. Fix special cases description.
12789 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
12790
12791 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
12792 DP_HI_MASK entry.
12793 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
12794
691bc9c1
L
127952012-09-07 H.J. Lu <hongjiu.lu@intel.com>
12796
3d9b46b3
L
12797 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
12798
de2139a9
L
12799 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
12800 is NULL.
12801
5ca78dd0
L
12802 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
12803 (LDLIBS-tst-chk4): This.
12804 (LDFLAGS-tst-chk5): Renamed to ...
12805 (LDLIBS-tst-chk5): This.
12806 (LDFLAGS-tst-chk6): Renamed to ...
12807 (LDLIBS-tst-chk6): This.
12808 (LDFLAGS-tst-lfschk4): Renamed to ...
12809 (LDLIBS-tst-lfschk4): This.
12810 (LDFLAGS-tst-lfschk5): Renamed to ...
12811 (LDLIBS-tst-lfschk5): This.
12812 (LDFLAGS-tst-lfschk6): Renamed to ...
12813 (LDLIBS-tst-lfschk6): This.
12814
691bc9c1
L
12815 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
12816 on $(common-objpfx)soversions.mk.
12817
65cafb1c
JM
128182012-09-07 Joseph Myers <joseph@codesourcery.com>
12819
12820 [BZ #10014]
12821 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
12822 example host name.
12823
c78ab094
SP
128242012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
12825
12826 * malloc/arena.c (arena_get_retry): New function that gets
12827 another arena for the caller to try its request on.
12828 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
12829 current arena cannot fulfill the request.
12830 (__libc_memalign): Likewise.
12831 (__libc_memalign): Likewise.
12832 (__libc_pvalloc): Likewise.
12833 (__libc_calloc): Likewise.
12834
01f49f59
JT
128352012-09-05 John Tobey <john.tobey@gmail.com>
12836
12837 [BZ #13542]
12838 * manual/arith.texi (Operations on Complex): Fix description
12839 of carg branch cut.
12840
4c23fed5
JM
128412012-09-06 Joseph Myers <joseph@codesourcery.com>
12842
1d3c8572
JM
12843 [BZ #10014]
12844 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
12845 host name.
12846
4c23fed5
JM
12847 [BZ #10038]
12848 * manual/memory.texi (Memory): Make order of menu items match
12849 order of sections.
12850
04570aaa
L
128512012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12852
12853 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
12854 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
12855 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
12856
b80af2f4
L
128572012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12858
12859 * csu/libc-tls.c (static_dtv): Renamed to ...
12860 (_dl_static_dtv): This. Make it global.
12861 (_dl_initial_dtv): Removed.
12862 (__libc_setup_tls): Updated.
12863 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
12864 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
12865 DL_INITIAL_DTV.
12866
2abe9f15
PM
128672012-09-06 Petr Machata <pmachata@redhat.com>
12868
12869 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
12870 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
12871 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
12872 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
12873
0948c3af
L
128742012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12875
12876 [BZ #14545]
12877 * csu/libc-tls.c (_dl_initial_dtv): New variable.
12878 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
12879 freeing dtv[-1].
12880
a5055ad1
L
128812012-09-06 H.J. Lu <hongjiu.lu@intel.com>
12882
12883 [BZ #14544]
12884 * Makeconfig (link-static-before-libc): Replace $(+prector)
12885 with $(+prectorT).
12886 (link-static-after-libc): Replace $(+postctor) with
12887 $(+postctorT).
12888 (link-bounded): Replace $(+prector)/$(+postctor) with
12889 $(+prectorT)/$(+postctorT).
12890 (+prectorT): New macro.
12891 (+postctorT): Likewise.
12892
ed8c2ecd
JM
128932012-09-06 Joseph Myers <joseph@codesourcery.com>
12894
12895 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
12896 (round_str): Handle values above the maximum for IBM long double
12897 as inexact.
12898 * stdlib/tst-strtod-round.c (tests): Regenerated.
12899
14c996c8
AK
129002012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
12901
12902 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
12903 assembler flag.
12904 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
12905 zarch_nohighgprs around the zarch optimized routines.
12906 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
12907 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
12908 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
12909 for zarch.
12910
430d6ce6
DM
129112012-09-05 David S. Miller <davem@davemloft.net>
12912
12913 * sysdeps/sparc/fpu/libm-test-ulps: Update.
12914
ff04dda4
DM
12915 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
12916 HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
12917 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
12918 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
12919 entries.
12920
24d4e01b
AO
129212012-09-05 Alexandre Oliva <aoliva@redhat.com>
12922
12923 * malloc/arena.c: Fold copyright years.
12924 * malloc/mcheck.c, malloc/memusage.c: Likewise.
12925
61d58174
AO
129262012-09-05 Alexandre Oliva <aoliva@redhat.com>
12927
12928 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
12929
20196a5e
AO
129302012-09-05 Alexandre Oliva <aoliva@redhat.com>
12931
12932 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
12933
5c447383
AO
129342012-09-05 Alexandre Oliva <aoliva@redhat.com>
12935
12936 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
12937 change internal state upon failure.
12938
fad64255
AO
129392012-09-05 Alexandre Oliva <aoliva@redhat.com>
12940
12941 * malloc/mcheck.c (mcheck_check_all): Fix typo.
12942 * malloc/memusage.c (mmap): Likewise.
12943 (mmap64, mremap): Likewise. Adjust name in comment.
12944
1ffb8c90
SP
129452012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12946
12947 * libio/fileops.c: Fix typos in comments.
12948 * libio/oldfileops.c: Likewise.
12949 * libio/wfileops.c: Likewise.
12950
6ef9cc37
SP
129512012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
12952
12953 [BZ #1349]
12954 * malloc/Makefile (tests): Add tst-malloc-usable test case.
12955 (tst-malloc-usable-ENV): Set environment for test case.
12956 * malloc/hooks.c (malloc_check_get_size): New function to get
12957 requested size.
12958 * malloc/malloc.c (musable): Use malloc_check_get_size.
12959 * malloc/tst-malloc-usable.c: New test case.
12960
4d038ae3
AS
129612012-09-05 Andreas Schwab <schwab@linux-m68k.org>
12962
12963 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
12964
c4e85184
AM
129652012-09-05 Allan McRae <allan@archlinux.org>
12966
b9dafc56 12967 [BZ #13966]
c4e85184
AM
12968 * configure.in (CXX_SYSINCLUDES): Use compiler output to
12969 determine header location.
12970 * configure: Regenerated.
12971
e1343020
AS
129722012-09-05 Andreas Schwab <schwab@linux-m68k.org>
12973
12974 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
12975 float format.
12976 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
a0070b7e
AS
12977 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
12978 format.
e1343020
AS
12979 (test): Regenerate.
12980
0a9f1987
DM
129812012-09-04 David S. Miller <davem@davemloft.net>
12982
12983 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
12984 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
12985 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
12986
29237804
FW
129872012-09-04 Florian Weimer <fweimer@redhat.com>
12988
12989 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
12990 failures.
12991
edb3cb88
FW
12992 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
12993
60160d83
JM
129942012-09-04 Joseph Myers <joseph@codesourcery.com>
12995
12996 [BZ #9914]
12997 * libio/iogetdelim.c: Include <limits.h>.
12998 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
12999 + len + 1 would overflow.
13000
bcd6c8dc
AJ
130012012-09-03 Andreas Jaeger <aj@suse.de>
13002
13003 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13004 * sysdeps/i386/fpu/libm-test-ulps: Update.
13005
4ffffbd2
LD
130062012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13007
13008 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
13009 Add s_sinf-sse2, s_conf-sse2.
13010
13011 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
13012 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
13013 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
13014 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
13015
13016 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
13017 for using routine as __sinf_ia32.
13018 Use macro for function declaration and weak_alias.
13019 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
13020 for using routine as __cosf_ia32.
13021 Use macro for function declaration and weak_alias.
13022
13023 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
13024 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
13025
13026 * sysdeps/x86_64/fpu/s_sinf.S: New file.
13027 * sysdeps/x86_64/fpu/s_cosf.S: New file.
13028 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13029
13030 * math/libm-test.inc (cos_test): Add more test cases.
13031 (sin_test): Likewise.
13032 (sincos_test): Likewise.
13033
511fa286
AK
130342012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13035
13036 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
13037 (IFUNC_RESOLVE): Make pointers to the specialized implementations
13038 hidden.
13039 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
13040
5f30cfec
L
130412012-09-02 H.J. Lu <hongjiu.lu@intel.com>
13042
13043 [BZ #14538]
13044 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
13045 first element of the GOT.
13046 (elf_machine_load_address): Return the difference between
13047 the runtime address of _DYNAMIC and elf_machine_dynamic ().
13048
0786794f
AM
130492012-09-01 Allan McRae <allan@archlinux.org>
13050
5f30cfec
L
13051 [BZ #13412]
13052 * configure.in (AWK): Require gawk version 3.0 or later.
13053 * configure: Regenerated.
0786794f 13054
26889eac
JM
130552012-09-01 Joseph Myers <joseph@codesourcery.com>
13056
13057 * sysdeps/unix/sysv/linux/kernel-features.h
13058 (__ASSUME_POSIX_CPU_TIMERS): Remove.
13059 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13060 [__NR_clock_getres]: Make code unconditional.
13061 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
13062 (clock_getcpuclockid): Remove code left unreachable by removal of
13063 conditionals.
13064 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
13065 code unconditional.
13066 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13067 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13068 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
13069 Make code unconditional.
13070 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
13071 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13072 * sysdeps/unix/sysv/linux/clock_settime.c
13073 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
13074 conditional code.
13075 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
13076 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
13077
d22e28b0
L
130782012-08-29 H.J. Lu <hongjiu.lu@intel.com>
13079
13080 [BZ #14476]
13081 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
13082 scripts/test-installation.pl.
13083
13084 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
13085 and $ld_so_version if it is set.
13086
050af9c4
SP
130872012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
13088
13089 [BZ #14516]
13090 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
13091 failure if reading from procfs failed.
13092 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
13093
ad845c0b
JM
130942012-08-27 Joseph Myers <joseph@codesourcery.com>
13095
13096 * sysdeps/unix/sysv/linux/kernel-features.h
13097 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
13098 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13099 Remove conditional code.
13100 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13101 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
13102 Remove conditional code.
13103 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13104 * sysdeps/unix/sysv/linux/i386/fxstat.c
13105 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13106 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13107 * sysdeps/unix/sysv/linux/i386/fxstatat.c
13108 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13109 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13110 * sysdeps/unix/sysv/linux/i386/lxstat.c
13111 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
13112 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13113 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
13114 Remove conditional code.
13115 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13116 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
13117 Remove conditional code.
13118 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13119 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
13120 <kernel-features.h>.
13121 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
13122 Remove.
13123 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
13124 Remove conditional code.
13125 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
13126 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
13127 Remove conditional.
13128
5dbf56af
MF
131292012-08-27 Mike Frysinger <vapier@gentoo.org>
13130
13131 [BZ #5400]
13132 * NEWS: Add fixed bug number.
13133
d6e70f43
JM
131342012-08-27 Joseph Myers <joseph@codesourcery.com>
13135
7efb4737
JM
13136 [BZ #14519]
13137 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
13138 underflowing exponent in case of negative sign.
13139 * stdlib/tst-strtod-round-data: Add more tests.
13140 * stdlib/tst-strtod-round.c (tests): Regenerated.
13141
af92131a
JM
13142 [BZ #3479]
13143 * stdlib/strtod_l.c (NDIG): Remove.
13144 (HEXNDIG): Likewise.
13145 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
13146 smallest representable value.
13147 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
13148 lie within an exact representation of 1/2 ulp of the result.
13149 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
13150 unconditionally.
13151 (TENS_P9_IDX): Define unconditionally.
13152 (TENS_P9_SIZE): Likewise.
13153 (TENS_P10_IDX): Likewise.
13154 (TENS_P10_SIZE): Likewise.
13155 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
13156 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
13157 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
13158 entries for 10^2^13 and 10^2^14.
13159 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
13160 (TENS_P13_IDX): Define.
13161 (TENS_P13_SIZE): Likewise.
13162 (TENS_P14_IDX): Likewise.
13163 (TENS_P14_SIZE): Likewise.
13164 (_fpioconst_pow10): Change array size to
13165 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
13166 unconditional.
13167 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
13168 1024]: Add entries for 10^2^13 and 10^2^14.
13169 [LAST_POW10 > _LAST_POW10]: Remove #error.
13170 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
13171 (_fpioconst_pow10): Change array size to
13172 FPIOCONST_POW10_ARRAY_SIZE.
13173 * stdlib/gen-fpioconst.c: New file.
13174 * stdlib/gen-tst-strtod-round.c: Likewise.
13175 * stdlib/tst-strtod-round-data: Likewise.
13176 * stdlib/tst-strtod-round.c: Likewise.
13177 * stdlib/Makefile (tests): Add tst-strtod-round.
13178
d6e70f43
JM
13179 [BZ #14459]
13180 * stdlib/strtod_l.c: Include <stdint.h>.
13181 (NDEBUG): Do not define.
13182 (round_and_return): Change EXPONENT parameter to type intmax_t.
13183 Rearrange calculations to avoid internal overflow possibilities.
13184 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
13185 Rearrange calculations to avoid internal overflow possibilities.
13186 Assert that number fits inside MPNSIZE limbs.
13187 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
13188 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
13189 calculations and add assertions to avoid internal overflow
13190 possibilities. Add casts to avoid signed/unsigned operations.
13191 * stdlib/tst-strtod-overflow.c: New file.
13192 * stdlib/Makefile (tests): Add tst-strtod-overflow.
13193
1f529f7d
MP
131942012-08-25 Marek Polacek <polacek@redhat.com>
13195
13196 * time/time.h: Fix some typos in comments.
13197
59a629f1
RM
131982012-08-23 Roland McGrath <roland@hack.frob.com>
13199
13200 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
13201 * posix/tst-rfc3484-2.c: Likewise.
13202 * posix/tst-rfc3484-3.c: Likewise.
13203
d3bafbc9
SM
132042012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
13205
13206 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
13207 (EF_ARM_ABI_FLOAT_HARD): Likewise.
13208
4efcc022
JM
132092012-08-23 Joseph Myers <joseph@codesourcery.com>
13210
13211 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
13212 #include of fxstatat64.c.
13213
3cc3ef96
RM
132142012-08-22 Roland McGrath <roland@hack.frob.com>
13215
f04e2132
RM
13216 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
13217 * shadow/getspent_r.c: Likewise.
13218 * shadow/getspnam.c: Likewise.
13219 * shadow/getspnam_r.c: Likewise.
13220 * gshadow/getsgent.c: Likewise.
13221 * gshadow/getsgent_r.c: Likewise.
13222 * gshadow/getsgnam.c: Likewise.
13223 * gshadow/getsgnam_r.c: Likewise.
13224 * inet/getnetbyad.c: Likewise.
13225 * inet/getnetbyad_r.c: Likewise.
13226 * inet/getnetbynm.c: Likewise.
13227 * inet/getnetbynm_r.c: Likewise.
13228 * inet/getnetent.c: Likewise.
13229 * inet/getnetent_r.c: Likewise.
13230 * inet/getproto.c: Likewise.
13231 * inet/getproto_r.c: Likewise.
13232 * inet/getprtent.c: Likewise.
13233 * inet/getprtent_r.c: Likewise.
13234 * inet/getprtname.c: Likewise.
13235 * inet/getprtname_r.c: Likewise.
13236 * inet/getrpcbyname.c: Likewise.
13237 * inet/getrpcbyname_r.c: Likewise.
13238 * inet/getrpcbynumber.c: Likewise.
13239 * inet/getrpcbynumber_r.c: Likewise.
13240 * inet/getrpcent.c: Likewise.
13241 * inet/getrpcent_r.c: Likewise.
13242 * inet/getaliasent.c: Likewise.
13243 * inet/getaliasent_r.c: Likewise.
13244 * inet/getaliasname.c: Likewise.
13245 * inet/getaliasname_r.c: Likewise.
13246 * nscd/getgrgid_r.c: Likewise.
13247 * nscd/getgrnam_r.c: Likewise.
13248 * nscd/gethstbyad_r.c: Likewise.
13249 * nscd/gethstbynm3_r.c: Likewise.
13250 * nscd/getpwnam_r.c: Likewise.
13251 * nscd/getpwuid_r.c: Likewise.
13252 * nscd/getsrvbynm_r.c: Likewise.
13253 * nscd/getsrvbypt_r.c: Likewise.
13254 * nscd/gai.c: Likewise.
13255
c53d909c
RM
13256 * configure.in (build_nscd): New substituted variable, set
13257 by --disable-build-nscd and defaults to $use_nscd.
13258 * configure: Regenerated.
13259 * config.make.in (build-nscd): New substituted variable.
13260 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
13261 Change conditional to require [$(build-nscd) = yes] as well.
13262 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
13263
3cc3ef96
RM
13264 [BZ# 13696]
13265 * configure.in (use_nscd): New substituted variable, set by
13266 --disable-nscd. If enabled, define USE_NSCD.
13267 * configure: Regenerated.
13268 * config.h.in: Add USE_NSCD.
13269 * config.make.in (use-nscd): New substituted variable.
13270 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
13271 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
13272 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
13273 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
13274 (CFLAGS-getgrnam_r.c): Likewise.
13275 (CFLAGS-initgroups.c): Likewise.
13276 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
13277 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
13278 Variables removed.
13279 * inet/getnetgrent_r.c
13280 (nscd_setnetgrent): New function, broken out of ...
13281 (setnetgrent): ... here. Call it.
13282 (innetgr): Conditionalize nscd bits on [USE_NSCD].
13283 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
13284 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
13285 * nscd/Makefile (routines, aux): Move definitions after include of
13286 Makeconfig. Conditionalize on [$(use-nscd) != no].
13287 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
13288 Conditionalize on [USE_NSCD].
13289 (is_nscd, nscd_init_cb): Likewise.
13290 (nss_load_library): Conditionalize init callback on [USE_NSCD].
13291 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
13292 * nss/nss_db/db-init.c: Likewise.
13293 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
13294 [USE_NSCD].
13295 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
13296 (make_request): Use it.
13297 (cache_valid_p): New function.
13298 (__check_pf): Use it.
13299 * NEWS: Add item for --disable-nscd.
13300
07e51550
DL
133012012-08-22 Dmitry V. Levin <ldv@altlinux.org>
13302
13303 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
13304 to support sed >= 4.2.1-20-ga9bf076.
13305 * configure: Regenerated.
13306
35a5b08b
RM
133072012-08-22 Roland McGrath <roland@hack.frob.com>
13308
13309 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
13310 Conditionalize whole body on [IREL].
13311
8479f23a
JL
133122012-08-22 Jeff Law <law@redhat.com>
13313
13314 [BZ #14505]
13315 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
13316 if the family is PF_UNSPEC.
13317
48da0b21
MF
133182012-08-22 Mike Frysinger <vapier@gentoo.org>
13319
13320 * Makerules (lib-version): Rename from V.
13321 (install-lib-nosubdir): Change V to lib-version.
13322
15d0da8c
WS
133232012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
13324
13325 [BZ #14252]
13326 * powerpc32/power6/wcschr.c: New file.
13327 * powerpc32/power6/wcscpy.c: New file.
13328 * powerpc32/power6/wcsrchr.c: New file.
13329 * powerpc64/power6/wcschr.c: New file.
13330 * powerpc64/power6/wcscpy.c: New file.
13331 * powerpc64/power6/wcsrchr.c: New file.
13332
bcca0895
MK
133332012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
13334
13335 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
13336 (two_way_short_needle): Use it.
5a4aaa33
RM
13337 * string/strstr.c (AVAILABLE1_USES_J): Define.
13338 * string/strcasestr.c: Likewise.
99677e57
MK
13339
13340 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
13341 array references.
13342 * string/strcasestr.c (TOLOWER): Make side-effect safe.
13343
400726de
MK
13344 [BZ #11607]
13345 * NEWS: Add an entry.
13346 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
13347 define their defaults.
13348 (two_way_short_needle): Detect end-of-string on-the-fly.
13349 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
13350 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
13351 * string/bug-strcasestr1.c: New test.
13352 * string/Makefile: Run it.
13353
20a71f2c
MK
133542012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
13355
13356 [BZ #11607]
13357 * string/str-two-way.h (two_way_short_needle): Optimize matching of
13358 the first character.
13359
21ad0558
RM
133602012-08-21 Roland McGrath <roland@hack.frob.com>
13361
13362 * csu/elf-init.c (__libc_csu_irel): Function removed.
13363 * csu/libc-start.c (apply_irel): New function.
13364 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
13365
0e1d9911
JM
133662012-08-21 Joseph Myers <joseph@codesourcery.com>
13367
13368 * sysdeps/unix/sysv/linux/kernel-features.h
13369 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
13370 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
13371 <kernel-features.h>.
13372 [__NR_fadvise64_64]: Make code unconditional.
13373 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
13374 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13375 !__NR_fadvise64_64)]: Likewise.
13376 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
13377 !__NR_fadvise64_64))]: Likewise.
13378 [__NR_fadvise64]: Make code unconditional.
13379 [!__NR_fadvise64]: Remove conditional code.
13380 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
13381 <kernel-features.h>.
13382 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13383 unconditional.
13384 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13385 conditional code.
13386 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
13387 not include <kernel-features.h>.
13388 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13389 unconditional.
13390 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13391 conditional code.
13392 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
13393 include <kernel-features.h>.
13394 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
13395 unconditional.
13396 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
13397 conditional code.
13398
14a50c9d
WS
133992012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
13400
13401 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
13402 slight instruction rearrangements per scrollpipe analysis.
13403 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
13404
c0f4faf0
RM
134052012-08-20 Roland McGrath <roland@hack.frob.com>
13406
696da859
RM
13407 * manual/syslog.texi (syslog; vsyslog, closelog):
13408 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
13409 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
13410
c0f4faf0
RM
13411 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
13412 DSOCAPS to match condition on defining it.
13413
348363b2
JM
134142012-08-20 Joseph Myers <joseph@codesourcery.com>
13415
a35cbf28
JM
13416 * sysdeps/unix/sysv/linux/kernel-features.h
13417 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
13418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
13419 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13420 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13421 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
13422 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13423 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
13425 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
13426 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
13427
445f7ecd
JM
13428 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
13429 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
13430
348363b2
JM
13431 * sysdeps/unix/sysv/linux/kernel-features.h
13432 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
13433 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
13434 unconditional.
13435 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13436 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
13437 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13438 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13439 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
13440 Make code unconditional.
13441 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13442 (__mmap64) [!__NR_mmap2]: Likewise.
13443 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
13444 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
13445 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13446 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
13447 [__NR_mmap2]: Make code unconditional.
13448 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
13449 (__mmap64) [!__NR_mmap2]: Likewise.
13450
bc5bc0e5
AK
134512012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
13452
13453 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
13454
88d506de
AJ
134552012-08-18 Andreas Jaeger <aj@suse.de>
13456
13457 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
13458
493387d2
MF
134592012-08-18 Mike Frysinger <vapier@gentoo.org>
13460
13461 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
13462 * include/unistd.h (__have_sock_cloexec): Likewise.
13463 (__have_pipe2): Likewise.
13464 (__have_dup3): Likewise.
13465
a277af22
MF
134662012-08-18 Mike Frysinger <vapier@gentoo.org>
13467
13468 [BZ #9685]
13469 * include/unistd.h (__have_pipe2): Change define into an extern int.
13470 (__have_dup3): Likewise.
13471 * socket/have_sock_cloexec.c: Include fcntl.h.
13472 (__have_pipe2): New variable.
13473 (__have_dup3): Likewise.
13474
fdab8fd3
MF
134752012-08-17 Mike Frysinger <vapier@gentoo.org>
13476
13477 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
13478
31035e80
MP
134792012-08-17 Marek Polacek <polacek@redhat.com>
13480
13481 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
13482 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
13483
3bd9e993
RM
134842012-08-17 Roland McGrath <roland@hack.frob.com>
13485
c91c505f
RM
13486 * configure.in: Add AC_SUBST for sysheaders.
13487 * configure: Regenerated.
13488 * config.make.in (sysheaders): New substituted variable.
13489
7c6f9d53
RM
13490 * sysdeps/unix/mkfifo.c: Moved ...
13491 * sysdeps/posix/mkfifo.c: ... here.
13492 * sysdeps/unix/mkfifoat.c: Moved ...
13493 * sysdeps/posix/mkfifoat.c: ... here.
13494
13495 * sysdeps/unix/utime.c: Moved ...
13496 * sysdeps/posix/utime.c: ... here.
13497
13498 * sysdeps/unix/time.c: Moved ...
13499 * sysdeps/posix/time.c: ... here.
e3b398f9
RM
13500 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
13501 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
7c6f9d53
RM
13502
13503 * sysdeps/unix/nice.c: Moved ...
13504 * sysdeps/posix/nice.c: ... here.
13505
13506 * sysdeps/unix/alarm.c: Moved ...
13507 * sysdeps/posix/alarm.c: ... here.
13508
3bd9e993
RM
13509 * intl/Makefile ($(codeset_mo)): Depend on the input file.
13510
d1f09384
JL
135112012-08-17 Jeff Law <law@redhat.com>
13512
13513 * intl/Makefile (codeset_mo): New variable.
13514 ($(codeset_mo)): New target.
13515 (tst-codeset.out): Depend on that. Remove explicit rule.
13516 (tst-gettext3.out, tst-gettext5.out): Likewise.
13517 (LOCPATH-ENV, tst-codeset-ENV): New variables.
13518 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
13519 * intl/tst-codeset.sh: Remove.
13520 * intl/tst-gettext3.sh: Likewise.
13521 * intl/tst-gettext5.sh: Likewise.
13522
2ae1ae5c
RM
135232012-08-17 Roland McGrath <roland@hack.frob.com>
13524
c31fdb83
RM
13525 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
13526 * sysdeps/unix/syscalls.list: ... here.
13527
a0844057
RM
13528 * sysdeps/posix/getaddrinfo.c
13529 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
13530 (gaiconf_init, gaiconf_reload): Use them.
13531 [!_STATBUF_ST_NSEC]
13532 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
13533 Define using time_t rather than struct timespec.
13534
750c1f2a
RM
13535 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
13536 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
13537 Macros removed.
13538 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
13539 [!NO_THREADS].
13540 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
13541 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
13542 Likewise.
13543
2ae1ae5c
RM
13544 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
13545 __libc_cleanup_push argument.
13546
e66a42f5
RM
13547 * bits/param.h: New file.
13548 * misc/sys/param.h: New file.
13549 * include/sys/param.h: New file.
13550 * misc/Makefile (headers): Add bits/param.h.
13551 * sysdeps/generic/sys/param.h: File removed.
13552 * sysdeps/unix/sysv/linux/bits/param.h: New file.
13553 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
13554 * sysdeps/mach/hurd/bits/param.h: New file.
4078da3d 13555 * sysdeps/mach/hurd/sys/param.h: File removed.
e66a42f5 13556
b7c08a66
RM
13557 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
13558 last change.
13559
b2e1c562
RM
13560 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
13561 [_IO_MTSAFE_IO].
13562 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
13563 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
13564 New macros.
13565
c75ccd4c
RM
13566 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
13567 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
13568 rather than -D_IO_MTSAFE_IO conditionally.
13569 * stdio-common/Makefile (CPPFLAGS): Likewise.
13570 * wcsmbs/Makefile (CPPFLAGS): Likewise.
13571 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
13572 Use $(libio-mtsafe).
13573 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
13574 of -D_IO_MTSAFE_IO.
13575 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
13576 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
13577 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
13578 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
13579 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
13580 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
13581 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
13582 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
13583 (CFLAGS-fread_u_chk.c): Likewise.
13584 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
13585 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
13586 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
13587 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
13588 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
13589 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
13590 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
13591 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
13592 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
13593
13594 * libio/Makefile: Test [$(libc-reentrant) = yes]
13595 instead of [$(filter %REENTRANT, $(defines)) nonempty].
13596
13597 * Makeconfig
13598 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
13599 * sysdeps/pthread/configure: File removed.
13600 * sysdeps/pthread/Makeconfig: New file.
13601 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
13602 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
13603
d9195db8
GB
136042012-08-16 Gary Benson <gbenson@redhat.com>
13605
13606 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
13607 unmapping the first object in a namespace.
13608
86466cd9
RM
136092012-08-16 Roland McGrath <roland@hack.frob.com>
13610
13611 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
13612 (__internal_setnetgrent): ... this. Add internal_function to
13613 definition. Add libc_hidden_def.
13614 (setnetgrent): Update caller.
13615 (internal_endnetgrent): Renamed to ...
13616 (__internal_endnetgrent): ... this. Add internal_function to
13617 definition. Add libc_hidden_def.
13618 (endnetgrent): Update caller.
13619 (internal_getnetgrent_r): Renamed to ...
13620 (__internal_getnetgrent_r): ... this. Add internal_function to
13621 definition. Add libc_hidden_def.
13622 (__getnetgrent_r): Update caller.
13623 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
13624
c3c8283c
JM
136252012-08-16 Joseph Myers <joseph@codesourcery.com>
13626
13627 * stdlib/longlong.h: Update from GCC.
13628
db1ee0a8
RM
136292012-08-16 Roland McGrath <roland@hack.frob.com>
13630
13631 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
13632 on _QL, which is set by umul_ppmm but never used.
13633 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
13634 variables, which are set by GMP macros but never used.
13635 * stdio-common/_itowa.c (_itowa): Likewise.
13636 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
13637 * stdlib/mod_1.c (mpn_mod_1): Likewise.
13638
30f69637
CD
136392012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
13640
13641 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
13642 struct La_sh_regs is not constant.
13643 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
13644 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
13645 and struct La_sparc64_regs are not constant.
13646
93a78ac4
JM
136472012-08-16 Joseph Myers <joseph@codesourcery.com>
13648
13649 * sysdeps/unix/sysv/linux/kernel-features.h
13650 (__ASSUME_POSIX_TIMERS): Remove.
13651 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13652 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13653 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
13654 Make code unconditional.
13655 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13656 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
13657 Make code unconditional.
13658 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13659 * sysdeps/unix/sysv/linux/clock_nanosleep.c
13660 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
13661 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13662 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
13663 Make code unconditional.
13664 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
13665 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
13666 (__libc_missing_posix_timers): Remove.
13667
dd924cd7
RM
136682012-08-15 Roland McGrath <roland@hack.frob.com>
13669
4b4f2771
RM
13670 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
13671 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
13672
601c888b
RM
13673 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
13674
176790a7
RM
13675 * elf/dl-sym.c: Include <stdlib.h>.
13676
329bc018
RM
13677 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
13678 constants, which avoids warnings in 32-bit builds.
13679
e04e272d
RM
13680 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
13681 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
13682
952bf94a
RM
13683 * misc/lseek.c: File moved to ...
13684 * io/lseek.c: ... here.
13685
7c99b50a
RM
13686 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
13687
dd924cd7
RM
13688 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
13689 shifting LEN more than 31 bits at once.
13690
b3f479a8
LD
136912012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
13692
13693 [BZ #14195]
8c4ae0d4
RM
13694 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
13695 segmentation fault for a case of two empty input strings.
b3f479a8
LD
13696 * string/test-strncasecmp.c (check1): Renamed to...
13697 (bz12205): ...this.
13698 (bz14195): Add new testcase for two empty input strings and N > 0.
13699 (test_main): Call new testcase, adapt for renamed function.
13700
9c55864e
AJ
137012012-08-15 Andreas Jaeger <aj@suse.de>
13702
13703 [BZ #14090]
13704 * crypt/md5test2.c: New test, based on test supplied by Serge
13705 Belyshev <belyshev@depni.sinp.msu.ru>.
13706 * crypt/Makefile (xtests): Add md5test-giant..
13707 * crypt/Makefile ($(objpfx)md5test-giant): Add.
13708
02dcb6c5
PE
137092012-08-15 Paul Eggert <eggert@cs.ucla.edu>
13710
13711 [BZ #14090]
13712 * crypt/md5.c (md5_process_block): Don't assume the buffer
13713 length is less than 2**32.
13714 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
13715 length is less than 2**64.
13716
a3f95dcc
RM
137172012-08-15 Roland McGrath <roland@hack.frob.com>
13718
be75d758
RM
13719 * string/str-two-way.h: Include <sys/param.h>.
13720 (MAX): Macro removed.
13721
7312ca90
RM
13722 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
13723 Move #define and #undef of memmove to just before and after
13724 including <string.h>.
13725
9a0a5486
RM
13726 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
13727 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
13728 and after including <string.h>. Move declarations of
13729 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
13730 to before #include "string/memmove.c".
13731
67cc348d
RM
13732 * include/dirent.h: Declare __getdirentries.
13733
a3f95dcc
RM
13734 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
13735 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
13736
ca98e171
MF
137372012-08-14 Mike Frysinger <vapier@gentoo.org>
13738
13739 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
13740 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
13741 * sysdeps/i386/configure: Regenerated.
13742 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
13743 STABS_CURRENT_FILE, and STABS_FUN.
13744 (END): Remove call to STABS_FUN_END.
13745 (STABS_CURRENT_FILE1): Delete.
13746 (STABS_CURRENT_FILE): Likewise.
13747 (STABS_FUN): Likewise.
13748 (STABS_FUN_END): Likewise.
13749 (STABS_FUN2): Likewise.
13750 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
13751 * sysdeps/x86_64/configure: Regenerated.
13752
5908bf46
RM
137532012-08-14 Roland McGrath <roland@hack.frob.com>
13754
13755 * elf/dl-open.c: Include <atomic.h>.
1ec79f26 13756 * elf/dl-lookup.c: Likewise.
5908bf46 13757
f2c05b9e
JM
137582012-08-14 Joseph Myers <joseph@codesourcery.com>
13759
13760 * sysdeps/unix/sysv/linux/kernel-features.h
13761 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
13762 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
13763 unconditionally.
13764 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
13765 unconditionally.
13766 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
13767 condition on __ASSUME_CLONE_THREAD_FLAGS.
13768
e11f5155
AJ
137692012-08-14 Andreas Jaeger <aj@suse.de>
13770
13771 * sysdeps/i386/fpu/libm-test-ulps: Update.
13772
51a9ba86
MK
137732012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
13774
2fdd4f78
AJ
13775 * include/atomic.h (atomic_exchange_and_add): Split into ...
13776 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
13777 New atomic macros.
51a9ba86 13778
ba6cba9e
MT
137792012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
13780
13781 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13782
42443a47
JL
137832012-08-13 Jeff Law <law@redhat.com>
13784
13785 * manual/stdio.texi (snprintf): Clarify handling of the trailing
13786 null byte in the output string.
13787
121dce05
JM
137882012-08-10 Joseph Myers <joseph@codesourcery.com>
13789
13790 * sysdeps/unix/sysv/linux/kernel-features.h
13791 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
13792 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
13793 (__ASSUME_ARG_MAX_STACK_BASED): Define.
13794 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
13795 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
13796 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
13797 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
13798
bf51f568
JL
137992012-08-09 Jeff Law <law@redhat.com>
13800
13801 [BZ #13939]
13802 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
13803 When avoid_arena is set, don't retry in the that arena. Pick the
13804 next one, whatever it might be.
13805 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
13806 (arena_lock): Pass in new parameter to arena_get2.
13807 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
13808 arena_get2.
13809 (__libc_malloc): Unify retrying after main arena failure with
13810 __libc_memalign version.
13811 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
13812
f85fa270
L
138132012-08-09 H.J. Lu <hongjiu.lu@intel.com>
13814
13815 [BZ #14166]
13816 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
13817 to __redirect_strstr.
13818 (__strstr_sse42): Use typeof __redirect_strstr.
13819 (__strstr_ia32): Likewise.
13820 (__libc_strstr): New prototype.
13821 (strstr): Renamed to ...
13822 (__libc_strstr): This.
13823 (strstr): New strong alias of __libc_strstr.
13824 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
13825 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
13826 __redirect_time.
13827 Include <time.h>.
13828 (__libc_time): New prototype.
13829 (time_ifunc): Replace time with __libc_time.
13830 (time): New strong alias and hidden definition of __libc_time.
13831 (__GI_time): Remove strong alias.
13832 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
13833 Include <stddef.h>.
13834 (memmove): Redefined to __redirect_memmove.
13835 (__memmove_sse2): Use typeof __redirect_memmove.
13836 (__memmove_ssse3): Likewise.
13837 (__memmove_ssse3_back): Likewise.
13838 (__libc_memmove): New prototype.
13839 (memmove): Renamed to ...
13840 (__libc_memmove): This.
13841 (memmove): New strong alias of __libc_memmove.
13842
33b4a91e
MS
138432012-08-08 Mark Salter <msalter@redhat.com>
13844
13845 * elf/elf.h
13846 (R_MN10300_TLS_GD): Define.
13847 (R_MN10300_TLS_LD): Likewise.
13848 (R_MN10300_TLS_LDO): Likewise.
13849 (R_MN10300_TLS_GOTIE): Likewise.
13850 (R_MN10300_TLS_IE): Likewise.
13851 (R_MN10300_TLS_LE): Likewise.
13852 (R_MN10300_TLS_DTPMOD): Likewise.
13853 (R_MN10300_TLS_DTPOFF): Likewise.
13854 (R_MN10300_TLS_TPOFF): Likewise.
13855 (R_MN10300_SYM_DIFF): Likewise.
13856 (R_MN10300_ALIGN): Likewise.
13857 (R_MN10300_NUM): Update.
13858
b36137f1
JM
138592012-08-08 Joseph Myers <joseph@codesourcery.com>
13860
13861 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
13862 Remove.
13863
cdd915fd
RM
138642012-08-08 Roland McGrath <roland@hack.frob.com>
13865
a2433aac
RM
13866 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
13867
cdd915fd
RM
13868 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
13869 sysdeps/unix -> sysdeps/posix move.
13870 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
13871
bf9b740a
AM
138722012-08-07 Allan McRae <allan@archlinux.org>
13873
13874 [BZ #14303]
13875 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
13876 (SUNOS_CPP): Likewise.
13877 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
13878 not found.
13879 (open_input): Call CPP using execvp.
13880
93df14ee
JM
138812012-08-07 Joseph Myers <joseph@codesourcery.com>
13882
13883 * sysdeps/unix/sysv/linux/kernel-features.h
13884 (__ASSUME_PROT_GROWSUPDOWN): Remove.
13885 (__ASSUME_NO_CLONE_DETACHED): Likewise.
13886 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
13887 (__ASSUME_WAITID_SYSCALL): Likewise.
13888 * sysdeps/unix/sysv/linux/dl-execstack.c
13889 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
13890 code unconditional.
13891 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
13892 conditional code.
13893 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
13894 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
13895 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
13896 code.
13897 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
13898 unconditional.
13899 [__ASSUME_WAITID_SYSCALL]: Likewise.
13900 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
13901
d34689de
RM
139022012-08-07 Roland McGrath <roland@hack.frob.com>
13903
a281decc
RM
13904 * sysdeps/unix/closedir.c: Renamed to ...
13905 * sysdeps/posix/closedir.c: ... here.
13906 * sysdeps/unix/dirfd.c: Renamed to ...
13907 * sysdeps/posix/dirfd.c: ... here.
13908 * sysdeps/unix/dirstream.h: Renamed to ...
13909 * sysdeps/posix/dirstream.h: ... here.
13910 * sysdeps/unix/fdopendir.c: Renamed to ...
13911 * sysdeps/posix/fdopendir.c: ... here.
13912 * sysdeps/unix/opendir.c: Renamed to ...
13913 * sysdeps/posix/opendir.c: ... here.
13914 * sysdeps/unix/readdir.c: Renamed to ...
13915 * sysdeps/posix/readdir.c: ... here.
13916 * sysdeps/unix/readdir_r.c: Renamed to ...
13917 * sysdeps/posix/readdir_r.c: ... here.
13918 * sysdeps/unix/rewinddir.c: Renamed to ...
13919 * sysdeps/posix/rewinddir.c: ... here.
13920 * sysdeps/unix/seekdir.c: Renamed to ...
13921 * sysdeps/posix/seekdir.c: ... here.
13922 * sysdeps/unix/telldir.c: Renamed to ...
13923 * sysdeps/posix/telldir.c: ... here.
13924 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
13925 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
13926 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
13927 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
13928
22895b47
RM
13929 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
13930 * bits/fcntl.h: ... here.
13931
707a53b6
RM
13932 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
13933 not 0.
13934 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
13935 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
13936 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
13937 (struct flock): Move l_start, l_len to the beginning.
13938 Use __pid_t for l_pid.
13939 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
13940 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
13941 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
13942 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
13943 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
13944 [__USE_LARGEFILE64] (struct flock64): New type.
13945 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
13946
f0bd3e25
RM
13947 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
13948 * bits/dirent.h: ... here.
13949
d34689de
RM
13950 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
13951 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
13952
6dad2c06
JM
139532012-08-07 Joseph Myers <joseph@codesourcery.com>
13954
13955 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
13956 Change from 2.6.0 to 2.6.16.
13957 * sysdeps/unix/sysv/linux/configure: Regenerated.
13958 * sysdeps/unix/sysv/linux/kernel-features.h
13959 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
13960 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
13961 version.
13962 (__ASSUME_UTIMES): Likewise.
13963 (__ASSUME_CLONE_STOPPED): Remove.
13964 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
13965 architectures, not kernel version.
13966 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
13967 (__ASSUME_NO_CLONE_DETACHED): Likewise.
13968 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
13969 (__ASSUME_WAITID_SYSCALL): Likewise.
13970 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
13971 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
13972 * README: State 2.6.16 as minimum Linux kernel version. Do not
13973 refer to older versions.
13974
03af9520
RM
139752012-08-06 Roland McGrath <roland@hack.frob.com>
13976
8e49df1d
RM
13977 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
13978 Define alphasort64 as an alias.
13979 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
13980 Define versionsort64 as an alias.
13981 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
13982 Define scandir64 as an alias.
13983 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
13984 Define scandirat64 as an alias.
13985 * dirent/alphasort64.c (alphasort64):
13986 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
13987 * dirent/versionsort64.c: Likewise.
13988 * dirent/scandir64.c: Likewise.
13989 * dirent/scandirat64.c: Likewise.
13990 * sysdeps/wordsize-64/alphasort.c: File removed.
13991 * sysdeps/wordsize-64/alphasort64.c: File removed.
13992 * sysdeps/wordsize-64/scandir.c: File removed.
13993 * sysdeps/wordsize-64/scandir64.c: File removed.
13994 * sysdeps/wordsize-64/scandirat.c: File removed.
13995 * sysdeps/wordsize-64/scandirat64.c: File removed.
13996 * sysdeps/wordsize-64/versionsort.c: File removed.
13997 * sysdeps/wordsize-64/versionsort64.c: File removed.
13998 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
13999 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
14000 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
14001 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
14002 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
14003 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
14004 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
14005 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
14006
14007 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
14008 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14009 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
14010 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14011 [defined __arch64__ || defined __sparcv9]
14012 (__INO_T_MATCHES_INO64_T): New macro.
14013 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14014 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
14015 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
14016 * sysdeps/unix/sysv/linux/bits/dirent.h
14017 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
14018 (_DIRENT_MATCHES_DIRENT64): New macro.
14019
03af9520
RM
14020 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
14021 Define lockf64 as an alias.
14022 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
14023 Define fseeko64 as an alias.
14024 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
14025 Define ftello64 as an alias.
14026 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
14027 Define _IO_fgetpos64 and fgetpos64 as aliases.
14028 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
14029 Define _IO_fsetpos64 and fsetpos64 as aliases.
14030 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
14031 Conditionalize body on this.
14032 * libio/fseeko64.c: Likewise.
14033 * libio/ftello64.c: Likewise.
14034 * libio/iofgetpos64.c: Likewise.
14035 * libio/iofsetpos64.c: Likewise.
14036 * sysdeps/wordsize-64/lockf.c: File removed.
14037 * sysdeps/wordsize-64/lockf64.c: File removed.
14038 * sysdeps/wordsize-64/fseeko.c: File removed.
14039 * sysdeps/wordsize-64/fseeko64.c: File removed.
14040 * sysdeps/wordsize-64/ftello.c: File removed.
14041 * sysdeps/wordsize-64/ftello64.c: File removed.
14042 * sysdeps/wordsize-64/iofgetpos.c: File removed.
14043 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
14044 * sysdeps/wordsize-64/iofsetpos.c: File removed.
14045 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
14046 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
14047 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
14048 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
14049 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
14050 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
14051 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
14052 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
14053 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
14054 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
14055 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
14056
14057 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14058 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
14059 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
14060 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
14061 [defined __arch64__ || defined __sparcv9]
14062 (__OFF_T_MATCHES_OFF64_T): New macro.
14063 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
14064 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
14065 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
14066 (__OFF_T_MATCHES_OFF64_T): New macro.
14067
c5757acd
L
140682012-08-06 H.J. Lu <hongjiu.lu@intel.com>
14069
14070 * stdlib/secure-getenv.c (__secure_getenv): Replace
14071 GLIBC_2_16 with GLIBC_2_17.
14072
3a31811e
L
140732012-08-06 H.J. Lu <hongjiu.lu@intel.com>
14074
14075 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
14076 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
14077
faa2bccb
DM
140782012-08-03 David S. Miller <davem@davemloft.net>
14079
14080 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14081
85fe1997
JM
140822012-08-03 Joseph Myers <joseph@codesourcery.com>
14083
14084 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
14085 Remove.
14086 (__ASSUME_CORRECT_SI_PID): Likewise.
14087 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
14088 (__ASSUME_TMPFS_NAME): Likewise.
14089 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
14090 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
14091 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
14092 (HAVE_AUX_SECURE): Make definition unconditional.
14093 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
14094 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
14095
4f75b7a0
RM
140962012-08-03 Roland McGrath <roland@hack.frob.com>
14097
14098 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
14099 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
14100 * sysdeps/mach/hurd/eloop-threshold.h: New file.
14101 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
14102 __eloop_threshold instead of SYMLOOP_MAX.
14103
14104 * sysdeps/generic/eloop-threshold.h: New file.
14105 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
14106 of MAXSYMLINKS.
14107 * elf/chroot_canon.c (chroot_canon): Likewise.
14108
7aab07e4
JM
141092012-08-03 Joseph Myers <joseph@codesourcery.com>
14110
14111 [BZ #13717]
14112 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14113 Change to 2.6.0 everywhere.
14114 * sysdeps/unix/sysv/linux/configure: Regenerated.
14115 * sysdeps/unix/sysv/linux/kernel-features.h
14116 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
14117 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
14118 kernel versions.
14119 (__ASSUME_POSIX_TIMERS): Define unconditionally.
14120 (__ASSUME_FUTEX_REQUEUE): Remove.
14121 (__ASSUME_STATFS64): Define unconditionally.
14122 (__ASSUME_AT_SECURE): Likewise.
14123 (__ASSUME_CORRECT_SI_PID): Likewise.
14124 (__ASSUME_TGKILL): Define without depending on kernel version for
14125 i386.
14126 (__ASSUME_UTIMES): Likewise.
14127 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
14128 kernel version.
14129 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
14130 (__ASSUME_TMPFS_NAME): Likewise.
14131 * README: Update reference to Linux kernel versions.
14132
b67e9372
MP
141332012-08-02 Marek Polacek <polacek@redhat.com>
14134
1f529f7d 14135 [BZ# 14150]
b67e9372
MP
14136 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
14137 libc_cv_asm_type_prefix with %.
14138 * configure: Regenerated.
d2441631
RM
14139 * include/libc-symbols.h: Remove comment about
14140 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
b67e9372
MP
14141 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
14142 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
14143 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
14144 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
14145 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
14146 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
14147 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
14148 * elf/tst-unique2mod1.c: Likewise.
14149 * elf/tst-unique1mod2.c: Likewise.
14150 * elf/tst-unique1mod1.c: Likewise.
14151 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
14152 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
14153 Replace ASM_TYPE_DIRECTIVE with .type.
14154 * sysdeps/s390/s390-64/sysdep.h: Likewise.
14155 * sysdeps/i386/sysdep.h: Likewise.
14156 * sysdeps/x86_64/sysdep.h: Likewise.
14157 * sysdeps/sh/sysdep.h: Likewise.
d2441631
RM
14158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
14159 Do not define ASM_TYPE_DIRECTIVE.
b67e9372 14160 * sysdeps/powerpc/sysdep.h: Likewise.
d2441631
RM
14161 * sysdeps/powerpc/powerpc32/sysdep.h:
14162 Replace ASM_TYPE_DIRECTIVE with .type.
b67e9372
MP
14163 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
14164 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14165 * sysdeps/i386/fpu/e_powf.S: Likewise.
14166 * sysdeps/i386/fpu/e_expl.S: Likewise.
14167 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
14168 * sysdeps/i386/fpu/e_acosh.S: Likewise.
14169 * sysdeps/i386/fpu/e_pow.S: Likewise.
14170 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
14171 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
14172 * sysdeps/i386/fpu/s_expm1.S: Likewise.
14173 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
14174 * sysdeps/i386/fpu/e_log2.S: Likewise.
14175 * sysdeps/i386/fpu/e_log2l.S: Likewise.
14176 * sysdeps/i386/fpu/e_scalb.S: Likewise.
14177 * sysdeps/i386/fpu/e_powl.S: Likewise.
14178 * sysdeps/i386/fpu/e_log10f.S: Likewise.
14179 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
14180 * sysdeps/i386/fpu/e_logl.S: Likewise.
14181 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
14182 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
14183 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
14184 * sysdeps/i386/fpu/e_log2f.S: Likewise.
14185 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
14186 * sysdeps/i386/fpu/e_log.S: Likewise.
14187 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
14188 * sysdeps/i386/fpu/e_logf.S: Likewise.
14189 * sysdeps/i386/fpu/e_log10l.S: Likewise.
14190 * sysdeps/i386/fpu/e_atanh.S: Likewise.
14191 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
14192 * sysdeps/i386/fpu/e_log10.S: Likewise.
14193 * sysdeps/i386/fpu/s_frexp.S: Likewise.
14194 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
14195 * sysdeps/i386/fpu/s_asinh.S: Likewise.
14196 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
14197 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
14198 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
14199 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
14200 * sysdeps/i386/i686/strtok.S: Likewise.
14201 * sysdeps/i386/i386-mcount.S: Likewise.
14202 * sysdeps/i386/strtok.S: Likewise.
14203 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
14204 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
14205 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
14206 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
14207 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
14208 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
14209 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
14210 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
14211 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
14212 * sysdeps/x86_64/_mcount.S: Likewise.
14213 * sysdeps/x86_64/strtok.S: Likewise.
14214 * sysdeps/sh/_mcount.S: Likewise.
14215
2747bf9a
RM
142162012-08-01 Roland McGrath <roland@hack.frob.com>
14217
14218 * libio/iofopen.c: Include <fcntl.h>.
14219 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
14220 (_IO_fopen64, fopen64): Define as aliases.
14221 * libio/iofopen64.c: Include <fcntl.h>.
14222 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
14223 Conditionalize body on this.
14224 * sysdeps/wordsize-64/iofopen.c: File removed.
14225 * sysdeps/wordsize-64/iofopen64.c: File removed.
14226
3fb791b8
MP
142272012-08-01 Marek Polacek <polacek@redhat.com>
14228
14229 * libc/Makeconfig: Use elf in place of binfmt-subdir.
14230 Use dlfcn directly instead of a variable.
14231 (binfmt-subdir): Do not define.
14232 (dlfcn): Likewise.
14233
a9f1039f
JM
142342012-08-01 Joseph Myers <joseph@codesourcery.com>
14235
23bddc06
JM
14236 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
14237 Remove all definitions.
14238 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
14239 <kernel-features.h>.
14240 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
14241 (miss_F_GETOWN_EX): Remove all definitions.
14242 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
14243 macro definition.
14244 [!__ASSUME_FCNTL64]: Remove conditional code.
14245 [__ASSUME_FCNTL64]: Make code unconditional.
14246 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
14247 <kernel-features.h>.
14248 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
14249 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
14250 (lockf64) [__NR_fcntl64]: Make code unconditional.
14251 (lockf64) [__ASSUME_FCNTL64]: Likewise.
14252
a9f1039f
JM
14253 * sysdeps/unix/sysv/linux/kernel-features.h
14254 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
14255 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
14256 Make code unconditional.
14257 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14258 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
14260 [__NR_vfork]: Make code unconditional.
14261 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14262 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
14264 [__NR_vfork]: Make code unconditional.
14265 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
14266 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
14267
09c0ee5f
RM
142682012-08-01 Roland McGrath <roland@hack.frob.com>
14269
48aec5b9
RM
14270 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
14271 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
14272
cd97c966
RM
14273 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14274 Define mkstemp64 as an alias.
3f55550c
RM
14275 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14276 Define mkstemps64 as an alias.
cd97c966
RM
14277 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14278 Define mkostemp64 as an alias.
b8625cfc
RM
14279 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
14280 Define mkostemps64 as an alias.
cd97c966
RM
14281 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
14282 Conditionalize body on this.
14283 * misc/mkostemp64.c: Likewise.
b8625cfc 14284 * misc/mkostemps64.c: Likewise.
3f55550c 14285 * misc/mkstemps64.c: Likewise.
cd97c966
RM
14286 * sysdeps/wordsize-64/mkstemp64.c: File removed.
14287 * sysdeps/wordsize-64/mkostemp64.c: File removed.
14288 * sysdeps/wordsize-64/mkostemp.c: File removed.
14289 * sysdeps/wordsize-64/mkstemp.c: File removed.
14290 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
14291 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
14292 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
14293 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
14294
09c0ee5f
RM
14295 [BZ #14138]
14296 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
14297 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
14298 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
14299 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
14300
14301 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
14302 compat_symbol macros from <shlib-compat.h> rather than the underlying
14303 default_symbol_version and symbol_version macros, so that DEFAULT
14304 lines in shlib-versions are respected.
14305 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
14306
7e66ee51
FW
143072012-08-01 Florian Weimer <fweimer@redhat.com>
14308
14309 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
14310 Declare with warn_unused_result.
14311 (setgid, setregid, setegid, setresgid): Likewise.
14312 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
14313 Likewise.
14314 * WUR-REPORT: Remove set*id functions.
14315
d2a54255
PT
143162012-07-31 Pino Toscano <toscano.pino@tiscali.it>
14317
14318 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
14319
7ecdb005
RM
143202012-07-31 Roland McGrath <roland@hack.frob.com>
14321
b4180a5e 14322 [BZ #10191]
789bd351
RM
14323 * include/sys/socket.h (__libc_accept, __libc_accept4):
14324 Add attribute_hidden.
14325 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
14326
40ce302d
RM
14327 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
14328 use of PTR_MANGLE.
14329 * inet/getnetgrent_r.c (setup): Likewise.
14330
7ecdb005
RM
14331 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
14332
e2eabb2c
DM
143332012-07-31 David S. Miller <davem@davemloft.net>
14334
14335 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14336
d0419dbf
JM
143372012-07-31 Joseph Myers <joseph@codesourcery.com>
14338
14339 [BZ #13629]
14340 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
14341 value between 1.0 and 2.0 and smaller part has absolute value less
14342 than 1.0.
14343 * math/s_clog10.c (__clog10): Likewise.
14344 * math/s_clog10f.c (__clog10f): Likewise.
14345 * math/s_clog10l.c (__clog10l): Likewise.
14346 * math/s_clogf.c (__clogf): Likewise.
14347 * math/s_clogl.c (__clogl): Likewise.
14348 * math/libm-test.inc (clog_test): Add more tests.
14349 (clog10_test): Likewise.
14350 * sysdeps/i386/fpu/libm-test-ulps: Update.
14351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14352
2bc13872
FW
143532012-07-31 Florian Weimer <fweimer@redhat.com>
14354
14355 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
14356 Exit with zero in case no suitable GID is found, and write a
14357 message to standard error.
14358
bea9b193
RM
143592012-07-30 Roland McGrath <roland@hack.frob.com>
14360
14361 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
14362 rather than to 1.
14363 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
14364 (MAXPATHLEN): Removed.
14365 (NOGROUP, NODEV): New macros.
14366 (setbit, clrbit, isset, isclr): New macros.
14367 (howmany, roundup, powerof2): New macros.
14368 (DEV_BSIZE): New macro.
14369
14370 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
14371 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
14372
14373 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
14374 definition on [!__NO_LONG_DOUBLE_MATH].
14375
14376 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
14377 PTR_MANGLE and PTR_DEMANGLE.
14378
14379 * socket/accept4.c (accept4): Rename to __libc_accept4.
14380 Define accept4 as a weak alias.
14381
14382 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
14383 on [_DIRENT_HAVE_D_TYPE].
14384 * io/ftw.c (ftw_dir): Likewise.
14385
14386 * io/xmknod.c (__xmknod): Don't check PATH for being null.
14387
14388 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
14389
14390 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
14391 Use the BSD numbers rather than the arbitrary ones we had.
14392 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
14393 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
14394 (SIGXCPU, SIGXFSZ): New macros.
14395 (_NSIG): Now 32.
14396
14397 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
14398 initializer on [_LIBC_REENTRANT].
14399
14400 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
14401 definitions inside [_POSIX_MAPPED_FILES].
14402
14403 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
14404
14405 * dirent/opendir.c: Include <fcntl.h>.
14406
14407 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
14408 (__libc_getspecific): Likewise.
14409 (__libc_key_create): Likewise.
14410
14411 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
14412 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
14413 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
14414 (tmpfile64): Define as alias.
14415 * sysdeps/wordsize-64/tmpfile.c: File removed.
14416 * sysdeps/wordsize-64/tmpfile64.c: File removed.
14417 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
14418 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
14419
14420 * stdio-common/vfscanf.c: Include <stdbool.h>.
14421 * nss/makedb.c: Likewise.
14422 * stdio-common/_i18n_number.h: Likewise.
14423 * argp/argp-help.c: Likewise.
14424 * posix/wordexp.c: Likewise.
14425 * sysdeps/posix/spawni.c: Likewise.
14426 * nss/nss_files/files-initgroups.c: Likewise.
14427 * stdio-common/reg-modifier.c: Include <stdlib.h>.
14428 * nss/nss_files/files-initgroups.c: Likewise.
14429 * nss/nss_db/db-netgrp.c: Likewise.
14430 * nss/nss_db/db-initgroups.c: Likewise.
14431 * io/fchmodat.c: Include <sys/stat.h>.
14432
14433 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
14434 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
14435
14436 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
14437 [HAVE_MMAP].
14438
14439 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
14440 Add multiple inclusion protection.
14441
e5abc686
DM
144422012-07-27 David S. Miller <davem@davemloft.net>
14443
14444 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14445
815e6fa3
GB
144462012-07-27 Gary Benson <gbenson@redhat.com>
14447
14448 [BZ #14298]
14449 * elf/rtld.c: Include <stap-probe.h>.
14450 (dl_main): Added static probes "init_start" and "init_complete".
14451 * elf/dl-load.c: Include <stap-probe.h>.
14452 (lose): Take new parameter "nsid".
14453 Added static probe "map_failed".
14454 (_dl_map_object_from_fd): Pass namespace id to lose.
14455 Added static probe "map_start".
14456 (open_verify): Pass namespace id to lose.
14457 * elf/dl-open.c: Include <stap-probe.h>.
14458 (dl_open_worker) Added static probes "map_complete", "reloc_start"
14459 and "reloc_complete".
14460 * elf/dl-close.c: Include <stap-probe.h>.
14461 (_dl_close_worker): Added static probes "unmap_start" and
14462 "unmap_complete".
14463 * elf/rtld-debugger-interface.txt: New file documenting the above.
14464
9f98c16c
RM
144652012-07-26 Roland McGrath <roland@hack.frob.com>
14466
14467 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
14468 rather than a string variable.
14469 * sunrpc/rpc_main.c (h_output): Likewise.
14470 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
14471
f3c22df3
PT
144722012-07-26 Pino Toscano <toscano.pino@tiscali.it>
14473
14474 * inet/check_native.c: New file.
14475
3129cfc6
JM
144762012-07-26 Joseph Myers <joseph@codesourcery.com>
14477
da865e95
JM
14478 [BZ #13629]
14479 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
14480 if larger part has absolute value 1.0.
14481 * math/s_clog10.c (__clog10): Likewise.
14482 * math/s_clog10f.c (__clog10f): Likewise.
14483 * math/s_clog10l.c (__clog10l): Likewise.
14484 * math/s_clogf.c (__clogf): Likewise.
14485 * math/s_clogl.c (__clogl): Likewise.
14486 * math/libm-test.inc (clog_test): Add more tests.
14487 (clog10_test): Likewise.
14488 * sysdeps/i386/fpu/libm-test-ulps: Update.
14489 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14490
3129cfc6
JM
14491 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
14492 (pltexit): Likewise.
14493 (La_regs): Likewise.
14494 (La_retval): Likewise.
14495 (int_retval): Likewise.
14496 Update #error for removed macros to refer only to definitions in
14497 tst-audit.h.
14498 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
14499 macro.
14500 (pltexit): Likewise.
14501 (La_regs): Likewise.
14502 (La_retval): Likewise.
14503 (int_retval): Likewise.
14504 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
14505 macro.
14506 (pltexit): Likewise.
14507 (La_regs): Likewise.
14508 (La_retval): Likewise.
14509 (int_retval): Likewise.
14510 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
14511 macro.
14512 (pltexit): Likewise.
14513 (La_regs): Likewise.
14514 (La_retval): Likewise.
14515 (int_retval): Likewise.
14516 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
14517 macro.
14518 (pltexit): Likewise.
14519 (La_regs): Likewise.
14520 (La_retval): Likewise.
14521 (int_retval): Likewise.
14522 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
14523 macro.
14524 (pltexit): Likewise.
14525 (La_regs): Likewise.
14526 (La_retval): Likewise.
14527 (int_retval): Likewise.
14528 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
14529 macro.
14530 (pltexit): Likewise.
14531 (La_regs): Likewise.
14532 (La_retval): Likewise.
14533 (int_retval): Likewise.
14534 * sysdeps/generic/tst-audit.h: Update comment to refer only to
14535 macro definitions in tst-audit.h.
14536 * sysdeps/i386/tst-audit.h: New file.
14537 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
14538 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
14539 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
14540 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
14541 * sysdeps/sh/tst-audit.h: Likewise.
14542 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
14543 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
14544 * sysdeps/x86_64/tst-audit.h: Likewise.
14545
bfc07087
AJ
145462012-07-26 Andreas Jaeger <aj@suse.de>
14547
b1b2aaf8
AJ
14548 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
14549 ptrace.
14550
14551 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
14552 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
14553 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
14554 PTRACE_O_MASK.
14555 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
14556 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
14557 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
14558
bfc07087
AJ
14559 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
14560 value.
14561
14562 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
14563 _sigsys.
14564 (si_call_addr, si_syscall, si_arch): Define new macro.
14565 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
14566 _sigsys.
14567 (si_call_addr, si_syscall, si_arch): Define new marcro.
14568 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
14569 _sigsys.
14570 (si_call_addr, si_syscall, si_arch): Define new macro.
14571 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
14572 _sigsys.
14573 (si_call_addr, si_syscall, si_arch): Define new macro.
14574
89b4b02f
JM
145752012-07-25 Joseph Myers <joseph@codesourcery.com>
14576
14577 [BZ #13717]
14578 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
14579 Change to 2.4.21 where previously 2.4.1.
14580 * sysdeps/unix/sysv/linux/configure: Regenerated.
14581 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
14582 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
14583 Linux kernel version.
14584 (__ASSUME_STD_AUXV): Remove.
14585 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
14586 kernel version.
14587 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
14588 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
14589 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
14590 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
14591 (__ASSUME_NETLINK_SUPPORT): Likewise.
14592 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
14593 (__no_netlink_support): Remove conditional definition.
14594 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
14595 Remove.
14596 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14597 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
14598 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
14599 (if_nameindex_ioctl): Remove.
14600 (if_nameindex_netlink): Do not handle __no_netlink_support.
14601 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14602 code.
14603 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
14604 Remove conditional code.
14605 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
14606 code.
14607 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
14608 unconditional.
14609 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
14610 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
14611 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
14612 Remove.
14613 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
14614 [!__ASSUME_STD_AUXV]: Remove conditional code.
14615 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
14616 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
14617 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
14618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
14619 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
14620 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14621 code.
14622 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14623 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
14624 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
14625 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14626 conditional code.
14627 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
14628 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
14629 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
14630 code.
14631 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
14632 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
14633 conditional code.
14634 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
14635 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14636 code unconditional.
14637 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14638 conditional code.
14639 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14640 unconditional.
14641 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14642 conditional code.
14643 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
14644 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14645 unconditional.
14646 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14647 conditional code.
14648 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
14649 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14650 code unconditional.
14651 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14652 conditional code.
14653 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14654 unconditional.
14655 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14656 conditional code.
14657 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
14658 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
14659 code unconditional.
14660 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14661 conditional code.
14662 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
14663 unconditional.
14664 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
14665 conditional code.
14666
842a39cd
AS
146672012-07-25 Andreas Schwab <schwab@linux-m68k.org>
14668
14669 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
14670 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
14671 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
14672 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
14673 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
14674 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
14675 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
14676 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
14677 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
14678 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
14679 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
14680 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
14681 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
14682 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
14683 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
14684 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
14685 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
14686 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
14687 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
14688 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
14689 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
14690 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
14691 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
14692
84b3fd84
FW
146932012-07-25 Florian Weimer <fweimer@redhat.com>
14694
14695 * Versions.def: Add GLIBC_2.17.
84b3fd84
FW
14696 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
14697 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
14698 Introduce __libc_secure_getenv.
0c7936d5
FW
14699 * stdlib/Versions (2.17): Add secure_getenv
14700 (GLIBC_PRIVATE): Add __libc_secure_getenv.
14701 * stdlib/secure-getenv.c: Rename __secure_getenv to
14702 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
14703 symbol __secure_getenv for GLIBC_2.0.
84b3fd84
FW
14704 * stdlib/tst-secure-getenv.c: New.
14705 * stdlib/Makefile (tests): Add testcase.
84b3fd84
FW
14706 * manual/startup.texi (Environment Access): Document
14707 secure_getenv.
84b3fd84
FW
14708 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
14709 __libc_secure_getenv.
14710 * inet/ruserpass.c (ruserpass): Likewise.
14711 * malloc/mtrace.c (mtrace): Likewise.
14712 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
0c7936d5 14713 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
84b3fd84
FW
14714 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
14715 * sysdeps/posix/tempname.c: Likewise. Evaluate
14716 HAVE_SECURE_GETENV.
14717 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
0c7936d5 14718 __secure_getenv to __libc_secure_getenv.
84b3fd84 14719 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
84b3fd84
FW
14720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
14721 Likewise.
14722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
14723 Likewise.
14724 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
14725 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
14726 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
14727 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
14728 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
14729 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
14730 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
84b3fd84 14731
56e49b71
JM
147322012-07-25 Joseph Myers <joseph@codesourcery.com>
14733
14734 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
14735 (struct La_i86_retval): Likewise.
14736 (struct La_x86_64_regs): Likewise.
14737 (struct La_x86_64_retval): Likewise.
14738 (struct La_x32_regs): Likewise.
14739 (struct La_x32_retval): Likewise.
14740 (struct La_ppc32_regs): Likewise.
14741 (struct La_ppc32_retval): Likewise.
14742 (struct La_ppc64_regs): Likewise.
14743 (struct La_ppc64_retval): Likewise.
14744 (struct La_sh_regs): Likewise.
14745 (struct La_sh_retval): Likewise.
14746 (struct La_s390_32_regs): Likewise.
14747 (struct La_s390_32_retval): Likewise.
14748 (struct La_s390_64_regs): Likewise.
14749 (struct La_s390_64_retval): Likewise.
14750 (struct La_sparc32_regs): Likewise.
14751 (struct La_sparc32_retval): Likewise.
14752 (struct La_sparc64_regs): Likewise.
14753 (struct La_sparc64_retval): Likewise.
14754 (struct audit_ifaces): Remove architecture-specific pltenter and
14755 pltexit members.
14756 * sysdeps/i386/ldsodefs.h: New file.
14757 * sysdeps/powerpc/ldsodefs.h: Likewise.
14758 * sysdeps/s390/ldsodefs.h: Likewise.
14759 * sysdeps/sh/ldsodefs.h: Likewise.
14760 * sysdeps/sparc/ldsodefs.h: Likewise.
14761 * sysdeps/x86_64/ldsodefs.h: Likewise.
14762
354691b7
MP
147632012-07-25 Marek Polacek <polacek@redhat.com>
14764
14765 [BZ #6808]
14766 * math/libm-test.inc (yn_test): Add another test.
14767 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
14768 to ERANGE when the result is +-Inf.
14769 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
14770 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
14771 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
14772 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
14773
bf9e2071
JM
147742012-07-24 Joseph Myers <joseph@codesourcery.com>
14775
14776 * conform/data/time.h-data (NULL): Use macro-constant. Require
14777 equal to 0.
14778 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
14779 clock_t.
14780 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
14781
57633811
TS
147822012-07-23 Thomas Schwinge <thomas@codesourcery.com>
14783
14784 * configure.in <sysdeps resolving>: Correct printing
14785 Implies_before.
14786 * configure: Regenerate.
14787
c23c33b0
TS
147882012-07-22 Thomas Schwinge <thomas@codesourcery.com>
14789
14790 * math/w_ilogb.c: Include <limits.h>.
14791 * math/w_ilogbl.c: Likewise.
14792
b5982523
JM
147932012-07-20 Joseph Myers <joseph@codesourcery.com>
14794
14795 * manual/lang.texi (__va_copy): Document primarily as ISO C99
14796 va_copy. Document allowing for unavailable va_copy only as
14797 pre-C99 compatibility.
14798 * manual/string.texi (Copying and Concatenation): Use va_copy
14799 instead of __va_copy in concat example.
14800
ac4ea442
PT
148012012-07-20 Pino Toscano <toscano.pino@tiscali.it>
14802
14803 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
14804 (__sendto): Use create_address_port. Initialize APORT and deallocate
14805 it if not null.
14806
f98eafbd
PT
14807 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
14808 with O_NOLINK passed to __file_name_lookup.
14809
898c7aab
PT
14810 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
14811 with O_NOLINK passed to __file_name_lookup.
14812
0ced335a
PT
14813 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
14814 negative N or less than NGIDS.
14815
b3404dbd
PT
14816 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
14817 type to string_t. Set ERANGE as errno and return it if NAME is not big
14818 enough. Use memcpy instead of strncpy.
14819
0f48659e
JM
148202012-07-20 Joseph Myers <joseph@codesourcery.com>
14821
14822 * elf/Makefile (check-data): Remove.
14823 (localplt.data): New vpath directive.
14824 ($(objpfx)check-localplt.out): Use localplt.data from vpath
14825 instead of $(check-data).
14826 * scripts/data/localplt-generic.data: Move to ...
14827 * sysdeps/generic/localplt.data: ... here.
14828 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
14829 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
14830 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
14831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
14832 ... here.
14833 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
14834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
14835 ... here.
14836 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
14837 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
14838 ... here.
14839 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
14840 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
14841 ... here.
14842 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
14843 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
14844 ... here.
14845 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
14846 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
14847 ... here.
14848
d37cbdaa
AZ
148492012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
14850
14851 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
14852 PPC32 and PPC64 files.
14853 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
14854 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
14855
46f85fc2
AK
148562012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14857
14858 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
14859 __makecontext_ret to ...
14860 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
14861 ... here and call exit if uc_link is NULL. New file.
14862 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
14863 __makecontext_ret.S.
14864 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
14865 __makecontext_ret to ...
14866 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
14867 ... here and call exit if uc_link is NULL. New file.
14868 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
14869 __makecontext_ret.S.
14870
08f43f9b
AK
148712012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14872
14873 * elf/elf.h (R_390_IRELATIVE): New definition.
14874 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
14875 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
14876 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
14877 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14878 (elf_machine_lazy_rel): Likewise.
14879 * sysdeps/s390/dl-irel.h: New file.
14880 * sysdeps/s390/s390-64/memcpy.S: New asm code.
14881 * sysdeps/s390/s390-64/memset.S: New asm code.
14882 * sysdeps/s390/s390-64/memcmp.S: New asm code.
14883 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
14884 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
14885 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
14886 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
14887 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
14888 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
14889 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
14890 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
14891 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
14892 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
14893 * sysdeps/s390/s390-32/memcpy.S: New asm code.
14894 * sysdeps/s390/s390-32/memset.S: New asm code.
14895 * sysdeps/s390/s390-32/memcmp.S: New asm code.
14896
3b05db33
MP
148972012-07-17 Marek Polacek <polacek@redhat.com>
14898
14899 [BZ #14349]
14900 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
14901 * sysdeps/s390/s390-64/configure.in: Likewise.
14902 * sysdeps/sparc/configure.in: Likewise.
14903 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
14904 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
14905 * sysdeps/i386/configure.in: Likewise.
14906 * sysdeps/x86_64/configure.in: Likewise.
14907 * sysdeps/sh/configure.in: Likewise.
14908 * sysdeps/s390/s390-32/configure: Regenerated.
14909 * sysdeps/s390/s390-64/configure: Likewise.
14910 * sysdeps/x86_64/configure: Likewise.
14911 * sysdeps/sh/configure: Likewise.
14912 * sysdeps/powerpc/powerpc64/configure: Likewise.
14913 * sysdeps/powerpc/powerpc32/configure: Likewise.
14914 * sysdeps/sparc/configure: Likwise.
14915 * sysdeps/i386/configure: Likewise.
14916
a66877c6
MP
14917 * elf/dl-open.c: Comment fixes.
14918
cfc82fd8
JM
149192012-07-17 Joseph Myers <joseph@codesourcery.com>
14920
bd29910a
JM
14921 * Makefile [CXX] (check-data): Remove.
14922 [CXX] (c++-types.data): New vpath directive.
14923 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
14924 vpath. Do not allow for C++ type data being missing.
14925 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
14926 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
14927 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
14928 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
14929 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
14930 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
14931 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
14932 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
14933 ... here.
14934 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
14935 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
14936 ... here.
14937 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
14938 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
14939 ... here.
14940 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
14941 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
14942 ... here.
14943 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
14944 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
14945 ... here.
14946 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
14947 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
14948 ... here.
14949 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
14950 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
14951 ... here.
14952 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
14953 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
14954
cfc82fd8
JM
14955 * elf/tls-macros.h (TLS_LE): Move architecture-specific
14956 definitions to architecture-specific files.
14957 (TLS_IE): Likewise.
14958 (TLS_LD): Likewise.
14959 (TLS_GD): Likewise.
14960 * sysdeps/i386/tls-macros.h: New file.
14961 * sysdeps/powerpc/tls-macros.h: Likewise.
14962 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
14963 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
14964 * sysdeps/sh/tls-macros.h: Likewise.
14965 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
14966 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
14967 * sysdeps/x86_64/tls-macros.h: Likewise.
14968
f7db3170
TS
149692012-07-17 Thomas Schwinge <thomas@codesourcery.com>
14970
07cbfc23
TS
14971 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
14972 zero value for regular exit case.
14973
f7db3170
TS
14974 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
14975 (__start_context): Preserve zero value for regular exit case.
14976
dc97c227
TS
149772012-07-17 Thomas Schwinge <thomas@codesourcery.com>
14978 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
14979
14980 * manual/setjmp.texi (setcontext): Clarify normal process
14981 termination when uc_link is the null pointer.
14982 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
14983 exit call.
14984
d0cd7d02
AS
149852012-07-16 Andreas Schwab <schwab@linux-m68k.org>
14986
14987 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
14988 preprocessor. Test for each exception mask separately.
14989
dd318934
AJ
149902012-07-16 Andreas Jaeger <aj@suse.de>
14991
14992 * po/ru.po: Update from translation team.
14993
8048311a
JM
149942012-07-15 Joseph Myers <joseph@codesourcery.com>
14995
14996 * conform/data/string.h-data (NULL): Use macro-constant. Require
14997 equal to 0.
14998 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
14999 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
15000 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
15001 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
15002 [ISO || ISO99 || ISO11] (*_t): Do not allow.
15003
b637d46e
AJ
150042012-07-13 Andreas Jaeger <aj@suse.de>
15005
15006 * po/fr.po: Update from translation team.
15007
541428fe
MP
150082012-07-12 Marek Polacek <polacek@redhat.com>
15009
15010 [BZ #14173]
15011 * math/libm-test.inc (yn_test): Add test for BZ #14173.
15012 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
15013 loop condition.
15014
ec332e94
JM
150152012-07-12 Joseph Myers <joseph@codesourcery.com>
15016
15017 [BZ #13717]
15018 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
15019 Change to 2.4.1 where previously 2.4.0.
15020 * sysdeps/unix/sysv/linux/configure: Regenerated.
15021 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
15022 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
15023 version.
15024 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
15025 (__ASSUME_AT_CLKTCK): Remove.
15026 (__ASSUME_AT_PAGESIZE): Likewise.
15027 (__ASSUME_AT_XID): Likewise.
15028 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
15029 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
15030 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
15031 unconditionally.
15032 (HAVE_AUX_PAGESIZE): Likewise.
15033 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
15034 [__ASSUME_AT_CLKTCK]: Make code unconditional.
15035 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
15036
7b6e99be
JB
150372012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
15038
15039 [BZ #14307]
15040 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
15041 the temporary buffer used to invoke __gethostbyname2_r,
15042 __gethostbyaddr_r and gethostbyname4_r to make room for struct
15043 host_data / struct gaih_addrtuple.
15044 * resolv/nss_dns/dns-host.c (global scope): Move definition of
15045 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
15046 header file nss/nsswitch.h.
15047 * nss/nsswitch.h (global scope): Add definition of implementation
15048 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
15049 resolv/nss_dns/dns-host.c).
15050
608404eb
AJ
150512012-07-11 Andreas Jaeger <aj@suse.de>
15052
15053 * po/fr.po: Update from translation team.
15054
71220aca
AJ
15055 * po/sv.po: Update from translation team
15056 * po/fr.po: Another update from translation team.
15057
28cfe843
AZ
150582012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15059
15060 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
15061 for subnormals or multiply small sinh result by itself.
15062 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
15063 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
15064
6b90f981
DM
150652012-07-11 David S. Miller <davem@davemloft.net>
15066
15067 * sysdeps/sparc/fpu/libm-test-ulps: Update.
15068
c6825772
AS
150692012-07-10 Andreas Schwab <schwab@linux-m68k.org>
15070
15071 [BZ #14347]
15072 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
15073 (INTERNAL_MARK): Shift it here.
15074
7b8e0d49
MP
150752012-07-10 Marek Polacek <polacek@redhat.com>
15076
15077 [BZ #14151]
15078 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
15079 libc_cv_asm_global_directive with .globl.
15080 * configure: Regenerated.
15081 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
15082 with .globl.
15083 * sysdeps/i386/configure: Regenerated.
15084 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
15085 with .globl.
15086 * sysdeps/x86_64/configure: Regenerated.
15087 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
15088 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
15089 * elf/tst-unique2mod2.c: Likewise.
15090 * elf/tst-unique2mod1.c: Likewise.
15091 * elf/tst-unique1mod2.c: Likewise.
15092 * elf/tst-unique1mod1.c: Likewise.
15093 * sysdeps/s390/s390-32/sysdep.h: Likewise.
15094 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
15095 * sysdeps/s390/s390-64/sysdep.h: Likewise.
15096 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
15097 * sysdeps/mach/sysdep.h: Likewise.
15098 * sysdeps/i386/sysdep.h: Likewise.
15099 * sysdeps/i386/i386-mcount.S: Likewise.
15100 * sysdeps/x86_64/_mcount.S: Likewise.
15101 * sysdeps/x86_64/sysdep.h: Likewise.
15102 * sysdeps/sh/_mcount.S: Likewise.
15103 * sysdeps/sh/sysdep.h: Likewise.
15104 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
15105 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
15106 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
15107 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
15108 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
15109 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
15110 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
15111 * locale/localeinfo.h: Likewise.
15112 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
15113 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
15114
6c55cda3
RM
151152012-07-09 Roland McGrath <roland@hack.frob.com>
15116
15117 [BZ #14336]
15118 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
15119 system".
15120 * manual/message.texi (The Uniforum approach): Likewise.
15121 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
15122 (glibc iconv Implementation): Likewise.
15123
638a572e
JM
151242012-07-09 Joseph Myers <joseph@codesourcery.com>
15125
15126 [BZ #14337]
15127 * math/s_clog.c (__clog): Avoid scaling a value down where that
15128 could result in underflow.
15129 * math/s_clog10.c (__clog10): Likewise.
15130 * math/s_clog10f.c (__clog10f): Likewise.
15131 * math/s_clog10l.c (__clog10l): Likewise.
15132 * math/s_clogf.c (__clogf): Likewise.
15133 * math/s_clogl.c (__clogl): Likewise.
15134 * math/libm-test.inc (clog_test): Add more tests.
15135 (clog10_test): Likewise.
15136 * sysdeps/i386/fpu/libm-test-ulps: Update.
15137 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15138
261f4859
AS
151392012-07-06 Andreas Schwab <schwab@linux-m68k.org>
15140
0abaf3e4
AS
15141 [BZ #14283]
15142 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
15143 by 7 not 8 to examine high bit of fractional part.
15144
261f4859
AS
15145 [BZ #14042]
15146 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
15147 for call to __mcount_internal.
15148 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
15149 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
15150 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
15151
f17ac40d
JM
151522012-07-06 Joseph Myers <joseph@codesourcery.com>
15153
9ad63c23
JM
15154 [BZ #14154]
15155 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
15156 approximation for values within 0x1p-13f of an odd multiple of
15157 pi/4.
15158 * math/libm-test.inc (tan_test): Do not allow spurious underflow
15159 exception. Add more tests.
15160 * sysdeps/i386/fpu/libm-test-ulps: Update.
15161
f17ac40d
JM
15162 [BZ #6778]
15163 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
15164 inputs and return -1 for them. Do not check for +Inf in case not
15165 reachable for +Inf.
15166 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
15167 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
15168 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
15169 and return -1 for them. Do not check for +Inf in case not
15170 reachable for +Inf.
15171 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
15172 define.
15173 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
15174 and return -1 for them. Do not check for +Inf in case not
15175 reachable for +Inf.
15176 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
15177 spurious underflow.
15178 * sysdeps/i386/fpu/libm-test-ulps: Update.
15179 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15180
fb21f89b
MF
151812012-07-06 Mike Frysinger <vapier@gentoo.org>
15182
15183 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
15184
cdfe2c5e
JM
151852012-07-05 Joseph Myers <joseph@codesourcery.com>
15186
15187 [BZ #14157]
15188 [BZ #14331]
15189 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
15190 could result in spurious underflow. Scale down values above
15191 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
15192 * math/s_csqrtf.c (__csqrtf): Likewise.
15193 * math/s_csqrtl.c (__csqrtl): Likewise.
15194 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
15195 spurious underflow.
15196 * sysdeps/i386/fpu/libm-test-ulps: Update.
15197 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15198
70d35b67
AS
151992012-07-04 Andreas Schwab <schwab@linux-m68k.org>
15200
704bc459
AS
15201 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
15202 xopen-msg.sed.
15203 * catgets/xopen-msg.awk: New file.
15204 * catgets/xopen-msg.sed: Removed.
15205
70d35b67
AS
15206 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
15207 po2text.sed.
15208 * intl/po2test.awk: New file.
15209 * intl/po2test.sed: Removed.
15210
ca61cf32
JM
152112012-07-04 Joseph Myers <joseph@codesourcery.com>
15212
15213 [BZ #14328]
15214 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
15215 or multiply small sinh result by itself.
15216 * math/s_ctanf.c (__ctanf): Likewise.
15217 * math/s_ctanh.c (__ctanh): Likewise.
15218 * math/s_ctanhf.c (__ctanhf): Likewise.
15219 * math/s_ctanhl.c (__ctanhl): Likewise.
15220 * math/s_ctanl.c (__ctanl): Likewise.
15221 * math/libm-test.inc (ctan_test_tonearest): New function.
15222 (ctan_test_towardzero): Likewise.
15223 (ctan_test_downward): Likewise.
15224 (ctan_test_upward): Likewise.
15225 (ctanh_test_tonearest): Likewise.
15226 (ctanh_test_towardzero): Likewise.
15227 (ctanh_test_downward): Likewise.
15228 (ctanh_test_upward): Likewise.
15229 (main): Call these new functions.
15230 * sysdeps/i386/fpu/libm-test-ulps: Update.
15231 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15232
ca48a46a
MF
152332012-07-03 Mike Frysinger <vapier@gentoo.org>
15234
15235 * .gitignore: Delete /ports entry.
15236
9d63d37d
AJ
152372012-07-03 Andreas Jaeger <aj@suse.de>
15238
15239 * po/bg.po: Update from translation team.
15240 * po/cs.po: Likewise.
15241 * po/de.po: Likewise.
15242 * po/hr.po: Likewise.
15243 * po/nl.pl: Likewise.
15244 * po/pl.po: Likewise.
15245 * po/vi.po: Likewise.
15246
370ca3d2
JM
152472012-07-03 Joseph Myers <joseph@codesourcery.com>
15248
95f5a9a8
JM
15249 * Makeconfig [!+link] (+link-before-libc): New variable.
15250 [!+link] (+link-after-libc): Likewise.
15251 [!+link] (+link-tests): Likewise.
15252 [!+link] (+link): Define in terms of $(+link-before-libc) and
15253 $(+link-after-libc).
15254 [!+link-static] (+link-static-before-libc): New variable.
15255 [!+link-static] (+link-static-after-libc): Likewise.
15256 [!+link-static] (+link-static-tests): Likewise.
15257 [!+link-static] (+link-static): Define in terms of
15258 $(+link-static-before-libc) and $(+link-static-after-libc).
15259 [build-shared] (link-libc-before-gnulib): New variable.
15260 [build-shared] (link-libc-tests): Likewise.
15261 [build-shared] (link-libc): Define in terms of
15262 $(link-libc-before-gnulib).
15263 [!build-shared] (link-libc-tests): New variable.
15264 (link-libc-static-tests): New variable.
15265 [!gnulib] (gnulib-arch): New variable.
15266 [!gnulib] (gnulib-tests): Likewise.
15267 [!gnulib] (static-gnulib-arch): Likewise.
15268 [!gnulib] (static-gnulib-tests): Likewise.
15269 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
15270 Define with "=" instead of ":=".
15271 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
15272 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
15273 * Rules (binaries-all-notests): New variable.
15274 (binaries-all-tests): Likewise.
15275 (binaries-static-notests): Likewise.
15276 (binaries-static-tests): Likewise.
15277 (binaries-all): Define using $(binaries-all-notests) and
15278 $(binaries-all-tests).
15279 (binaries-static): Define using $(binaries-static-notests) and
15280 $(binaries-static-tests).
15281 (binaries-shared-tests): New variable.
15282 (binaries-shared-notests): Likewise.
15283 (binaries-shared): Remove variable.
15284 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
15285 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
15286 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
15287 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
15288 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
15289 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
15290 * elf/Makefile (sln-modules): New variable.
15291 (extra-objs): Add $(sln-modules:=.o).
15292 (ldconfig-modules): Add static-stubs.
15293 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
15294 * elf/static-stubs.c: New file.
15295
7a845b2c
JM
15296 [BZ #14283]
15297 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
15298 by 7 not 8 to examine high bit of fractional part. Use volatile
15299 variables when splitting into final array of floats if
15300 __FLT_EVAL_METHOD__ != 0.
15301 * math/libm-test.inc (cos_test): Add another test.
15302 (sin_test): Likewise.
15303 * sysdeps/i386/fpu/libm-test-ulps: Update.
15304
e2283f38
JM
15305 [BZ #14273]
15306 * math/libm-test.inc (cosh_test): Add more tests.
15307
370ca3d2
JM
15308 * version.h (RELEASE): Set to "development".
15309 (VERSION): Set to "2.16.90".
15310
ee9247c3
CD
153112012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
15312
15313 * NEWS: Update copyright. Remove last-updated date.
15314 Mention math library bug fixes and timezone data changes.
15315 * README: Mention GNU/Hurd, x32, and HPPA support status.
15316
4648c381
TS
153172012-06-28 Thomas Schwinge <thomas@codesourcery.com>
15318
15319 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
15320
aac78a43
AJ
153212012-06-27 Andreas Jaeger <aj@suse.de>
15322
15323 * manual/contrib.texi (Contributors): Add Samuel Thibault.
15324
ed3dbfad
AJ
153252012-06-25 Andreas Jaeger <aj@suse.de>
15326
15327 * sysdeps/s390/fpu/libm-test-ulps: Update.
15328
4d0ee855
AS
153292012-06-23 Andreas Schwab <schwab@linux-m68k.org>
15330 Thomas Schwinge <thomas@codesourcery.com>
15331
15332 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
15333 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
15334 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
15335 fanotify_mark.
15336
af1bce34
TS
153372012-06-23 Thomas Schwinge <thomas@codesourcery.com>
15338
a9fa33ba
TS
15339 * sysdeps/mach/start.c: Remove file.
15340 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
15341 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
15342 * sysdeps/sh/init-first.c: Likewise.
15343
58f902b8
TS
15344 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
15345 registers for frame unwinding purposes, add CFI directives.
15346 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15347 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
15348 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
15349 Likewise.
15350
1518f58b
TS
15351 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
15352 __fortify_fail returning.
15353 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
15354
db9b5059
TS
15355 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
15356 sysdeps/sh/____longjmp_chk.S.
15357 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
15358 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
15359 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
15360 (gen-as-const-headers): Append sigaltstack-offsets.sym.
15361
967705fe
TS
15362 * sysdeps/sh/abort-instr.h: New file.
15363 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
15364 process in case exit returns.
15365
a9def8c4
TS
15366 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
15367 initialize the GOT register before use.
15368
2a649725
TS
15369 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
15370 calculation of ARGC > 4.
15371
af1bce34
TS
15372 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
15373 meaningful names to some local labels.
15374
d230f50a
KK
153752012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
15376 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15377
15378 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
15379 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
15380 (__arch_compare_and_exchange_val_16_acq): Likewise.
15381 (__arch_compare_and_exchange_val_32_acq): Likewise.
15382 (atomic_exchange_and_add): Fix gUSA sequence.
15383 (atomic_add): Likewise.
15384 (atomic_add_negative): Likewise.
15385 (atomic_add_zero): Likewise.
15386 (atomic_bit_test_set): Likewise.
15387
0479b305
AS
153882012-06-22 Andreas Schwab <schwab@redhat.com>
15389
15390 [BZ #13579]
15391 * include/link.h (struct link_map): Add l_free_initfini.
15392 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
15393 l_initfini.
15394 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
15395 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
15396 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
15397 set.
15398
0e3933b9
CD
153992012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
15400
15401 * configure.in: Use AC_LANG_SOURCE.
15402 * configure: Regenerate.
15403
4248b1b1
RM
154042012-06-22 Roland McGrath <roland@hack.frob.com>
15405
15406 * configure.in (libc_cv_localstatedir): New substituted variable.
15407 * configure: Regenerated.
15408 * config.make.in (localstatedir): New variable, substituted from
15409 libc_cv_localstatedir.
15410 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
15411 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
15412 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
15413 * sysdeps/gnu/configure: Regenerated.
15414
006dd861
JL
154152012-06-21 Jeff Law <law@redhat.com>
15416
15417 [BZ #14277]
15418 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
15419 free. Simplify list management for _LIBC case.
15420
79662d42
JM
154212012-06-21 Joseph Myers <joseph@codesourcery.com>
15422
b7abb4bf
JM
15423 [BZ #14273]
15424 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
15425 Clear sign bit of 64-bit integer value before comparing against
15426 overflow value.
15427
79662d42
JM
15428 * sysdeps/mach/configure: Regenerated.
15429
1f150908
L
154302012-06-21 H.J. Lu <hongjiu.lu@intel.com>
15431
15432 [BZ #14278]
15433 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
15434
28363bbf
JL
154352012-06-21 Jeff Law <law@redhat.com>
15436
15437 [BZ #13882]
15438 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
15439 uint16_t for elements in the "seen" array to avoid char overflows.
80784193 15440 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28363bbf
JL
15441 * elf/dl-open.c (dl_open_worker): Likewise.
15442
09615db4
CD
154432012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
15444
15445 * scripts/list-sources.sh: Scan PORTS for translations.
15446 * po/libc.pot: Regenerated.
15447
2174c6dd
AJ
154482012-06-21 Andreas Jaeger <aj@suse.de>
15449
15450 [BZ #12194]
15451 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
15452 warning.
15453 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
15454 * bits/byteswap-16.h (__bswap_16): Likewise.
15455 * bits/byteswap.h (__bswap_constant_16): Likewise.
15456
3ee947b1
L
154572012-06-18 H.J. Lu <hongjiu.lu@intel.com>
15458
15459 [BZ #14117]
a2f34833
L
15460 * sysdeps/i386/fpu_control.h: Removed.
15461 * sysdeps/x86_64/fpu_control.h: Moved to ...
15462 * sysdeps/x86/fpu_control.h: Here.
15463
3ee947b1
L
15464 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
15465 (_FPU_SETCW): Likewise.
15466
ed1825f8
L
154672012-06-15 H.J. Lu <hongjiu.lu@intel.com>
15468
25f1282a
L
15469 [BZ #14117]
15470 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
15471 * sysdeps/x86/fpu/bits/mathinline.h: This.
15472 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
15473
ed1825f8
L
15474 [BZ #14050]
15475 [BZ #14117]
15476 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
15477 functions if __x86_64__ is defined.
15478
36d54b74
CLT
154792012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
15480
15481 * string/endian.h: Add !__ASSEMBLER__ condition for including
15482 conversion interfaces.
15483
10285c21
JM
154842012-06-15 Joseph Myers <joseph@codesourcery.com>
15485
15486 [BZ #14241]
15487 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
15488 of ABS(x) in calculating zero to negative powers other than odd
15489 integers.
15490 * math/libm-test.inc (pow_test): Add more tests.
15491
06c5abbd
AJ
154922012-06-15 Andreas Jaeger <aj@suse.de>
15493
15494 * manual/contrib.texi (Contributors): Update entry of Liubov
15495 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
15496 Machado Filho.
15497
a3aeac40
CH
154982012-06-15 Cyril Hrubis <metan@ucw.cz>
15499
15500 * string/string.h: Add __wur to GNU version of strerror_r.
15501
49bdf4c1
L
155022012-06-14 H.J. Lu <hongjiu.lu@intel.com>
15503
15504 [BZ #14229]
15505 * string/Makefile (tests): Add tst-strtok_r.
15506 * string/tst-strtok_r.c: New file.
15507 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
15508 RAX_LP/RDX_LP on SAVE_PTR.
15509
834f9b8d
RM
155102012-06-14 Roland McGrath <roland@hack.frob.com>
15511
15512 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
15513
75fa1921
JM
155142012-06-14 Joseph Myers <joseph@codesourcery.com>
15515
15516 * libm_test.inc (csqrt_test): Allow more spurious underflow
15517 exceptions.
15518 (j0_test): Likewise.
15519 (j1_test): Likewise.
15520 (y0_test): Likewise.
15521 (y1_test): Likewise.
15522
771766df
CD
155232012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
15524
15525 * po/Makefile (libc.pot): Use UTF-8 charset.
15526
ceb9e56b
PP
155272012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
15528
15529 [BZ #14210]
15530 Suppress sign-conversion warning from FD_SET.
15531 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
15532 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
15533 not unsigned long int.
15534 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
15535
ddb28975
L
155362012-06-12 H.J. Lu <hongjiu.lu@intel.com>
15537
15538 [BZ #14050]
15539 [BZ #14117]
15540 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
15541 __extern_always_inline instead of __extern_inline.
15542 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
15543 (__signbit): Likewise.
15544 (__signbitl): Support C++ namespace.
15545 (lrintf): New inline function.
15546 (lrint): Likewise.
15547 (llrintf): Likewise.
15548 (llrint): Likewise.
15549 (fmaxf): Likewise.
15550 (fmax): Likewise.
15551 (fminf): Likewise.
15552 (fmin): Likewise.
15553 (rint): Likewise.
15554 (rintf): Likewise.
15555 (ceil): Likewise.
15556 (ceilf): Likewise.
15557 (floor): Likewise.
15558 (floorf): Likewise.
15559 (nearbyint): Likewise.
15560 (nearbyintf): Likewise.
15561
d7b4fb26
TS
155622012-06-12 Thomas Schwinge <thomas@codesourcery.com>
15563
15564 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
15565 non-default versions.
15566
eb55f5c2
RM
155672012-06-11 Roland McGrath <roland@hack.frob.com>
15568
15569 [BZ #14218]
15570 * manual/argp.texi (Argp): Reword argp_parse description slightly.
15571
366af02c
TS
155722012-06-09 Thomas Schwinge <thomas@codesourcery.com>
15573
99ff6e5c
TS
15574 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
15575 (FE_UPWARD, FE_DOWNWARD): Don't define.
15576 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
15577 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
15578
366af02c
TS
15579 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
15580 reading it.
15581 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
15582 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
15583
793ea851
KK
155842012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
15585
15586 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
15587 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
15588 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
15589 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
15590
a728a38f
L
155912012-06-06 H.J. Lu <hongjiu.lu@intel.com>
15592
15593 [BZ #14117]
c08010c7
L
15594 * sysdeps/i386/fpu/bits/fenv.h: Removed.
15595 * sysdeps/i386/fpu/Implies: New file.
15596 * sysdeps/x86_64/fpu/Implies: Likewise.
15597 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
15598 * sysdeps/x86/fpu/bits/fenv.h: This.
15599
a728a38f
L
15600 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
15601 __SSE_MATH__.
15602
6e230d11
SP
156032012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
15604
15605 [BZ #14134]
15606 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
15607 character 0xffff that matches the last element of the
15608 conversion table.
15609
1b671feb
AZ
156102012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15611
15612 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
15613 fmodl commit.
15614
6043738b
AZ
156152012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15616
15617 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
15618 values higher than 25.6283.
15619
34ae0b32
AZ
156202012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15621
15622 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
15623 subnormal exponent extraction and add some __builtin_expect.
15624 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
15625 Fix for subnormal mantissa calculation.
15626
1214ec8f
MF
156272012-06-04 Mike Frysinger <vapier@gentoo.org>
15628
15629 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
15630 cpu2 is -1 and errno is not ENOSYS.
15631
f3d1f93c
L
156322012-06-04 H.J. Lu <hongjiu.lu@intel.com>
15633
15634 [BZ #14117]
0e4a3cd7
L
15635 * sysdeps/i386/i486/bits/string.h: Renamed to ...
15636 * sysdeps/x86/bits/string.h: This.
15637 * sysdeps/x86_64/bits/string.h: Removed.
15638
6704c645
L
15639 * sysdeps/i386/i486/bits/string.h: Define inline functions only
15640 if not compiling for x86-64, but compiling for >= i486.
15641
48495318
L
15642 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
15643 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
15644
14adcbfc
L
15645 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
15646 New macro from Linux kernel 3.4.0.
15647 (FP_XSTATE_MAGIC2): Likewise.
15648 (FP_XSTATE_MAGIC2_SIZE): Likewise.
15649 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
15650 (struct _fpx_sw_bytes): New struct.
15651 (struct _xsave_hdr): Likewise.
15652 (struct _ymmh_state): Likewise.
15653 (struct _xstate): Likewise.
15654
68e408ab
L
15655 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
15656 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
15657 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
15658 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
15659 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
15660 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
15661
f3d1f93c
L
15662 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
15663 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
15664 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
15665 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
15666 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
15667 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
15668
d9dc34cd
TMQMF
156692012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
15670
15671 [BZ #13743]
15672 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
15673 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
15674 (sysdep_headers): Include sys/platform/ppc.h.
15675 * sysdeps/powerpc/test-gettimebase.c: Test for
15676 __ppc_get_timebase() to catch future ISA opcode/insn changes.
15677 * manual/Makefile (appendices): Include platform.texi.
15678 * manual/contrib.texi (Contributors): Update @node pointers.
15679 * manual/maint.texi (Maintenance): Likewise.
15680 (Platform): New node.
15681 * manual/platform.texi: New file. Document the new features.
15682
4af3879c
SP
156832012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
15684 Jakub Jelinek <jakub@redhat.com>
15685
15686 [BZ #14188]
15687 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
15688 where __builtin_expect is unavailable.
15689
2fd6ff13
DM
156902012-06-03 David S. Miller <davem@davemloft.net>
15691
15692 * stdlib/longlong.h: Updated from GCC.
15693
173f7220
AS
156942012-06-02 Andreas Schwab <schwab@linux-m68k.org>
15695
15696 [BZ #14042]
15697 * sysdeps/powerpc/powerpc32/mcount.c: New file.
15698 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
15699 __mcount_internal.
15700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
15701 (GLIBC_2.16): Likewise.
15702
f34a1c6f
L
157032012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15704
15705 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
15706
88a4576f
JM
157072012-06-01 Joseph Myers <joseph@codesourcery.com>
15708
ea32bcdd
JM
15709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
15710 (default-abi): New variable.
15711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
15712 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
15713 variable.
15714 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
15715 Likewise.
15716 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
15717 Likewise.
15718 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
15719 Likewise.
15720
88a4576f
JM
15721 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
15722 definition. Document in comment.
15723
402fe938
DM
157242012-06-01 David S. Miller <davem@davemloft.net>
15725
15726 * stdlib/longlong.h: Updated from GCC.
15727
3553723f
L
157282012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15729
15730 [BZ #14117]
3bd872c4
L
15731 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
15732 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
15733 sys/debugreg.h sys/io.h here.
15734 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
15735 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
15736 sys/io.h.
15737 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
15738 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
15739 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
15740 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
15741 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
15742 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
15743
3553723f
L
15744 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
15745 Define only if __x86_64__ is defined.
15746
4842e4fe
JM
157472012-06-01 Joseph Myers <joseph@codesourcery.com>
15748
c5bfe3d5
JM
15749 [BZ #14048]
15750 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
15751 Use int64_t for variable i.
15752 * math/libm-test.inc (fmod_test): Add more tests.
15753
4842e4fe
JM
15754 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
15755 z computation is not scheduled after fetestexcept.
15756 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
15757 Use math_force_eval instead of asm to ensure calculation scheduled
15758 before exception test.
15759 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
15760 Ensure a1 + u.d computation is not scheduled after fetestexcept.
15761
efb73488
AJ
157622012-06-01 Aurelien Jarno <aurelien@aurel32.net>
15763
15764 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
15765 computation is not scheduled after fetestexcept.
15766
29bcce7c
L
157672012-06-01 H.J. Lu <hongjiu.lu@intel.com>
15768
15769 [BZ #14117]
15770 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
15771 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
15772
73a68f94
AZ
157732012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
15774
15775 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
15776 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
15777
67b6df78
L
157782012-05-31 H.J. Lu <hongjiu.lu@intel.com>
15779
edf2933a 15780 [BZ #14117]
ebc64a18
L
15781 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
15782 <bits/wordsize.h>.
15783 (__WCHAR_MIN): Support __WORDSIZE == 64.
15784 (__WCHAR_MAX): Likewise.
15785
edf2933a
L
15786 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
15787 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
15788
57c6cf40
L
15789 [BZ #14183]
15790 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
15791 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
15792
67b6df78 15793 [BZ #14117]
8eb6281e
L
15794 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
15795 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
15796
aac639f4
L
15797 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
15798 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
15799
67b6df78
L
15800 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
15801 Defined to 1 if __x86_64__ isn't defined.
15802 (_STAT_VER_LINUX_OLD): New.
15803 (st_atime): Remove duplicate.
15804 (st_mtime): Likewise.
15805 (st_ctime): Likewise.
15806
1c2cfe81
DM
158072012-05-31 David S. Miller <davem@davemloft.net>
15808
15809 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
15810 entries.
15811
5be8418c
AS
158122012-06-01 Andreas Schwab <schwab@linux-m68k.org>
15813
e7725326
AS
15814 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
15815 gen-libm-test.pl.
15816
5be8418c
AS
15817 [BZ #14132]
15818 * elf/dl-reloc.c: Include <_itoa.h>.
15819 (_dl_reloc_bad_type): Remove use of INTUSE.
15820 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
15821 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
15822 * stdio-common/psiginfo.c (psiginfo): Likewise.
15823 * stdio-common/psignal.c (psignal): Likewise.
15824 * string/strsignal.c (strsignal): Likewise.
15825 * include/signal.h (_sys_siglist): Declare hidden proto.
15826 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
15827 INTVARDEF with libc_hidden_data_def.
15828 * stdio-common/itoa-udigits.c: Likewise.
15829 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
15830 (_itoa_lower_digits_internal): Remove declaration.
15831 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
15832 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
15833 (_sys_sigabbrev_internal): Remove aliases.
15834 (_sys_siglist): Define hidden alias.
15835
507352f1
MT
158362012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
15837
15838 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
15839 bits/sysctl.h.
15840
42bbb1c3
L
158412012-05-31 H.J. Lu <hongjiu.lu@intel.com>
15842
15843 [BZ #14117]
6bd784b6
L
15844 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
15845 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
15846
8bca20f0
L
15847 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
15848 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
15849 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
15850 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
15851 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
15852 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
15853
f9e890a9
L
15854 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
15855 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
15856 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
15857
471101a1
L
15858 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
15859 with __addr.
15860 (insw): Likewise.
15861 (insl): Likewise.
15862 (outsb): Likewise.
15863 (outsw): Likewise.
15864 (outsl): Likewise.
15865
6451c862
L
15866 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
15867 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
15868 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
15869
a254b8c9
L
15870 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
15871 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
15872 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
15873 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
15874 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
15875 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
15876
b8dfdd92
L
15877 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
15878 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
15879
578cd270
L
15880 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
15881 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
15882
de662f5f
L
15883 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
15884 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
15885 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
15886
25653439
L
15887 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
15888 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
15889 to ...
15890 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
15891
6bad24a0
L
15892 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
15893 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
15894 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
15895
42bbb1c3
L
15896 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
15897 for x86-64.
15898 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
15899
2d10d547
JM
159002012-05-31 Joseph Myers <joseph@codesourcery.com>
15901
15902 * math/math.h (M_El): Use two more decimal places.
15903 (M_LOG2El): Likewise.
15904 (M_LOG10El): Likewise.
15905 (M_LN2l): Likewise.
15906 (M_LN10l): Likewise.
15907 (M_PIl): Likewise.
15908 (M_PI_2l): Likewise.
15909 (M_PI_4l): Likewise.
15910 (M_1_PIl): Likewise.
15911 (M_2_PIl): Likewise.
15912 (M_2_SQRTPIl): Likewise.
15913 (M_SQRT2l): Likewise.
15914 (M_SQRT1_2l): Likewise.
15915
f230c29b
DM
159162012-05-31 David S. Miller <davem@davemloft.net>
15917
15918 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
15919 values between float registers.
15920 * sysdeps/sparc/sparc64/memset.S: Likewise.
15921 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
15922
fed806c3
MF
159232012-05-31 Mike Frysinger <vapier@gentoo.org>
15924
15925 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
15926 -D_FORTIFY_SOURCE=1.
15927 (CPPFLAGS-tst-longjmp_chk.c): Define.
15928 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
15929 (CPPFLAGS-tst-longjmp_chk2.c): Define.
15930 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
15931 CFLAGS-tst-wchar-h.c.
15932
30917259
MP
159332012-05-31 Marek Polacek <polacek@redhat.com>
15934
15935 [BZ #14132]
15936 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
15937 __endmntent_internal): Remove declaration.
15938 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
15939 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
15940 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
15941
1c58d5dc
DM
159422012-05-30 David S. Miller <davem@davemloft.net>
15943
15944 * sysdeps/sparc/sparc32/soft-fp/q_util.c
15945 (___Q_simulate_exceptions): Use real FP ops rather than writing
15946 into the %fsr.
15947 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
15948 Likewise.
15949
7dc00e0d
L
159502012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15951
15952 [BZ #14117]
0bd53985
L
15953 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
15954 * sysdeps/x86/bits/xtitypes.h: This.
15955
3a257e66
L
15956 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
15957 * sysdeps/x86/bits/wordsize.h: This.
15958
62f62904
L
15959 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
15960 * sysdeps/x86/bits/huge_vall.h: This.
15961
404fe9d9
L
15962 * sysdeps/i386/bits/select.h: Removed.
15963 * sysdeps/x86_64/bits/select.h: Renamed to ...
15964 * sysdeps/x86/bits/select.h: This.
15965
d48d0446
L
15966 * sysdeps/i386/bits/setjmp.h: Removed.
15967 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
15968 * sysdeps/x86/bits/setjmp.h: This.
15969
7dc00e0d
L
15970 * sysdeps/i386/bits/mathdef.h: Removed.
15971 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
15972 * sysdeps/x86/bits/mathdef.h: This.
15973
03277f8f
AS
159742012-05-30 Andreas Schwab <schwab@linux-m68k.org>
15975
15976 [BZ #14132]
15977 * include/sys/socket.h (__connect_internal)
15978 (__libc_sa_len_internal): Remove declaration.
15979 (__connect, __libc_sa_len): Declare hidden_proto.
15980 (SA_LEN): Remove use of INTUSE.
15981 * socket/connect.c: Add libc_hidden_def.
15982 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
15983 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
15984 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
15985 alias.
15986 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
15987 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
15988 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
15989 of adding _internal alias.
15990
13764867
L
159912012-05-30 H.J. Lu <hongjiu.lu@intel.com>
15992
15993 [BZ #14117]
6bd97696
L
15994 * sysdeps/i386/bits/link.h: Removed.
15995 * sysdeps/i386/bits/linkmap.h: Likewise.
15996 * sysdeps/x86_64/bits/link.h: Renamed to ...
15997 * sysdeps/x86/bits/link.h: This.
15998 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
15999 * sysdeps/x86/bits/linkmap.h: This.
16000
f726f0bb
L
16001 * sysdeps/i386/bits/endian.h: Removed.
16002 * sysdeps/x86_64/bits/endian.h: Renamed to ...
16003 * sysdeps/x86/bits/endian.h: This.
16004
13764867
L
16005 * sysdeps/i386/bits/byteswap.h: Removed.
16006 * sysdeps/i386/bits/byteswap-16.h: Likewise.
16007 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
16008 * sysdeps/x86/bits/byteswap.h: This.
16009 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
16010 * sysdeps/x86/bits/byteswap-16.h: This.
16011 * sysdeps/i386/Implies: Add x86.
16012 * sysdeps/x86_64/Implies: Likewise.
16013
ae251b0b
DM
160142012-05-30 David S. Miller <davem@davemloft.net>
16015
16016 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
16017 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
16018 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
16019 (FP_TRAPPING_EXCEPTIONS): Define.
16020 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
16021 (FP_TRAPPING_EXCEPTIONS): Define.
16022 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
16023 subnormals only when inexact has been signalled or underflow
16024 exceptions are enabled.
16025 (_FP_PACK_CANONICAL): Likewise.
16026
d5c90867
L
160272012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16028
16029 [BZ #14183]
16030 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
16031 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
16032
63f1549e
RH
160332012-05-30 Richard Henderson <rth@twiddle.net>
16034
8d8f2279
RH
16035 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
16036 with #ifndef NOT_IN_libc.
16037
63f1549e
RH
16038 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
16039 marked to avoid plt entry.
16040
0ab0291b
L
160412012-05-30 H.J. Lu <hongjiu.lu@intel.com>
16042
16043 [BZ #14112]
16044 * Makeconfig (default-abi): New macro.
16045 (abi-includes): Likewise.
16046 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
16047 $(abi-$(default-abi)-lib-soname) for soname if defined.
16048 ($(common-objpfx)gnu/lib-names.stmp): Generate from
16049 abi-variants.
16050 * Makefile (installed-stubs): Likewise.
16051 * include/stubs-biarch.h: Removed.
16052 * scripts/lib-names.awk: Only handle one library at a time.
16053 * scripts/soversions.awk: Remove WORDSIZE support.
16054 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
16055 entries.
16056 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
16057 Removed.
16058 (syscall-list-default-condition): Likewise.
16059 (syscall-list-default-condition): Likewise.
16060 (syscall-list-includes): Likewise.
16061 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
16062 syscall-list-* with abi-*. Handle undefined abi-variants.
16063 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
16064 * sysdeps/unix/sysv/linux/i386/Implies: New file.
16065 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
16066 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
16067 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
16068 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
16069 Removed.
16070 (syscall-list-32-options): Likewise.
16071 (syscall-list-32-condition): Likewise.
16072 (syscall-list-64-options): Likewise.
16073 (syscall-list-64-condition): Likewise.
16074 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
16075 macro.
16076 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
16077 Renamed to ...
16078 (abi-*): This.
16079 (abi-64-ld-soname): New macro.
16080 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
16081 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
16082 Renamed to ...
16083 (abi-*): This.
16084 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
16085 * sysdeps/x86_64/x32/shlib-versions: Likewise.
16086
4da0431d
JM
160872012-05-30 Joseph Myers <joseph@codesourcery.com>
16088
3a85279c
JM
16089 * sysdeps/unix/sysv/linux/kernel-features.h
16090 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
16091 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
16092 include <kernel-features.h>.
16093 [!__NR_ftruncate64]: Remove conditional code.
16094 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16095 [__NR_ftruncate64]: Make code unconditional.
16096 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16097 * sysdeps/unix/sysv/linux/truncate64.c: Do not
16098 include <kernel-features.h>.
16099 [!__NR_ftruncate64]: Remove conditional code.
16100 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16101 [__NR_ftruncate64]: Make code unconditional.
16102 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
16104 include <kernel-features.h>.
16105 [!__NR_ftruncate64]: Remove conditional code.
16106 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16107 [__NR_ftruncate64]: Make code unconditional.
16108 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
16110 include <kernel-features.h>.
16111 [!__NR_ftruncate64]: Remove conditional code.
16112 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16113 [__NR_ftruncate64]: Make code unconditional.
16114 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
16115
4da0431d
JM
16116 * configure.in (libc_cv_fpie): Weaken to a compile test using
16117 LIBC_TRY_CC_OPTION.
16118 * configure: Regenerated.
16119
11ef492c
AK
161202012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
16121
16122 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
16123 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
16124 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
16125 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16126 Refreshed.
16127 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
16128 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
16129 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
16130 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
16131 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
16132 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16133 Refreshed.
16134
d66ef399
DM
161352012-05-27 David S. Miller <davem@davemloft.net>
16136
16137 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
16138 (___Q_zero): New.
16139 (__Q_simulate_exceptions): Return void. Change to simulate
16140 exceptions by writing into the %fsr.
16141 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
16142 (__Qp_handle_exceptions): Likewise.
16143 (numbers): Delete.
16144 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
16145 __Qp_handle_exceptions.
16146 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
16147 __Qp_handle_exceptions.
16148 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
16149 as unused and give dummy FP_RND_NEAREST initializer.
16150 (FP_INHIBIT_RESULTS): Define.
16151 (___Q_simulate_exceptions): Update declaration.
16152 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
16153 formatting.
16154 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
16155 as unused and give dummy FP_RND_NEAREST initializer.
16156 (__Qp_handle_exceptions): Update declaration.
16157 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
16158 formatting.
16159
04fb54b5
TS
161602012-05-27 Thomas Schwinge <thomas@codesourcery.com>
16161
16162 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
16163 the temporary FPU control word.
16164 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
16165 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
16166 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
16167 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
16168 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
16169 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
16170 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
16171 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
16172 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
16173 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
16174 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
16175
3f99608f
KK
161762012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
16177
16178 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
16179 fields.
16180
65a4de4e
CLT
161812012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
16182
16183 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
16184 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
16185 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
16186 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
16187 Likewise.
16188 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
16189 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
16190 Likewise.
16191
15749d40
UD
161922012-05-27 Ulrich Drepper <drepper@gmail.com>
16193
16194 * po/h.po: Update from translation team.
16195
25dbcb27
AS
161962012-05-26 Andreas Schwab <schwab@linux-m68k.org>
16197
3d3f8e55
AS
16198 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
16199
25dbcb27
AS
16200 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
16201 handling of denormals.
16202 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
16203 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
16204 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
16205 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
16206 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
16207 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
16208 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
16209 Likewise.
16210
7ad47a80 162112012-05-26 Marek Polacek <polacek@redhat.com>
d81dcb35
MP
16212
16213 [BZ #14152]
16214 * math/libm-test.inc (fma_test): Don't always expect underflow
16215 exception.
16216
9c6ea9fa
SP
162172012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
16218
16219 [BZ #12416]
16220 * elf/tst-execstack.c: Include stackinfo.h.
16221 (do_test): Adjust test case to ensure that pthread_getattr_np
16222 behaviour remains the same after marking stack executable.
16223
a8239222
JM
162242012-05-25 Joseph Myers <joseph@codesourcery.com>
16225
16226 * sysdeps/unix/sysv/linux/kernel-features.h
16227 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
16228 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
16229 kernel-features.h.
16230 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
16231 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
16232 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
16233 kernel-features.h.
16234 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
16235 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
16236
918b5606
L
162372012-05-25 H.J. Lu <hongjiu.lu@intel.com>
16238
16239 * configure.in: Define the default includes to being none.
16240 * configure: Regenerated.
16241
3a097cc7
RM
162422012-05-25 Roland McGrath <roland@hack.frob.com>
16243
8422c9a5
RM
16244 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
16245 * sysdeps/x86_64/setjmp.S: Likewise.
16246 * sysdeps/i386/bsd-setjmp.S: Likewise.
16247 * sysdeps/i386/bsd-_setjmp.S: Likewise.
16248 * sysdeps/i386/setjmp.S: Likewise.
16249 * sysdeps/i386/__longjmp.S: Likewise.
16250 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
16251 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
16252
3a097cc7
RM
16253 * include/stap-probe.h: New file.
16254 * configure.in: Handle --enable-systemtap.
16255 * configure: Regenerated.
16256 * config.h.in (USE_STAP_PROBE): New #undef.
16257 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
16258 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
16259 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
16260
21708942
JM
162612012-05-25 Joseph Myers <joseph@codesourcery.com>
16262
16263 [BZ #13717]
16264 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
16265 to 2.4.0 where earlier.
16266 * sysdeps/unix/sysv/linux/configure: Regenerated.
16267 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
16268 <kernel-features.h>.
16269 [__ASSUME_32BITUIDS]: Make code unconditional.
16270 [!__ASSUME_32BITUIDS]: Remove conditional code.
16271 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
16272 <kernel-features.h>.
16273 [__ASSUME_32BITUIDS]: Make code unconditional.
16274 [!__ASSUME_32BITUIDS]: Remove conditional code.
16275 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
16276 [__ASSUME_32BITUIDS]: Make code unconditional.
16277 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
16278 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
16279 <kernel-features.h>.
16280 [__ASSUME_32BITUIDS]: Make code unconditional.
16281 [!__ASSUME_32BITUIDS]: Remove conditional code.
16282 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
16283 <kernel-features.h>.
16284 [__ASSUME_32BITUIDS]: Make code unconditional.
16285 [!__ASSUME_32BITUIDS]: Remove conditional code.
16286 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
16287 <kernel-features.h>.
16288 [__ASSUME_32BITUIDS]: Make code unconditional.
16289 [!__ASSUME_32BITUIDS]: Remove conditional code.
16290 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
16291 <kernel-features.h>.
16292 [__ASSUME_32BITUIDS]: Make code unconditional.
16293 [!__ASSUME_32BITUIDS]: Remove conditional code.
16294 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
16295 <kernel-features.h>.
16296 [__ASSUME_32BITUIDS]: Make code unconditional.
16297 [!__ASSUME_32BITUIDS]: Remove conditional code.
16298 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
16299 <kernel-features.h>.
16300 [__ASSUME_32BITUIDS]: Make code unconditional.
16301 [!__ASSUME_32BITUIDS]: Remove conditional code.
16302 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
16303 <kernel-features.h>.
16304 [__ASSUME_32BITUIDS]: Make code unconditional.
16305 [!__ASSUME_32BITUIDS]: Remove conditional code.
16306 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
16307 <kernel-features.h>.
16308 [__ASSUME_32BITUIDS]: Make code unconditional.
16309 [!__ASSUME_32BITUIDS]: Remove conditional code.
16310 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
16311 <kernel-features.h>.
16312 [__ASSUME_32BITUIDS]: Make code unconditional.
16313 [!__ASSUME_32BITUIDS]: Remove conditional code.
16314 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
16315 <kernel-features.h>.
16316 [__ASSUME_32BITUIDS]: Make code unconditional.
16317 [!__ASSUME_32BITUIDS]: Remove conditional code.
16318 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
16319 <kernel-features.h>.
16320 [__NR_setresgid] (__setresgid): Do not declare.
16321 [__ASSUME_32BITUIDS]: Make code unconditional.
16322 [!__ASSUME_32BITUIDS]: Remove conditional code.
16323 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
16324 <kernel-features.h>.
16325 [__NR_setresuid] (__setresuid): Do not declare.
16326 [__ASSUME_32BITUIDS]: Make code unconditional.
16327 [!__ASSUME_32BITUIDS]: Remove conditional code.
16328 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
16329 <kernel-features.h>.
16330 [__ASSUME_32BITUIDS]: Make code unconditional.
16331 [!__ASSUME_32BITUIDS]: Remove conditional code.
16332 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
16333 <kernel-features.h>.
16334 [__ASSUME_32BITUIDS]: Make code unconditional.
16335 [!__ASSUME_32BITUIDS]: Remove conditional code.
16336 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
16337 <kernel-features.h>.
16338 [__ASSUME_32BITUIDS]: Make code unconditional.
16339 [!__ASSUME_32BITUIDS]: Remove conditional code.
16340 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
16341 <kernel-features.h>.
16342 [__ASSUME_32BITUIDS]: Make code unconditional.
16343 [!__ASSUME_32BITUIDS]: Remove conditional code.
16344 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
16345 <kernel-features.h>.
16346 [__ASSUME_32BITUIDS]: Make code unconditional.
16347 [!__ASSUME_32BITUIDS]: Remove conditional code.
16348 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
16349 <kernel-features.h>.
16350 [__ASSUME_32BITUIDS]: Make code unconditional.
16351 [!__ASSUME_32BITUIDS]: Remove conditional code.
16352 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
16353 <kernel-features.h>.
16354 [__ASSUME_32BITUIDS]: Make code unconditional.
16355 [!__ASSUME_32BITUIDS]: Remove conditional code.
16356 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
16357 <kernel-features.h>.
16358 [__ASSUME_32BITUIDS]: Make code unconditional.
16359 [!__ASSUME_32BITUIDS]: Remove conditional code.
16360 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
16361 <kernel-features.h>.
16362 [__ASSUME_32BITUIDS]: Make code unconditional.
16363 [!__ASSUME_32BITUIDS]: Remove conditional code.
16364 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
16365 <kernel-features.h>.
16366 [__ASSUME_32BITUIDS]: Make code unconditional.
16367 [!__ASSUME_32BITUIDS]: Remove conditional code.
16368 * sysdeps/unix/sysv/linux/kernel-features.h
16369 (__ASSUME_SETRESUID_SYSCALL): Remove.
16370 (__ASSUME_SETRESGID_SYSCALL): Likewise.
16371 (__ASSUME_32BITUIDS): Likewise.
16372 (__ASSUME_LDT_WORKS): Likewise.
16373 (__ASSUME_O_DIRECTORY): Likewise.
16374 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
16375 architecture but not kernel version.
16376 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
16377 (__ASSUME_MMAP2_SYSCALL): Likewise.
16378 (__ASSUME_STAT64_SYSCALL): Likewise.
16379 (__ASSUME_IPC64): Likewise.
16380 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
16381 <kernel-features.h>.
16382 [__ASSUME_32BITUIDS]: Make code unconditional.
16383 [!__ASSUME_32BITUIDS]: Remove conditional code.
16384 * sysdeps/unix/sysv/linux/opendir.c: Do not include
16385 <kernel-features.h>.
16386 [__ASSUME_O_DIRECTORY]: Make code unconditional.
16387 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
16388 132096]: Remove conditional code.
16389 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
16390 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
16391 <kernel-features.h>.
16392 [__ASSUME_32BITUIDS]: Make code unconditional.
16393 [!__ASSUME_32BITUIDS]: Remove conditional code.
16394 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
16395 <kernel-features.h>.
16396 [__ASSUME_32BITUIDS]: Make code unconditional.
16397 [!__ASSUME_32BITUIDS]: Remove conditional code.
16398 * sysdeps/unix/sysv/linux/setegid.c: Do not include
16399 <kernel-features.h>.
16400 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
16401 unconditional.
16402 (__setresgid): Do not declare.
16403 [__ASSUME_32BITUIDS]: Make code unconditional.
16404 [!__ASSUME_32BITUIDS]: Remove conditional code.
16405 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
16406 <kernel-features.h>.
16407 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
16408 unconditional.
16409 (__setresuid): Do not declare.
16410 [__ASSUME_32BITUIDS]: Make code unconditional.
16411 [!__ASSUME_32BITUIDS]: Remove conditional code.
16412 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
16413 <kernel-features.h>.
16414 [__ASSUME_32BITUIDS]: Make code unconditional.
16415 [!__ASSUME_32BITUIDS]: Remove conditional code.
16416 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
16417 <kernel-features.h>.
16418 [__ASSUME_32BITUIDS]: Make code unconditional.
16419 [!__ASSUME_32BITUIDS]: Remove conditional code.
16420
a386f1cc
RH
164212012-05-25 Richard Henderson <rth@twiddle.net>
16422
16423 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
16424 dl_hwcap to ifunc resolver.
16425 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
16426 elf_ifunc_invoke.
16427 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
16428 dl_hwcap to ifunc resolver.
16429 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
16430
b6550497
JM
164312012-05-24 Joseph Myers <joseph@codesourcery.com>
16432
16433 [BZ #14153]
16434 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
16435 for |x| <= 2**-26, not 2**-57.
16436 * math/libm-test.inc (acos_test): Do not allow spurious underflow
16437 exception.
16438
b0bc23a1
JL
164392012-05-24 Jeff Law <law@redhat.com>
16440
16441 * stdio-common/Makefile (tests): Add bug25.
16442 * stdio-common/bug25.c: New test.
16443
347c92e9
L
164442012-05-24 H.J. Lu <hongjiu.lu@intel.com>
16445
16446 [BZ #13576]
16447 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
16448 multiple of MALLOC_ALIGNMENT in size.
16449 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
16450
6bcc8b3f
JM
164512012-05-24 Joseph Myers <joseph@codesourcery.com>
16452
16453 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
16454 Require >= 256.
16455 (FILENAME_MAX): Use macro-int-constant.
16456 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
16457 (_IOFBF): Use macro-int-constant.
16458 (_IOLBF): Likewise.
16459 (_IONBF): Likewise.
16460 (SEEK_CUR): Likewise.
16461 (SEEK_END): Likewise.
16462 (SEEK_SET): Likewise.
16463 (TMP_MAX): Likewise.
16464 (EOF): Use macro-int-constant. Require < 0.
16465 (NULL): Use macro-constant. Require == 0.
16466 (stdin): Require type to be FILE *.
16467 (stdout): Likewise.
16468 (stderr): Likewise.
16469 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
16470 macro-int-constant.
16471 (EXIT_SUCCESS): Likewise.
16472 (NULL): Use macro-constant. Require == 0.
16473 (RAND_MAX): Use macro-int-constant.
16474 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
16475 [C99-based standards] (strtof): Require function.
16476 [C99-based standards] (strtold): Likewise.
16477 [C99-based standards] (strtoll): Likewise.
16478 [C99-based standards] (strtoull): Likewise.
16479 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
16480 [ISO || ISO99 || ISO11] (limits.h): Likewise.
16481 [ISO || ISO99 || ISO11] (math.h): Likewise.
16482 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
16483 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
16484 [ISO || ISO99 || ISO11] (*_t): Do not allow.
16485
d18ea0c5
AS
164862012-05-24 Andreas Schwab <schwab@linux-m68k.org>
16487
16488 [BZ #14132]
56d25bb8
AS
16489 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
16490 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
16491 * intl/dgettext.c (DCGETTEXT): Likewise.
16492 * intl/gettext.c (DCGETTEXT): Likewise.
16493 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
16494 * posix/regex_internal.h (gettext): Likewise.
16495 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
16496 Remove declaration.
16497 * include/argz.h (__argz_count_internal)
16498 (__argz_stringify_internal): Remove declaration.
16499 (__argz_count, __argz_stringify): Declare hidden proto.
16500 * intl/dcgettext.c: Remove use of INTDEF.
16501 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
16502 * string/argz-stringify.c: Likewise.
16503 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16504 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16505 Declare hidden proto.
d18ea0c5
AS
16506 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
16507 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
16508 Declare hidden proto.
16509 * include/stdio.h (__asprintf_internal): Don't declare.
16510 (__asprintf): Don't define as macro. Declare hidden proto.
16511 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
16512 (__fsetlocking): Declare hidden proto.
16513 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
16514 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
16515 hidden proto.
16516 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
16517 (_IO_setlinebuf): Remove use of INTUSE.
16518 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
16519 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
16520 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
16521 Remove declaration.
16522 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
16523 (_IO_do_flush): Remove use of INTUSE.
16524 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
16525 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
16526 (_IO_adjust_column, _IO_least_wmarker)
16527 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
16528 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
16529 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
16530 (_IO_default_doallocate, _IO_wdefault_doallocate)
16531 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
16532 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
16533 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
16534 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
16535 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
16536 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
16537 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
16538 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
16539 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
16540 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
16541 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
16542 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
16543 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
16544 proto.
16545 (_IO_flush_all_internal, _IO_adjust_column_internal)
16546 (_IO_default_uflow_internal, _IO_default_finish_internal)
16547 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
16548 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
16549 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
16550 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
16551 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
16552 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
16553 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
16554 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
16555 (_IO_file_close_internal, _IO_file_close_it_internal)
16556 (_IO_file_underflow_internal, _IO_file_overflow_internal)
16557 (_IO_file_init_internal, _IO_file_attach_internal)
16558 (_IO_file_fopen_internal, _IO_file_read_internal)
16559 (_IO_file_sync_internal, _IO_file_seek_internal)
16560 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
16561 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
16562 (_IO_str_underflow_internal, _IO_str_overflow_internal)
16563 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
16564 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
16565 (_IO_list_all_internal, _IO_link_in_internal)
16566 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
16567 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
16568 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
16569 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
16570 (_IO_do_write_internal, _IO_padn_internal)
16571 (_IO_getline_info_internal, _IO_getline_internal)
16572 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
16573 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
16574 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
16575 (_IO_vfscanf_internal, _IO_vfprintf_internal)
16576 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
16577 (_IO_init_internal, _IO_un_link_internal): Don't declare.
16578 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
16579 with libc_hidden_ver, remove use of INTUSE.
16580 * libio/genops.c: Likewise.
16581 * libio/freopen.c: Likewise.
16582 * libio/freopen64.c: Likewise.
16583 * libio/iofclose.c: Likewise.
16584 * libio/iofdopen.c: Likewise.
16585 * libio/iofflush.c: Likewise.
16586 * libio/iofflush_u.c: Likewise.
16587 * libio/iofgets.c: Likewise.
16588 * libio/iofgets_u.c: Likewise.
16589 * libio/iofopen.c: Likewise.
16590 * libio/iofopncook.c: Likewise.
16591 * libio/iofread.c: Likewise.
16592 * libio/iofread_u.c: Likewise.
16593 * libio/ioftell.c: Likewise.
16594 * libio/iofwrite.c: Likewise.
16595 * libio/iogetline.c: Likewise.
16596 * libio/iogets.c: Likewise.
16597 * libio/iogetwline.c: Likewise.
16598 * libio/iopadn.c: Likewise.
16599 * libio/iopopen.c: Likewise.
16600 * libio/ioseekoff.c: Likewise.
16601 * libio/ioseekpos.c: Likewise.
16602 * libio/iosetbuffer.c: Likewise.
16603 * libio/iosetvbuf.c: Likewise.
16604 * libio/ioungetc.c: Likewise.
16605 * libio/ioungetwc.c: Likewise.
16606 * libio/iovdprintf.c: Likewise.
16607 * libio/iovsprintf.c: Likewise.
16608 * libio/iovsscanf.c: Likewise.
16609 * libio/memstream.c: Likewise.
16610 * libio/obprintf.c: Likewise.
16611 * libio/oldfileops.c: Likewise.
16612 * libio/oldiofclose.c: Likewise.
16613 * libio/oldiofdopen.c: Likewise.
16614 * libio/oldiofopen.c: Likewise.
16615 * libio/oldiopopen.c: Likewise.
16616 * libio/oldstdfiles.c: Likewise.
16617 * libio/putc.c: Likewise.
16618 * libio/setbuf.c: Likewise.
16619 * libio/setlinebuf.c: Likewise.
16620 * libio/stdfiles.c: Likewise.
16621 * libio/strops.c: Likewise.
16622 * libio/vasprintf.c: Likewise.
16623 * libio/vscanf.c: Likewise.
16624 * libio/vsnprintf.c: Likewise.
16625 * libio/vswprintf.c: Likewise.
16626 * libio/wfiledoalloc.c: Likewise.
16627 * libio/wfileops.c: Likewise.
16628 * libio/wgenops.c: Likewise.
16629 * libio/wmemstream.c: Likewise.
16630 * libio/wstrops.c: Likewise.
16631 * libio/__fpurge.c: Likewise.
16632 * libio/__fsetlocking.c: Likewise.
16633 * assert/assert.c: Likewise.
16634 * debug/fgets_chk.c: Likewise.
16635 * debug/fgets_u_chk.c: Likewise.
16636 * debug/fread_chk.c: Likewise.
16637 * debug/fread_u_chk.c: Likewise.
16638 * debug/gets_chk.c: Likewise.
16639 * debug/obprintf_chk.c: Likewise.
16640 * debug/vasprintf_chk.c: Likewise.
16641 * debug/vdprintf_chk.c: Likewise.
16642 * debug/vsnprintf_chk.c: Likewise.
16643 * debug/vsprintf_chk.c: Likewise.
16644 * malloc/mtrace.c: Likewise.
16645 * misc/error.c: Likewise.
16646 * misc/syslog.c: Likewise.
16647 * stdio-common/asprintf.c: Likewise.
16648 * stdio-common/fxprintf.c: Likewise.
16649 * stdio-common/getw.c: Likewise.
16650 * stdio-common/isoc99_fscanf.c: Likewise.
16651 * stdio-common/isoc99_scanf.c: Likewise.
16652 * stdio-common/isoc99_vfscanf.c: Likewise.
16653 * stdio-common/isoc99_vscanf.c: Likewise.
16654 * stdio-common/isoc99_vsscanf.c: Likewise.
16655 * stdio-common/printf-prs.c: Likewise.
16656 * stdio-common/printf_fp.c: Likewise.
16657 * stdio-common/printf_fphex.c: Likewise.
16658 * stdio-common/printf_size.c: Likewise.
16659 * stdio-common/putw.c: Likewise.
16660 * stdio-common/scanf.c: Likewise.
16661 * stdio-common/sprintf.c: Likewise.
16662 * stdio-common/tmpfile.c: Likewise.
16663 * stdio-common/vfprintf.c: Likewise.
16664 * stdio-common/vfscanf.c: Likewise.
16665 * stdlib/strfmon_l.c: Likewise.
16666 * sunrpc/openchild.c: Likewise.
16667 * sunrpc/xdr_stdio.c: Likewise.
16668 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
16669 * sysdeps/mach/hurd/tmpfile.c: Likewise.
16670
d6c33fda
RM
166712012-05-24 Roland McGrath <roland@hack.frob.com>
16672
c1487492
RM
16673 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
16674
16675 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
16676 in the third column, to generate for the shared library an IFUNC
16677 that uses _dl_vdso_vsym.
16678 * Makerules (COMPILE.c, compile-stdin.c): New variables.
16679 * Makeconfig (object-suffixes-noshared): New variable.
16680
16681 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
16682 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
16683 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
16684 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
16685
d6c33fda
RM
16686 [BZ #14132]
16687 * include/sys/time.h (__gettimeofday): Remove macro.
16688 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
16689 * time/gettimeofday.c (__gettimeofday): Remove #undef.
16690 Remove INTDEF.
16691 (__gettimeofday): Add libc_hidden_def.
16692 (gettimeofday): Add libc_hidden_weak.
16693 * sysdeps/mach/gettimeofday.c: Likewise.
16694 * sysdeps/posix/gettimeofday.c: Likewise.
16695 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
16696 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
16697 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
16698 (__gettimeofday_internal): Remove strong_alias.
16699 (__gettimeofday): Add libc_hidden_def.
16700 (gettimeofday): Add libc_hidden_weak.
16701 * sysdeps/unix/syscalls.list (gettimeofday):
16702 Remove __gettimeofday_internal alias.
16703
b5a2bbe6
L
167042012-05-24 Daniel Jacobowitz <drow@false.org>
16705 H.J. Lu <hongjiu.lu@intel.com>
16706
16707 [BZ #12495]
16708 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
16709 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
16710 (largebin_index_32_big): New.
16711 (largebin_index): Use it for 16-byte alignment.
16712 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
16713 correction with front_misalign.
16714
cfba4fda
L
167152012-05-24 H.J. Lu <hongjiu.lu@intel.com>
16716
7f907421
L
16717 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
16718 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
16719 Likewise.
16720 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
16721 Likewise.
16722 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
16723 Likewise.
16724 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
16725 Likewise.
16726 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
16727 Likewise.
16728 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
16729 Likewise.
16730 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
16731 Likewise.
16732 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
16733 Likewise.
16734 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
16735 Likewise.
16736 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
16737 Likewise.
16738 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
16739 Likewise.
16740 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
16741 Likewise.
16742
cfba4fda
L
16743 * scripts/data/c++-types-x32-linux-gnu.data: New file.
16744 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
16745
80bad0cc
JM
167462012-05-24 Joseph Myers <joseph@codesourcery.com>
16747
7a25eb06
JM
16748 [BZ #10846]
16749 [BZ #14036]
16750 * math/libm-test.inc (exp_test): Add test from bug 14036.
16751 (pow_test): Add test from bug 10846.
16752
795405f9
JM
16753 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
16754 and other flags.
16755 (special_function): Do not include flags in test name.
16756 (parse_args): Likewise.
16757 * sysdeps/i386/fpu/libm-test-ulps: Update.
16758 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16759 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16760 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16761 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16762
80bad0cc
JM
16763 * math/gen-libm-test.pl (%beautify): Add entries for underflow
16764 exceptions.
16765 * math/libm-test.inc ("Philosophy"): Update comment about
16766 exception testing.
16767 (UNDERFLOW_EXCEPTION): New macro.
16768 (UNDERFLOW_EXCEPTION_OK): Likewise.
16769 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
16770 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
16771 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
16772 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
16773 (INVALID_EXCEPTION_OK): Update value.
16774 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
16775 (OVERFLOW_EXCEPTION_OK): Likewise.
16776 (IGNORE_ZERO_INF_SIGN): Likewise.
16777 (test_exceptions): Handle underflow exceptions.
16778 (acos_test): Update for underflow exception expectations.
16779 (cexp_test): Likewise.
16780 (clog_test): Likewise.
16781 (clog10_test): Likewise.
16782 (csqrt_test): Likewise.
16783 (ctan_test): Likewise.
16784 (ctanh_test): Likewise.
16785 (exp_test): Likewise.
16786 (exp10_test): Likewise.
16787 (exp2_test): Likewise.
16788 (expm1_test): Likewise.
16789 (fma_test): Likewise.
16790 (j0_test): Likewise.
16791 (jn_test): Likewise.
16792 (nexttoward_test): Likewise.
16793 (pow_test): Likewise.
16794 (scalbn_test): Likewise.
16795 (scalbln_test): Likewise.
16796 (tan_test): Likewise.
16797 (y1_test): Likewise.
16798 * sysdeps/i386/fpu/libm-test-ulps: Update.
16799 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16800
9e0e3d0b
DM
168012012-05-23 David S. Miller <davem@davemloft.net>
16802
16803 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
16804 (__libc_sigaction): Remove unused local variables.
16805
ccd0a08f
L
168062012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16807
16808 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
16809
62bdf9a6
PE
168102012-05-23 Paul Eggert <eggert@cs.ucla.edu>
16811
f8591f80
PE
16812 mktime: avoid signed integer overflow
16813 * time/mktime.c (__mktime_internal): Do not mishandle the case
16814 where diff == INT_MIN.
16815
94c7d826
PE
16816 mktime: simplify computation of average
16817 * time/mktime.c (ranged_convert): Use new time_t_avg function
16818 instead of rolling our own (probably-slower) code.
16819
ce73d683
PE
16820 mktime: do not assume signed right shift propagates sign bit
16821 * time/mktime.c (isdst_differ): New static function.
16822 (__mktime_internal): No need to normalize tm_isdst now.
16823 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
16824 tm_isdst values.
16825
72a22e59
PE
16826 mktime: merge another wrapv change from gnulib
16827 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
16828 from some compilers.
16829
68605433
PE
16830 mktime: remove incorrect attempt at unusual arithmetics
16831 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
16832 The code didn't really work on such machines anyway.
16833 (TYPE_MINIMUM): Assume two's complement.
16834 (twos_complement_arithmetic): Verify that long_int and time_t
16835 are two's complement (or unsigned, in the latter case).
16836
03cf7fe3
PE
16837 mktime: check signed shifts on long_int and time_t, too
16838 * time/mktime.c (SHR): Check that shifts work as desired
16839 on the types long_int and time_t too, as SHR is used on
16840 such types.
16841
f04dfbc2
PE
16842 mktime: do not assume 'long' is wide enough
16843 * time/mktime.c (verify): Move decl up.
16844 (long_int): New type.
16845 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
16846 to remove assumption in the code that 'long' is wide enough to
16847 store year values. This assumption is not true on x32 and on
16848 some non-glibc platforms.
16849
62bdf9a6
PE
16850 mktime: merge wrapv change from gnulib
16851 * time/mktime.c (WRAPV): New macro.
16852 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
16853 (guess_time_tm, __mktime_internal): Do not assume that signed
16854 integer overflow wraps around; modern compilers generate code
16855 where this assumption is no longer valid.
16856
5e292e4f
L
168572012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16858
16859 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
16860 Replace "jmp L(pseudo_end)" with "ret".
16861 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
16862 Likewise.
16863
8caf8c87
AJ
168642012-05-23 Andreas Jaeger <aj@suse.de>
16865
16866 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
16867 * sysdeps/unix/sysv/linux/poll.c: Remove file.
16868
1a09dc56
AJ
168692012-05-23 Andreas Jaeger <aj@suse.de>
16870 Maximilian Attems <max@stro.at>
16871
16872 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
16873 New macros.
16874
1c87aba0
L
168752012-05-23 H.J. Lu <hongjiu.lu@intel.com>
16876
16877 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
16878 code so that pseudo_end is just ret and the stack pointer is
16879 correct also for static library in error case.
16880
40e45bd5
JM
168812012-05-23 Joseph Myers <joseph@codesourcery.com>
16882
c2670533
JM
16883 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
16884 move to syscalls.list.
16885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
16886 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
16887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
16888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
16889
40e45bd5
JM
16890 * manual/install.texi (Running make install): Do not mention Linux
16891 kernel version for which pt_chown is not needed.
16892 (Linux): Do not mention problems with nscd with 2.0 kernels.
16893 * INSTALL: Regenerated.
16894
be08eda5
AJ
168952012-05-23 Andreas Jaeger <aj@suse.de>
16896
16897 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
16898 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
16899 macro.
16900 * sysdeps/unix/sysv/linux/s390/bits/mman.h
16901 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16902 * sysdeps/unix/sysv/linux/sh/bits/mman.h
16903 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16904 * sysdeps/unix/sysv/linux/i386/bits/mman.h
16905 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16906 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
16907 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16908 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
16909 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
16910 * sysdeps/unix/sysv/linux/bits/in.h
16911 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
16912
a6a056bb
RM
169132012-05-22 Roland McGrath <roland@hack.frob.com>
16914
16915 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
16916 (PREPARE_VERSION): Just use assert instead, it will be elided
16917 under [NDEBUG] anyway.
16918
c9009328
L
169192012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16920
16921 * sysdeps/unix/sysv/linux/Makefile: Include
16922 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
cb191f23 16923 (sysdep_routines): Remove sysctl.
c9009328
L
16924 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
16925 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
16926 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
16927 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
16928 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
16929
73338355
AJ
169302012-05-22 Andreas Jaeger <aj@suse.de>
16931
16932 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
16933 that pseudo_end is just ret and the stack pointer is correct also
16934 for static library in error case.
16935
d44638b0
PP
169362012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
16937
16938 [BZ #14122]
16939 * nss/nsswitch.c (defconfig_entries): New variable.
16940 (__nss_database_lookup): Don't leak defconfig entries.
16941 (nss_parse_service_list): Don't leak on error paths.
16942 (free_database_entries): New function.
16943 (free_defconfig): New function.
16944 (free_mem): Move common code to free_database_entries.
16945
31a39bd8
L
169462012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16947
da0331a8
L
16948 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
16949 Add arch_prctl.
16950 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
16951
31a39bd8
L
16952 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16953 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
16954 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
16955 New macro.
16956 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
16957 (INTERNAL_SYSCALL_TYPES): Likewise.
16958 (LOAD_ARGS_TYPES_[1-6]): Likewise.
16959 (LOAD_REGS_TYPES_[1-6]): Likewise.
16960 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
16961 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
16962
45470df3
AZ
169632012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16964
16965 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
16966 copysignl for GLIBC_2_0.
16967 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
16968 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
16969 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
16970 logbl for GLIBC_2_0.
16971 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
16972 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
16973
98a61bcb
L
169742012-05-22 H.J. Lu <hongjiu.lu@intel.com>
16975
a4f6e481
L
16976 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
16977 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
16978
f63d5db6
L
16979 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
16980 Use "neg %eax".
16981
98a61bcb
L
16982 * time/mktime.c: Update copyright years.
16983
95770f14
PE
169842012-05-22 Paul Eggert <eggert@cs.ucla.edu>
16985
6226efbd
PE
16986 mktime: merge comment-quoting-style change from gnulib
16987 * time/mktime.c: Quote 'like this' in comments.
16988 The GNU coding standards suggest that we no longer quote `like this',
16989 as "`" and "'" are typically rendered asymmetrically nowadays.
16990 The typical gnulib style is to quote 'like this' when quoting
16991 code, and "like this" when quoting English.
16992
b99e4f78
PE
16993 * time/mktime.c (compile-command): Add "-I.".
16994
643e01e6
PE
16995 mktime: merge mktime-internal.h change from gnulib
16996 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
16997
2554247d
PE
16998 mktime: merge time_r change from gnulib
16999 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
17000
826dd0ab
PE
17001 mktime: merge DEBUG change from gnulib
17002 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
17003 case system <time.h> has a #define.
17004
bd83aabe
PE
17005 mktime: merge <sys/types.h> change from gnulib
17006 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
17007 since <time.t> is now guaranteed to define time_t.
17008
95770f14
PE
17009 mktime: merge HAVE_CONFIG_H change from gnulib
17010 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
17011
5e1a27a9
L
170122012-05-22 H.J. Lu <hongjiu.lu@intel.com>
17013
0e44a77e
L
17014 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17015 Use "neg %eax".
17016
5e1a27a9
L
17017 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
17018 __rlim_t cast.
17019 (struct rusage): Use anonymous union to pad each field to
17020 __syscall_slong_t.
17021
46259bec
DM
170222012-05-21 David S. Miller <davem@davemloft.net>
17023
17024 * Makefules (o-iterator): Remove .s cases.
17025 (compile-command.s): Delete.
17026 (COMPILE.s): Delete.
17027 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
17028
59f0c22e
JM
170292012-05-21 Joseph Myers <joseph@codesourcery.com>
17030
17031 * configure.in (libc_cv_predef_stack_protector): Only consider
17032 "foobar" and "__stack_chk_fail" lines in libc_undefs.
17033 * configure: Regenerated.
17034
20c07380
L
170352012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17036
bbb3154b
L
17037 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
17038 New macro. Use R*LP on int and pointer.
17039 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
c5b3a2c0
L
17040 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
17041 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
bbb3154b
L
17042 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
17043
20c07380
L
17044 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
17045 [__WORDSIZE_TIME64_COMPAT32] instead of
17046 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
17047 (struct utmp): Likewise.
17048 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
17049 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
17050 Renamed to ...
17051 (__WORDSIZE_TIME64_COMPAT32): This.
17052 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
17053 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
17054 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
17055 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
17056 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
17057 (__WORDSIZE_TIME64_COMPAT32): New macro.
17058
d8d1017e
AJ
170592012-05-21 Andreas Jaeger <aj@suse.de>
17060
17061 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
17062 only if [SHARED]. Add prototype for __wcschr_ia32.
17063
6c7fb145
RM
170642012-05-21 Roland McGrath <roland@hack.frob.com>
17065
17066 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
17067 of %rbp unmolested in the jmp_buf while mangling the low bits.
17068 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
17069 unmolested high bits of %rbp while demangling the low bits.
17070 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
17071
66274218
AJ
170722012-05-21 Andreas Jaeger <aj@suse.de>
17073
07c58f8f
AJ
17074 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
17075 * sunrpc/svc_simple.c: Use it for registerrpc.
17076 * sunrpc/xcrypt.c: Use it for passwd2des.
17077
66274218
AJ
17078 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
17079
61f65140
L
170802012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17081
17082 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
17083 Don't define if [__SYSCALL_WORDSIZE != 32].
17084 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
17085 New macro.
17086
5fefb436
AJ
170872012-05-21 Bruno Haible <bruno@clisp.org>
17088 Andreas Jaeger <aj@suse.de>
17089
17090 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
17091 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
17092 inptr and inend for must_buffer_ch.
17093 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
17094 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
17095 * stdio-common/Makefile (tests): Remove bug15.
17096 (bug15-ENV): Remove macro.
17097 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
17098 anymore.
17099
d8e272ab
AJ
171002012-05-19 Andreas Jaeger <aj@suse.de>
17101 Roland McGrath <roland@hack.frob.com>
17102
17103 * manual/contrib.texi: Completely rewritten. It contains now an
17104 alphabetical list of contributors and their contributions.
17105
4a56a162
RH
171062012-05-21 Richard Henderson <rth@twiddle.net>
17107
17108 * misc/getauxval.c (__getauxval): Use unsigned long int.
17109 * misc/sys/auxv.h: Include <sys/cdefs.h>.
17110 (getauxval): Use unsigned long int.
17111
d024d23c
L
171122012-05-21 H.J. Lu <hongjiu.lu@intel.com>
17113
17114 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
17115
cbc00a03
RM
171162012-05-21 Roland McGrath <roland@hack.frob.com>
17117
17118 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
17119 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
17120 __alignof__ (long double).
17121
478143fa
AZ
171222012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17123
17124 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17125
c7683a6d
RH
171262012-05-20 Richard Henderson <rth@twiddle.net>
17127
17128 * misc/getauxval.c: New file.
17129 * misc/sys/auxv.h: New file.
17130 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
17131 (routines): Add getauxval.
17132 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
17133 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
17134 * elf/dl-sysdep.c (_dl_auxv): Remove.
17135 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
17136 * elf/dl-support.c (_dl_auxv): New variable.
17137 (_dl_aux_init): Initialize it.
17138 * manual/startup.texi (Auxiliary Vector): New node.
17139 * sysdeps/generic/bits/hwcap.h: New file.
17140 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
17141 * sysdeps/powerpc/sysdep.h: ... here. Include it.
17142 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
17143 * sysdeps/sparc/sysdep.h: ... here. Include it.
17144 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
17145 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
cbc00a03
RM
17146 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
17147 Update.
c7683a6d
RH
17148 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
17149 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
17150 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
17151 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
17152 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
17153 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
17154 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
17155 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
17156
a6f1845d
AZ
171572012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17158
17159 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17160
cbcbe830
DM
171612012-05-19 David S. Miller <davem@davemloft.net>
17162
17163 * sysdeps/sparc/fpu/libm-test-ulps: Update.
17164
e0b16cc2
JM
171652012-05-19 Joseph Myers <joseph@codesourcery.com>
17166
17167 [BZ #14123]
17168 * math/s_ccosh.c: Include <float.h>
17169 (__ccosh): Avoid internal overflow calculating sinh and cosh
17170 values before multiplying by sin and cos values.
17171 * math/s_ccoshf.c: Likewise.
17172 * math/s_ccoshl.c: Likewise.
17173 * math/s_csin.c: Likewise.
17174 * math/s_csinf.c: Likewise.
17175 * math/s_csinl.c: Likewise.
17176 * math/s_csinh.c: Likewise.
17177 * math/s_csinhf.c: Likewise.
17178 * math/s_csinhl.c: Likewise.
17179 * math/libm-test.inc (ccos_test): Add more tests.
17180 (ccosh_test): Likewise.
17181 (csin_test): Likewise.
17182 (csinh_test): Likewise.
17183 * sysdeps/i386/fpu/libm-test-ulps: Update.
17184 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17185
6ad13e08
L
171862012-05-19 H.J. Lu <hongjiu.lu@intel.com>
17187
f66f0ce8
L
17188 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
17189 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
17190
6ad13e08
L
17191 * sysdeps/x86_64/x32/_itoa.h: Add comment.
17192
b1d072a7
JM
171932012-05-19 Joseph Myers <joseph@codesourcery.com>
17194
17195 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
17196 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
17197 * sysdeps/powerpc/soft-fp/Versions: Likewise.
17198 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
17199 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
17200 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
17201 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
17202 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
17203 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
17204 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
17205 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
17206 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
17207 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
17208 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
17209 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
17210 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
17211 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
17212 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
17213 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
17214 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
17215 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
17216 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
17217 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
17218 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
17219 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
17220 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
17221 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
17222 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
17223 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
17224 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
17225 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
17226
9eae47cb
AJ
172272012-05-18 Andreas Jaeger <aj@suse.de>
17228
17229 * csu/.gitignore: Delete.
17230
bb07f69f
L
172312012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17232
17233 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
17234 (timex): Use __syscall_slong_t.
17235
e6bdb741
AJ
172362012-05-18 Andreas Jaeger <aj@suse.de>
17237 Carlos O'Donell <carlos_odonell@mentor.com>
17238
17239 * manual/install.texi (Configuring and compiling): Update
17240 description about files modified in the source directory.
d6c33fda 17241 * INSTALL: Regenerated.
e6bdb741 17242
1b74487e
L
172432012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17244
17245 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
17246 value. Use "or" to set return value to -1.
17247 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
17248 negate return value.
17249
a88b64b9
TMQMF
172502012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17251
17252 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
17253 CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
17254 failure if the compiler has Graphite support disabled.
17255 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
17256 Likewise.
17257 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
17258 CFLAGS-memmove.c): Likewise.
17259 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
17260 Likewise.
17261
3707636e
L
172622012-05-18 H.J. Lu <hongjiu.lu@intel.com>
17263
610b8622
L
17264 * sysdeps/x86_64/x32/_itoa.h: New file.
17265
7cd195df
L
17266 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
17267 getdents system call only if kernel and user dirents have the
17268 same d_ino and d_off.
17269
94b07d20
L
17270 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
17271 LLONG_MAX != LONG_MAX.
17272 (_itoa_word): Use _ITOA_WORD_TYPE on value.
17273 (_fitoa_word): Likewise.
17274
18298070
L
17275 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
17276 years.
17277 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
17278 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
17279 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
17280
553c7ea4
L
17281 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
17282 include <bits/wordsize.h>. Check __x86_64__ instead of
17283 __WORDSIZE.
17284 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
17285 if __x86_64__ is defined. Use anonymous union on fpstate.
17286
3707636e
L
17287 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
17288 anonymous union.
17289
b53ef01a
AS
172902012-05-18 Andreas Schwab <schwab@linux-m68k.org>
17291
37fb1dc0
AS
17292 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
17293 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
17294 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
17295 Refer to _rtld_local_ro instead of _rtld_global_ro.
17296 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
17297 Likewise.
17298 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
17299 Likewise.
17300 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
17301 Likewise.
17302 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
17303 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
17304 of _rtld_global, and rtld_progname instead of _dl_argv[0].
17305
b53ef01a
AS
17306 * sysdeps/powerpc/powerpc32/dl-machine.c
17307 (__elf_machine_runtime_setup) [PROF]: Don't reference
17308 _dl_prof_resolve.
17309
7a185db2
AJ
173102012-05-18 Andreas Jaeger <aj@suse.de>
17311
17312 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
17313 function only available for GCCs before 3.4 since GCC 3.4
17314 introduced a builtin.
17315 (lrint): Likewise.
17316 (llrintf): Likewise.
17317 (llrint): Likewise.
17318 (fmaxf): Likewise.
17319 (fmax): Likewise.
17320 (fminf): Likewise.
17321 (fmin): Likewise.
17322 (rint): Likewise.
17323 (rintf): Likewise.
17324 (nearbyint): Likewise.
17325 (nearbyintf): Likewise.
17326 (ceil): Likewise.
17327 (ceilf): Likewise.
17328 (floor): Likewise.
17329 (floorf): Likewise.
17330
3e5aef87
L
173312012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17332
428bd707
L
17333 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
17334 on both fields and cast pointer to __syscall_ulong_t.
17335
3e5aef87
L
17336 * bits/types.h (__fsword_t): New type.
17337 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
17338 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
17339 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17340 (__FSWORD_T_TYPE): Likewise.
17341 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17342 (__FSWORD_T_TYPE): Likewise.
17343 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17344 (__FSWORD_T_TYPE): Likewise.
17345 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
17346 (__FSWORD_T_TYPE): Likewise.
17347 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
17348 __SWORD_TYPE with __fsword_t.
17349 (statfs64): Likewise.
17350
1ba7c3dc
DM
173512012-05-17 David S. Miller <davem@davemloft.net>
17352
17353 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
17354
59910343
AJ
173552012-05-17 Andreas Jaeger <aj@suse.de>
17356
17357 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
17358 warning.
17359
2e4c1e9e
L
173602012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17361
17362 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
17363
de7f5ce7
AJ
173642012-05-17 Andreas Jaeger <aj@suse.de>
17365
17366 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
17367 when it is used.
17368
286abc3d
CM
173692012-05-17 Chris Metcalf <cmetcalf@tilera.com>
17370
17371 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
17372
477cc68e
L
173732012-05-17 H.J. Lu <hongjiu.lu@intel.com>
17374
17375 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
17376 * sysdeps/x86_64/tst-mallocalign1.c: New file.
17377
1a0994f5
CD
173782012-05-17 Andreas Jaeger <aj@suse.de>
17379 Carlos O'Donell <carlos_odonell@mentor.com>
17380
17381 [BZ #14059]
17382 * sysdeps/x86_64/multiarch/init-arch.h
17383 (bit_YMM_Usable): Rename to...
17384 (bit_AVX_Usable): ... this.
17385 (bit_FMA4_Usable): New macro.
17386 (bit_XMM_state): New macro.
17387 (bit_YMM_state): New macro.
17388 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
17389 [__ASSEMBLER__] (index_AVX_Usable): ... this.
17390 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
17391 (CPUID_OSXSAVE): New macro.
17392 (CPUID_AVX): New macro.
17393 (CPUID_FMA4): New macro.
17394 (index_YMM_Usable): Rename to...
17395 (index_AVX_Usable): ... this.
17396 (HAS_AVX): Use HAS_ARCH_FEATURE.
17397 (HAS_FMA4): Likewise.
17398 (HAS_YMM_USABLE): Remove.
17399 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17400 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
17401 are present.
17402 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
17403 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
17404 * sysdeps/x86_64/multiarch/Makefile: Likewise.
17405 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
17406 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
17407
0af797de
CM
174082012-05-17 Chris Metcalf <cmetcalf@tilera.com>
17409
17410 * math/libm-test.c: Support platforms without multiple rounding modes.
17411 * math/bug-nextafter.c: Support platforms without FP exceptions.
17412 * math/bug-nexttoward.c: Likewise.
17413 * math/test-fenv.c: Likewise.
17414 * math/test-misc.c: Likewise.
17415 * stdlib/bug-getcontext.c: Likewise.
17416
e39745ff
AJ
174172012-05-17 Andreas Jaeger <aj@suse.de>
17418
17419 * manual/examples/search.c (critter_cmp): Change signature to
17420 avoid warnings.
17421 * manual/string.texi (Collation Functions): Likewise.
17422
48970aba
L
174232012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17424
17425 * bits/types.h: Fold copyright years.
17426 * bits/typesizes.h: Likewise.
17427 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
17428 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
17429 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
17430 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
17431 * time/time.h: Likewise.
17432
bedee953
PP
174332012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
17434
17435 [BZ #208]
17436 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
17437 in instead of returning them. Return void.
17438 (__libc_mallinfo): Accumulate over all arenas.
17439 (__malloc_stats): Adjust for change in int_mallinfo interface.
17440
61653dfb
RM
174412012-05-16 Roland McGrath <roland@hack.frob.com>
17442
30b99d79
RM
17443 [BZ #10375]
17444 * configure.in (NM): Add AC_CHECK_TOOL for it.
17445 (libc_extra_cflags): New substituted variable.
17446 Check for -fstack-protector being used implicitly.
17447 * configure: Regenerated.
17448 * config.make.in (config-extra-cflags): New variable,
17449 gets @libc_extra_cflags@.
17450 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
17451
61653dfb
RM
17452 [BZ #10375]
17453 * configure.in: Check for _FORTIFY_SOURCE being predefined.
17454 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
17455 * configure: Regenerated.
17456 * config.make.in (CPPUNDEFS): New substituted variable.
17457 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
17458 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
17459 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
17460
661768bb
L
174612012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17462
17463 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
17464 (mq_attr): Use __syscall_slong_t.
17465
d4261567
L
174662012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17467
17468 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
17469 Check __x86_64__ instead of __WORDSIZE.
17470 (_STAT_VER_LINUX): Likewise.
17471 (stat): Check __x86_64__ instead of __WORDSIZE. Use
17472 __syscall_ulong_t and __syscall_slong_t.
17473 (stat64): Likewise.
17474
cf3ff365
L
174752012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17476
17477 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
17478
76cf3e4d
L
174792012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17480
17481 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
17482
a637753a
L
174832012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17484
17485 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
17486 __syscall_ulong_t.
17487
d5e05119
L
17488 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
17489 include <bits/wordsize.h>. Check __x86_64__ instead of
17490 __WORDSIZE.
17491 (greg_t): Use "__extension__ long long int" if __x86_64__ is
17492 defined.
17493 (mcontext_t): Replace "unsigned long" with "unsigned long long".
17494
f62ee380
L
17495 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
17496 include <bits/wordsize.h>. Check __x86_64__ instead of
17497 __WORDSIZE.
17498 (user_regs_struct): Use "__extension__ unsigned long long"
17499 instead of "unsigned long" if __x86_64__ is defined.
17500 (user): Likewise. Pad after pointer field if __ILP32__ is
17501 defined.
17502
4e124ced
JM
175032012-05-16 Joseph Myers <joseph@codesourcery.com>
17504
6a3951a0
JM
17505 * configure.in (makeinfo): Require version 4.5 or later. Allow
17506 versions 5 to 9.
17507 * configure: Regenerated.
17508 * manual/install.texi (texinfo): Increase version requirement to
17509 4.5 or later.
17510 * INSTALL: Regenerated.
17511
4e124ced
JM
17512 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
17513
953ca31a
L
175142012-05-16 H.J. Lu <hongjiu.lu@intel.com>
17515
17516 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
17517
617aca05
L
17518 * sysdeps/x86_64/x32/ffs.c: New file.
17519
5762f7ae
L
17520 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
17521 __syscall_ulong_t.
17522 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
17523 defined. Use __syscall_ulong_t.
17524 (shminfo): Use __syscall_ulong_t.
17525 (shm_info): Likewise.
17526
a26b6856
L
17527 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
17528 __syscall_ulong_t.
17529
cb2b9ef7
L
17530 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
17531 <bits/wordsize.h>.
17532 (msgqnum_t): Use __syscall_ulong_t.
17533 (msglen_t): Likewise.
17534 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
17535 __syscall_ulong_t.
17536
34683bb0
L
17537 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
17538 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17539
84a68786
L
17540 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
17541
48baa5f1
L
17542 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
17543 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
17544
180be88b
L
17545 * sysvipc/sys/msg.h (msgbuf): Replace long int with
17546 __syscall_slong_t.
17547
5e90c8ad
L
17548 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
17549 include <bits/wordsize.h>. Check __x86_64__ instead of
17550 __WORDSIZE.
17551
23dfb58b
L
17552 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
17553 "unsigned long long int" if __x86_64__ is defined.
17554 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
17555
ce5d54b0
L
17556 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
17557 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
17558 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
17559
13dc9eac
L
17560 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
17561 <stdint.h>.
17562 (GET_PC): Cast to uintptr_t first.
17563 (GET_FRAME): Likewise.
17564 (GET_STACK): Likewise.
17565
a7895d15
L
17566 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
17567 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
17568 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
17569 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
17570 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
17571 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
17572 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
17573 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
17574 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
17575 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
17576 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
17577 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
17578 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
17579 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
17580 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
17581 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
17582 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
17583 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
17584 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
17585 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
17586 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
17587 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
17588 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
17589 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
17590 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
17591 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
17592 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
17593 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
17594 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
17595
656416c9
AS
175962012-05-16 Andreas Schwab <schwab@linux-m68k.org>
17597
5bd66283
AS
17598 * Makerules (+depfiles): Also collect depfiles from .oS in
17599 $(extra-objs).
17600 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
17601 .oS, $(libnldbl-routines)).
17602
656416c9
AS
17603 * Makerules (native-compile-mkdep-flags): Define.
17604 * sunrpc/Makefile (extra-objs): Add $(addprefix
17605 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
17606 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
17607 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
17608 calling $(make-target-directory).
17609
a46f2169
L
176102012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17611
17612 * bits/types.h (__snseconds_t): Removed.
17613 * time/time.h (struct timespec): Replace __snseconds_t with
17614 __syscall_slong_t.
17615 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
17616 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
17617 Likewise.
17618 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17619 (__SNSECONDS_T_TYPE): Likewise.
17620 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17621 (__SNSECONDS_T_TYPE): Likewise.
17622 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17623 (__SNSECONDS_T_TYPE): Likewise.
17624
6af6528b
L
176252012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17626
17627 * sysdeps/mach/hurd/bits/typesizes.h
17628 (__SYSCALL_SLONG_TYPE): New macro.
17629 (__SYSCALL_ULONG_TYPE): Likewise.
17630
de986b56
L
176312012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17632
17633 * bits/types.h (__syscall_slong_t): New type.
17634 (__syscall_ulong_t): Likewise.
17635
17636 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
17637 (__SYSCALL_ULONG_TYPE): Likewise.
17638 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17639 (__SYSCALL_SLONG_TYPE): Likewise.
17640 (__SYSCALL_ULONG_TYPE): Likewise.
17641 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17642 (__SYSCALL_SLONG_TYPE): Likewise.
17643 (__SYSCALL_ULONG_TYPE): Likewise.
17644 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17645 (__SYSCALL_SLONG_TYPE): Likewise.
17646 (__SYSCALL_ULONG_TYPE): Likewise.
17647
85736dc7
L
176482012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17649
17650 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
17651 Add sigaltstack-offsets.sym.
17652 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
17653 <sigaltstack-offsets.h>.
17654 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
17655 longjmp_msg pointer.
17656 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
17657 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
17658 signal stack.
17659 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
17660
cc03b296
JM
176612012-05-15 Joseph Myers <joseph@codesourcery.com>
17662
a9538892
JM
17663 * elf/stackguard-macros.h: Remove file.
17664 * sysdeps/generic/stackguard-macros.h: New file.
17665 * sysdeps/i386/stackguard-macros.h: Likewise.
17666 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
17667 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
17668 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
17669 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
17670 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
17671 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
17672 * sysdeps/x86_64/stackguard-macros.h: Likewise.
17673 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
17674 <elf/stackguard-macros.h>.
17675
cc03b296
JM
17676 [BZ #14109]
17677 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
17678 __aligned__ in attribute.
17679 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
17680 (gregset_t): Likewise.
17681
93171016
L
176822012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17683
17684 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
17685 * sysdeps/x86_64/64/Implies-after: Here. New file.
17686 * sysdeps/x86_64/x32/Implies-after: New file.
17687
d86813a0
L
176882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17689
17690 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
17691 and access return value for _dl_profile_fixup. Use R10_LP to
17692 load frame size.
17693
2953ec75
L
176942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17695
17696 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
17697
3b550e9e
L
176982012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17699
17700 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
17701 * sysdeps/x86_64/x32/sysdep.h: New file.
17702
eda41706
L
177032012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17704
17705 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
17706 * sysdeps/x86_64/setjmp.S: Likewise.
17707
9ea01d93
AZ
177082012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17709
17710 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
17711 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
17712 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
17713 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
17714 remove unused global constant.
17715
02a91938
CM
177162012-05-15 Chris Metcalf <cmetcalf@tilera.com>
17717
17718 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
17719 include of <not-cancel.h>.
17720
6540185f
RM
177212012-05-15 Roland McGrath <roland@hack.frob.com>
17722
17723 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
17724
509072a0
AJ
177252012-05-15 Jeff Law <law@redhat.com>
17726 Andreas Jaeger <aj@suse.de>
17727
17728 [BZ #13594]
17729 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
17730 out from...
17731 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
17732 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
17733 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
17734 code changing __hst_map_handle.map.
17735
ba75122d
RM
177362012-05-15 Roland McGrath <roland@hack.frob.com>
17737
17738 * configure.in (sysnames): Look for Implies-before and Implies-after
17739 files.
17740 * configure: Regenerated.
17741
890d8bd8
L
177422012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17743
17744 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
17745 8-byte data alignment with LP_SIZE alignment.
17746
f6ee6623
L
177472012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17748
17749 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
17750 into R10_LP.
17751
ea2626f6
L
177522012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17753
17754 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
17755
085f715e
L
177562012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17757
17758 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
17759 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
17760 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
17761 Likewise.
17762 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
17763
be8498fc
L
177642012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17765
17766 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
17767 (stackinfo_sub_sp): Likewise.
17768
70bc83b9
L
177692012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17770
17771 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
17772 RAX_LP.
17773
9bc0b730
L
177742012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17775
17776 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
17777 into R*_LP.
17778
6d2850e7
L
177792012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17780
17781 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
17782 sizes into R*_LP.
17783
3cb84561
L
177842012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17785
17786 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
17787
54e2ed81
L
177882012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17789
17790 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
17791 into R11_LP and load __x86_64_shared_cache_size_half into
17792 R8_LP.
17793
8a17f349
L
177942012-05-15 H.J. Lu <hongjiu.lu@intel.com>
17795
17796 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
17797 R8_LP.
17798
777b1eea
AZ
177992012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
17800
17801 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
17802 logb for POWER7.
17803 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
17804 logbf for POWER7.
17805 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
17806 logbl for POWER7.
17807 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
17808 powerpc32/power7/fpu/s_logb.c via #include.
17809 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
17810 powerpc32/power7/fpu/s_logbf.c via #include.
17811 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
17812 powerpc32/power7/fpu/s_logbl.c via #include.
17813
d20d4ac2
JM
178142012-05-15 Joseph Myers <joseph@codesourcery.com>
17815
17816 * README.libm: Remove file.
17817
6cdef1ab
L
178182012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17819
17820 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
17821 count for x32. Use R*_LP and omit operand-size suffix.
17822
0b254d8f
L
178232012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17824
17825 * shlib-versions: Move x86_64-.*-linux.* entries to ...
17826 * sysdeps/x86_64/64/shlib-versions: Here. New file.
17827 * sysdeps/x86_64/x32/shlib-versions: New file.
17828
ceb809dc
RM
178292012-05-14 Roland McGrath <roland@hack.frob.com>
17830
17831 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
17832 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
17833 Use _dl_fatal_printf instead.
17834
37f1abd4
JM
178352012-05-14 Joseph Myers <joseph@codesourcery.com>
17836
17837 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
17838 set if not set by the user. Do not allow for being unset.
17839 * sysdeps/unix/sysv/linux/configure: Regenerated.
17840
11de3a33
L
178412012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17842
17843 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
17844 the `q' suffix from lea and replace .quad with ASM_ADDR.
17845
e02f153a
L
178462012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17847
17848 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
17849 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
17850 instead of $17.
17851 (PTR_DEMANGLE): Likewise.
17852
520ae0fd
L
178532012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17854
17855 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
17856 (LP_OP): Likewise.
17857 (ASM_ADDR): Likewise.
17858 (RAX_LP): Likewise.
17859 (RBP_LP): Likewise.
17860 (RBX_LP): Likewise.
17861 (RCX_LP): Likewise.
17862 (RDI_LP): Likewise.
17863 (RSI_LP): Likewise.
17864 (RSP_LP): Likewise.
17865 (R8_LP): Likewise.
17866 (R9_LP): Likewise.
17867 (R10_LP): Likewise.
17868 (R10_LP): Likewise.
17869 (R11_LP): Likewise.
17870 (R12_LP): Likewise.
17871 (R13_LP): Likewise.
17872 (R14_LP): Likewise.
17873 (R15_LP): Likewise.
17874
b985be81
L
178752012-05-14 H.J. Lu <hongjiu.lu@intel.com>
17876
17877 * sysdeps/x86_64/x32/dl-machine.h: New file.
17878
6a4888ff
AJ
178792012-05-14 Andreas Jaeger <aj@suse.de>
17880
17881 * manual/Makefile (subdir): Remove export of subdir.
17882 (all): Remove target.
17883 (.PHONY): Remove all from list.
17884 (mkinstalldirs): Remove.
17885 (.PHONY): Remove installdirs from list.
17886 ($(inst_infodir)/libc.info): Use make-target-directory.
17887 (installdirs): Remove.
17888 (subdir_%): Remove.
17889 (glibc-targets): Remove.
17890 (lib): Remove.
17891 (stubs): Remove.
17892 ($(objpfx)stubs ../po/manual.pot): Remove.
17893 ($(objpfx)stamp%): Remove.
17894 (make-target-directory): Remove.
17895 (subdir_install): Remove.
17896 (routines): Remove.
17897 (aux): Remove.
17898 (sources): Remove.
17899 (objects): Remove.
17900 (headers): Remove.
17901
17902 [BZ #13750]
17903 * manual/.gitignore: Remove, it's not needed anymore.
17904 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
17905 all files in it.
17906 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
17907 directory.
17908 (texis): Renamed to $(objpfx)texis.
17909 (texis-path): New, contains path to generated files.
17910 (chapters.%): Use texis-path for complete path, add extra argument
17911 libc-texinfo.sh.
17912 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
17913 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
17914 (summary,texi, stamp-summary): Use complete path of
17915 files. Generate files in build dir.
17916 (dir-add.texi): Build in build dir.
17917 (libm-err.texi,stamp-libm-err): Likewise.
17918 (version.texi, stamp-version): Likewise.
17919 (.%c.texi): Likewise.
17920 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
17921 (mostlyclean): Remove target.
17922 (realclean): Remove target.
17923 (generated): Add new variable with contents from mostlyclean and
17924 realclean, remove entries duplicated in common-mostlyclean, add
17925 stamp-libm-err and stamp-version.
17926 (generated-dirs): Add libc directory.
17927 ($(inst_infodir)/libc.info): Install files from build dir.
17928
17929 * manual/install.texi (Configuring and compiling): Adjust since
17930 the info files are not part of the tar ball anymore.
17931
7ac77294
AJ
179322012-05-14 Andreas Jaeger <aj@suse.de>
17933
17934 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
17935 variable.
17936
ffb7875d
JM
179372012-05-14 Joseph Myers <joseph@codesourcery.com>
17938
17939 [BZ #13717]
17940 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
17941 to 2.2.0 where earlier.
17942 * sysdeps/unix/sysv/linux/configure: Regenerated.
17943 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
17944 Remove conditional code.
17945 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
17946 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
17947 Remove conditional code.
17948 [!__NR_lchown]: Likewise.
17949 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17950 [__NR_lchown]: Likewise.
17951 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
17952 comment referencing __ASSUME_LCHOWN_SYSCALL.
17953 * sysdeps/unix/sysv/linux/i386/sigaction.c
17954 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
17955 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
17956 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
17957 Remove conditional code.
17958 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
17959 (__protocol_available): Remove #if 0 code.
17960 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
17961 conditional code.
17962 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
17963 * sysdeps/unix/sysv/linux/kernel-features.h
17964 (__ASSUME_GETCWD_SYSCALL): Don't define.
17965 (__ASSUME_REALTIME_SIGNALS): Likewise.
17966 (__ASSUME_PREAD_SYSCALL): Likewise.
17967 (__ASSUME_PWRITE_SYSCALL): Likewise.
17968 (__ASSUME_POLL_SYSCALL): Likewise.
17969 (__ASSUME_LCHOWN_SYSCALL): Likewise.
17970 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
17971 non-SPARC.
17972 (__ASSUME_SIOCGIFNAME): Don't define.
17973 (__ASSUME_MSG_NOSIGNAL): Likewise.
17974 (__ASSUME_SENDFILE): Define unconditionally.
17975 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
17976 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
17977 conditional code.
17978 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
17979 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
17980 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
17981 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17982 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
17983 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
17984 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
17985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
17986 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17987 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
17989 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17990 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
17991 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
17992 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17993 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
17995 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
17996 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
17997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
17998 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
17999 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18000 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
18001 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
18002 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
18004 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18005 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18006 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
18007 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18008 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18009 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
18010 Remove conditional code.
18011 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18012 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18013 Remove conditional code.
18014 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18015 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
18016 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
18017 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18018 Remove conditional code.
18019 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18020 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
18021 Remove conditional code.
18022 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18023 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
18024 Remove conditional code.
18025 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18026 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
18027 Remove conditional code.
18028 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
18029 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
18030 Remove conditional code.
18031 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18032 * sysdeps/unix/sysv/linux/sh/pwrite64.c
18033 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
18034 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
18035 * sysdeps/unix/sysv/linux/sigaction.c
18036 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18037 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18038 * sysdeps/unix/sysv/linux/sigpending.c
18039 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18040 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18041 * sysdeps/unix/sysv/linux/sigprocmask.c
18042 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18043 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18044 * sysdeps/unix/sysv/linux/sigsuspend.c
18045 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
18046 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
18047 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
18048 (__libc_missing_rt_sigs): Remove.
18049 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
18050 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
18051 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
18052 Remove conditional code.
18053 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
18054 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
18055 return 1.
18056 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
18057 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
18058 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
18059 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
18060
1bfb7291
AJ
180612012-05-14 Andreas Jaeger <aj@suse.de>
18062
caae5a81
AJ
18063 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
18064 it's not used in glibc.
18065 (__coshm1): Likewise.
18066 (__acosh1p): Likewise.
18067 (__sgn): Likewise.
18068
1bfb7291
AJ
18069 * manual/string.texi (Copying and Concatenation): Add missing
18070 variable in concat example.
18071 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
18072
c044d724
L
180732012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18074
144c5467 18075 [BZ #14103]
c044d724
L
18076 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
18077 __builtin_clzl with __builtin_clzll.
18078
2523c62b
L
180792012-05-14 H.J. Lu <hongjiu.lu@intel.com>
18080
18081 [BZ #14104]
18082 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
18083 libc_freeres_ptr.
18084
d7bb4c42
LD
180852012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
18086
18087 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
18088 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
18089 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
18090 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
18091
9dc4e1fb
MF
180922012-05-14 Mike Frysinger <vapier@gentoo.org>
18093
18094 * NEWS: Update ia64 info.
18095
c7df0112
AS
180962012-05-12 Andreas Schwab <schwab@linux-m68k.org>
18097
18098 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
18099 used as bcopy.
18100
dc70356c
TS
181012012-05-12 Thomas Schwinge <thomas@codesourcery.com>
18102
18103 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
18104 * sysdeps/unix/syscalls.list (dup3): Likewise.
18105 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
18106 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
18107
9fb1a21f
L
181082012-05-11 H.J. Lu <hongjiu.lu@intel.com>
18109
18110 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
18111 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
18112
4822a2a5
L
181132012-05-11 H.J. Lu <hongjiu.lu@intel.com>
18114
18115 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
18116 thread pointer.
18117 (TLS_IE): Use mov/add instead of movq/addq to load thread
18118 pointer.
18119 (TLS_GD_PREFIX): New.
18120 (TLS_GD): Use it.
18121
842b81d6
DM
181222012-05-11 David S. Miller <davem@davemloft.net>
18123
18124 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
18125 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
18126 (_FPU_SETCW): Likewise.
18127
1cf463cd
L
181282012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18129
18130 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
18131 is 32-byte aligned.
18132
60cc4a18
AS
181332012-05-11 Andreas Schwab <schwab@linux-m68k.org>
18134
18135 [BZ #11837]
18136 * iconvdata/gb18030.c: Update tables.
18137 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
18138 characters specially.
18139 (BODY for TO_LOOP): Add encoding of missing ranges.
18140
febb44a4
TS
181412012-05-11 Thomas Schwinge <thomas@codesourcery.com>
18142
18143 [BZ #13673]
18144 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
18145 * sysdeps/mach/hurd/dup3.c: Likewise.
18146 * sysdeps/mach/hurd/readlinkat.c: Likewise.
18147 * sysdeps/powerpc/memmove.c:: Likewise.
18148
0a10fb9e
L
181492012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18150
18151 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
18152 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
18153
df8a552f
L
181542012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18155
18156 * elf/elf.h (R_X86_64_RELATIVE64): New.
18157 (R_X86_64_NUM): Updated.
18158 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
18159 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
18160 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
18161 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
18162 tst-quad1pie tst-quad2pie
18163 (modules-names): Add tst-quadmod1 tst-quadmod2.
18164 ($(objpfx)tst-quad1): New dependency.
18165 ($(objpfx)tst-quad2): Likewise.
18166 ($(objpfx)tst-quad1pie): Likewise.
18167 ($(objpfx)tst-quad2pie): Likewise.
18168 * sysdeps/x86_64/tst-quad1.c: New file.
18169 * sysdeps/x86_64/tst-quad1pie.c: New file.
18170 * sysdeps/x86_64/tst-quad2.c: Likewise.
18171 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
18172 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
18173 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
18174 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
18175 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
18176
f34d6f84
ST
181772012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18178
f42d41d1
ST
18179 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
18180 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
18181 * streams/stropts.h (t_scalar_t): Define type.
18182
3c3571fc
ST
18183 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
18184 (_PATH_PRESERVE): Set to "/var/lib".
18185 (_PATH_RWHODIR): Set to "/var/spool/rwho".
18186
61f06bd3
ST
18187 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
18188 instead of int.
18189
918d4d71
ST
18190 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
18191 if __dir_mkfile succeeded.
18192
f34d6f84
ST
18193 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
18194 checking for _hurd_dtablesize. Unlock it right after having
18195 finished _hurd_dtable allocation.
18196
10589b4a
TS
181972012-05-10 Thomas Schwinge <thomas@schwinge.name>
18198
674cdbc7
TS
18199 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
18200 * sysdeps/mach/hurd/configure: Regenerated.
18201 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
18202 special-casing to...
18203 * sysdeps/gnu/configure.in: ... this new file.
18204 * sysdeps/unix/sysv/linux/configure: Regenerated.
18205 * sysdeps/gnu/configure: New generated file.
18206
8e41b99f
TS
18207 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
18208 for Linux: use nsec instead of usec, as well as:
18209 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
18210 members of type struct timespec.
18211 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
18212 New macros.
18213 (struct stat64): Likewise.
18214 (_STATBUF_ST_NSEC): New macro.
18215 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
18216
10589b4a
TS
18217 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
18218 __strtoul_internal rather than strtoul.
18219
63643c85
PT
182202012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18221
18222 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
18223 and reject them.
18224
3faebe6a
ST
182252012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18226
18227 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
18228 which preserves existing values.
18229 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
18230
c6474b07
PT
182312012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18232
18233 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
18234 TIMEOUT values. Return EINVAL for NFDS values either negative or
18235 greater than FD_SETSIZE.
18236
1043890b
ST
182372012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18238
18239 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
18240 allocated, call __vm_protect to finish enabling the existing space, and
18241 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
18242 allocate the remainder.
18243
37ed8b9b
PT
182442012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18245
18246 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
18247 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
18248
db653660
ST
182492012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18250
37ed8b9b
PT
18251 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
18252 sysdeps/mach/hurd/readlink.c.
b29d4053 18253
db653660
ST
18254 * posix/tst-sysconf.c (posix_options): Only use
18255 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
18256 _POSIX_SYNCHRONIZED_IO when they are defined
18257 * sysdeps/mach/hurd/bits/posix_opt.h:
18258 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
18259 (_XOPEN_REALTIME): Undefine macro.
18260 (_XOPEN_REALTIME_THREADS): Undefine macro.
18261 (_XOPEN_SHM): Undefine macro.
18262 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
18263 macro to -1.
18264 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
18265 macro to -1.
18266 (_POSIX_ASYNC_IO): Undefine macro.
18267 (_POSIX_PRIORITIZED_IO): Undefine macro.
18268 (_POSIX_SPIN_LOCKS): Define macro to -1.
18269
ee16e894
ST
18270 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
18271 SA_NODEFER, SA_RESETHAND.
18272 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
18273 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
18274 F_DUPFD_CLOEXEC.
18275
6103ae3b
TS
182762012-05-10 Thomas Schwinge <thomas@schwinge.name>
18277
18278 * elf/Makefile (pldd-modules): Define unconditionally.
18279
80b4e5f3
TS
182802012-05-10 Thomas Schwinge <thomas@schwinge.name>
18281
18282 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
18283
edadcbd6
ST
182842012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18285
18286 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
18287 Return ENOENT when name is empty.
18288 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
18289
80694780
TS
182902012-05-10 Thomas Schwinge <thomas@schwinge.name>
18291
1792c087
TS
18292 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
18293
80694780
TS
18294 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
18295
6b645f0d
ST
182962012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18297
80694780
TS
18298 Fix mlock in all cases except non-readable pages.
18299 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
18300 instead of VM_PROT_ALL as parameter to __vm_wire function.
66cbbebc 18301
6b645f0d
ST
18302 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
18303 (__mkdir): When path is `/', just fail with EEXIST.
18304 * sysdeps/mach/hurd/mkdirat.c: Likewise.
18305
e468f8a3
TS
183062012-05-10 Thomas Schwinge <thomas@schwinge.name>
18307
18308 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
18309 <sys/uio.h> (for writev).
18310 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
18311 and <sys/param.h> (for MIN).
18312
a4186cff
PT
183132012-05-10 Pino Toscano <toscano.pino@tiscali.it>
18314
18315 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
18316 REQUESTED_TIME. Properly set the remaining time and return EINTR
18317 if interrupted.
18318
510bbf14
TS
183192012-05-10 Thomas Schwinge <thomas@schwinge.name>
18320
18321 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
18322 Depend on against $(link-rpcuserlibs).
18323
5d5722e8
ST
183242012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18325
a4186cff
PT
18326 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
18327 (__libc_stack_end): Do not use attribute_relro.
18328 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
18329 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
5d5722e8 18330 to libthread-provided value.
a4186cff
PT
18331 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
18332 attribute_relro.
5d5722e8 18333
37233df9
TS
183342012-05-10 Thomas Schwinge <thomas@schwinge.name>
18335
be971a2b
TS
18336 [BZ #3748]
18337 * bits/libc-lock.h (__libc_once_get): New macro.
18338 * sysdeps/mach/bits/libc-lock.h: Likewise.
18339 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
18340 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
18341 instead of using implementation details.
18342
37233df9
TS
18343 * libio/fileops.c: Unconditionally include <kernel-features.h>.
18344 * libio/freopen.c: Likewise.
18345 * libio/freopen64.c: Likewise.
18346 * misc/syslog.c: Likewise.
18347 * nscd/connections.c: Likewise.
18348 * nscd/netgroupcache.c: Likewise.
18349 * sysdeps/posix/getcwd.c: Likewise.
18350
38de94a5
RM
183512012-05-10 Roland McGrath <roland@hack.frob.com>
18352
18353 * math/w_ilogbf.c: Add #include <limits.h>.
18354
67530489
ST
183552012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18356
a4186cff 18357 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
bbc49098
ST
18358 path instead of returning without unlocking.
18359
67530489
ST
18360 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
18361 immediate-write ioctls.
18362 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
18363
5aa3a74a
TS
183642012-05-10 Thomas Schwinge <thomas@schwinge.name>
18365
18bad2ae
TS
18366 * sysdeps/mach/hurd/i386/init-first.c (init): Use
18367 __builtin_frame_address instead of making assumptions about the
18368 location of the return address relative to DATA. Force early load of
18369 the return address.
18370 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
18371 __builtin_frame_address.
18372
5aa3a74a
TS
18373 dup3 for GNU Hurd.
18374 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
18375 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
18376 implement dup3 and do some further code clean-ups.
18377 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
18378 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
18379
ecd0de9a
ST
183802012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18381
cd9fa985
ST
18382 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
18383
a4186cff
PT
18384 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
18385 HURD_CRITICAL_END around holding _hurd_dtable_lock.
18386 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
18387 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
18388 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
18389 d->port.lock.
802ca5a5 18390
a4186cff
PT
18391 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
18392 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
18393 when handler == SIG_ERR, not when handler != SIG_ERR.
ecd0de9a 18394
bcf55240
TS
183952012-05-10 Thomas Schwinge <thomas@schwinge.name>
18396
6960eb42
TS
18397 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
18398 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
18399 definitions.
18400
eb43375f
TS
18401 accept4 for GNU Hurd.
18402 * include/sys/socket.h (__libc_accept4): New prototype.
18403 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
18404 to implement __libc_accept4.
18405 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
18406 __libc_accept4.
18407 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
18408
bcf55240
TS
18409 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
18410 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
18411 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
18412 signal-defines.sym.
18413
6178c55b
ST
184142012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18415
a4186cff 18416 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
6178c55b 18417
6f080c2f
TS
184182012-05-10 Thomas Schwinge <thomas@schwinge.name>
18419
18420 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
18421 assertion on O_CLOEXEC flag.
18422 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
18423 * hurd/intern-fd.c: Likewise.
18424 * hurd/port2fd.c: Likewise.
18425
bcfe3a54
ST
184262012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
18427
18428 [BZ #3906]
18429 * bits/in.h (IPV6_PKTINFO): Define new macro.
18430 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
18431
89c9aa49
AZ
184322012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
18433
18434 [BZ #13954]
18435 [BZ #13955]
18436 [BZ #13956]
18437 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
18438 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18439 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
18440 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
18441 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18442 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
18443 * math/libm-test.inc (logb_test) : Additional logb tests.
18444
021db4be
AJ
184452012-05-09 Andreas Schwab <schwab@linux-m68k.org>
18446 Andreas Jaeger <aj@suse.de>
18447
18448 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
18449 * configure: Regenerated.
18450 * config.h.in (LINK_OBSOLETE_RPC): New macro.
18451 * config.make.in (link-obsolete-rpc): New substituted variable.
18452 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
18453 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
18454 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18455 (shared-only-routines): Don't set it under [link-obsolete-rpc],
18456 so that libc.a contains the symbols.
18457 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
18458 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
18459 * sunrpc/auth_none.c: Likewise.
18460 * sunrpc/auth_unix.c: Likewise.
18461 * sunrpc/authdes_prot.c: Likewise.
18462 * sunrpc/authuxprot.c: Likewise.
18463 * sunrpc/clnt_gen.c: Likewise.
18464 * sunrpc/clnt_perr.c: Likewise.
18465 * sunrpc/clnt_raw.c: Likewise.
18466 * sunrpc/clnt_simp.c: Likewise.
18467 * sunrpc/clnt_tcp.c: Likewise.
18468 * sunrpc/clnt_udp.c: Likewise.
18469 * sunrpc/clnt_unix.c: Likewise.
18470 * sunrpc/des_crypt.c: Likewise.
18471 * sunrpc/des_soft.c: Likewise.
18472 * sunrpc/get_myaddr.c: Likewise.
18473 * sunrpc/key_call.c: Likewise.
18474 * sunrpc/key_prot.c: Likewise.
18475 * sunrpc/netname.c: Likewise.
18476 * sunrpc/pm_getmaps.c: Likewise.
18477 * sunrpc/pm_getport.c: Likewise.
18478 * sunrpc/pmap_clnt.c: Likewise.
18479 * sunrpc/pmap_prot.c: Likewise.
18480 * sunrpc/pmap_prot2.c: Likewise.
18481 * sunrpc/pmap_rmt.c: Likewise.
18482 * sunrpc/publickey.c: Likewise.
18483 * sunrpc/rpc_cmsg.c: Likewise.
18484 * sunrpc/rpc_common.c: Likewise.
18485 * sunrpc/rpc_dtable.c: Likewise.
18486 * sunrpc/rpc_prot.c: Likewise.
18487 * sunrpc/rpc_thread.c: Likewise.
18488 * sunrpc/rtime.c: Likewise.
18489 * sunrpc/svc.c: Likewise.
18490 * sunrpc/svc_auth.c: Likewise.
18491 * sunrpc/svc_raw.c: Likewise.
18492 * sunrpc/svc_run.c: Likewise.
18493 * sunrpc/svc_tcp.c: Likewise.
18494 * sunrpc/svc_udp.c: Likewise.
18495 * sunrpc/svc_unix.c: Likewise.
18496 * sunrpc/svcauth_des.c: Likewise.
18497 * sunrpc/xcrypt.c: Likewise.
18498 * sunrpc/xdr.c: Likewise.
18499 * sunrpc/xdr_array.c: Likewise.
18500 * sunrpc/xdr_float.c: Likewise.
18501 * sunrpc/xdr_intXX_t.c: Likewise.
18502 * sunrpc/xdr_mem.c: Likewise.
18503 * sunrpc/xdr_rec.c: Likewise.
18504 * sunrpc/xdr_ref.c: Likewise.
18505 * sunrpc/xdr_sizeof.c: Likewise.
18506 * sunrpc/xdr_stdio.c: Likewise.
18507
b5c086a2
RM
185082012-05-10 Roland McGrath <roland@hack.frob.com>
18509
18510 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
18511 change. Update copyright years.
18512
6d74dd09
JM
185132012-05-10 Joseph Myers <joseph@codesourcery.com>
18514
18515 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
18516
28e72501
MK
185172012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
18518 Joseph Myers <joseph@codesourcery.com>
18519 Paul Pluzhnikov <ppluzhnikov@google.com>
18520
18521 [BZ #14012]
18522 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
18523 requiring rpcgen.
18524 [cross-compiling] (extra-libs): Likewise.
18525 [cross-compiling] (extra-libs-others): Likewise.
18526 [cross-compiling] (librpcsvc-routines): Likewise.
18527 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
18528 [cross-compiling] (omit-deps): Likewise.
18529 (sunrpc-CPPFLAGS): New variable.
18530 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
18531 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
18532 (cross-rpcgen-objs): New variable.
18533 (extra-objs): Append $(cross-rpcgen-objs).
18534 ($(cross-rpcgen-objs)): New rule.
18535 ($(objpfx)cross-rpcgen): Likewise.
18536 (rpcgen-cmd): Define to use $(built-program-file). Expand
18537 comment.
18538 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
18539 ($(objpfx)x%.stmp): Likewise.
18540 * sunrpc/proto.h [IS_IN_build] (_): Define.
18541 [IS_IN_build] (_libc_intl_domainname): Likewise.
18542
c8c59454
L
185432012-05-10 H.J. Lu <hongjiu.lu@intel.com>
18544
18545 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
18546 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
18547 and R_X86_64_TPOFF64.
18548
6f27cd16
JM
185492012-05-10 Joseph Myers <joseph@codesourcery.com>
18550
18551 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
18552 sysdeps/unix/sysv/syscalls.list.
18553 (stime): Likewise.
18554 (utime): Likewise.
18555 * sysdeps/unix/sysv/syscalls.list: Remove file.
18556
02467e1c
PE
185572012-05-10 Paul Eggert <eggert@cs.ucla.edu>
18558
18559 [BZ #3440]
18560 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
18561 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
18562 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
18563 (__LC_IDENTIFICATION): Make these macros useful in #if
18564 expressions, as required by C99.
18565
da392631
AS
185662012-05-10 Andreas Schwab <schwab@linux-m68k.org>
18567
18568 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
18569 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
18570 after this.
18571
8115f29b
L
185722012-05-09 H.J. Lu <hongjiu.lu@intel.com>
18573
18574 * stdlib/longlong.h: Updated from GCC.
18575
bdd74070
AJ
185762012-05-09 Andreas Jaeger <aj@suse.de>
18577
edfe0dbe
AJ
18578 * nscd/nscd.c (run_modes): Make named enum, reorder so that
18579 default is first entry.
18580 (run_mode): Set type.
18581 (main): Remove informal message about syslog.
18582 (options): Fix typo.
18583
bcfe3a54
ST
18584 [BZ #14053]
18585 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
bdd74070 18586 to asm.
bcfe3a54
ST
18587 (lrint): Likewise.
18588 (llrintf): Likewise.
18589 (llrint): Likewise.
18590 (rint): Likewise.
18591 (rintf): Likewise.
18592 (nearbyint): Likewise.
18593 (nearbyintf): Likewise.
bdd74070 18594
91d8d69e
AJ
185952012-05-09 Andreas Jaeger <aj@suse.de>
18596 Pedro Alves <palves@redhat.com>
18597
18598 * nscd/nscd.c (run_mode): Use enum.
18599 (main): Cleanup coding style issue.
18600
bb90b80b
AJ
186012012-05-09 Alexandre Oliva <aoliva@redhat.com>
18602 Andreas Jaeger <aj@suse.de>
18603
bcfe3a54
ST
18604 * nscd/nscd.c (go_background): Replaced with...
18605 (run_mode): ... this.
bb90b80b 18606 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
bcfe3a54
ST
18607 (options): Add -F --foreground.
18608 (main): Implement it.
18609 (parse_opt): Parse it.
bb90b80b 18610
1a4b75a1
AJ
186112012-05-09 Andreas Jaeger <aj@suse.de>
18612
18613 [BZ #14083]
18614 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
18615 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
18616 -Wconversion warning.
18617 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
18618 Likewise.
18619
b1cc2472
JM
186202012-05-09 Joseph Myers <joseph@codesourcery.com>
18621
18622 * conform/data/locale.h-data (NULL): Use macro-constant. Require
18623 == 0.
18624 (LC_ALL): Use macro-int-constant.
18625 (LC_COLLATE): Likewise.
18626 (LC_CTYPE): Likewise.
18627 (LC_MESSAGES): Likewise.
18628 (LC_MONETARY): Likewise.
18629 (LC_NUMERIC): Likewise.
18630 (LC_TIME): Likewise.
18631 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
18632 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18633 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18634 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
18635 Specify type.
18636 [C99-based standards] (float_t): Expect type.
18637 [C99-based standards] (double_t): Expect type.
18638 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
18639 type.
18640 [C99-based standards] (HUGE_VALL): Likewise.
18641 [C99-based standards] (INFINITY): Likewise.
18642 [C99-based standards] (NAN): Likewise.
18643 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
18644 [C99-based standards] (FP_NAN): Likewise.
18645 [C99-based standards] (FP_NORMAL): Likewise.
18646 [C99-based standards] (FP_SUBNORMAL): Likewise.
18647 [C99-based standards] (FP_ZERO): Likewise.
18648 [C99-based standards] (FP_FAST_FMA): Use
18649 optional-macro-int-constant. Specify type. Require == 1.
18650 [C99-based standards] (FP_FAST_FMAF): Likewise.
18651 [C99-based standards] (FP_FAST_FMAL): Likewise.
18652 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
18653 [C99-based standards] (FP_ILOGBNAN): Likewise.
18654 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
18655 Specify type.
18656 [C99-based standards] (MATH_ERREXCEPT): Likewise.
18657 [C99-based standards] (math_errhandling): Specify type.
18658 [ISO99 || ISO11] (signgam): Do not allow.
18659 [non-C99-based standards] (copysignf): Do not allow.
18660 [non-C99-based standards] (exp2f): Likewise.
18661 [non-C99-based standards] (log2f): Likewise.
18662 [non-C99-based standards] (modff): Allow.
18663 [non-C99-based standards] (erff): Do not allow.
18664 [non-C99-based standards] (erfcf): Likewise.
18665 [non-C99-based standards] (gammaf): Likewise.
18666 [non-C99-based standards] (hypotf): Likewise.
18667 [non-C99-based standards] (j0f): Likewise.
18668 [non-C99-based standards] (j1f): Likewise.
18669 [non-C99-based standards] (jnf): Likewise.
18670 [non-C99-based standards] (lgammaf): Likewise.
18671 [non-C99-based standards] (tgammaf): Likewise.
18672 [non-C99-based standards] (y0f): Likewise.
18673 [non-C99-based standards] (y1f): Likewise.
18674 [non-C99-based standards] (ynf): Likewise.
18675 [non-C99-based standards] (isnanf): Likewise.
18676 [non-C99-based standards] (acoshf): Likewise.
18677 [non-C99-based standards] (asinhf): Likewise.
18678 [non-C99-based standards] (atanhf): Likewise.
18679 [non-C99-based standards] (cbrtf): Likewise.
18680 [non-C99-based standards] (expm1f): Likewise.
18681 [non-C99-based standards] (ilogbf): Likewise.
18682 [non-C99-based standards] (log1pf): Likewise.
18683 [non-C99-based standards] (logbf): Likewise.
18684 [non-C99-based standards] (nextafterf): Likewise.
18685 [non-C99-based standards] (remainderf): Likewise.
18686 [non-C99-based standards] (rintf): Likewise.
18687 [non-C99-based standards] (scalbf): Likewise.
18688 [non-C99-based standards] (copysignl): Likewise.
18689 [non-C99-based standards] (exp2l): Likewise.
18690 [non-C99-based standards] (log2l): Likewise.
18691 [non-C99-based standards] (modfl): Allow.
18692 [non-C99-based standards] (erfl): Do not allow.
18693 [non-C99-based standards] (erfcl): Likewise.
18694 [non-C99-based standards] (gammal): Likewise.
18695 [non-C99-based standards] (hypotl): Likewise.
18696 [non-C99-based standards] (j0l): Likewise.
18697 [non-C99-based standards] (j1l): Likewise.
18698 [non-C99-based standards] (jnl): Likewise.
18699 [non-C99-based standards] (lgammal): Likewise.
18700 [non-C99-based standards] (tgammal): Likewise.
18701 [non-C99-based standards] (y0l): Likewise.
18702 [non-C99-based standards] (y1l): Likewise.
18703 [non-C99-based standards] (ynl): Likewise.
18704 [non-C99-based standards] (isnanl): Likewise.
18705 [non-C99-based standards] (acoshl): Likewise.
18706 [non-C99-based standards] (asinhl): Likewise.
18707 [non-C99-based standards] (atanhl): Likewise.
18708 [non-C99-based standards] (cbrtl): Likewise.
18709 [non-C99-based standards] (expm1l): Likewise.
18710 [non-C99-based standards] (ilogbl): Likewise.
18711 [non-C99-based standards] (log1pl): Likewise.
18712 [non-C99-based standards] (logbl): Likewise.
18713 [non-C99-based standards] (nextafterl): Likewise.
18714 [non-C99-based standards] (remainderl): Likewise.
18715 [non-C99-based standards] (rintl): Likewise.
18716 [non-C99-based standards] (scalbl): Likewise.
18717 [ISO || ISO99 || ISO11] (*_t): Do not allow.
18718 [non-C99-based standards] (FP_*): Do not allow.
18719 [C99-based standards] (FP_*): Change to
18720 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
18721 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18722 allow.
18723 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
18724 (SIG_ERR): Likewise.
18725 [X/Open-based standards] (SIG_HOLD): Likewise.
18726 (SIG_IGN): Likewise.
18727 (SIGABRT): Use macro-int-constant. Specify type. Require
18728 positive value.
18729 (SIGFPE): Likewise.
18730 (SIGILL): Likewise.
18731 (SIGINT): Likewise.
18732 (SIGSEGV): Likewise.
18733 (SIGTER): Likewise.
18734 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
18735 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
18736 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
18737 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
18738 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
18739 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
18740 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
18741 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
18742 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
18743 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
18744 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
18745 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
18746 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
18747 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
18748 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
18749 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
18750 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
18751 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
18752 [X/Open-based standards] (SIGTRAP): Likewise.
18753 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
18754 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
18755 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
18756 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
18757 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
18758 allow.
18759
b9f1922d
IW
187602012-05-08 Ian Wienand <ianw@vmware.com>
18761
18762 [BZ #14080]
18763 * time/tzset.c (__tzset_parse_tz): Update default rules for
18764 daylight time changes in the Energy Policy Act of 2005.
18765
1db86e88
AJ
187662012-05-09 Andreas Jaeger <aj@suse.de>
18767
18768 [BZ #13983]
18769 * elf/ldconfig.c (parse_conf): Change string to make clear that
18770 ldconfig only issued a warning if ld.so.conf does not exist.
18771
dee4a4e3
DM
187722012-05-08 David S. Miller <davem@davemloft.net>
18773
ee0db190
DM
18774 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
18775 movxtod instead of popping the value on the stack.
18776
dee4a4e3
DM
18777 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18778
6a43ec98
CD
187792012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
18780
18781 * config.h.in: Add HAVE_ARM_PCS_VFP.
18782
05c2c961
RMG
187832012-05-08 Roland Mc Grath <roland@hack.frob.com>
18784
bcfe3a54
ST
18785 [BZ #13979]
18786 * include/features.h: Warn if user requests __FORTIFY_SOURCE
18787 checking but the checks are disabled for any reason.
05c2c961 18788
4b30f61a
L
187892012-05-08 H.J. Lu <hongjiu.lu@intel.com>
18790
18791 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
18792 and ELF64_R_TYPE with ELFW(R_TYPE).
18793
eee2bc67
JM
187942012-05-08 Joseph Myers <joseph@codesourcery.com>
18795
7ea5391a
JM
18796 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
18797 (ulimit): Likewise.
18798
eee2bc67
JM
18799 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
18800 (settimeofday): Likewise.
18801
abb66a67
MF
188022012-05-08 Mike Frysinger <vapier@gentoo.org>
18803
18804 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
18805 a struct th_u2 inside the union, and move tu_block/tu_code into
18806 a new th_u3 union of tu_block/tu_code inside of that. Move
18807 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
18808 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
18809 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
18810 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
18811 (th_stuff): Change to th_u1.tu_stuff.
18812 (th_data): Define.
18813 (th_msg): Change to th_u1.th_u2.tu_data.
18814
7f18b530
DM
188152012-05-07 David S. Miller <davem@davemloft.net>
18816
05760585
DM
18817 * sysdeps/sparc/fpu/libm-test-ulps: Update.
18818
7f18b530
DM
18819 [BZ #14074]
18820 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
18821 (SETUP_PIC_REG): Use it.
18822 (SETUP_PIC_REG_LEAF): Use it.
18823
495fd99f
JM
188242012-05-07 Joseph Myers <joseph@codesourcery.com>
18825
18826 [BZ #13885]
18827 [BZ #13923]
18828 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18829 USE_AS_EXPM1L.
18830 (EXPL_FINITE): Likewise.
18831 (FLDLOG): Likewise.
18832 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18833 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18834 e_expl.S.
18835 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18836 USE_AS_EXPM1L.
18837 (EXPL_FINITE): Likewise.
18838 (FLDLOG): Likewise.
18839 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
18840 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
18841 e_expl.S.
18842 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
18843 test of -max_value argument for long double.
18844 * sysdeps/i386/fpu/libm-test-ulps: Update.
18845 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18846
6693d694
DM
188472012-05-06 David S. Miller <davem@davemloft.net>
18848
18849 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
18850 quad soft-float symbols whose references which are compiler
18851 generated.
18852 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
18853
6c23e11c
JM
188542012-05-06 Joseph Myers <joseph@codesourcery.com>
18855
d8b82cad
JM
18856 [BZ #13884]
18857 [BZ #13914]
18858 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18859 USE_AS_EXP10L.
18860 (EXPL_FINITE): Likewise.
18861 (FLDLOG): Likewise.
18862 (c0): Likewise.
18863 (c1): Likewise.
18864 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
18865 Adjust comments for base varying.
18866 (__expl_finite): Change alias to EXPL_FINITE.
18867 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
18868 e_expl.S.
18869 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
18870 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
18871 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
18872 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
18873 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
18874 USE_AS_EXP10L.
18875 (EXPL_FINITE): Likewise.
18876 (FLDLOG): Likewise.
18877 (c0): Likewise.
18878 (c1): Likewise.
18879 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
18880 Adjust comments for base varying.
18881 (__expl_finite): Change alias to EXPL_FINITE.
18882 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
18883 tests for bugs.
18884 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18885
6c23e11c
JM
18886 [BZ #14064]
18887 * math/libm-test.inc (check_float_internal): Correct ulp
18888 calculation for subnormal expected results.
18889
29ba805c
AJ
188902012-05-06 Andreas Jaeger <aj@suse.de>
18891
18892 * Makeconfig (+math-flags): New, set to -frounding-math.
18893 (+cflags): Add +math-flags so that all of glibc gets compiled with
18894 it.
18895
18896 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
18897
7b17aeda
JM
188982012-05-05 Joseph Myers <joseph@codesourcery.com>
18899
5779f134
JM
18900 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
18901 Disable one test.
18902
41498f4d
JM
18903 [BZ #13787]
18904 [BZ #13922]
18905 [BZ #14036]
18906 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
18907 (__ieee754_expl): Allow for and saturate large arguments.
18908 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
18909 (u_threshold): Likewise.
18910 (__exp): Call __ieee754_exp before checking for overflow and
18911 underflow.
18912 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
18913 (u_threshold): Likewise.
18914 (__expf): Call __ieee754_expf before checking for overflow and
18915 underflow.
18916 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
18917 (u_threshold): Likewise.
18918 (__expl): Call __ieee754_expl before checking for overflow and
18919 underflow.
18920 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
18921 (__ieee754_expl): Allow for and saturate large arguments.
18922 * math/libm-test.inc (exp_test): Add another test. Do not allow
18923 missing overflow exception on overflow.
18924 (expm1_test): Do not allow missing overflow exception on overflow.
18925
6698b8bf
JM
18926 * sysdeps/i386/fpu/e_expl.c: Move to ...
18927 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
18928 rather than using inline asm.
18929 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
18930 * sysdeps/x86_64/fpu/e_expl.S: Copy from
18931 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
18932
7b17aeda
JM
18933 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
18934 (nice): Likewise.
18935 (poll): Likewise.
18936 (signal): Likewise.
18937 (time): Likewise.
18938 (times): Likewise.
18939
f7c85819
JM
189402012-05-04 Joseph Myers <joseph@codesourcery.com>
18941
18942 * sysdeps/unix/syscalls.list (adjtime): Add entry from
18943 sysdeps/unix/common/syscalls.list.
18944 (fchmod): Likewise.
18945 (fchown): Likewise.
18946 (ftruncate): Likewise.
18947 (getrusage): Likewise.
18948 (gettimeofday): Likewise.
18949 (setpgid): Likewise.
18950 (setregid): Likewise.
18951 (setreuid): Likewise.
18952 (sigaction): Likewise.
18953 (truncate): Likewise.
18954 (vhangup): Likewise.
18955 * sysdeps/unix/common/syscalls.list: Remove file.
18956 * sysdeps/unix/bsd/Implies: Don't include unix/common.
18957 * sysdeps/unix/sysv/linux/Implies: Likewise.
18958
336270d0
L
189592012-05-04 H.J. Lu <hongjiu.lu@intel.com>
18960
18961 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
18962 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
18963 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
18964 Moved to ...
18965 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
18966 Here.
18967 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
18968 to ...
18969 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
18970 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
18971 to ...
18972 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
18973 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
18974 to ...
18975 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
18976 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
18977 to ...
18978 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
18979 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
18980 to ...
18981 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
18982 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
18983 to ...
18984 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
18985 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
18986 to ...
18987 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
18988 Here.
18989 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
18990 to ...
18991 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
18992 Here.
18993 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
18994 to ...
18995 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
18996 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
18997 Moved to ...
18998 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
18999 Here.
19000 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
19001 to ...
19002 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
19003
d128e450
JM
190042012-05-04 Joseph Myers <joseph@codesourcery.com>
19005
fa8ee516
JM
19006 * sysdeps/unix/common/bits/dirent.h: Remove file.
19007 * sysdeps/unix/common/bits/fcntl.h: Likewise.
19008
d128e450
JM
19009 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
19010 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
19011 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
19012 * sysdeps/unix/bsd/isatty.c: Likewise.
19013 * sysdeps/unix/bsd/tcdrain.c: Likewise.
19014 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
19015 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
19016
ff8faaf0 190172012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31dc8730 19018
62881be4 19019 [BZ #13563]
31dc8730
AZ
19020 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
19021 long double comparison inaccuracies.
19022 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
19023 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19024
6fef930c
AS
190252012-05-04 Andreas Schwab <schwab@linux-m68k.org>
19026
19027 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
19028 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
19029
8f203e6c
JM
190302012-05-04 Joseph Myers <joseph@codesourcery.com>
19031
19032 [BZ #14049]
19033 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
19034 nonzero digits before rounding a hex value.
19035 * stdlib/tst-strtod.c (tests): Add another test.
19036
5197d9c2
AK
190372012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
19038
19039 * sysdeps/s390/fpu/libm-test-ulps: Update.
19040
f0c1dedf
AJ
190412012-05-03 Andreas Jaeger <aj@suse.de>
19042
19043 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
19044 does not get optimized out.
19045 (malloc_opt_barrier): New.
19046
a65ef2ae 190472012-05-03 Andreas Jaeger <aj@suse.de>
461b8e5a 19048 Roland McGrath <roland@hack.frob.com>
a65ef2ae 19049
2b942cb7 19050 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
a65ef2ae 19051 intermediate file deletion.
2b942cb7 19052 (generated): Add .symlist files.
a65ef2ae 19053
54b71e02
JM
190542012-05-03 Joseph Myers <joseph@codesourcery.com>
19055
19056 [BZ #13775]
19057 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
19058 Redirect under this condition.
19059 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19060 [__USE_GNU] (__dprintf_chk): Not under this condition.
19061 [__USE_GNU] (__vdprintf_chk): Likewise.
19062 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
19063 under this condition.
19064 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
19065 [__USE_XOPEN2K8] (dprintf): Define under this condition.
19066 [__USE_XOPEN2K8] (vdprintf): Likewise.
19067 [__USE_GNU] (__dprintf_chk): Not under this condition.
19068 [__USE_GNU] (__vdprintf_chk): Likewise.
19069 [__USE_GNU] (dprintf): Likewise.
19070 [__USE_GNU] (vdprintf): Likewise.
19071
d3dfcc41
RM
190722012-05-03 Roland McGrath <roland@hack.frob.com>
19073
19074 * elf/Makefile (common-generated): Set this instead of generated for
19075 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
19076 $(all-built-dso)-derived lists.
19077
7ac30cc5
AJ
190782012-05-03 Andreas Jaeger <aj@suse.de>
19079
0c51e550
AJ
19080 * sysdeps/i386/fpu/libm-test-ulps: Update.
19081
7ac30cc5
AJ
19082 * FAQ: Removed.
19083 * FAQ.in: Likewise.
19084 * scripts/gen-FAQ.pl: Likewise.
19085 * manual/install.texi (Installation): Point to online location of
19086 FAQ.
19087 * Makefile (files-for-dist): Remove FAQ.
19088 (FAQ): Remove.
19089
d4c2917f
AM
190902012-05-02 Allan McRae <allan@archlinux.org>
19091
19092 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
19093 (LDFLAGS-reldepmod5.so): Likewise.
19094 (LDFLAGS-reldep6mod1.so): Likewise.
19095 (LDFLAGS-reldep6mod4.so): Likewise.
19096 (LDFLAGS-reldep8mod3.so): Likewise.
19097 (LDFLAGS-unload4mod1.so): Likewise.
19098 (LDFLAGS-unload4mod2.so): Likewise.
19099 (LDFLAGS-tst-initorder): Likewise.
19100 (LDFLAGS-tst-initordera2.so): Likewise.
19101 (LDFLAGS-tst-initordera3.so): Likewise.
19102 (LDFLAGS-tst-initordera4.so): Likewise.
19103 (LDFLAGS-tst-initorderb2.so): Likewise.
19104 (LDFLAGS-noload): Likewise.
19105 (LDFLAGS-next): Likewise.
19106 (LDFLAGS-order2mod1.so): Likewise.
19107 (LDFLAGS-order2mod2.so): Likewise.
19108 (LDFLAGS-tst-initorder2): Likewise.
19109 (LDFLAGS-tst-initorder2a.so): Likewise.
19110 (LDFLAGS-tst-initorder2b.so): Likewise.
19111 (LDFLAGS-tst-initorder2c.so): Likewise.
19112 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
19113
d77f993f
DM
191142012-05-02 David S. Miller <davem@davemloft.net>
19115
19116 * sysdeps/sparc/fpu/libm-test-ulps: Update.
19117
171a70b4
PP
191182012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
19119
19120 [BZ #14055]
19121 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
19122
0be196ad
AJ
191232012-05-02 Andreas Jaeger <aj@suse.de>
19124
19125 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
19126 since we manipulate rounding mode.
19127 (CPPFLAGS-test-idouble.c): Likewise.
19128 (CPPFLAGS-test-ifloat.c): Likewise.
19129 (CFLAGS-test-ldouble.c): Likewise.
19130 (CFLAGS-test-double.c): Likewise.
19131 (CFLAGS-test-float.c): Likewise.
19132 (CFLAGS-test-misc.c): Likewise.
19133 (CFLAGS-test-test-fenv.c): Likewise.
19134
4f9d04aa
AZ
191352012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
19136
2b942cb7
RM
19137 [BZ #2550]
19138 [BZ #2570]
19139 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
19140 comparisons to determine direction to adjust input.
4f9d04aa 19141
82a79e7d
RM
191422012-05-01 Roland McGrath <roland@hack.frob.com>
19143
f5a01ca9
RM
19144 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
19145 output to the target.
19146
90fe4186
RM
19147 * scripts/localplt.awk: New file.
19148 * elf/Makefile ($(objpfx)check-localplt): Target removed.
19149 (check-localplt-CFLAGS): Variable removed.
19150 ($(all-built-dso:=.jmprel)): New static pattern rule.
19151 (generated): Add those targets.
19152 (localplt-built-dso): New variable.
19153 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
19154
19155 * elf/check-localplt.c: File removed.
19156
82397ed6
RM
19157 * scripts/check-execstack.awk: New file.
19158 * elf/Makefile ($(objpfx)check-execstack): Target removed.
19159 (check-execstack-CFLAGS): Variable removed.
19160 ($(objpfx)check-execstack.h): Target removed.
19161 ($(objpfx)execstack-default): New target.
19162 (generated): Add that instead of check-execstack.h.
19163 ($(all-built-dso:=.phdr)): New static pattern rule.
19164 (generated): Add those targets.
19165 * elf/check-execstack.c: File removed.
19166
82a79e7d
RM
19167 * scripts/check-textrel.awk: New file.
19168 * elf/Makefile ($(objpfx)check-textrel): Target removed.
19169 (check-textrel-CFLAGS): Variable removed.
19170 (all-built-dso): Use := to define.o
19171 ($(all-built-dso:=.dyn)): New static pattern rule.
19172 (generated): Add those targets.
19173 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
19174 * config.make.in (READELF): New substituted variable.
19175 * elf/check-textrel.c: File removed.
19176
62fde54f 191772012-05-01 Joseph Myers <joseph@codesourcery.com>
ee74b9cb 19178
615605c9
JM
19179 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
19180 allow.
19181 * conform/data/ctype.h-data [C99-based standards] (isblank):
19182 Expect function.
19183 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
19184 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
19185 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19186 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
19187 Specify type. Require positive value.
19188 (EILSEQ): Likewise.
19189 (ERANGE): Likewise.
19190 [ISO || POSIX] (EILSEQ): Do not expect.
19191 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
19192 Specify type. Require positive value.
19193 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
19194 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
19195 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
19196 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
19197 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
19198 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
19199 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
19200 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
19201 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
19202 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
19203 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
19204 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
19205 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
19206 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
19207 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
19208 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
19209 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
19210 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
19211 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
19212 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
19213 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
19214 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
19215 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
19216 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
19217 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
19218 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
19219 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
19220 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
19221 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
19222 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
19223 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
19224 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
19225 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
19226 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
19227 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
19228 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
19229 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
19230 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
19231 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
19232 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
19233 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
19234 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
19235 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
19236 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
19237 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
19238 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
19239 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
19240 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
19241 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
19242 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
19243 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
19244 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
19245 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
19246 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
19247 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
19248 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
19249 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
19250 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
19251 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
19252 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
19253 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
19254 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
19255 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
19256 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
19257 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
19258 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
19259 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
19260 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
19261 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
19262 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
19263 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
19264 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
19265 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
19266 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
19267 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
19268 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
19269 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
19270 Require >= 2.
19271 (FLT_ROUNDS): Expect as macro, not constant.
19272 (FLT_MANT_DIG): Use macro-int-constant.
19273 (DBL_MANT_DIG): Likewise.
19274 (LDBL_MANT_DIG): Likewise.
19275 (FLT_DIG): Likewise.
19276 (DBL_DIG): Likewise.
19277 (LDBL_DIG): Likewise.
19278 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
19279 (DBL_MIN_EXP): Likewise.
19280 (LDBL_MIN_EXP): Likewise.
19281 (FLT_MAX_EXP): Use macro-int-constant.
19282 (DBL_MAX_EXP): Likewise.
19283 (LDBL_MAX_EXP): Likewise.
19284 (FLT_MAX_10_EXP): Likewise.
19285 (DBL_MAX_10_EXP): Likewise.
19286 (LDBL_MAX_10_EXP): Likewise.
19287 (FLT_MAX): Use macro-constant.
19288 (DBL_MAX): Likewise.
19289 (LDBL_MAX): Likewise.
19290 (FLT_EPSILON): Use macro-constant. Give upper bound.
19291 (DBL_EPSILON): Likewise.
19292 (LDBL_EPSILON): Likewise.
19293 (FLT_MIN): Likewise.
19294 (DBL_MIN): Likewise.
19295 (LDBL_MIN): Likewise.
19296 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
19297 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
19298 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
19299 [ISO11] (FLT_HAS_SUBNORM): Likewise.
19300 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
19301 [ISO11] (DBL_DECIMAL_DIG): Likewise.
19302 [ISO11] (FLT_DECIMAL_DIG): Likewise.
19303 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
19304 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
19305 [ISO11] (FLT_TRUE_MIN): Likewise.
19306 [ISO11] (LDBL_TRUE_MIN): Likewise.
19307 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19308 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
19309 (SCHAR_MIN): Use macro-int-constant. Specify type.
19310 (SCHAR_MAX): Likewise.
19311 (UCHAR_MAX): Likewise.
19312 (CHAR_MIN): Likewise.
19313 (CHAR_MAX): Likewise.
19314 (MB_LEN_MAX): Use macro-int-constant.
19315 (SHRT_MIN): Use macro-int-constant. Specify type.
19316 (SHRT_MAX): Likewise.
19317 (USHRT_MAX): Likewise.
19318 (INT_MAX): Likewise.
19319 (INT_MIN): Use macro-int-constant. Specify type. Make upper
19320 bound negative.
19321 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
19322 bound with "U".
19323 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
19324 bound with "L".
19325 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
19326 bound negative. Suffix upper bound with "L".
19327 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
19328 bound with "UL".
19329 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
19330 Specify type.
19331 [C99-based standards] (LLONG_MAX): Likewise.
19332 [C99-based standards] (ULLONG_MAX): Likewise.
19333 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
19334 == 0.
19335 [ISO11] (max_align_t): Require type.
19336 [ISO || ISO99 || ISO11] (*_t): Do not allow.
19337
c9140a62
JM
19338 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
19339 from $CFLAGS, without defining away __attribute__ calls.
19340 (checknamespace): Use $CFLAGS_namespace.
19341
9af0bf29
JM
19342 * conform/conformtest.pl (@keywords): Only include C99 keywords
19343 for standards based on C99 or C11.
19344
343222a2
JM
19345 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
19346 Disable tests.
19347 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
19348 UNIX98]: Likewise.
19349
661f8cf0
JM
19350 * conform/conformtest.pl: Handle "macro-int-constant" and test for
19351 usability of symbols in #if.
19352
ee74b9cb
JM
19353 * conform/conformtest.pl: If macro or constant types start
19354 "promoted:", expect the symbol to be of the following type
19355 promoted by the integer promotions.
62fde54f 19356
aafc49b3
JM
19357 * conform/conformtest.pl: Parse all "constant" and "macro" lines
19358 in one place. Also handle "macro-constant".
19359
fefdf574
JM
19360 * conform/conformtest.pl: Only accept expected macro values with
19361 "==". Parse all "macro" lines in one place.
19362 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
19363
f2d922fe
JM
19364 * conform/conformtest.pl: Handle braced types on "constant" lines
19365 instead of handling "typed-constant".
19366 * conform/data/signal.h-data: Use "constant" instead of
19367 "typed-constant".
19368
d22956c9
JM
19369 * conform/conformtest.pl: Handle "optional-" at start of lines in
19370 one place rather than duplicating several cases. Handle each
19371 format of "macro" line with initial "optional-".
19372
028e2e38
JM
19373 * conform/conformtest.pl: Only accept expected constant or
19374 optional-constant values with "==". Parse all "constant" lines in
19375 one place. Parse all "optional-constant" lines in one place.
19376 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
19377 * conform/data/fmtmsg.h-data: Likewise.
19378 * conform/data/netinet/in.h-data: Likewise.
19379 * conform/data/tar.h-data: Likewise.
19380 * conform/data/limits.h-data: Use "==" form on "constant" and
19381 "optional-constant" lines.
19382
1b8f2850
JM
19383 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
19384 Use -std=c99 for XOPEN2K.
19385 (@knownproblems): Remove.
19386 (newtoken): Don't check %isknown.
19387
a05a144b
JM
19388 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
19389 Do not expect macro.
19390 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
19391 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
19392 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
19393 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
19394 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
19395 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
19396 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
19397 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
19398 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
19399 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
19400 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
19401 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
19402 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
19403 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
19404 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
19405 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
19406 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
19407 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
19408 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
19409 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
19410 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
19411 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
19412 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
19413 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
19414 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
19415 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
19416 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
19417 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
19418 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
19419 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
19420 [XPG3] (acosh): Likewise.
19421 [XPG3] (asinh): Likewise.
19422 [XPG3] (atanh): Likewise.
19423 [XPG3] (cbrt): Likewise.
19424 [XPG3] (expm1): Likewise.
19425 [XPG3] (ilogb): Likewise.
19426 [XPG3] (log1p): Likewise.
19427 [XPG3] (logb): Likewise.
19428 [XPG3] (nextafter): Likewise.
19429 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
19430 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
19431 [XPG3] (remainder): Likewise.
19432 [XPG3] (rint): Likewise.
19433 [XPG3 || XPG4 || UNIX98] (round): Likewise.
19434 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
19435 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
19436 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
19437 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
19438 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
19439 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
19440 [UNIX98 || XOPEN2K] (scalb): Expect.
19441 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
19442 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
19443 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
19444 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
19445 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
19446 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
19447 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
19448 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
19449 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
19450 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
19451 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
19452 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
19453 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
19454 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
19455 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
19456 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
19457 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
19458 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
19459 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
19460 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
19461 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
19462 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
19463 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
19464 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
19465 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
19466 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
19467 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
19468 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
19469 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
19470 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
19471 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
19472 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
19473 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
19474 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
19475 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
19476 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
19477 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
19478 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
19479 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
19480 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
19481 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
19482 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
19483 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
19484 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
19485 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
19486 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
19487 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
19488 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
19489 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
19490 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
19491 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
19492 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
19493 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
19494 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
19495 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
19496 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
19497 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
19498 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
19499 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
19500 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
19501 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
19502 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
19503 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
19504 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
19505 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
19506 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
19507 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
19508 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
19509 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
19510 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
19511 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
19512 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
19513 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
19514 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
19515 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
19516 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
19517 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
19518 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
19519 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
19520 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
19521 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
19522 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
19523 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
19524 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
19525 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
19526 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
19527 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
19528 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
19529 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
19530 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
19531 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
19532 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
19533 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
19534 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
19535 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
19536 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
19537 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
19538 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
19539 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
19540 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
19541 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
19542 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
19543 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
19544 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
19545 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
19546 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
19547 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
19548 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
19549 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
19550 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
19551 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
19552 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
19553 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
19554 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
19555 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
19556 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
19557 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
19558 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
19559 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
19560 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
19561 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
19562 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
19563 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
19564 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
19565 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
19566 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
19567 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
19568 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
19569 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
19570 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
19571 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
19572 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
19573 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
19574 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
19575 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
19576 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
19577 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
19578
73c5ebe3
JM
19579 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
19580 _XOPEN_SOURCE_EXTENDED for XPG4.
19581
39c33b6c
JM
19582 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
19583
62fde54f
JM
19584 * Makeconfig (localtime): Remove variable.
19585 (inst_localtime-file): Likewise.
19586
0741d64c
AS
195872012-05-01 Andreas Schwab <schwab@linux-m68k.org>
19588
19589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
19590 Update.
19591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19592 Update.
19593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
19594 Update.
19595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
19596 Update.
19597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
19598 Update.
19599 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
19600 Update.
19601 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19602 Update.
19603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
19604 Update.
19605 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19606 Update.
19607
7cb029ee
JM
196082012-05-01 Joseph Myers <joseph@codesourcery.com>
19609
19610 [BZ #2550]
19611 [BZ #2570]
19612 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
19613 comparisons to determine direction to adjust input.
19614 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
19615 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
19616 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
19617 Likewise.
19618 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
19619 Likewise.
19620 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19621 Likewise.
19622 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
19623 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
19624 Likewise.
19625 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
19626 Likewise.
19627 * math/libm-test.inc (nexttoward_test): Add more tests.
19628
412bd966
AS
196292012-05-01 Andreas Schwab <schwab@linux-m68k.org>
19630
19631 [BZ #14040]
19632 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
19633 in version GLIBC_2.1, not GLIBC_2.0.
19634 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
19635 Likewise.
19636
9568c0c2
JM
196372012-04-30 Joseph Myers <joseph@codesourcery.com>
19638
adfbc8ac
JM
19639 [BZ #13942]
19640 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
19641 (1 - x) * (1 + x).
19642 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19643 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
19644 * math/libm-test.inc (acos_test): Add more tests.
19645 (asin_test): Likewise.
19646 * sysdeps/i386/fpu/libm-test-ulps: Update.
19647 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19648
5ba3cc69
JM
19649 [BZ #14034]
19650 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
19651 of square root.
19652 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
19653 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
19654 * math/libm-test.inc (acos_test_tonearest): New function.
19655 (acos_test_towardzero): Likewise.
19656 (acos_test_downward): Likewise.
19657 (acos_test_upward): Likewise.
19658 (asin_test_tonearest): Likewise.
19659 (asin_test_towardzero): Likewise.
19660 (asin_test_downward): Likewise.
19661 (asin_test_upward): Likewise.
19662 (main): Call the new functions.
19663 * sysdeps/i386/fpu/libm-test-ulps: Update.
19664 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19665
9568c0c2
JM
19666 [BZ #13884]
19667 [BZ #13924]
19668 * math/e_exp10.c: Include <float.h>.
19669 (__ieee754_exp10): Handle underflow here rather than multiplying
19670 large negative argument by M_LN10.
19671 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
19672 of __ieee754_expf.
19673 * math/e_exp10l.c: Include <float.h>.
19674 (__ieee754_exp10l): Handle underflow here rather than multiplying
19675 large negative argument by M_LN10l.
19676 * math/libm-test.inc (exp10_test): Add another test. Do not allow
19677 spurious overflow exception on underflow.
19678
5ac3ea17
MP
196792012-04-29 Marek Polacek <polacek@redhat.com>
19680
19681 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
19682 (__fortify_function): New macro.
19683 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
19684 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
19685 __extern_always_inline.
19686 * libio/bits/stdio2.h: Likewise.
19687 * libio/bits/stdio.h: Likewise.
19688 * string/string.h: Likewise.
19689 * string/bits/string3.h: Likewise.
19690 * include/stdio.h: Likewise.
19691 * stdlib/bits/stdlib.h: Likewise.
19692 * stdlib/stdlib.h: Likewise.
19693 * rt/bits/mqueue2.h: Likewise.
19694 * rt/mqueue.h: Likewise.
19695 * posix/bits/unistd.h: Likewise.
19696 * posix/unistd.h: Likewise.
19697 * io/bits/poll2.h: Likewise.
19698 * io/bits/fcntl2.h: Likewise.
19699 * io/fcntl.h: Likewise.
19700 * io/sys/poll.h: Likewise.
19701 * misc/bits/syslog.h: Likewise.
19702 * misc/bits/syslog-ldbl.h: Likewise.
19703 * misc/sys/syslog.h: Likewise.
19704 * socket/bits/socket2.h: Likewise.
19705 * socket/sys/socket.h: Likewise.
19706 * debug/tst-chk1.c: Likewise.
19707 * wcsmbs/bits/wchar2.h: Likewise.
19708 * wcsmbs/bits/wchar-ldbl.h: Likewise.
19709 * wcsmbs/wchar.h: Likewise.
19710
ecf0ebfb
AJ
197112012-04-29 Andreas Jaeger <aj@suse.de>
19712
19713 * Makerules (tests): Remove enable-check-abi protection.
19714 (check-abi-warn): Remove.
19715 (check-abi-%): Remove check-abi-warn usage.
19716
19717 * configure.in: Remove check-abi configure option.
19718 * configure: Regenerated.
19719 * config.make.in (enable-check-abi): Remove.
19720
6d5c57fa
AS
197212012-04-28 Andreas Schwab <schwab@linux-m68k.org>
19722
24c5d07e 19723 [BZ #14033]
ded5180a
AS
19724 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
19725 double functions to double *_finite functions.
19726
7e0d315d
AS
19727 [BZ #13941]
19728 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
19729 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
19730 LDBL_MIN_EXP.
19731 * stdio-common/Makefile (tests): Add tst-sprintf3.
19732 * stdio-common/tst-sprintf3.c: New file.
19733
6d5c57fa
AS
19734 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
19735 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
19736
0749ff8b
JM
197372012-04-28 Joseph Myers <joseph@codesourcery.com>
19738
19739 * conform/conformtest.pl: Remove duplicate typed-constant
19740 handling.
19741
8dbd5d7b
DM
197422012-04-28 David S. Miller <davem@davemloft.net>
19743
19744 * Makerules (%.abilist): Add vpath on sysdep_dirs.
19745 (check-abi-%): Remove AWK script prerequisite and explicit
19746 abilist directory.
19747 (check-abi): Rewrite to just diff the symlist with the abilist.
19748 (config-tls, config-abi-config): Delete, no longer used.
19749 (update-abi-%): Remove AWK script and explicit abilist directory.
19750 (update-abi): Rewrite to simply compare and conditionally copy the
19751 symlist and the sysdep abilist file. Remove update-abi-config
19752 checks.
19753 * abilist/ld.abilist: Remove.
19754 * abilist/libBrokenLocale.abilist: Remove.
19755 * abilist/libanl.abilist: Remove.
19756 * abilist/libcrypt.abilist: Remove.
19757 * abilist/libdl.abilist: Remove.
19758 * abilist/librt.abilist: Remove.
19759 * abilist/libthread_db.abilist: Remove.
19760 * abilist/libutil.abilist: Remove.
19761 * scripts/extract-abilist.awk: Remove.
19762 * scripts/merge-abilist.awk: Remove.
19763 * sysdeps/generic/libcidn.abilist: New file.
19764 * sysdeps/generic/libnss_compat.abilist: New file.
19765 * sysdeps/generic/libnss_db.abilist: New file.
19766 * sysdeps/generic/libnss_dns.abilist: New file.
19767 * sysdeps/generic/libnss_files.abilist: New file.
19768 * sysdeps/generic/libnss_hesiod.abilist: New file.
19769 * sysdeps/generic/libnss_nis.abilist: New file.
19770 * sysdeps/generic/libnss_nisplus.abilist: New file.
19771 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
19772 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
19773 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
19774 file.
19775 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
19776 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
19777 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
19778 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
19779 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
19780 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
19781 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
19782 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
19783 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
19784 file.
19785 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
19786 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
19787 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
19788 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
19789 file.
19790 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
19791 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
19792 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
19793 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
19794 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
19795 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
19796 file.
19797 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
19798 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
19799 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
19800 file.
19801 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
19802 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
19803 New file.
19804 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
19805 New file.
19806 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
19807 New file.
19808 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
19809 New file.
19810 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
19811 New file.
19812 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
19813 New file.
19814 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
19815 New file.
19816 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
19817 New file.
19818 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
19819 New file.
19820 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
19821 New file.
19822 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
19823 New file.
19824 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
19825 New file.
19826 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
19827 New file.
19828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
19829 file.
19830 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
19831 New file.
19832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
19833 New file.
19834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
19835 file.
19836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
19837 New file.
19838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
19839 New file.
19840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
19841 file.
19842 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
19843 New file.
19844 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
19845 New file.
19846 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
19847 New file.
19848 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
19849 New file.
19850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
19851 New file.
19852 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
19853 New file.
19854 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
19855 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
19856 file.
19857 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
19858 New file.
19859 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
19860 file.
19861 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
19862 file.
19863 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
19864 file.
19865 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
19866 file.
19867 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
19868 file.
19869 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19870 New file.
19871 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
19872 file.
19873 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
19874 file.
19875 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
19876 New file.
19877 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
19878 file.
19879 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
19880 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
19881 file.
19882 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
19883 New file.
19884 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
19885 file.
19886 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
19887 file.
19888 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
19889 file.
19890 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
19891 file.
19892 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
19893 file.
19894 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19895 New file.
19896 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
19897 file.
19898 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
19899 file.
19900 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
19901 New file.
19902 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
19903 file.
19904 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
19905 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
19906 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
19907 file.
19908 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
19909 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
19910 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
19911 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
19912 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
19913 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
19914 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
19915 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
19916 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
19917 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
19918 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
19919 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
19920 file.
19921 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
19922 New file.
19923 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
19924 file.
19925 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
19926 file.
19927 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
19928 file.
19929 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
19930 file.
19931 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
19932 file.
19933 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
19934 New file.
19935 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
19936 New file.
19937 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
19938 file.
19939 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
19940 New file.
19941 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
19942 file.
19943 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
19944 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
19945 file.
19946 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
19947 New file.
19948 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
19949 file.
19950 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
19951 file.
19952 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
19953 file.
19954 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
19955 file.
19956 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
19957 file.
19958 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
19959 New file.
19960 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
19961 New file.
19962 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
19963 file.
19964 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
19965 New file.
19966 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
19967 file.
19968
41d73a1b
JM
199692012-04-28 Joseph Myers <joseph@codesourcery.com>
19970
19971 * conform/conformtest.pl: Fix typo in handling typed-constant from
19972 allow-header.
19973
28aeeda4
JM
199742012-04-27 Joseph Myers <joseph@codesourcery.com>
19975
adae8f5e
JM
19976 * README: Cut down references to pre-2.6 Linux kernels and
19977 Linuxthreads. Update lists of configurations in libc and ports
19978 and sort alphabetically. Say "or newer" with Linux kernel version
19979 requirements.
19980
28aeeda4
JM
19981 * config.h.in [IS_IN_build]: Allow compiling without optimization.
19982
a462cb63
RA
199832012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
19984
19985 [BZ #887]
19986 * math/libm-test.inc (logb_test_downward): New test to expose
19987 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
19988 rounding mode.
19989
6ad3493e
JM
199902012-04-27 Joseph Myers <joseph@codesourcery.com>
19991
19992 [BZ #14027]
19993 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
19994 to be done.
19995 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
19996 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
19997
2ce4f015
JM
199982012-04-26 Joseph Myers <joseph@codesourcery.com>
19999
5aeb141a
JM
20000 * sysdeps/unix/i386/brk.S: Remove file.
20001 * sysdeps/unix/i386/dl-brk.S: Likewise.
20002 * sysdeps/unix/i386/pipe.S: Likewise.
20003 * sysdeps/unix/i386/sigreturn.S: Likewise.
20004 * sysdeps/unix/i386/syscall.S: Likewise.
20005 * sysdeps/unix/i386/vfork.S: Likewise.
20006 * sysdeps/unix/i386/wait.S: Likewise.
20007
7143acae
JM
20008 * sysdeps/unix/common/tcsendbrk.c: Move to ...
20009 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
20010
2ce4f015
JM
20011 * configure.in (arm*-none*): Do not allow without
20012 --enable-hacker-mode.
20013 (netbsd*): Remove case setting base_os.
20014 (386bsd*): Likewise.
20015 (freebsd*): Likewise.
20016 (bsdi*): Likewise.
20017 (osf*): Likewise.
20018 (sunos*): Likewise.
20019 (ultrix*): Likewise.
20020 (newsos*): Likewise.
20021 (dynix*): Likewise.
20022 (*bsd*): Likewise.
20023 (sysv*): Likewise.
20024 (isc*): Likewise.
20025 (esix*): Likewise.
20026 (sco*): Likewise.
20027 (minix*): Likewise.
20028 (irix4*): Likewise.
20029 (irix6*): Likewise.
20030 (solaris[2-9]*): Likewise.
20031 (none): Likewise.
20032 * configure: Regenerated.
20033
0ac229c8
AZ
200342012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20035
20036 [BZ #11521]
20037 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
20038 overflow or cancellation in calculating denominator.
20039 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
20040 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
20041 down expression to avoid unexpected rounding in newer GCCs.
20042 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
20043
33f244f4
DM
200442012-04-26 David S. Miller <davem@davemloft.net>
20045
20046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
20047 long-double compat symbols.
20048 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20049 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
20050 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
20051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
20052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
20053 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
20054 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
20055 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
20056 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
20057 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
20058 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
20059 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
20060 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
20061
cfa1f3e8
DM
200622012-04-25 David S. Miller <davem@davemloft.net>
20063
20064 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
20065 HWCAP_* values only after the memory barriers have been defined.
20066 (atomic_full_barrier): Define.
20067 (atomic_read_barrier): Define.
20068 (atomic_write_barrier): Define.
20069
6e236b92
SP
200702012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
20071
20072 * shlib-versions: Add libgcc_s version information.
20073 * sysdeps/generic/libgcc_s.h: Remove.
20074 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
20075 libgcc_s.h.
20076 * sysdeps/gnu/unwind-resume.c: Likewise.
20077 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
20078
aab39a09
DM
200792012-04-25 David S. Miller <davem@davemloft.net>
20080
20081 * sysdeps/unix/sparc/brk.S: Delete.
20082 * sysdeps/unix/sparc/dl-brk.S: Delete.
20083 * sysdeps/unix/sparc/pipe.S: Delete.
20084 * sysdeps/unix/sparc/sysdep.S: Delete.
20085 * sysdeps/unix/sparc/sysdep.h: Delete.
20086 * sysdeps/unix/sparc/vfork.S: Delete.
20087 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
20088 SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
20089 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
20090 ret_ERRVAL, r0, r1, MOVE): Define.
20091 (JUMPTARGET): Remove.
20092 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
20093 sysdeps/unix/sparc/sysdep.h
20094 (ENTRY, END): Remove.
20095 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
20096
a3cc4f48
JM
200972012-04-25 Joseph Myers <joseph@codesourcery.com>
20098
2ed8cda2
JM
20099 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
20100 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
20101 -DIS_IN_build.
20102
35d76d59
JM
20103 * timezone/README: Update upstream location and email address for
20104 tzcode and tzdata.
20105 * timezone/zdump.c: Update from tzcode 2012b.
20106 * timezone/zic.c: Likewise.
20107
a3cc4f48
JM
20108 * configure.in (libc_cv_as_needed): Remove test.
20109 * configure: Regenerated.
20110 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
20111 conditional definition.
20112 [$(have-as-needed) != yes] (no-as-needed): Likewise.
20113 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
20114 * config.make.in (have-as-needed): Remove variable.
20115
ceab42c3
SP
201162012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
20117 Paul Pluzhnikov <ppluzhnikov@google.com>
20118
20119 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
20120 strings correctly.
20121
3ce2865f
CLT
201222012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
20123
20124 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
20125 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
20126 * sysdeps/sh/strlen.S: Likewise.
20127
f37e0d68
JM
201282012-04-24 Joseph Myers <joseph@codesourcery.com>
20129
ae186e9a
JM
20130 * sysdeps/unix/fork.S: Remove file.
20131 * sysdeps/unix/i386/fork.S: Likewise.
20132 * sysdeps/unix/sparc/fork.S: Likewise.
20133
b96914af
JM
20134 * sysdeps/unix/system.c: Remove file.
20135 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
20136
f37e0d68
JM
20137 * sysdeps/unix/getegid.S: Remove file.
20138 * sysdeps/unix/geteuid.S: Likewise.
20139
87ef29ca
RM
201402012-04-24 Roland McGrath <roland@hack.frob.com>
20141
83bcd236
RM
20142 * scripts/check-localplt.awk: New file.
20143 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
20144 of diff.
20145 * scripts/data/localplt-generic.data: Add a comment.
20146
87ef29ca
RM
20147 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
20148 NODE when __dir_mkfile failed.
20149 * sysdeps/mach/hurd/symlinkat.c: Likewise.
20150 Reported by Ludovic Courtès <ludo@gnu.org>.
20151
e5a6e567
AJ
201522012-04-24 Andreas Jaeger <aj@suse.de>
20153
20154 * Makerules (common-clean): Also remove gen-as-const-headers
20155 files.
20156
c1820385
JM
201572012-04-24 Joseph Myers <joseph@codesourcery.com>
20158
20159 * Makerules (native-compile): Do not change working directory for
20160 build. Use $(OUTPUT_OPTION) in command.
20161 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
20162
94e02fc4
AZ
201632012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20164
20165 [BZ #13886]
20166 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
20167 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
20168 * math/libm-test.inc (floor_test): Add more tests.
20169 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
20170
3a533ca3
JM
201712012-04-24 Joseph Myers <joseph@codesourcery.com>
20172
940ab4b3
JM
20173 * sysdeps/unix/getdents.c: Remove file.
20174 * sysdeps/unix/sysv/getdents.c: Likewise.
20175 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
20176
90e037bd
JM
20177 * sysdeps/unix/syscalls.list (madvise): Add syscall from
20178 sysdeps/unix/mman/syscalls.list.
20179 (mmap): Likewise.
20180 (mprotect): Likewise.
20181 (msync): Likewise.
20182 (munmap): Likewise.
20183 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
20184 * sysdeps/unix/mman/syscalls.list: Remove.
20185 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
20186
3a533ca3
JM
20187 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
20188 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
20189 * configure: Regenerated.
20190 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
20191 $(libgcc_s_suffix).
20192 * config.make.in (libgcc_s_suffix): Remove variable.
20193
1ad743de
JM
201942012-04-23 Joseph Myers <joseph@codesourcery.com>
20195
4ad451e2
JM
20196 * sysdeps/unix/sysv/gethostname.c: Move to ...
20197 * sysdeps/posix/gethostname.c: ... here.
20198
5e37ce39
JM
20199 * sysdeps/unix/execve.S: Remove file.
20200
1ad743de
JM
20201 * sysdeps/unix/_exit.S: Remove file.
20202
4e681b5b
AJ
202032012-04-23 Andreas Jaeger <aj@suse.de>
20204
20205 [BZ #13739]
20206 * manual/Makefile: Remove make dist support, there's no
20207 need for a stand-alone documentation tar ball.
20208 (TEXI2DVI): Define always, it's not in Makeconfig.
20209 (dist): Removed.
20210 (tar-it): Removed.
20211 (edition): Removed.
20212 (glibc-doc-$(edition).tar): Removed
20213 (%.Z): Removed.
20214 (%.gz): Removed.
20215 (%.uu): Removed.
20216 (ETAGS): Remove, it's in Makeconfig.
20217 (move-if-change): Remove, it's in Makeconfig.
20218
38686a03 202192012-04-23 Paul Eggert <eggert@cs.ucla.edu>
c0baea34
PE
20220
20221 [BZ #13970]
20222 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
20223 (strtod, strtof, strtold, strtol, strtoul, strtoq)
20224 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
20225 (strtod_l, strtof_l, strtold_l): Remove __wur.
20226 It is not necessarily an error to ignore strtol's return value.
20227 One can reliably look at the stored endptr to decide whether
20228 the number had valid syntax.
20229
7c0616fa
AJ
202302012-04-21 Andreas Jaeger <aj@suse.de>
20231
803cb6b7 20232 [BZ #13739]
7c0616fa
AJ
20233 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
20234
b0fe253f
JM
202352012-04-21 Joseph Myers <joseph@codesourcery.com>
20236
20237 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
20238 * sysdeps/unix/sysv/Versions: Remove file.
20239
8280f22d
MT
202402012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
20241
20242 [BZ #13927]
20243 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20244
75ce411f 202452012-04-21 Nick Alcock <nick.alcock@oracle.com>
b8e33728
N
20246
20247 [BZ #7064]
20248 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
20249 version from __vm86.
20250
097d59fa
JM
202512012-04-20 Joseph Myers <joseph@codesourcery.com>
20252
a90f3bcb
JM
20253 * sysdeps/unix/common/lxstat.c: Remove file.
20254 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
20255
edc7ea78
JM
20256 * sysdeps/unix/sysv/Makefile: Remove file.
20257
cb78c221
JM
20258 * sysdeps/unix/sysv/direct.h: Remove file.
20259
efa6a45f
JM
20260 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
20261 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
20262 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
20263 * sysdeps/unix/sysv/bits/signum.h: Likewise.
20264 * sysdeps/unix/sysv/bits/stat.h: Likewise.
20265 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
20266 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
20267
9c9f2d0c
JM
20268 * sysdeps/unix/sysv/setrlimit.c: Remove file.
20269
4541c83b
JM
20270 * sysdeps/unix/xmknod.c: Remove file.
20271 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
20272
f5d153a0
JM
20273 * sysdeps/unix/sysv/settimeofday.c: Remove file.
20274
aa746595
JM
20275 * sysdeps/unix/sysv/i386/time.S: Remove file.
20276
cce5905e
JM
20277 * sysdeps/unix/fxstat.c: Remove file.
20278 * sysdeps/unix/xstat.c: Likewise.
20279 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
20280
37fa3841
JM
20281 * sysdeps/unix/sysv/sigaction.c: Remove file.
20282
ff1962a3
JM
20283 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
20284 (sysdep_headers): Remove variable.
20285 [termio.h not in sysdep_headers] (generated): Likewise.
20286 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
20287 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
20288 * sysdeps/unix/sysv/tcdrain.c: Likewise.
20289 * sysdeps/unix/sysv/tcflow.c: Likewise.
20290 * sysdeps/unix/sysv/tcflush.c: Likewise.
20291 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
20292 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
20293 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
20294 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
20295 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
20296
e7740d31
JM
20297 * sysdeps/unix/siglist.c: Remove file.
20298
ee06f18b
JM
20299 * sysdeps/unix/getppid.S: Remove file.
20300
097d59fa
JM
20301 * sysdeps/unix/mkdir.c: Remove file.
20302 * sysdeps/unix/rmdir.c: Likewise.
20303
ff3d51ec
AS
203042012-04-19 Andreas Schwab <schwab@linux-m68k.org>
20305
20306 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
20307 ERR_MAX value.
20308 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
20309 errlist-compat value.
20310
50f81fd7
DM
203112012-04-18 David S. Miller <davem@davemloft.net>
20312
20313 * sysdeps/generic/memcopy.h (reg_char): Delete.
20314 * debug/strcat_chk.c: Use char, not reg_char.
20315 * debug/strcpy_chk.c: Likewise.
20316 * debug/strncat_chk.c: Likewise.
20317 * debug/strncpy_chk.c: Likewise.
20318 * string/memchr.c: Likewise.
20319 * string/memrchr.c: Likewise.
20320 * string/rawmemchr.c: Likewise.
20321 * string/strcat.c: Likewise.
20322 * string/strchr.c: Likewise.
20323 * string/strchrnul.c: Likewise.
20324 * string/strcmp.c: Likewise.
20325 * string/strcpy.c: Likewise.
20326 * string/strncat.c: Likewise.
20327 * string/strncmp.c: Likewise.
20328 * string/strncpy.c: Likewise.
20329
8ff41c46
WS
203302012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20331
20332 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
20333 __builtin_memcopy is called when src and dest ranges are known to not
20334 overlap.
20335
6b652f46
WS
203362012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20337
20338 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
20339 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
20340 fwd_align_merge macro call.
20341 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
20342 bwd_align_merge macro call.
20343 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20344
b282631e
WS
203452012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
20346
20347 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
20348 bwd_align_merge macros.
20349 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
20350 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
20351 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
20352
95aa737c
DM
203532012-04-18 David S. Miller <davem@davemloft.net>
20354
20355 * sysdeps/sparc/sparc64/memcopy.h: Delete.
20356
7a99a614
AJ
203572012-04-18 Andreas Jaeger <aj@suse.de>
20358
20359 [BZ# 6794]
20360 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
20361 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
20362 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20363
20364 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
20365 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
20366 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20367
20368 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
20369 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
20370 Adjust for changed ldbl-128 files.
20371
20372 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
20373 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
20374 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
20375
e5270c23
DM
203762012-04-17 David S. Miller <davem@davemloft.net>
20377
20378 * sysdeps/sparc/sparc32/memcopy.h: Delete.
20379
fb5e92c9
AS
203802012-04-17 Andreas Schwab <schwab@linux-m68k.org>
20381
20382 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
20383 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
20384 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
20385 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
20386 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
20387 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
20388
76da7265
AZ
203892012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
20390
20391 [BZ #6794]
20392 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
20393 * math/libm-test.inc: Add ilogb errno and exception tests.
20394 * math/w_ilogb.c: New file: ilogb wrapper.
20395 * math/w_ilogbf.c: New file: ilogbf wrapper.
20396 * math/w_ilogbl.c: New file: ilogbl wrapper.
20397 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
20398 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
20399 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
20400 exception being thrown with 0.0 as argument.
20401 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
20402 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
20403 exception being thrown with 0.0 as argument.
20404 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
20405 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20406 exception being thrown with 0.0 as argument.
20407 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
20408 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
20409 exception being thrown with 0.0 as argument.
20410 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
20411 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
7a99a614 20412 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
76da7265
AZ
20413 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
20414 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
20415 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
20416 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
20417 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
20418 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
20419
0396e69d
PB
204202012-04-17 Petr Baudis <pasky@ucw.cz>
20421
20422 * include/sys/uio.h: Change __vector to __iovec to avoid clash
20423 with altivec.
20424
750b5926
MP
204252012-04-16 Marek Polacek <polacek@redhat.com>
20426
20427 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
20428
751728a1
MP
204292012-04-16 Marek Polacek <polacek@redhat.com>
20430
20431 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
20432 operands of fdivp instruction.
20433
34a27407
L
204342012-04-13 H.J. Lu <hongjiu.lu@intel.com>
20435
20436 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
20437 * elf/tst-auditmod3b.c: Likewise.
20438 * elf/tst-auditmod4b.c: Likewise.
20439 * elf/tst-auditmod5b.c: Likewise.
20440 * elf/tst-auditmod6b.c: Likewise.
20441 * elf/tst-auditmod6c.c: Likewise.
20442 * elf/tst-auditmod7b.c: Likewise.
20443 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
20444 * sysdeps/x86_64/preconfigure.in: Likewise.
20445 * sysdeps/x86_64/preconfigure: Regenerated.
20446
7e73e17d
L
204472012-04-13 H.J. Lu <hongjiu.lu@intel.com>
20448
20449 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
20450 __ILP32__.
20451
c7a6ab72
AB
204522012-04-13 Antoine Balestrat <merkil33@gmail.com>
20453
20454 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
20455 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
20456
a9e8e0e0
CL
204572012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
20458
20459 [BZ #13973]
20460 * locale/iso-639.def: Fix gl language name. Spotted by
20461 Yaron Shahrabani.
20462
ec98af7d
RM
204632012-04-12 Roland McGrath <roland@hack.frob.com>
20464
20465 [BZ #2074]
20466 * libio/libio.h (__io_write_fn): Update comment.
20467
247c3ede
PB
204682012-04-12 Petr Baudis <pasky@ucw.cz>
20469
20470 [BZ #2074]
20471 * stdio.texi (Hook Functions): The user provided writer function
20472 is not allowed to return -1.
20473
55939d6d
DM
204742012-04-11 David S. Miller <davem@davemloft.net>
20475
20476 * sysdeps/sparc/fpu/libm-test-ulps: Update.
20477
90020f5a
MF
204782012-04-11 Mike Frysinger <vapier@gentoo.org>
20479
20480 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
20481 Add a leading slash to rtkaio.
20482
288f9098
JM
204832012-04-11 Jim Meyering <meyering@redhat.com>
20484
90020f5a
MF
20485 [BZ #11959]
20486 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
20487 It is not necessarily an error to ignore fwrite's return
20488 value. One can reliably use ferror to test for errors after
20489 the fact.
288f9098 20490
4be2b570
L
204912012-04-10 H.J. Lu <hongjiu.lu@intel.com>
20492
20493 * bits/types.h (__snseconds_t): New type.
20494 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
20495
20496 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
20497 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
20498 (__SNSECONDS_T_TYPE): Likewise.
20499 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
20500 (__SNSECONDS_T_TYPE): Likewise.
20501 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
20502 (__SNSECONDS_T_TYPE): Likewise.
20503
288f9098 205042012-04-10 Andreas Jaeger <aj@suse.de>
4cfd8026
AJ
20505
20506 [BZ #2636]
20507 * manual/time.texi (Processor Time): Return type of times is
20508 elapsed real time since an arbitrary point in the past.
20509 (CPU Time): Move CLK_TCK from here...
20510 (Processor Time): ...to here. Correct description.
20511 * manual/conf.texi (Constants for Sysconf): Correct description of
20512 _SC_CLK_TCK.
20513
d7dd4413
DM
205142012-04-10 David S. Miller <davem@davemloft.net>
20515
20516 [BZ #13967]
20517 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
20518 where the is a gap between DT_REL(A) and DT_JMPREL.
20519
b46068fc
L
205202012-04-10 H.J. Lu <hongjiu.lu@intel.com>
20521
20522 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
20523 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20524 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20525
73d65cc3
SP
205262012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
20527
20528 * elf/dl-support.c (_dl_inhibit_cache): New variable.
20529 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
20530 (dl_main): Handle --inhibit-cache.
20531 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
20532 _dl_inhibit_cache.
20533 * elf/dl-load.c (_dl_map_object): Use it.
20534 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
20535
bcc8d661
JM
205362012-04-09 Joseph Myers <joseph@codesourcery.com>
20537
8f9a2fae
JM
20538 [BZ #13872]
20539 * sysdeps/i386/fpu/e_powl.S (p78): New object.
20540 (__ieee754_powl): Saturate large exponents rather than testing for
20541 overflow of y*log2(x).
20542 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
20543 * math/libm-test.inc (pow_test): Do not permit spurious overflow
20544 exceptions.
20545
bcc8d661
JM
20546 [BZ #11521]
20547 * math/s_ctan.c: Include <float.h>.
20548 (__ctan): Avoid internal overflow or cancellation in calculating
20549 denominator.
20550 * math/s_ctanf.c: Likewise.
20551 * math/s_ctanl.c: Likewise.
20552 * math/s_ctanh.c: Likewise.
20553 * math/s_ctanhf.c: Likewise.
20554 * math/s_ctanhl.c: Likewise.
20555 * math/libm-test.inc (ctan_test): Add more tests.
20556 (ctanh_test): Likewise.
20557 * sysdeps/i386/fpu/libm-test-ulps: Update.
20558 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20559
823fbbb4
AJ
205602012-04-09 Andreas Jaeger <aj@suse.de>
20561
03879793
AJ
20562 [BZ #6894]
20563 * manual/filesys.texi (Directory Entries): Mention that d_namlen
20564 is an optional BSD extension.
20565
823fbbb4
AJ
20566 [BZ #10254]
20567 * manual/stdio.texi (Opening Streams): Document additional fopen
20568 parameters.
20569
8de131cb
RM
205702012-04-09 Roland McGrath <roland@hack.frob.com>
20571
20572 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
20573 %eax without telling the compiler.
20574
c0ed9d7d
CD
205752012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
20576
20577 [BZ # 13963]
20578 * manual/install.texi: Use sourceware.org.
20579
c483f6b4
JM
205802012-04-09 Joseph Myers <joseph@codesourcery.com>
20581
d7dd9453
JM
20582 [BZ #13873]
20583 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
20584 (__ieee754_pow): Generate overflow and underflow using huge*huge
20585 and tiny*tiny rather than just returning constant infinity or zero
20586 for large exponents.
20587 * math/libm-test.inc (pow_test): Require overflow exceptions for
20588 applicable cases of large exponents.
20589
c483f6b4
JM
20590 [BZ #706]
20591 * sysdeps/i386/fpu/e_pow.S (p10): New object.
20592 (__ieee754_pow): Use iterative multiplication algorithm only for
20593 integer exponents with absolute value below 1024. Check for odd
20594 integer exponents when using algorithm for real exponents.
20595 * math/libm-test.inc (pow_test): Add more tests.
20596 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20597
d2de7579
JM
205982012-04-08 Joseph Myers <joseph@codesourcery.com>
20599
20600 [BZ #13705]
20601 * math/libm-test.inc (exp_test): Do not allow overflow exception
20602 on underflow test.
20603
f77f1232
AJ
206042012-04-08 Aurelien Jarno <aurelien@aurel32.net>
20605
20606 [BZ #13705]
20607 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
20608 instead of __kernel_standard_f.
20609
3884932b
MF
206102012-04-08 Mike Frysinger <vapier@gentoo.org>
20611
20612 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
20613 * sysdeps/x86_64/memset_chk.S: Likewise.
20614
54472e9c
AJ
206152012-04-08 Andreas Jaeger <aj@suse.de>
20616
6ab0fbfc
AJ
20617 [BZ #10153]
20618 * manual/startup.texi (Environment Access): Describe return value
20619 for putenv and setenv.
20620
61efba8c
AJ
20621 [BZ #6895]
20622 * manual/filesys.texi (Directory Entries): Add description for
20623 DT_LNK.
20624
95c3f29a
AJ
20625 [BZ #6890]
20626 * manual/filesys.texi (Directory Entries): Clarify that it's file
20627 system not operating system in the description of DT_UNKNOWN.
20628
54472e9c
AJ
20629 [BZ #6578]
20630 * manual/syslog.texi (closelog): Fix reference, it's openlog.
20631
624254b1
SC
206322012-04-08 Stephen Compall <s11@member.fsf.org>
20633
20634 [BZ #6649]
20635 * manual/llio.texi (Opening and Closing Files): Add cross
20636 reference to explain mode argument.
20637
1e4920e0
MF
206382012-04-07 Mike Frysinger <vapier@gentoo.org>
20639
20640 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
20641 * sysdeps/x86_64/memset_chk.S: Likewise.
20642
5ed848f3
DM
206432012-04-07 David S. Miller <davem@davemloft.net>
20644
20645 * elf/elf.h (R_SPARC_WDISP10): Define.
20646 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
20647 R_SPARC_SIZE32.
20648 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
20649 R_SPARC_SIZE64 and R_SPARC_H34.
20650
96154cd8
CD
206512012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
20652
20653 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
20654 conditions and remove no longer applicable assertion.
20655
9904dc47
L
206562012-04-06 H.J. Lu <hongjiu.lu@intel.com>
20657
20658 * bits/byteswap.h: Include <features.h>.
20659 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
20660 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
20661
f8887d0a
L
206622012-04-06 H.J. Lu <hongjiu.lu@intel.com>
20663
20664 * bits/byteswap.h (__bswap_16): Removed.
20665 Include <bits/byteswap-16.h> to get __bswap_16.
20666 * sysdeps/i386/bits/byteswap.h: Likewise.
20667 * sysdeps/s390/bits/byteswap.h: Likewise.
20668 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20669 * bits/byteswap-16.h: New file.
20670 * sysdeps/i386/bits/byteswap-16.h: Likewise.
20671 * sysdeps/s390/bits/byteswap-16.h: Likewise.
20672 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
20673 * string/Makefile (headers): Add bits/byteswap-16.h.
20674
62470f60
PP
206752012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
20676
20677 [BZ #13895]
20678 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
20679 extra indirection.
20680 * nss/Makefile (tests-static, tests): Add tst-nss-static.
20681 * nss/tst-nss-static.c: New.
20682
4dad7bab
RM
206832012-04-06 Robert Millan <rmh@gnu.org>
20684
20685 [BZ #6486]
20686 * manual/llio.texi (File Position Primitive): lseek
20687 refers to WHENCE when it really means OFFSET.
20688
e9142a17
AJ
206892012-04-06 Andreas Jaeger <aj@suse.de>
20690
2c040eff
AJ
20691 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
20692 strncmp declarations.
20693
e9142a17
AJ
20694 * abilist/libc.abilist: Add __poll and __ppoll.
20695
ff9f1c5f
DM
206962012-04-05 David S. Miller <davem@davemloft.net>
20697
dcd2ae90
DM
20698 * scripts/check-local-headers.sh: Accept a host triplet in the
20699 path matched by the exclude regexp.
20700
993eb054
DM
20701 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
20702 definition.
20703 * sysdeps/powerpc/powerpc32/dl-machine.h
20704 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
20705 * sysdeps/s390/s390-32/dl-machine.h
20706 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20707 * sysdeps/sparc/sparc32/dl-machine.h
20708 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20709 * sysdeps/sparc/sparc64/dl-machine.h
20710 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
20711
ff9f1c5f
DM
20712 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
20713 lazy binding.
48e2e132 20714 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
ff9f1c5f
DM
20715 undefined symbol errors.
20716
48e2e132 20717 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
ff9f1c5f
DM
20718 DT_NEEDED entries.
20719
e80d6f94
MM
207202012-04-05 Michael Matz <matz@suse.de>
20721
20722 [BZ #13592]
20723 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
20724
349fa79f
AJ
207252012-04-05 Andreas Jaeger <aj@suse.de>
20726
20727 [BZ #13908]
20728 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
20729 comment.
20730
f402708f
KK
207312012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20732
20733 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
20734 which ROUND is no valid rounding mode.
20735
2ecccfc9
KK
207362012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20737
20738 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
20739 read again.
20740 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
20741
8a53f50f
KK
207422012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20743
20744 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
20745 an exception using FPU order intentionally.
20746
207472012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
20748
20749 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
20750 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
20751 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
20752 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
20753
d653abb7
SJ
207542012-04-05 Simon Josefsson <simon@josefsson.org>
20755
20756 [BZ #12340]
20757 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
20758 EINVAL when BUFLEN is too smal.
20759
c3b1bf7d
TS
207602012-04-05 Thomas Schwinge <thomas@codesourcery.com>
20761
20762 [BZ #13553]
20763 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
20764 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
20765
b1aa60f3
AJ
207662012-04-03 Andreas Jaeger <aj@suse.de>
20767
c3b1bf7d 20768 [BZ #13938]
67f60a26
AJ
20769 * manual/setjmp.texi (System V contexts): Fix sentence.
20770
b1aa60f3
AJ
20771 [BZ #13926]
20772 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
20773 New macro for this case.
20774 [!__GNUC__] (__bswap_64): New inline function for this case.
20775 * sysdeps/x86_64/bits/byteswap.h: Likewise.
20776 * bits/byteswap.h: Likewise.
20777 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
20778 ull, guard with __GLIBC_HAVE_LONG_LONG.
20779
20780 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
20781 __GLIBC_HAVE_LONG_LONG.
20782
20783 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
20784 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
20785
39c59c35
TMQMF
207862012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
20787
20788 [BZ #13691]
20789 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
20790 inptr and inend, rather than using last_ch.
20791
135ffda8
DM
207922012-04-02 David S. Miller <davem@davemloft.net>
20793
20794 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
20795 * stdio-common/printf-parse.h (read_int): Change return type to
20796 'int', return -1 on INT_MAX overflow.
20797 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
20798 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
20799 overflows INT_MAX. Check for overflow of in-format-string precision
20800 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
20801 SIZE_MAX not INT_MAX for integer overflow test.
20802 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
20803 skip the construct in the format string but do not record anything.
20804 * stdio-common/bug22.c: Adjust to test both width/prevision
20805 INT_MAX overflow as well as total length INT_MAX overflow. Check
20806 explicitly for proper errno values.
20807
228c019e
TS
208082012-04-02 Thomas Schwinge <thomas@codesourcery.com>
20809
302cadd3
TS
20810 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
20811 CHAR_MAX.
20812 * string/test-strcmp.c [! WIDE]: Likewise.
20813 * time/tst-mktime2.c: Likewise for INT_MAX.
20814 * string/test-string.h: #include <sys/param.h> for MIN.
20815
228c019e
TS
20816 * csu/init-first.c (__libc_init_first): Call __ctype_init.
20817 * sysdeps/i386/init-first.c (init): Likewise.
20818 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
20819 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
20820 * sysdeps/sh/init-first.c (init): Likewise.
20821
cfa633f5
UD
208222012-04-01 Ulrich Drepper <drepper@gmail.com>
20823
20824 * po/ru.po: Update from translation team.
d1635ef8 20825 * po/vi.po: Likewise.
cfa633f5 20826
6cd0a5ea
SP
208272012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
20828
20829 * resolv/nss_dns/dns-host.c: Merge copyright years.
20830
4b43400f
LD
208312012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
20832
20833 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
20834 Optimize memcpy with prefetch if
20835 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
20836 src, dst pointers have unequal 16 byte alignments.
20837
48c41d04
SP
208382012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
20839
20840 [BZ #13928]
20841 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
20842 from a CNAME entry and return the minimum ttl for the query.
20843 (gaih_getanswer_slice): Likewise.
20844
b8dc394d
JL
208452012-03-30 Jeff Law <law@redhat.com>
20846
20847 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
20848 due to long keys.
20849 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
20850 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
20851
2f5a5ed0
JL
20852 * resolv/nss_dns/dns-host.c: Update copyright year.
20853
1d39e359
UD
208542012-03-30 Ulrich Drepper <drepper@gmail.com>
20855
c030f70c 20856 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
8e6d1083 20857 requests to save a system call. Fix check that all bytes are sent.
c030f70c 20858
1d39e359
UD
20859 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
20860 comments for sendmmsg.
20861
208622012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
e64d2de5
TMQMF
20863
20864 [BZ #13691]
20865 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
20866 with only 1 character between 0x0041 and 0x01b0.
20867 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
20868 * wcsmbs/tst-mbsnrtowcs.c: New file.
20869
20fde227
DM
208702012-03-29 David S. Miller <davem@davemloft.net>
20871
20872 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
20873 small copies by hand.
20874
984a4237
JL
208752012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
20876
20877 [BZ #13761]
20878 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
20879 _nss_compat_initgroups_dyn): Fall back to malloc/free
20880 for large group memberships.
20881
18c9d62b
DM
208822012-03-28 David S. Miller <davem@davemloft.net>
20883
88d85d4f
DM
20884 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
20885 that branches into memcpy.
20886 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
20887 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
20888 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
20889 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
20890 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
20891 bits.
20892 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
20893 implementation too.
20894 * sysdeps/sparc/mempcpy.S: New file.
20895
e5aa83e1
DM
20896 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
20897 the IFUNC routine in the libc case.
20898 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
20899
88570753
DM
20900 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
20901 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
20902 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
20903 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
20904 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
20905 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
20906 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
20907 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
20908
249d7567
DM
20909 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
20910 loop to 256 bytes instead of 64 bytes and fix test signedness.
20911
18c9d62b
DM
20912 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
20913 * sysdeps/sparc/sparc32/Makefile: rather than here...
20914 * sysdeps/sparc/sparc64/Makefile: and here.
20915
05f3d1f6
UD
209162012-03-28 Ulrich Drepper <drepper@gmail.com>
20917
20918 * malloc/mallocbug.c: Avoid warnings about unused variables.
20919
86ae07a8
JL
209202012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
20921
20922 [BZ #13760]
20923 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
20924 in the right place. Discard and retry query if response is
20925 larger than input buffer size.
20926
41bf21a1
JM
209272012-03-28 Joseph Myers <joseph@codesourcery.com>
20928
d6270972
JM
20929 [BZ #369]
20930 [BZ #2678]
20931 [BZ #3866]
20932 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
20933 x for large integer exponent.
20934 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
20935 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
20936 sign of result as needed afterwards.
20937 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
20938 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
20939 result for underflowing pow the same as for overflow.
20940 (__kernel_standard_l): Handle powl overflow and underflow here
20941 rather than calling __kernel_standard.
20942 * math/libm-test.inc (pow_test): Add more tests.
20943
414fca03 20944 [BZ #3868]
41bf21a1
JM
20945 [BZ #13879]
20946 [BZ #13910]
20947 [BZ #13911]
20948 [BZ #13912]
20949 [BZ #13913]
20950 [BZ #13915]
20951 [BZ #13916]
20952 [BZ #13917]
20953 [BZ #13918]
20954 [BZ #13919]
20955 [BZ #13920]
20956 [BZ #13921]
20957 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
20958 * sysdeps/ieee754/k_standard.c: Include <float.h>.
20959 (__kernel_standard_l): New function.
20960 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
20961 __kernel_standard.
20962 * math/w_acosl.c (__acosl): Likewise.
20963 * math/w_asinl.c (__asinl): Likewise.
20964 * math/w_atan2l.c (__atan2l): Likewise.
20965 * math/w_atanhl.c (__atanhl): Likewise.
20966 * math/w_coshl.c (__coshl): Likewise.
20967 * math/w_exp10l.c (__exp10l): Likewise.
20968 * math/w_exp2l.c (__exp2l): Likewise.
20969 * math/w_fmodl.c (__fmodl): Likewise.
20970 * math/w_hypotl.c (__hypotl): Likewise.
20971 * math/w_j0l.c (__j0l, __y0l): Likewise.
20972 * math/w_j1l.c (__j1l, __y1l): Likewise.
20973 * math/w_jnl.c (__jnl, __ynl): Likewise.
20974 * math/w_lgammal.c (__lgammal): Likewise.
20975 * math/w_log10l.c (__log10l): Likewise.
20976 * math/w_log2l.c (__log2l): Likewise.
20977 * math/w_logl.c (__logl): Likewise.
20978 * math/w_powl.c (__powl): Likewise.
20979 * math/w_remainderl.c (__remainderl): Likewise.
20980 * math/w_scalbl.c (sysv_scalbl): Likewise.
20981 * math/w_sinhl.c (__sinhl): Likewise.
20982 * math/w_sqrtl.c (__sqrtl): Likewise.
20983 * math/w_tgammal.c (__tgammal): Likewise.
20984 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
20985 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
20986 * math/libm-test.inc (acos_test): Add more tests.
20987 (acosh_test): Likewise.
20988 (asin_test): Likewise.
20989 (atanh_test): Likewise.
20990 (exp_test): Likewise.
20991 (exp10_test): Likewise.
20992 (exp2_test): Likewise.
20993 (expm1_test): Likewise.
20994 (lgamma_test): Likewise.
20995 (log_test): Likewise.
20996 (log10_test): Likewise.
20997 (log1p_test): Likewise.
20998 (log2_test): Likewise.
20999 (pow_test): Do not allow some spurious overflow exceptions.
21000 (sqrt_test): Add more tests.
21001 (tgamma_test): Likewise.
21002 (y0_test): Likewise.
21003 (y1_test): Likewise.
21004 (yn_test): Likewise.
21005
dd62fda6
AB
210062012-03-27 Anton Blanchard <anton@samba.org>
21007
21008 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
21009 MAP_HUGETLB.
21010 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
21011 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
21012 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
21013
1e3cdfda
AJ
210142012-03-27 David S. Miller <davem@davemloft.net>
21015
b855ab85
DM
21016 * conform/Makefile: Run run-conformtest.sh using $(BASH).
21017
1e3cdfda
AJ
21018 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
21019 have-as-vis3 check.
21020
210212012-03-27 Andreas Jaeger <aj@suse.de>
21022
21023 * sysdeps/x86_64/elf/configure.in: Moved to ...
21024 * sysdeps/x86_64/configure.in: ... here.
21025 * sysdeps/x86_64/elf/start.S: Moved to ...
21026 * sysdeps/x86_64/start.S: ... here.
21027 * sysdeps/x86_64/elf/configure: Delete.
21028
21029 * sysdeps/x86_64/configure.in: Merge contents from
21030 sysdeps/i386/configure.in (without i686 check).
21031
21032 * sysdeps/i386/elf/Versions: Merge into ...
21033 * sysdeps/i386/Versions: ... this.
21034 * sysdeps/i386/elf/Versions: Delete file.
21035 * sysdeps/i386/elf/start.S: Moved to ...
21036 * sysdeps/i386/start.S: ...here.
21037 * sysdeps/i386/elf/configure.in: Merge into...
21038 * sysdeps/i386/configure.in: ...here.
21039 * sysdeps/i386/elf/configure.in: Delete file.
21040 * sysdeps/i386/elf/configure: Delete file.
21041
21042 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
21043 * debug/backtracesyms.c: ... here.
21044 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
21045 * debug/backtracesymsfd.c: ... here.
21046 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
21047 * sysdeps/generic/ifunc-sel.h: ... here.
21048
21049 * sysdeps/unix/i386/start.c: Delete file.
21050 * sysdeps/unix/sparc/start.c: Delete file.
21051 * sysdeps/unix/start.c: Delete file.
21052
21053 * sysdeps/sh/elf/configure.in: Moved to ...
21054 * sysdeps/sh/configure.in: ... here.
21055 * sysdeps/sh/elf/start.S: Moved to ...
21056 * sysdeps/sh/start.S: ... here.
21057 * sysdeps/sh/elf/configure: Delete file.
21058
21059 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
21060 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
21061 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
21062 * sysdeps/powerpc/powerpc64/entry.h: ... here.
21063 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
21064 * sysdeps/powerpc/powerpc64/start.S: here.
21065 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
21066 * sysdeps/powerpc/powerpc64/Makefile: ... this.
21067 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
21068 * sysdeps/powerpc/powerpc64/configure.in: ... this.
21069 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
21070
21071 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
21072 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
21073 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
21074 * sysdeps/powerpc/powerpc32/start.S: ... here.
21075 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
21076 * sysdeps/powerpc/powerpc32/configure.in: ... this.
21077 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
21078
21079 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
21080 * sysdeps/powerpc/ifunc-sel.h: ... here.
21081 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
21082 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
21083
21084 * sysdeps/sparc/elf/configure.in: Moved to ...
21085 * sysdeps/sparc/configure.in: ... here.
21086 * sysdeps/sparc/elf/configure: Delete file.
21087 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
21088 * sysdeps/sparc/sparc32/start.S: ... here.
21089 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
21090 * sysdeps/sparc/sparc64/start.S: ... here.
21091 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
21092 * sysdeps/sparc/sparc32/Makefile: ... this.
21093 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
21094 * sysdeps/sparc/sparc64/Makefile: ... this.
21095
21096 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
21097 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
21098 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
21099 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
21100 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
21101 * sysdeps/s390/s390-32/setjmp.S: ... here.
21102 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
21103 * sysdeps/s390/s390-32/configure.in: ... here.
21104 * sysdeps/s390/s390-32/elf/configure: Delete file.
21105 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
21106 * sysdeps/s390/s390-32/start.S: ... here.
21107
21108 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
21109 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
21110 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
21111 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
21112 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
21113 * sysdeps/s390/s390-64/setjmp.S: ... here.
21114 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
21115 * sysdeps/s390/s390-64/configure.in: ... here
21116 * sysdeps/s390/s390-64/elf/configure: Delete file.
21117 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
21118 * sysdeps/s390/s390-64/start.S: ... here.
21119 * sysdeps/s390/s390-64/elf/configure: Delete.
21120
21121 * configure.in: Remove support for elf directories in sysdeps.
21122
21123 * configure: Regenerated.
21124 * sysdeps/i386/configure: Regenerated.
21125 * sysdeps/powerpc/powerpc32/configure: Regenerated.
21126 * sysdeps/powerpc/powerpc64/configure: Regenerated.
21127 * sysdeps/s390/s390-32/configure: Regenerated.
21128 * sysdeps/s390/s390-64/configure: Regenerated.
21129 * sysdeps/sh/configure: Regenerated.
21130 * sysdeps/sparc/configure: Regenerated.
21131 * sysdeps/x86_64/configure: Regenerated.
21132
a3f61311
AS
211332012-03-26 Andreas Schwab <schwab@linux-m68k.org>
21134
c876e002
AS
21135 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21136
a3f61311
AS
21137 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
21138 denormal result into account.
21139
ac4c54f0
RM
211402012-03-25 Roland McGrath <roland@hack.frob.com>
21141
21142 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
21143 Reported by Allan McRae <allan@archlinux.org>.
21144
6a9b9c02
JL
211452012-03-23 Jeff Law <law@redhat.com>
21146
21147 * nss/getnssent.c (__nss_getent): Fix typo.
21148
4c42a0c1
DM
211492012-03-23 David S. Miller <davem@davemloft.net>
21150
21151 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21152
1532c7ac
L
211532012-03-23 H.J. Lu <hongjiu.lu@intel.com>
21154
21155 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
21156 to pad to uint64_t for each field.
21157 (dl_tls_index): Replace unsigned long with uint64_t.
21158
3ff42526
PP
211592012-03-23 Daniel Jacobowitz <dmj@google.com>
21160 Paul Pluzhnikov <ppluzhnikov@google.com>
21161
21162 [BZ #6528]
21163 * grp/Makefile (otherlibs): Don't set it.
21164 * inet/Makefile (otherlibs): Likewise.
21165 * login/Makefile (otherlibs): Likewise.
21166 * nscd/Makefile (otherlibs): Likewise.
21167 * posix/Makefile (otherlibs): Likewise.
21168 * pwd/Makefile (otherlibs): Likewise.
21169 * rt/Makefile (otherlibs): Likewise.
21170 * sunrpc/Makefile (otherlibs): Likewise.
21171 * nss/Makefile (otherlibs): Likewise.
21172 Add libnss_files to routines and static-only-routines.
21173 ($(objpfx)getent): Remove rule.
21174 * resolv/Makefile: Add libnss_dns and libresolv to routines and
21175 static-only-routines.
21176
7c69cd14
JM
211772012-03-22 Joseph Myers <joseph@codesourcery.com>
21178
21179 [BZ #13892]
21180 * math/s_cexp.c: Include <float.h>.
21181 (__cexp): Handle exp result overflowing not necessarily
21182 overflowing both real and imaginary parts of result.
21183 * math/s_cexpf.c: Likewise.
21184 * math/s_cexpl.c: Likewise.
21185 * math/libm-test.inc (cexp_test): Add more tests.
21186 * sysdeps/i386/fpu/libm-test-ulps: Update.
21187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21188
81b035fe
L
211892012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21190
21191 * include/link.h (ELFW): New macro.
21192 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
21193 Replace ELF64_R_TYPE with ELFW(R_TYPE).
21194
1da7940c
L
211952012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21196
21197 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
21198 with uint64_t.
21199
b749dbb9
L
212002012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21201
21202 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
21203 declaration.
21204 (struct La_x32_retval): Likewise.
21205
2ff87f3f
L
212062012-03-22 H.J. Lu <hongjiu.lu@intel.com>
21207
21208 * sysdeps/x86_64/preconfigure.in: New file.
21209 * sysdeps/x86_64/preconfigure: New generated file.
21210
c0df8e69
JM
212112012-03-22 Joseph Myers <joseph@codesourcery.com>
21212
48e44791
JM
21213 [BZ #13824]
21214 * math/e_exp2l.c: Include <float.h>.
21215 (__ieee754_exp2l): Handle overflow and underflow cases
21216 separately. Only pass fractional part of argument to
21217 __ieee754_expl.
21218 * math/libm-test.inc (exp2_test): Add more tests.
21219
c0df8e69
JM
21220 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
21221 negating x to take absolute value.
21222 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
21223 Likewise.
21224 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
21225 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
21226 Likewise.
21227 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
21228 computing low part if x was negated.
21229 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
21230
c8e43ba7
L
212312012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21232
21233 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
21234 la_x32_gnu_pltexit.
21235 (pltexit): Cast int_retval to ptrdiff_t.
21236 * elf/tst-auditmod3b.c: Likewise.
21237 * elf/tst-auditmod4b.c: Likewise.
21238 * elf/tst-auditmod5b.c: Likewise.
21239 * elf/tst-auditmod6b.c: Likewise.
21240 * elf/tst-auditmod6c.c: Likewise.
21241 * elf/tst-auditmod7b.c: Likewise.
21242
21243 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
21244 and x32_gnu_pltexit.
21245
21246 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
21247 __ELF_NATIVE_CLASS.
21248 (La_x32_regs): New macro.
21249 (La_x32_retval): Likewise.
21250 (la_x32_gnu_pltenter): New function prototype.
21251 (la_x32_gnu_pltexit): Likewise.
21252
7998fa78
AS
212532012-03-21 Andreas Schwab <schwab@linux-m68k.org>
21254
dcb33988
AS
21255 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
21256 exponent.
21257
233fc563
AS
21258 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21259
7998fa78
AS
21260 * configure.in (libc_cv_cc_nofma): Check for option to disable
21261 generation of FMA instructions.
21262 * configure: Regenerate.
21263 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
21264 * sysdeps/ieee754/dbl-64/Makefile: New file.
21265 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
21266 Remove brandred-fma4.
21267 (CFLAGS-brandred-fma4.c): Remove.
21268 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
21269 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
21270 define.
21271 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
21272 define.
21273
8e95c99a
L
212742012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21275
21276 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
21277 LLONG_MAX != LONG_MAX.
21278 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21279 (_fitoa_word): Likewise.
21280 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
21281 LLONG_MAX != LONG_MAX.
21282 * stdio-common/_itowa.h: Include <_itoa.h>.
21283 (_itowa_word): Use _ITOA_WORD_TYPE on value.
21284 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
21285 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
21286 only if not defined.
21287 (_ITOA_WORD_TYPE): Likewise.
21288 (_itoa_word): Use _ITOA_WORD_TYPE on value.
21289 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
21290
6f4db457
DM
212912012-03-21 David S. Miller <davem@davemloft.net>
21292
21293 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21294
7785fe5a
L
212952012-03-21 H.J. Lu <hongjiu.lu@intel.com>
21296
21297 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
21298 of x86_64 when setting libc_cv_slibdir, libdir and
21299 libc_cv_localedir.
21300 * sysdeps/unix/sysv/linux/configure: Regenerated.
21301
4535cd55
JM
213022012-03-21 Joseph Myers <joseph@codesourcery.com>
21303
21304 * manual/lang.texi (Old Varargs): Remove section.
21305 (How Variadic): Update menu.
21306 (va_start): Do not mention varargs.h.
21307
17228132
TS
213082012-03-21 Thomas Schwinge <thomas@codesourcery.com>
21309 Joseph Myers <joseph@codesourcery.com>
21310
21311 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
21312 link test.
21313 * configure: Regenerated.
21314
8149f976
TS
213152012-03-21 Thomas Schwinge <thomas@codesourcery.com>
21316
05f3d1f6
UD
21317 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
21318 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
21319 conformtest.pl
8149f976 21320
1a4ac776
JM
213212012-03-21 Joseph Myers <joseph@codesourcery.com>
21322
be22ce65
JM
21323 * NOTES: Remove.
21324 * Makefile (files-for-dist): Remove NOTES.
21325 (NOTES): Remove rule.
21326 * README: Don't refer to NOTES.
21327 * manual/creature.texi: Don't include macros.texi.
21328 * manual/intro.texi (creature.texi): Remove comment referring to
21329 NOTES.
21330
40b601fb
JM
21331 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
21332 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
21333 * configure: Regenerated.
21334 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
21335 LIBC_TRY_CC_OPTION.
21336 (libc_cv_as_i686): Likewise.
21337 (libc_cv_cc_avx): Likewise.
21338 (libc_cv_cc_sse2avx): Likewise.
21339 (libc_cv_cc_fma4): Likewise.
21340 (libc_cv_cc_novzeroupper): Likewise.
21341 * sysdeps/i386/configure: Regenerated.
21342
1a4ac776
JM
21343 [BZ #13883]
21344 * sysdeps/i386/fpu/s_cexp.S: Remove.
21345 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
21346 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
21347 * math/libm-test.inc (cexp_test): Add more tests.
21348 * sysdeps/i386/fpu/libm-test-ulps: Update.
21349 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21350
a458e7fe
AM
213512012-03-21 Allan McRae <allan@archlinux.org>
21352
21353 * timezone/Makefile: Do not install iso3166.tab and zone.tab
21354
0cb7efc5
JM
213552012-03-21 Joseph Myers <joseph@codesourcery.com>
21356
21357 [BZ #13871]
21358 * math/w_exp2.c: Do not include <float.h>.
21359 (o_threshold, u_threshold): Remove.
21360 (__exp2): Calculate result before checking finiteness and calling
21361 __kernel_standard.
21362 * math/w_exp2f.c: Likewise.
21363 * math/w_exp2l.c: Likewise.
21364 * math/libm-test.inc (exp2_test): Require overflow exception for
21365 1e6 input.
2460d3aa
JM
21366
21367 [BZ #3866]
21368 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
21369 range of signed 64-bit integers before using fistpll. Remove
21370 checks for whether integers fit in mantissa bits.
21371 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
21372 the range of signed 32-bit integers before using fistpl. Remove
21373 checks for whether integers fit in mantissa bits.
21374 * sysdeps/i386/fpu/e_powl.S (p64): New object.
21375 (__ieee754_powl): Test for y outside the range of signed 64-bit
21376 integers before using fistpll. Reduce 64-bit values to 63-bit
21377 ones as needed.
21378 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
21379 divide-by-zero is raised for zero to large negative powers.
21380 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
21381 (__ieee754_powl): Test for y outside the range of signed 64-bit
21382 integers before using fistpll. Reduce 64-bit values to 63-bit
21383 ones as needed.
21384 * math/libm-test.inc (pow_test): Add more tests.
21385
eb96ffb0
L
213862012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21387
21388 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
21389 <stdio-common/_itoa.h>.
21390 * debug/segfault.c: Likewise.
21391 * elf/dl-cache.c: Likewise.
21392 * elf/dl-minimal.c: Likewise.
21393 * elf/dl-misc.c: Likewise.
21394 * elf/dl-sysdep.c: Likewise.
21395 * elf/dl-version.c: Likewise.
21396 * elf/rtld.c: Likewise.
21397 * hurd/hurdsock.c: Likewise.
21398 * hurd/lookup-retry.c: Likewise.
21399 * malloc/malloc.c: Likewise.
21400 * malloc/mtrace.c: Likewise.
21401 * nscd/nscd_getgr_r.c: Likewise.
21402 * nscd/nscd_getpw_r.c: Likewise.
21403 * nscd/nscd_getserv_r.c: Likewise.
21404 * posix/getopt_init.c: Likewise.
21405 * posix/wordexp.c: Likewise.
21406 * stdio-common/_itoa.c: Likewise.
21407 * stdio-common/printf_fphex.c: Likewise.
21408 * stdio-common/vfprintf.c: Likewise.
21409 * string/_strerror.c: Likewise.
21410 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
21411 * sysdeps/i386/i686/hp-timing.h: Likewise.
21412 * sysdeps/mach/_strerror.c: Likewise.
21413 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
21414 * sysdeps/mach/hurd/sethostid.c: Likewise.
21415 * sysdeps/mach/hurd/xmknodat.c: Likewise.
21416 * sysdeps/mach/xpg-strerror.c: Likewise.
21417 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21418 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21419 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
21420 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
21421 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21422 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
21423 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
21424 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
21425 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
21426 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
21427 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
21428 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
21429 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
21430 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
21431 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
21432 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
21433 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
21434 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
21435 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
21436 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
21437 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
21438
21439 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
21440
21441 * stdio-common/_itoa.h: Moved to ...
21442 * sysdeps/generic/_itoa.h: Here.
21443
21444 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
21445
21446 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
21447 instead of "_itoa.h" and "_itowa.h".
21448 * stdio-common/vfprintf.: Likewise.
21449
d1af992d
L
214502012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21451
21452 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
21453 <bits/wordsize.h>.
21454 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
21455 (__signbit): Likwise.
21456 (llrintf): Likwise.
21457 (llrint): Likwise.
21458
114883e0
L
214592012-03-20 H.J. Lu <hongjiu.lu@intel.com>
21460
21461 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
21462 __WORDSIZE != 64.
21463
c135cc1b
JM
214642012-03-20 Joseph Myers <joseph@codesourcery.com>
21465
21466 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
21467 OVERFLOW_EXCEPTION_OK.
21468 * math/libm-test.inc ("Philosophy"): Update comment about
21469 exception testing.
21470 (OVERFLOW_EXCEPTION): Define.
21471 (OVERFLOW_EXCEPTION_OK): Likewise.
21472 (INVALID_EXCEPTION_OK): Renumber.
21473 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21474 (IGNORE_ZERO_INF_SIGN): Likewise.
21475 (test_exceptions): Handle FE_OVERFLOW.
21476 (exp10_test): Expect overflow exceptions.
21477 (exp2_test): Likewise.
21478 (expm1_test): Likewise.
21479 (nextafter_test): Likewise.
21480 (pow_test): Likewise.
21481 (scalbn_test): Likewise.
21482 (scalbln_test): Likewise.
21483
95443d88
L
214842012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21485
21486 * sysdeps/x86_64/bits/atomic.h
21487 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
21488 64bit integer.
21489 (atomic_exchange_acq): Likewise.
21490 (__arch_exchange_and_add_body): Likewise.
21491 (__arch_add_body): Likewise.
21492 (atomic_add_negative): Likewise.
21493 (atomic_add_zero): Likewise.
21494
490df6c4
L
214952012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21496
c2722551 21497 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
490df6c4
L
21498 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
21499
5e52b189
L
215002012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21501
21502 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
21503 Check __x86_64__ instead of __WORDSIZE.
21504
a9879d4c
L
215052012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21506
21507 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
21508
5df98260
DM
215092012-03-19 David S. Miller <davem@davemloft.net>
21510
e1497744
DM
21511 * sysdeps/sparc/fpu/libm-test-ulps: Update.
21512
5df98260
DM
21513 * sysdeps/sparc/fpu/fenv_private.h: New file.
21514 * sysdeps/sparc/fpu/math_private.h: Use it.
21515 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
21516 Remove.
21517 (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
21518 (libc_feholdexcept_setroundl): Remove.
21519 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
21520 Remove.
21521 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
21522 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
21523
b4c35121
L
215242012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21525
21526 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
21527 int64_t instead of long int.
21528 (INSERT_WORDS64): Likwise.
21529
56965fd7
L
215302012-03-19 H.J. Lu <hongjiu.lu@intel.com>
21531
21532 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
21533 _Unwind_GetCFA return to _Unwind_Ptr first.
21534
83d1aec8
JM
215352012-03-19 Joseph Myers <joseph@codesourcery.com>
21536
1897ad44
JM
21537 [BZ #13629]
21538 * math/s_clog.c: Include <float.h>.
21539 (__clog): Scale large or subnormal inputs.
21540 * math/s_clogf.c: Likewise.
21541 * math/s_clogl.c: Likewise.
21542 * math/s_clog10.c: Include <float.h>.
21543 (M_LOG10_2): Define.
21544 (__clog10): Scale large or subnormal inputs.
21545 * math/s_clog10f.c: Likewise.
21546 * math/s_clog10l.c: Likewise.
21547 * math/libm-test.inc (clog_test): Add more tests.
21548 (clog10_test): Likewise.
21549 * sysdeps/i386/fpu/libm-test-ulps: Update.
21550 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21551
7726d6a9
JM
21552 [BZ #11451]
21553 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
21554 x and y.
21555 * math/libm-test.inc (atan2_test): Add another test.
21556
83d1aec8
JM
21557 * Makerules (common-objdir-compile): Remove.
21558 * sysdeps/unix/Makefile (config-generated): Do not add
21559 $(unix-generated) to variable.
21560 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
21561 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
21562 Remove rule.
21563 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
21564 Likewise.
21565 [generic bits/local_lim.h] (before-compile): Do not append to
21566 variable.
21567 [generic bits/local_lim.h] (common-generated): Likewise.
21568 [generic sys/param.h] (before-compile): Do not append to variable.
21569 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
21570 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
21571 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
21572 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
21573 include.
21574 [generic sys/param.h] (sys/param.h-includes): Remove variable.
21575 [generic sys/param.h] (sys/param.h-includes): Remove rule.
21576 [generic sys/param.h] ($(addprefix
21577 $(common-objpfx),$(sys/param.h-includes))): Likewise.
21578 [generic sys/param.h] (common-generated): Do not append to
21579 variable.
21580 [generic sys/param.h] (sysdep_headers): Likewise.
21581 [generic bits/errno.h] (before-compile): Do not append to
21582 variable.
21583 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
21584 rule.
21585 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
21586 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
21587 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
21588 [generic bits/errno.h] (common-generated): Do not append to
21589 variable.
21590 [generic bits/ioctls.h] (before-compile): Do not append to
21591 variable.
21592 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
21593 rule.
21594 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
21595 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
21596 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
21597 rule.
21598 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
21599 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
21600 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
21601 [generic bits/ioctls.h] (common-generated): Do not append to
21602 variable.
21603 [generic sys/syscall.h] (syscall.h): Remove variable.
21604 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
21605 rule.
21606 [generic sys/syscall.h] (before-compile): Do not append to
21607 variable.
21608 [generic sys/syscall.h] (common-generated): Likewise.
21609 * sysdeps/unix/errnos-tmpl.c: Remove file.
21610 * sysdeps/unix/errnos.awk: Likewise.
21611 * sysdeps/unix/ioctls-tmpl.c: Likewise.
21612 * sysdeps/unix/ioctls.awk: Likewise.
21613 * sysdeps/unix/mk-local_lim.c: Likewise.
21614 * sysdeps/unix/snarf-ioctls: Likewise.
21615
4851a949
RH
216162012-03-19 Richard Henderson <rth@twiddle.net>
21617
bd37f2ee
RH
21618 * sysdeps/i386/fpu/fenv_private.h: New file.
21619 * sysdeps/i386/fpu/math_private.h: Use it.
21620 (math_opt_barrier, math_force_eval): Remove.
21621 (libc_feholdexcept_setround_53bit): Remove.
21622 (libc_feupdateenv_53bit): Remove.
21623 * sysdeps/x86_64/fpu/math_private.h: Likewise.
21624 (math_opt_barrier, math_force_eval): Remove.
21625 (libc_feholdexcept): Remove.
21626 (libc_feholdexcept_setround): Remove.
21627 (libc_fetestexcept, libc_fesetenv): Remove.
21628 (libc_feupdateenv_test): Remove.
21629 (libc_feupdateenv, libc_feholdsetround): Remove.
21630 (libc_feresetround): Remove.
21631
d0adc922
RH
21632 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
21633 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
21634
0fe0f1f8
RH
21635 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
21636 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
21637 (libc_feupdateenv_testl): New.
21638 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
21639 (libc_feupdateenv_testf): New.
21640 (libc_feupdateenv): Use libc_feupdateenv_test.
21641 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
21642 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
21643
eb92c487
RH
21644 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
21645 (libc_feholdsetroundf, libc_feholdsetroundl): New.
21646 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
21647 (libc_feresetround_noex): New.
21648 (libc_feresetround_noexf): New.
21649 (libc_feresetround_noexl): New.
21650 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
21651 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
21652 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
21653 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
21654 SET_RESTORE_ROUND.
21655 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
21656 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
21657 (__cos): Likewise.
21658 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
21659 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
21660 SET_RESTORE_ROUND_NOEX.
21661 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
21662 SET_RESTORE_ROUND_NOEXF.
21663 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
21664 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
21665 (libc_feholdsetroundf): New.
21666 (libc_feresetround, libc_feresetroundf): New.
21667
7d2e8012
RH
21668 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
21669 (libc_feholdexcept_setround_53bit): Convert from macro to function.
21670 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
21671
b4dabbb4
RH
21672 * sysdeps/generic/math_private.h: Include <fenv.h>.
21673 (default_libc_feholdexcept): New.
21674 (default_libc_feholdexcept_setround): New.
21675 (default_libc_fesetenv, default_libc_feupdateenv): New.
21676 (libc_feholdexcept): Only define if undefined.
21677 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
21678 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
21679 (libc_feholdexcept_setroundl): Likewise.
21680 (libc_feholdexcept_setround_53bit): Likewise.
21681 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
21682 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
21683 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
21684 (libc_feupdateenv_53bit): Likewise.
21685 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
21686 (libc_feholdexcept): Convert from macro to inline function.
21687 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
21688 (libc_fesetenv, libc_feupdateenv): Likewise.
21689
4851a949
RH
21690 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
21691 not previously defined.
21692 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
21693 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
21694 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
21695 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
21696 * sysdeps/ieee754/flt-32/math_private.h: New file.
21697 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
21698 math_private.h below SET_FLOAT_WORD.
21699 (__isnan, __isinf_ns, __finite): Remove.
21700 (__isnanf, __isinf_nsf, __finitef): Remove.
21701
e79d442e
AS
217022012-03-18 Andreas Schwab <schwab@linux-m68k.org>
21703
21704 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21705
90b80344
DM
217062012-03-17 David S. Miller <davem@davemloft.net>
21707
21708 [BZ #6471]
21709 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
21710 for 2.16.
21711
edc21804
DM
217122012-03-16 David S. Miller <davem@davemloft.net>
21713
77e927af
DM
21714 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
21715 warnings.
21716
374976dd
DM
21717 [BZ #6471]
21718 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
21719 properly.
21720 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
21721 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
21722 sysdep_routines when subdir is sysvipc.
21723 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
21724 __getshmlba helper.
21725
edc21804
DM
21726 * sysdeps/sparc/fpu/libm-test/ulps: Update.
21727
473c3ef3
L
217282012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21729
21730 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
21731 [__LP64__].
21732
eb0f39b6
L
217332012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21734
21735 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
21736 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
21737 (__lround): Renamed to ...
21738 (__llround): This. Replace long int with long long int.
21739 Define lround functions as aliases of llround functions.
21740 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
21741
6b6cd74b
L
217422012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21743
21744 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
21745 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
21746 adresses to uintptr_t. Replace "long int" and "unsigned long
21747 int" with "greg_t" on va_arg.
21748
f1a77b01
L
217492012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21750
21751 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
21752 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
21753
21754 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
21755 Move e_machine check before EI_CLASS check. Handle x32
21756 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
21757 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
21758 SKIP_EM_IA_64 and include
21759 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
21760
21761 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
21762 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
21763 (add_system_dir): New macro.
21764
21765 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
21766 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
21767
11b90b9f
JM
217682012-03-16 Joseph Myers <joseph@codesourcery.com>
21769
c36e1d23
JM
21770 [BZ #2551]
21771 [BZ #2552]
21772 [BZ #2553]
21773 [BZ #2554]
21774 [BZ #2562]
21775 [BZ #2563]
21776 [BZ #2565]
21777 [BZ #2566]
21778 [BZ #2576]
21779 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
21780 (y0): Likewise.
21781 * math/w_j0f.c (j0f): Likewise.
21782 (y0f): Likewise.
21783 * math/w_j0l.c (__j0l): Likewise.
21784 (__y0l): Likewise.
21785 * math/w_j1.c (j1): Likewise.
21786 (y1): Likewise.
21787 * math/w_j1f.c (j1f): Likewise.
21788 (y1f): Likewise.
21789 * math/w_j1l.c (__j1l): Likewise.
21790 (__y1l): Likewise.
21791 * math/w_jn.c (jn): Likewise.
21792 (yn): Likewise.
21793 * math/w_jnf.c (jnf): Likewise.
21794 (ynf): Likewise.
21795 * math/w_jnl.c (__jnl): Likewise.
21796 (__ynl): Likewise.
21797 * math/libm-test.inc (j0_test): Add more tests.
21798 (j1_test): Likewise.
21799 (jn_test): Likewise. Add trailing semicolon to existing test.
21800 (y0_test): Likewise.
21801 (y1_test): Likewise.
21802 * sysdeps/i386/fpu/libm-test-ulps: Update.
21803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21804
11b90b9f
JM
21805 [BZ #13851]
21806 [BZ #13854]
21807 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
21808 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
21809 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
21810 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
21811 (__tanl): Set errno for infinite argument.
21812 * sysdeps/i386/fpu/mptan.c: Remove.
21813 * sysdeps/i386/fpu/s_tan.S: Likewise.
21814 * sysdeps/i386/fpu/s_tanl.S: Likewise.
21815 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
21816 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
21817 * math/libm-test.inc (tan_test): Add more tests and enable more
21818 tests for double and long double.
21819 * sysdeps/i386/fpu/libm-test-ulps: Update.
21820 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21821
6a1bd2a1
JK
218222012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
21823
21824 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
21825 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
21826
10a803e0
RM
218272012-03-16 Roland McGrath <roland@hack.frob.com>
21828
21829 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
21830 * configure.in: Use it for both main tree and add-ons.
21831 * configure: Regenerated.
21832
f196c7f7
L
218332012-03-16 H.J. Lu <hongjiu.lu@intel.com>
21834
21835 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
21836
8848d99d
JM
218372012-03-16 Joseph Myers <joseph@codesourcery.com>
21838
96cbe7f4
JM
21839 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
21840 in comment.
21841
8848d99d
JM
21842 [BZ #13851]
21843 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
21844 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
21845 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
21846 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
21847 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
21848 infinite argument.
21849 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
21850 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
21851 != 0 for prec == 2.
21852 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
21853 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
21854 * sysdeps/i386/fpu/s_cosl.S: Likewise.
21855 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
21856 * sysdeps/i386/fpu/s_sinl.S: Likewise.
21857 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
21858 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
21859 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
21860 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
21861 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
21862 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
21863 * math/libm-test.inc (cos_test): Add more tests and enable more
21864 tests for long double.
21865 (sin_test): Likewise.
21866 (sincos_test): Likewise.
21867 * sysdeps/i386/fpu/libm-test-ulps: Update.
21868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21869
dd7f4703
DM
218702012-03-16 David S. Miller <davem@davemloft.net>
21871
21872 * sysdeps/sparc/fpu/math_private.h: New file.
21873
006f1daa
DM
218742012-03-15 David S. Miller <davem@davemloft.net>
21875
c0c83bc8
DM
21876 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
21877 file.
e6a62e18 21878 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
c0c83bc8
DM
21879 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
21880 file.
e6a62e18
DM
21881 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
21882 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
21883 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
21884 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
21885 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
21886 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
21887 sysdep routines.
21888 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
21889
88cb87d9
DM
21890 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
21891 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
21892
006f1daa 21893 * sysdeps/sparc/sparc-ifunc.h: New file.
c0c83bc8
DM
21894 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
21895 sparc-ifunc.h
006f1daa 21896 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
c0c83bc8
DM
21897 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
21898 Likewise.
21899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
21900 Likewise.
006f1daa
DM
21901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
21902 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
21903 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
c0c83bc8
DM
21904 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
21905 Likewise.
006f1daa
DM
21906 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
21907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
21908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
21909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
c0c83bc8
DM
21910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
21911 Likewise.
21912 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
21913 Likewise.
006f1daa
DM
21914 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
21915 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
21916 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
21917 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
21918 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
21919 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
21920 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
21921 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
21922 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
21923 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
21924 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
21925 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
21926 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
21927 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
21928 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
21929 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
21930 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
21931 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
21932 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
21933 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
21934 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
21935 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
21936 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
21937 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
21938
11e0098e
AS
219392012-03-15 Andreas Schwab <schwab@linux-m68k.org>
21940
21941 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
21942 scaling.
21943 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21944
e85b09d0
AJ
219452012-03-15 Andreas Jaeger <aj@suse.de>
21946
21947 [BZ #13852]
21948 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
21949 ieee754/flt-32 implementation for sin, cos and sincos.
21950 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
21951 * sysdeps/i386/fpu/s_cosf.S: Likewise.
21952 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
21953 * sysdeps/i386/fpu/s_sinf.S: Likewise.
21954 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
21955 ieee754/flt-32 implementation for tan.
21956
21957 * math/libm-test.inc (cos_test): Enable some large input tests for
21958 float as well
21959 (sin_test): Likewise.
21960 (sincos_test): Likewise.
21961 (tan_test): Add tests for large input.
21962
21963 * sysdeps/i386/fpu/libm-test-ulps: Update.
21964
81c64153
AJ
219652012-03-15 Andreas Jaeger <aj@suse.de>
21966
21967 [BZ #13658]
21968 * math/libm-test.inc (cos_test): Add more test cases.
21969 (sin_test): Likewise.
21970 (sincos_test): Likewise.
21971
7bbfa5c6
AJ
219722012-03-15 Andreas Jaeger <aj@suse.de>
21973
21974 [BZ #13837]
21975 * math/libm-test.inc (cos_test): Add a test case for large input
21976 value.
21977 (sin_test): Likewise.
21978 (sincos_test): Likewise.
21979
219802012-03-15 Andreas Jaeger <aj@suse.de>,
21981 Joseph Myers <joseph@codesourcery.com>
21982
21983 [BZ #13658]
0671f479 21984 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
7bbfa5c6
AJ
21985 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
21986 * sysdeps/i386/fpu/branred.c: Likewise.
21987 * sysdeps/i386/fpu/dosincos.c: Likewise.
21988 * sysdeps/i386/fpu/mpa.c: Likewise.
21989 * sysdeps/i386/fpu/s_cos.S: Likewise.
21990 * sysdeps/i386/fpu/s_sin.S: Likewise.
21991 * sysdeps/i386/fpu/s_sincos.S: Likewise.
21992 * sysdeps/i386/fpu/sincos32.c: Likewise.
21993
21994 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
21995 Define.
21996 (libc_feupdateenv_53bit): Define.
21997 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
21998 Define.
21999 (libc_feupdateenv_53bit): Define.
22000
22001 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
22002 53 bit (without extend i386 double precision).
22003
22004 * math/libm-test.inc (sincos_test): Add tests for large input.
22005 (sin): Likewise.
22006 (cos): Likewise.
22007
22008 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
22009
9cad04ea
AS
220102012-03-15 Andreas Schwab <schwab@linux-m68k.org>
22011
22012 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22013
f7062b9a
DM
220142012-03-15 David S. Miller <davem@davemloft.net>
22015
22016 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
22017 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
22018 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
22019 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
22020 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
22021 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
22022 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
22023 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
22024 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
22025 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
22026 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
22027 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
22028 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
22029 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
22030 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
c0c83bc8
DM
22031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
22032 file.
f7062b9a 22033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
c0c83bc8
DM
22034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
22035 file.
f7062b9a 22036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
c0c83bc8
DM
22037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
22038 file.
f7062b9a 22039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
c0c83bc8
DM
22040 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
22041 file.
f7062b9a
DM
22042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
22043 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
22044 fmin/fmax sysdep routines.
22045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
22046
7bd951ff
DM
220472012-03-14 David S. Miller <davem@davemloft.net>
22048
559398ab
DM
22049 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
22050 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
22051 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
22052 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
22053 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
22054 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
22055 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
22056 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
22057 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
22058 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
22059 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
22060 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
22061 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
22062 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
22063 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
22064 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
22065 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
22066 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
22067 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
22068 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
22069 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
22070 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
22071 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
22072 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
22073 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
22074 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
22075 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
22076 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
22077 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
22078 routines.
22079 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
22080 file.
559398ab 22081 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
c0c83bc8
DM
22082 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
22083 file.
559398ab 22084 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
c0c83bc8
DM
22085 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
22086 file.
559398ab 22087 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
c0c83bc8
DM
22088 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
22089 file.
559398ab 22090 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
c0c83bc8
DM
22091 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
22092 file.
559398ab 22093 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
c0c83bc8
DM
22094 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
22095 file.
22096 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
22097 file.
22098 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
22099 file.
22100 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
22101 file.
22102 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
22103 New file.
22104 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
22105 file.
22106 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
22107 file.
559398ab 22108 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
c0c83bc8
DM
22109 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
22110 file.
559398ab 22111 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
c0c83bc8
DM
22112 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
22113 file.
559398ab 22114 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
c0c83bc8
DM
22115 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
22116 file.
559398ab 22117 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
c0c83bc8
DM
22118 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
22119 VIS3 routines.
559398ab
DM
22120
22121 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
22122 New file.
22123
5a1c1e32
DM
22124 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22125
eae47a36
DM
22126 * sysdeps/sparc/configure.in: New file.
22127 * sysdeps/sparc/configure: Generate.
22128 * configure.in (libc_cv_sparc_as_vis3): Substitute.
22129 * configure: Regenerate.
22130 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
22131 * config.make.in (have-as-vis3): New.
22132 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
22133 available use -Av9d instead of -Av9a.
22134 * sysdeps/sparc/sparc64/Makefile: Likewise.
22135 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
c0c83bc8
DM
22136 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
22137 New file.
22138 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
22139 file.
22140 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
22141 New file.
22142 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
22143 file.
eae47a36
DM
22144 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
22145 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
22146 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
22147 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
22148 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
22149
c0c83bc8
DM
22150 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
22151 fzeros/fnegs to load 0x80000000 into a float register instead of
22152 using the stack.
7bd951ff
DM
22153 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
22154
bd951ccb
JM
221552012-03-14 Joseph Myers <joseph@codesourcery.com>
22156
22157 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22158 bits/syscall.h.
22159 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
22160 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
22161 ($(inst_includedir)/bits/syscall.h): Remove rule.
22162 ($(objpfx)bits/syscall.d): Include instead of
22163 $(objpfx)syscall-list.d.
22164 (generated): Change syscall-list.h and syscall-list.d to
22165 bits/syscall.h and bits/syscall.d.
22166
bb4e6db2
RM
221672012-03-14 Roland McGrath <roland@hack.frob.com>
22168
22169 [BZ #13846]
22170 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
22171
aa4a2ae1
JM
221722012-03-14 Joseph Myers <joseph@codesourcery.com>
22173
e456826d
JM
22174 [BZ #13841]
22175 * math/s_csqrt.c: Include <float.h>.
22176 (__csqrt): Scale large or subnormal inputs.
22177 * math/s_csqrtf.c: Likewise.
22178 * math/s_csqrtl.c: Likewise.
22179 * math/libm-test.inc (csqrt_test): Add more tests.
22180 * sysdeps/i386/fpu/libm-test-ulps: Update.
22181 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22182
aa4a2ae1
JM
22183 [BZ #13840]
22184 * math/libm-test.inc (hypot_test): Add more tests.
22185
7c10fd35
DM
221862012-03-13 David S. Miller <davem@davemloft.net>
22187
22188 [BZ #13840]
22189 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
22190 double-precision for the calculation instead of scaling.
22191
f453b98b
JM
221922012-03-13 Joseph Myers <joseph@codesourcery.com>
22193
22194 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
22195 manipulate bits before adding and subtracting TWO52[sx].
22196 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
22197 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
22198 Likewise.
22199 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
22200
09a3453f
DM
222012012-03-13 David S. Miller <davem@davemloft.net>
22202
8e59da90
DM
22203 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
22204 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
22205 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
22206 rtld-global-offsets.h
22207 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
22208
2a8ab7f2
DM
22209 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
22210 large parameters.
22211
10f62770
DM
22212 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
22213
5f0bdb18
DM
22214 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
22215 'err' in the ifdef scope in which it is actually used.
22216
09a3453f
DM
22217 * nss/nss_db/db-init.c: Include string.h
22218
b4b2eb5e
DM
222192012-03-12 David S. Miller <davem@davemloft.net>
22220
98bb2f1c
DM
22221 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
22222 masking out of the most significant byte of random value used.
22223 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22224 Fix coding style in previous change.
22225
b4b2eb5e
DM
22226 * sysdeps/unix/sysv/linux/kernel-features.h
22227 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
22228 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
22229 expression.
22230 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
22231 later.
22232
6e226b09
DM
222332012-03-11 David S. Miller <davem@davemloft.net>
22234
a1bcbd40
DM
22235 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
22236 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
22237 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
22238 for 'resultvar' otherwise things get truncated on 64-bit.
22239
cb9d6174
DM
22240 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
22241 Fix masking out of the most significant byte of random value used.
22242
6e226b09
DM
22243 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22244
058c132d
AS
222452012-03-10 Andreas Schwab <schwab@linux-m68k.org>
22246
22247 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22248
2d2cd515
DM
222492012-03-09 David S. Miller <davem@davemloft.net>
22250
22251 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
22252 variables with appropriate CPP guards.
22253 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
22254 frame pointer, not the stack pointer. Correct layout comments. Fix test
22255 on resulting framesize and the management of the outregs buffer for pltexit.
22256 Preserve floating point return values across _dl_call_pltexit call.
22257 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
22258 framesize and the management of the outregs buffer for pltexit.
22259 Preserve floating point return values across _dl_call_pltexit
22260 call.
22261 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
22262 la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
22263 (print_exit): Fix format string for return register value.
22264
9a07f9d0
JM
222652012-03-10 Joseph Myers <joseph@codesourcery.com>
22266
22267 * sunrpc/Makefile (others): Add rpcgen.
22268 ($(objpfx)rpcgen): Remove special build rule and dependency on
22269 libc.
22270 * sunrpc/rpcgen.c: New file.
22271
547b5e30
PE
222722012-03-09 Paul Eggert <eggert@cs.ucla.edu>
22273
c524201a
PE
22274 [BZ #13673]
22275 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
22276 * stdio-common/bug-vfprintf-nargs.c: Likewise.
22277 * sysdeps/i386/crti.S: Likewise.
22278 * sysdeps/i386/crtn.S: Likewise.
22279 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
22280 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
22281 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
22282 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
22283 * sysdeps/sh/crti.S: Likewise.
22284 * sysdeps/sh/crtn.S: Likewise.
22285 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
22286
7b6235f2
PE
22287 [BZ #13673]
22288 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
22289 with URL.
22290 * locale/programs/locfile-kw.gperf: Likewise.
22291 * locale/programs/charmap-kw.h: Regenerated.
22292 * locale/programs/locfile-kw.h: Likewise.
22293
547b5e30
PE
22294 [BZ #13673]
22295 * intl/plural.y: Replace FSF snail mail address with URL.
22296 * intl/plural.c: Regenerated.
22297
5f0a5dae
RH
222982012-03-09 Richard Henderson <rth@twiddle.net>
22299
22300 * include/math_private.h: Remove file.
22301 * math/math_private.h: Move file ...
22302 * sysdeps/generic/math_private.h: ... here.
22303
b8c03620
RH
22304 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
22305 * sysdeps/powerpc/fpu/math_private.h: Likewise.
22306 * sysdeps/x86_64/fpu/math_private.h: Likewise.
22307
4e234f5d 22308 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
33154d7b
RH
22309 and <math_private.h>.
22310 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
22311 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
22312 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
22313 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
22314 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
22315 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
22316 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
22317 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22318 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22319 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
22320 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22321 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
22322 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22323 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
22324 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22325 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22326 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22327 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22328 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22329 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
22330 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22331 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22332 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22333 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
22334 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
22335 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22336 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22337 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22338 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22339 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22340 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22341 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22342 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
22343 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22344 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22345 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22346 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22347 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22348 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22349 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22350 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
22351 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22352 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
22353 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22354 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
22355 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22356 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
22357 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
22358 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22359 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22360 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
22361 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
22362 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
22363 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22364 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
22365 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22366 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
22367 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22368 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
22369 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
22370 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22371 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
22372 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22373 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22374 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
22375 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
22376 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
22377 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
22378 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
22379 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
22380 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
22381 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
22382 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
22383 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
22384 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
22385 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
22386 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
22387 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22388 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
22389 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
22390 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
22391 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
22392 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
22393 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
22394 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
22395 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
22396 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
22397 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
22398 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
22399 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
22400 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
22401 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
22402 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
22403 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
22404 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
22405 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
22406 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
22407 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
22408 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
22409 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
22410 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
22411 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
22412 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
22413 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
22414 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
22415 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
22416 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
22417 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
22418 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
22419 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
22420 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
22421 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
22422 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
22423 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
22424 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
22425 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
22426 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
22427 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
22428 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
22429 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
22430 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
22431 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
22432 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
22433 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
22434 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
22435 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
22436 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
22437 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
22438 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
22439 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
22440 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
22441 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
22442 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
22443 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
22444 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
22445 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
22446 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
22447 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
22448 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
22449 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
22450 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
22451 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
22452 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
22453 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
22454 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
22455 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
22456 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
22457 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
22458 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
22459 * sysdeps/ieee754/k_standard.c: Likewise.
22460 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
22461 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
22462 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
22463 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
22464 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
22465 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
22466 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
22467 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
22468 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
22469 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
22470 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
22471 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
22472 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
22473 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
22474 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
22475 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
22476 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
22477 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
22478 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
22479 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
22480 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
22481 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
22482 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
22483 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
22484 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
22485 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
22486 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
22487 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
22488 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
22489 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
22490 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
22491 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
22492 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
22493 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
22494 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
22495 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
22496 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
22497 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
22498 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
22499 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
22500 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
22501 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
22502 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
22503 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
22504 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
22505 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
22506 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
22507 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
22508 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
22509 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
22510 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
22511 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
22512 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
22513 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
22514 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
22515 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
22516 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
22517 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
22518 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
22519 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
22520 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
22521 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
22522 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
22523 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
22524 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
22525 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
22526 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
22527 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
22528 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
22529 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
22530 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
22531 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
22532 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
22533 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
22534 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
22535 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
22536 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
22537 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
22538 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22539 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
22540 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
22541 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
22542 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
22543 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
22544 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
22545 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
22546 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
22547 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
22548 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
22549 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
22550 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
22551 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
22552 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
22553 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
22554 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
22555 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
22556 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
22557 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
22558 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
22559 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
22560 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
22561 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
22562 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
22563 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
22564 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
22565 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
22566 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
22567 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
22568 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
22569 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
22570 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
22571 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
22572 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
22573 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
22574 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
22575 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
22576 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
22577 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
22578 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
22579 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
22580 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
22581 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
22582 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
22583 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
22584 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
22585 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
22586 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
22587 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
22588 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
22589 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
22590 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
22591 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
22592 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
22593 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
22594 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
22595 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
22596 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
22597 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
22598 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
22599 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
22600 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
22601 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
22602 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
22603 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
22604 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
22605 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
22606 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
22607 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
22608 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
22609 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
22610 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
22611 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
22612 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
22613 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
22614 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
22615 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
22616 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
22617 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
22618 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
22619 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
22620 * sysdeps/ieee754/s_lib_version.c: Likewise.
22621 * sysdeps/ieee754/s_matherr.c: Likewise.
22622 * sysdeps/ieee754/s_signgam.c: Likewise.
22623 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
22624 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
22625 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
22626 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
22627 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
22628 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
22629 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
22630 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
22631 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
22632 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
22633 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
22634 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
22635 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
22636 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
22637 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
22638 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
22639 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
22640 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
22641 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
22642 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
22643 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
1ed0291c 22644
1991fa03
JM
226452012-03-09 Joseph Myers <joseph@codesourcery.com>
22646
22647 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
22648 * sunrpc/rpc_main.c: Likewise.
22649 * sunrpc/rpc_svcout.c: Likewise.
22650
60d6f5a6
DM
226512012-03-09 David S. Miller <davem@davemloft.net>
22652
22653 * include/math_private.h: New file.
22654
4962050e
JM
226552012-03-09 Joseph Myers <joseph@codesourcery.com>
22656
02a6f887
JM
22657 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
22658 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
22659 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
22660 from <bits/socket_type.h>.
22661 (enum __socket_type): Don't define here.
22662 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
22663 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
22664 bits/socket_type.h.
22665
c6e013c1
JM
22666 [BZ #13566]
22667 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
22668 checking __USE_GNU.
22669
4962050e
JM
22670 * Makerules ($(inst_includedir)/%.h): New rule.
22671 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
22672 (install-others): Remove variable setting.
22673 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
22674
38842f45
RH
226752012-03-08 Richard Henderson <rth@twiddle.net>
22676
67bb6da6
RH
22677 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
22678 from macro to inline function; merge with the
22679 !__LIBC_INTERNAL_MATH_INLINES version.
22680 (__ieee754_sqrtf): Likewise.
22681
15194b4b
RH
22682 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
22683 to inline function.
22684 (__rintf, __floor, __floorf): Likewise.
22685
64e21ede
RH
22686 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
22687 macro to inline function.
22688 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
22689
38842f45
RH
22690 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
22691 not <math/math_private.h>.
22692
c64bf5fe
DM
226932012-03-08 David S. Miller <davem@davemloft.net>
22694
22695 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
22696 copyright year.
22697 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
22698
82d86f28
TS
226992012-03-08 Thomas Schwinge <thomas@codesourcery.com>
22700
22701 * resolv/gai_misc.c (handle_requests): Fix struct timespec
22702 normalization.
22703 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
22704 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
22705
aea5d727
UD
227062012-03-08 Ulrich Drepper <drepper@gmail.com>
22707
22708 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
22709 be defined individually, they must be defined as a block. Define
22710 S for printing a string instead of hidint the different by using a
22711 macro for adding the 'l'.
22712 * stdio-common/tst-fphex-wide.c: Adjust.
22713
70bca0a3
MP
227142012-03-07 Marek Polacek <polacek@redhat.com>
22715
22716 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
22717
65b81130
MP
227182012-03-08 Marek Polacek <polacek@redhat.com>
22719
22720 [BZ #13806]
22721 * stdio-common/Makefile (tests): Add tst-fphex-wide.
22722 * stdio-common/tst-fphex.c: Define a few macros to make the
22723 test reusable. Use them.
22724 * stdio-common/tst-fphex-wide.c: New file.
22725
07037eeb
JM
227262012-03-08 Joseph Myers <joseph@codesourcery.com>
22727
a7a93d50
JM
22728 [BZ #6911]
22729 * manual/macros.texi (gnusystems): New macro.
22730 (nongnusystems): Likewise.
22731 (gnulinuxhurdsystems): Likewise.
22732 (gnuhurdsystems): Likewise..
22733 (gnulinuxsystems): Likewise.
22734 * manual/charset.texi: Use new macros or @theglibc{} to refer to
22735 variants of the GNU system, not "GNU system".
22736 * manual/conf.texi: Likewise.
22737 * manual/errno.texi: Likewise. Update example of errno macro
22738 expansion.
22739 * manual/filesys.texi: Likewise.
22740 (getumask): Document as specific to GNU/Hurd.
22741 * manual/install.texi: Likewise. Reword some references to
22742 GNU/Linux.
22743 * manual/intro.texi: Likewise.
22744 * manual/io.texi: Likewise.
22745 (File Name Portability): Detail which constraints are inapplicable
22746 to all GNU systems and which are only inapplicable to GNU/Hurd.
22747 * manual/job.texi: Likewise.
22748 * manual/llio.texi: Likewise.
22749 (O_NOCTTY): Document as present on GNU/Linux.
22750 * manual/maint.texi: Likewise.
22751 * manual/memory.texi: Likewise.
22752 * manual/pattern.texi: Likewise.
22753 * manual/pipe.texi: Likewise.
22754 * manual/process.texi: Likewise.
22755 * manual/resource.texi: Likewise.
22756 (RUSAGE_CHILDREN): Remove statement about specifying a particular
22757 child on GNU/Hurd.
22758 * manual/setjmp.texi: Likewise.
22759 * manual/signal.texi: Likewise.
22760 * manual/startup.texi: Likewise.
22761 * manual/stdio.texi: Likewise.
22762 * manual/terminal.texi: Likewise.
22763 (ONLCR): Document as POSIX.
22764 (OXTABS): Document availability on GNU/Linux as XTABS.
22765 (ONOEOT): Document availability separately from other bits.
22766 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
22767 * manual/time.texi: Likewise.
22768 * manual/users.texi: Likewise.
22769 * INSTALL: Regenerated.
22770 * sysdeps/gnu/errlist.c: Regenerated.
22771
07037eeb
JM
22772 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
22773 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
22774 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
22775 puts.
22776 * configure: Regenerated.
22777
d1d3431a
JM
227782012-03-07 Joseph Myers <joseph@codesourcery.com>
22779
af6a1e37
JM
22780 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
22781 default includes instead of AC_HEADER_CHECK.
22782 * sysdeps/i386/configure: Regenerated.
22783
d1d3431a
JM
22784 [BZ #10716]
22785 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
22786 * math/s_cacoshf.c (__cacoshf): Likewise.
22787 * math/s_cacoshl.c (__cacoshl): Likewise.
22788 * math/s_casinh.c (__casinh): Set signs of result from argument.
22789 * math/s_casinhf.c (__casinhf): Likewise.
22790 * math/s_casinhl.c (__casinhl): Likewise.
22791 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
22792 (casinh_test): Add more tests.
22793 * sysdeps/i386/fpu/libm-test-ulps: Update.
22794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22795
482ff4da
UD
227962012-03-07 Ulrich Drepper <drepper@gmail.com>
22797
872fda05
UD
22798 * po/zh_TW.po: Update from translation team.
22799
a4300c7a
UD
22800 * login/Makefile (distribute): Remove variable.
22801 * catgets/Makefile: Likewise.
22802 * mach/Makefile: Likewise.
22803 * malloc/Makefile: Likewise.
22804 * misc/Makefile: Likewise.
22805 * iconv/Makefile: Likewise.
22806 * nscd/Makefile: Likewise.
22807 * hurd/Makefile: Likewise.
22808 * manual/Makefile: Likewise.
22809 * locale/Makefile: Likewise.
22810 * intl/Makefile: Likewise.
22811 * conform/Makefile: Likewise.
22812 * nss/Makefile: Likewise.
22813 * time/Makefile: Likewise.
22814 * soft-fp/Makefile: Likewise.
22815 * dirent/Makefile: Likewise.
22816 * gmon/Makefile: Likewise.
22817 * po/Makefile: Likewise.
22818 * rt/Makefile: Likewise.
22819 * socket/Makefile: Likewise.
22820 * math/Makefile: Likewise.
22821 * signal/Makefile: Likewise.
22822 * debug/Makefile: Likewise.
22823 * elf/Makefile: Likewise.
22824 * timezone/Makefile: Likewise.
22825 * stdlib/Makefile: Likewise.
22826 * iconvdata/Makefile: Likewise.
22827 * sunrpc/Makefile: Likewise.
22828 * io/Makefile: Likewise.
22829 * argp/Makefile: Likewise.
22830 * inet/Makefile: Likewise.
22831 * hesiod/Makefile: Likewise.
22832 * grp/Makefile: Likewise.
22833 * csu/Makefile: Likewise.
22834 * wctype/Makefile: Likewise.
22835 * crypt/Makefile: Likewise.
22836 * libio/Makefile: Likewise.
22837 * string/Makefile: Likewise.
22838 * nis/Makefile: Likewise.
22839 * resolv/Makefile: Likewise.
22840 * stdio-common/Makefile: Likewise.
22841 * wcsmbs/Makefile: Likewise.
22842 * dlfcn/Makefile: Likewise.
22843 * posix/Makefile: Likewise.
22844
3b7c4e74 22845 [BZ #6959]
482ff4da
UD
22846 * timezone/Makefile: Don't install timezone files, just the programs
22847 and scripts.
22848
f72ed77d
UD
228492012-03-06 Ulrich Drepper <drepper@gmail.com>
22850
a000466f
UD
22851 * nss/databases.def: Add missing gshadow entry.
22852
f72ed77d
UD
22853 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
22854
a53b7a4e
MP
228552012-03-06 Marek Polacek <polacek@redhat.com>
22856
22857 [BZ #13726]
22858 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
22859 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
22860 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
22861 * stdio-common/tst-long-dbl-fphex.c: New file.
22862
e9258400
DM
228632012-03-06 David S. Miller <davem@davemloft.net>
22864
22865 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
22866 (set_obp_int): New function.
22867 (get_obp_int): New function.
22868 (__get_clockfreq_via_dev_openprom): Likewise.
f72ed77d
UD
22869 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
22870 Avoid unused variable warnings on 'val' and use builtin_expect.
22871 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
22872 __builtin_expect.
e9258400
DM
22873 (INLINE_CLONE_SYSCALL): Likewise.
22874
3bd2c723
DM
228752012-03-05 David S. Miller <davem@davemloft.net>
22876
22877 * sysdeps/sparc/fpu/libm-test-ulps: Update.
22878
bbb78d03
AS
228792012-03-05 Andreas Schwab <schwab@linux-m68k.org>
22880
884c5db4
AS
22881 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22882
bbb78d03
AS
22883 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
22884 only for |x| >= 40.
22885 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
22886
1c9f702a 228872012-03-05 H.J. Lu <hongjiu.lu@intel.com>
8542dee3
L
22888
22889 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
22890 Replace gettimeofday with __vdso_gettimeofday.
22891
7be16f82
RM
22892 * sysdeps/unix/sysv/linux/x86_64/init-first.c
22893 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
22894 __vdso_clock_gettime and __vdso_getcpu.
8542dee3
L
22895
22896 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
22897 time with __vdso_time.
22898
ed58a00f
JM
228992012-03-05 Joseph Myers <joseph@codesourcery.com>
22900
22901 * manual/lang.texi (size_t): Note types to which size_t may be
22902 equivalent with the GNU C Library, but do not describe when
22903 differences between them are significant.
22904
30ee4ced
AJ
229052012-03-05 Andreas Jaeger <aj@suse.de>
22906
22907 * sysdeps/i386/fpu/libm-test-ulps: Update.
22908
b7cd39e8
JM
229092012-03-05 Joseph Myers <joseph@codesourcery.com>
22910
22911 [BZ #3976]
22912 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
22913 (__ieee754_pow): Save and restore rounding mode and use
22914 round-to-nearest for main computations.
22915 * math/libm-test.inc (pow_test_tonearest): New function.
22916 (pow_test_towardzero): Likewise.
22917 (pow_test_downward): Likewise.
22918 (pow_test_upward): Likewise.
22919 (main): Call the new functions.
22920 * sysdeps/i386/fpu/libm-test-ulps: Update.
22921 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
ca811b22
JM
22922
22923 [BZ #3976]
22924 * math/libm-test.inc (cosh_test_tonearest): New function.
22925 (cosh_test_towardzero): Likewise.
22926 (cosh_test_downward): Likewise.
22927 (cosh_test_upward): Likewise.
22928 (sinh_test_tonearest): Likewise.
22929 (sinh_test_towardzero): Likewise.
22930 (sinh_test_downward): Likewise.
22931 (sinh_test_upward): Likewise.
22932 (main): Call the new functions.
22933 * sysdeps/i386/fpu/libm-test-ulps: Update.
22934 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22935
6c6a98c9
TV
229362012-03-05 Tom de Vries <tom@codesourcery.com>
22937
22938 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
22939 default stack guard is set in last bytes.
22940 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
22941
21bb2d2e 229422012-03-05 Kees Cook <keescook@chromium.org>
7c1f4834 22943
21bb2d2e 22944 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
fa035517 22945
21bb2d2e
AJ
22946 [BZ #13656]
22947 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
22948 possibly allocate from heap instead of stack.
22949 * stdio-common/bug-vfprintf-nargs.c: New file.
22950 * stdio-common/Makefile (tests): Add nargs overflow test.
7c1f4834 22951
c6922934
AS
229522012-03-03 Andreas Schwab <schwab@linux-m68k.org>
22953
22954 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22955
bc957d53
MP
229562012-03-03 Marek Polacek <polacek@redhat.com>
22957
22958 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
22959 * math/math_private.h: Likewise.
22960 * stdlib/tst-strtod.c: Likewise.
22961 * sysdeps/i386/i486/bits/atomic.h: Likewise.
22962 * sysdeps/x86_64/bits/atomic.h: Likewise.
22963
6358490d
DM
229642012-03-02 David S. Miller <davem@davemloft.net>
22965
22966 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
22967 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
22968 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
22969 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
22970 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
22971 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
22972 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
22973 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
22974
01ae168d
RM
229752012-03-02 Roland McGrath <roland@hack.frob.com>
22976
d9a17c07
RM
22977 [BZ #13792]
22978 * manual/examples/README: New file, says the example source files
22979 can be used under GPL>=2.
22980 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
22981 line containing just "*/".
22982 * manual/examples/add.c: Add copyright header (GPL>=2).
22983 * manual/examples/argp-ex1.c: Likewise.
22984 * manual/examples/argp-ex2.c: Likewise.
22985 * manual/examples/argp-ex3.c: Likewise.
22986 * manual/examples/argp-ex4.c: Likewise.
22987 * manual/examples/atexit.c: Likewise.
22988 * manual/examples/db.c: Likewise.
22989 * manual/examples/dir.c: Likewise.
22990 * manual/examples/dir2.c: Likewise.
22991 * manual/examples/execinfo.c: Likewise.
22992 * manual/examples/filecli.c: Likewise.
22993 * manual/examples/filesrv.c: Likewise.
22994 * manual/examples/fmtmsgexpl.c: Likewise.
22995 * manual/examples/genpass.c: Likewise.
22996 * manual/examples/inetcli.c: Likewise.
22997 * manual/examples/inetsrv.c: Likewise.
22998 * manual/examples/isockad.c: Likewise.
22999 * manual/examples/longopt.c: Likewise.
23000 * manual/examples/memopen.c: Likewise.
23001 * manual/examples/memstrm.c: Likewise.
23002 * manual/examples/mkfsock.c: Likewise.
23003 * manual/examples/mkisock.c: Likewise.
23004 * manual/examples/mygetpass.c: Likewise.
23005 * manual/examples/pipe.c: Likewise.
23006 * manual/examples/popen.c: Likewise.
23007 * manual/examples/rprintf.c: Likewise.
23008 * manual/examples/search.c: Likewise.
23009 * manual/examples/select.c: Likewise.
23010 * manual/examples/setjmp.c: Likewise.
23011 * manual/examples/sigh1.c: Likewise.
23012 * manual/examples/sigusr.c: Likewise.
23013 * manual/examples/stpcpy.c: Likewise.
23014 * manual/examples/strdupa.c: Likewise.
23015 * manual/examples/strftim.c: Likewise.
23016 * manual/examples/strncat.c: Likewise.
23017 * manual/examples/subopt.c: Likewise.
23018 * manual/examples/swapcontext.c: Likewise.
23019 * manual/examples/termios.c: Likewise.
23020 * manual/examples/testopt.c: Likewise.
23021 * manual/examples/testpass.c: Likewise.
23022 * manual/examples/timeval_subtract.c: Likewise.
23023
01ae168d
RM
23024 [BZ #13792]
23025 * manual/time.texi (Elapsed Time): Move timeval_subtract example
23026 function to ...
23027 * manual/timeval_subtract.c.texi: ... here, new file.
23028
49efa33d
DM
230292012-03-02 David S. Miller <davem@davemloft.net>
23030
23031 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
23032
28afd92d
JM
230332012-03-02 Joseph Myers <joseph@codesourcery.com>
23034
804360ed
JM
23035 [BZ #3976]
23036 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
23037 (__sin): Save and restore rounding mode and use round-to-nearest
23038 for all computations.
23039 (__cos): Save and restore rounding mode and use round-to-nearest
23040 for all computations.
23041 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
23042 <fenv.h>.
23043 (tan): Save and restore rounding mode and use round-to-nearest for
23044 all computations.
23045 * math/libm-test.inc (cos_test_tonearest): New function.
23046 (cos_test_towardzero): Likewise.
23047 (cos_test_downward): Likewise.
23048 (cos_test_upward): Likewise.
23049 (sin_test_tonearest): Likewise.
23050 (sin_test_towardzero): Likewise.
23051 (sin_test_downward): Likewise.
23052 (sin_test_upward): Likewise.
23053 (tan_test_tonearest): Likewise.
23054 (tan_test_towardzero): Likewise.
23055 (tan_test_downward): Likewise.
23056 (tan_test_upward): Likewise.
23057 (main): Call the new functions.
23058 * sysdeps/i386/fpu/libm-test-ulps: Update.
23059 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23060
a6d06d7b
JM
23061 [BZ #10135]
23062 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
23063 small n, then large n, before computing and testing k+n.
23064 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
23065 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
23066 Likewise.
23067 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
23068 Likewise.
23069 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
23070 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
23071 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
23072 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
23073 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
23074 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
23075 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
23076 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
23077 * math/libm-test.inc (scalbn_test): Add more tests.
23078 (scalbln_test): Likewise.
23079
07e12bb3
JM
23080 * manual/filesys.texi (mode_t): Describe constraints on size and
23081 signedness, not exact equivalence to a particular type.
23082 (ino_t): Likewise.
23083 (ino64_t): Likewise.
23084 (dev_t): Likewise.
23085 (nlink_t): Likewise.
23086 (blkcnt_t): Likewise.
23087 (blkcnt64_t): Likewise.
23088 * manual/llio.texi (off_t): Likewise.
23089
28afd92d
JM
23090 [BZ #3976]
23091 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
23092 (__ieee754_exp): Save and restore rounding mode and use
23093 round-to-nearest for all computations.
23094 * math/libm-test.inc (exp_test_tonearest): New function.
23095 (exp_test_towardzero): Likewise.
23096 (exp_test_downward): Likewise.
23097 (exp_test_upward): Likewise.
23098 (main): Call the new functions.
23099 * sysdeps/i386/fpu/libm-test-ulps: Update.
23100 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23101
b1eeb65d
CD
231022012-03-01 Chris Demetriou <cgd@google.com>
23103
23104 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
23105 have predictable order.
23106
53362a4b
DM
231072012-03-01 David S. Miller <davem@davemloft.net>
23108
3c969083
DM
23109 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
23110
759707de
DM
23111 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
23112 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
23113 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
23114 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
23115
dfdb8ff2
DM
23116 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
23117 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
23118 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
23119 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
23120 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
23121 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
23122 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
23123 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
23124 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
23125
ead89f96
DM
23126 * sysdeps/sparc/fpu/libm-test-ulps: Update.
23127
7f66bd07
DM
23128 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
23129 * sysdeps/sparc/fpu/libm-test-ulps: to here.
23130 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
23131
53362a4b
DM
23132 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
23133 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
23134 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23135 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
23136 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
23137 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
23138 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
23139 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
23140 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23141 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
23142 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
23143 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23144 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
23145 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23146 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23147 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23148 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
23149 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
23150 * sysdeps/sparc/elf/configure: Regenerated.
23151
7b1902cb
JM
231522012-03-01 Joseph Myers <joseph@codesourcery.com>
23153
bec039bc
JM
23154 * configure.in (AS, LD): Require binutils 2.20 or later.
23155 * configure: Regenerated.
23156 * manual/install.texi (Tools for Compilation): Give binutils 2.20
23157 as required minimum version.
23158 * INSTALL: Regenerated.
23159
7b1902cb
JM
23160 [BZ #2541]
23161 [BZ #4108]
23162 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
23163 before squaring exponent.
23164 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
23165 bottom long double and 27 bits of top long double before squaring
23166 exponent.
23167 * math/libm-test.inc (erfc_test): Add more tests.
23168 * sysdeps/i386/fpu/libm-test-ulps: Update.
23169 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23170 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23171
f775c276
KT
231722012-03-01 Kai Tietz <ktietz@redhat.com>
23173
23174 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
23175 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
23176 containing bit-fields.
23177 * soft-fp/extended.h (_FP_UNION_E): Likewise.
23178 * soft-fp/single.h (_FP_UNION_S): Likewise.
23179 * soft-fp/double.h (_FP_UNION_D): Likewise.
23180
5b8a4d4a
JM
231812012-02-29 Joseph Myers <joseph@codesourcery.com>
23182
0bab47b6
JM
23183 [BZ #13786]
23184 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
23185 not include ../strcmp.S.
23186 [USE_AS_STRNCASECMP_L]: Likewise.
23187 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
23188 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
23189 * sysdeps/i386/i686/multiarch/strncase_l-c.c
23190 (__strncasecmp_l_ia32): Define as alias to
23191 __strncasecmp_l_nonascii.
23192
0fcad3e2
JM
23193 [BZ #5794]
23194 * math/libm-test.inc (expm1_test): Add test for bug 5794.
23195 * sysdeps/i386/fpu/libm-test-ulps: Update.
23196 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23197
5b8a4d4a
JM
23198 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
23199 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23200
8fdceb2e
JL
232012012-02-29 Jeff Law <law@redhat.com>
23202
23203 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
23204 out of bounds read.
23205
1f393a11
MP
232062012-02-29 Marek Polacek <polacek@redhat.com>
23207
23208 [BZ #13706]
23209 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
23210 * elf/Makefile: Add rules to run tst-unused-dep.out.
23211
8847f037
DM
232122012-02-28 David S. Miller <davem@davemloft.net>
23213
23214 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
23215 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
23216 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
23217 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
23218 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
23219 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
23220
169d7f11
JM
232212012-02-29 Joseph Myers <joseph@codesourcery.com>
23222
23223 * math/libm-test.inc (llround_test): Move one test from
23224 lround_test. Use TEST_f_L in moved test.
23225 (lround_test): Move misplaced test to llround_test. Add testcase
23226 from bug 2561.
23227
39adf059
UD
232282012-02-28 Ulrich Drepper <drepper@gmail.com>
23229
23230 * sysdeps/x86_64/fpu/e_expf.S: New file.
23231 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
23232
71b5d1c5
SB
232332012-02-28 Stanislav Brabec <sbrabec@suse.cz>
23234
23235 [BZ #13637]
23236 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
23237 of remain_len that may cause incomplete multi-byte character and
23238 false match.
23239 * posix/bug-regex33.c: New file.
23240 * posix/Makefile (tests): Add bug-regex33.
23241
1f77f049
JM
232422012-02-28 Joseph Myers <joseph@codesourcery.com>
23243
23244 * manual/macros.texi: New file.
23245 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
23246 * manual/libc.texinfo: Include macros.texi.
23247 * manual/creatute.texi: Likewise.
23248 * manual/install.texi: Likewise.
23249 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
23250 @glibcadj{} in references to the GNU C Library.
23251 * manual/charset.texi: Likewise.
23252 * manual/conf.texi: Likewise.
23253 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
23254 when not using those macros.
23255 * manual/creature.texi: Likewise.
23256 * manual/crypt.texi: Likewise.
23257 * manual/errno.texi: Likewise.
23258 * manual/filesys.texi: Likewise.
23259 * manual/header.texi: Likewise.
23260 * manual/install.texi: Likewise.
23261 * manual/intro.texi: Likewise.
23262 * manual/io.texi: Likewise.
23263 * manual/job.texi: Likewise.
23264 * manual/lang.texi: Likewise.
23265 * manual/libc.texiinfo: Likewise.
23266 * manual/llio.texi: Likewise.
23267 * manual/locale.texi: Likewise.
23268 * manual/maint.texi: Likewise.
23269 * manual/math.texi: Likewise.
23270 * manual/memory.texi: Likewise.
23271 * manual/message.texi: Likewise.
23272 * manual/nss.texi: Likewise.
23273 * manual/pattern.texi: Likewise.
23274 * manual/process.texi: Likewise.
23275 * manual/resource.texi: Likewise.
23276 * manual/search.texi: Likewise.
23277 * manual/setjmp.texi: Likewise.
23278 * manual/signal.texi: Likewise.
23279 * manual/socket.texi: Likewise.
23280 * manual/startup.texi: Likewise.
23281 * manual/stdio.texi: Likewise.
23282 * manual/string.texi: Likewise.
23283 * manual/sysinfo.texi: Likewise.
23284 * manual/syslog.texi: Likewise.
23285 * manual/terminal.texi: Likewise.
23286 * manual/time.texi: Likewise.
23287 * manual/users.texi: Likewise.
23288 * INSTALL: Regenerated.
23289 * NOTES: Regenerated.
d40c5d54 23290 * sysdeps/gnu/errlist.c: Regenerated.
1f77f049 23291
450bf206
AS
232922012-02-28 Andreas Schwab <schwab@linux-m68k.org>
23293
23294 * include/dirent.h: Include <dirstream.h> before
23295 <dirent/dirent.h>.
23296
741a235b
DM
232972012-02-28 David S. Miller <davem@davemloft.net>
23298
23299 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
23300 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
23301 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
23302 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
23303
d6b5aa58
DM
233042012-02-27 David S. Miller <davem@davemloft.net>
23305
1aff59a3
DM
23306 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
23307 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
23308 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
23309 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
23310
d6b5aa58
DM
23311 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
23312 frame pointer instead of stack pointer relative arg slot.
23313 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23314 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23315 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23316
433f48bf
CD
233172012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
23318
23319 [BZ #3992]
23320 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
23321
d674b76d
DM
233222012-02-27 David S. Miller <davem@davemloft.net>
23323
23324 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
23325 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
23326 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
23327 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
23328 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
23329 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
23330 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
23331 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
23332
0e7727f7
JM
233332012-02-27 Joseph Myers <joseph@codesourcery.com>
23334
23335 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
23336 later. Allow versions 5-9.
43be4ca2 23337 * configure: Regenerated.
0e7727f7
JM
23338 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
23339 required minimum version and 4.6 as recommended version. Do not
23340 mention bugs in GCC 2.7 and 2.8.
43be4ca2 23341 * INSTALL: Regenerated.
0e7727f7 23342
a78bc654
DM
233432012-02-27 David S. Miller <davem@davemloft.net>
23344
428d5830
DM
23345 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
23346 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
23347 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
23348 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
23349 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
23350 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
23351 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
23352 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
23353
a78bc654
DM
23354 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
23355 manipulate bits before adding and subtracting TWO112[sx].
23356 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
23357
4579f81c
RM
233582012-02-27 Roland McGrath <roland@hack.frob.com>
23359
36c8acb4
RM
23360 [BZ #13775]
23361 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
23362 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
23363 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
23364 being in POSIX, because they are in 1003.1-2008.
23365
84ad622b
RM
23366 * rt/tst-aio.c: Include <fcntl.h>.
23367 * rt/tst-aio7.c: Likewise.
23368 * rt/tst-aio64.c: Likewise.
23369
4579f81c
RM
23370 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
23371
abd923db
JM
233722012-02-27 Joseph Myers <joseph@codesourcery.com>
23373
23374 * manual/install.texi (--with-headers): Describe headers as
23375 interface headers, not private headers.
23376 (Specific advice for GNU/Linux systems): Describe use of headers
23377 from "make headers_install", not private headers from older
23378 kernels.
43be4ca2 23379 * INSTALL: Regenerated.
abd923db
JM
23380 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
23381 Change to 2.6.19.
23382 * sysdeps/unix/sysv/linux/configure: Regenerated.
23383
6664049b
JM
23384 * manual/llio.texi (fclean): Remove documentation.
23385
bb8b6697
JM
23386 * manual/Makefile (libc-texi-generated): New variable. Include
23387 version.texi.
23388 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
23389 $(libc-texi-generated), not duplicated list of files.
23390 (version.texi, stamp-version): New rules.
23391 (realclean): Remove $(libc-texi-generated), not individual files
23392 from that list. Do not remove dir-add.texinfo.
23393 * manual/libc.texinfo: Comment out uses of edition numbers and
23394 references to printed manual. Remove last-updated dates.
23395 (EDITION): Comment out.
23396 (ISBN): Likewise.
23397 (VERSION, UPDATED): Remove.
23398 (version.texi): Include.
23399
12e5c3b9
AS
234002012-02-27 Andreas Schwab <schwab@linux-m68k.org>
23401
23402 * sysdeps/posix/spawni.c: Include <signal.h>.
23403 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
23404 * sysdeps/pthread/aio_fsync.c: Likewise.
23405
4efeffc1 234062012-02-26 Ulrich Drepper <drepper@gmail.com>
d94a4670 23407
ba63ba08
UD
23408 * conform/Makefile (tests): Run only when not cross-compiling and
23409 when fast-check is not defined.
23410
d94a4670
UD
23411 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
23412 * conform/data/limits.h-data: Fixes for POSIX2008.
23413 * conform/run-conformtest.sh: Run all tests.
23414 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
23415 headers.
23416 * include/bits/dlfcn.h: Likewise.
23417 * include/langinfo.h: Likewise.
23418 * include/monetary.h: Likewise.
23419 * include/sys/poll.h: Likewise.
23420
23421 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
23422 for __USE_GNU.
23423 * posix/spawn.h: Define __need_sigset_t.
23424 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
23425 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
23426 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
23427 to get sigevent_t only.
23428 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
23429 only for __USE_GNU.
23430 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
23431 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
23432 process_vm_writev only for __USE_GNU.
23433 * termios/termios.h: Declare tcgetsid also for POSIX2008.
4efeffc1
UD
23434
23435 * conform/Makefile: For now ignore errors from run-conformtest.
23436 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
23437 POSIX to avoid namespace pollution. Don't prepend headers.
23438 * conform/data/aio.h-data: Fixes for POSIX testing.
23439 * conform/data/fcntl.h-data: Likewise.
23440 * conform/data/glob.h-data: Likewise.
23441 * conform/data/grp.h-data: Likewise.
23442 * conform/data/pthread.h-data: Likewise.
23443 * conform/data/pwd.h-data: Likewise.
23444 * conform/data/signal.h-data: Likewise.
23445 * conform/data/spawn.h-data: Likewise.
23446 * conform/data/stdio.h-data: Likewise.
23447 * conform/data/stdlib.h-data: Likewise.
23448 * conform/data/stropts.h-data: Likewise.
23449 * conform/data/sys/mman.h-data: Likewise.
23450 * conform/data/sys/stat.h-data: Likewise.
23451 * conform/data/sys/types.h-data: Likewise.
23452 * conform/data/sys/wait.h-data: Likewise.
23453 * conform/data/time.h-data: Likewise.
23454 * conform/data/unistd.h-data: Likewise.
23455 * conform/data/utime.h-data: Likewise.
23456
23457 * io/sys/stat.h: fchmod was always in POSIX.
23458 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
23459 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
23460 * rt/aio.h: Define __need_timespec before including <time.h>.
23461 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
23462 struct. Add forward declaration of pthread_attr_t and use it in
23463 sigevent.
23464 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
23465 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
23466 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
23467 always remove CLK_TCK definition.
23468
c20105c3
AS
234692012-02-26 Andreas Schwab <schwab@linux-m68k.org>
23470
23471 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
23472
7a270350
UD
234732012-02-25 Ulrich Drepper <drepper@gmail.com>
23474
31341567
UD
23475 * conform/run-conformtest.sh: New file.
23476 * conform/Makefile: Run run-conformtest for tests.
23477 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
23478 support.
23479
23480 * conform/data/uchar.h-data: New file.
23481 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
23482 * conform/data/arpa/inet.h-data: Likewise.
23483 * conform/data/assert.h-data: Likewise.
23484 * conform/data/complex.h-data: Likewise.
23485 * conform/data/cpio.h-data: Likewise.
23486 * conform/data/ctype.h-data: Likewise.
23487 * conform/data/dirent.h-data: Likewise.
23488 * conform/data/dlfcn.h-data: Likewise.
23489 * conform/data/errno.h-data: Likewise.
23490 * conform/data/fcntl.h-data: Likewise.
23491 * conform/data/float.h-data: Likewise.
23492 * conform/data/fmtmsg.h-data: Likewise.
23493 * conform/data/fnmatch.h-data: Likewise.
23494 * conform/data/ftw.h-data: Likewise.
23495 * conform/data/glob.h-data: Likewise.
23496 * conform/data/grp.h-data: Likewise.
23497 * conform/data/iconv.h-data: Likewise.
23498 * conform/data/inttypes.h-data: Likewise.
23499 * conform/data/langinfo.h-data: Likewise.
23500 * conform/data/libgen.h-data: Likewise.
23501 * conform/data/limits.h-data: Likewise.
23502 * conform/data/locale.h-data: Likewise.
23503 * conform/data/math.h-data: Likewise.
23504 * conform/data/monetary.h-data: Likewise.
23505 * conform/data/mqueue.h-data: Likewise.
23506 * conform/data/ndbm.h-data: Likewise.
23507 * conform/data/net/if.h-data: Likewise.
23508 * conform/data/netdb.h-data: Likewise.
23509 * conform/data/netinet/in.h-data: Likewise.
23510 * conform/data/nl_types.h-data: Likewise.
23511 * conform/data/poll.h-data: Likewise.
23512 * conform/data/pthread.h-data: Likewise.
23513 * conform/data/pwd.h-data: Likewise.
23514 * conform/data/regex.h-data: Likewise.
23515 * conform/data/sched.h-data: Likewise.
23516 * conform/data/search.h-data: Likewise.
23517 * conform/data/semaphore.h-data: Likewise.
23518 * conform/data/setjmp.h-data: Likewise.
23519 * conform/data/signal.h-data: Likewise.
23520 * conform/data/spawn.h-data: Likewise.
23521 * conform/data/stdarg.h-data: Likewise.
23522 * conform/data/stdio.h-data: Likewise.
23523 * conform/data/stdlib.h-data: Likewise.
23524 * conform/data/string.h-data: Likewise.
23525 * conform/data/strings.h-data: Likewise.
23526 * conform/data/stropts.h-data: Likewise.
23527 * conform/data/sys/ipc.h-data: Likewise.
23528 * conform/data/sys/mman.h-data: Likewise.
23529 * conform/data/sys/msg.h-data: Likewise.
23530 * conform/data/sys/resource.h-data: Likewise.
23531 * conform/data/sys/select.h-data: Likewise.
23532 * conform/data/sys/sem.h-data: Likewise.
23533 * conform/data/sys/shm.h-data: Likewise.
23534 * conform/data/sys/socket.h-data: Likewise.
23535 * conform/data/sys/stat.h-data: Likewise.
23536 * conform/data/sys/statvfs.h-data: Likewise.
23537 * conform/data/sys/time.h-data: Likewise.
23538 * conform/data/sys/timeb.h-data: Likewise.
23539 * conform/data/sys/times.h-data: Likewise.
23540 * conform/data/sys/types.h-data: Likewise.
23541 * conform/data/sys/uio.h-data: Likewise.
23542 * conform/data/sys/un.h-data: Likewise.
23543 * conform/data/sys/utsname.h-data: Likewise.
23544 * conform/data/sys/wait.h-data: Likewise.
23545 * conform/data/syslog.h-data: Likewise.
23546 * conform/data/tar.h-data: Likewise.
23547 * conform/data/termios.h-data: Likewise.
23548 * conform/data/utime.h-data: Likewise.
23549 * conform/data/utmpx.h-data: Likewise.
23550 * conform/data/varargs.h-data: Likewise.
23551 * conform/data/wchar.h-data: Likewise.
23552 * conform/data/wctype.h-data: Likewise.
23553 * conform/data/wordexp.h-data: Likewise.
23554
23555 * include/stropts.h: New file.
23556 * include/uchar.h: New file.
23557 * include/aio.h: Changes to allow conformtest.pl to use the headers.
23558 * include/assert.h: Likewise.
23559 * include/ctype.h: Likewise.
23560 * include/dirent.h: Likewise.
23561 * include/dlfcn.h: Likewise.
23562 * include/fcntl.h: Likewise.
23563 * include/fnmatch.h: Likewise.
23564 * include/glob.h: Likewise.
23565 * include/grp.h: Likewise.
23566 * include/libio.h: Likewise.
23567 * include/locale.h: Likewise.
23568 * include/math.h: Likewise.
23569 * include/net/if.h: Likewise.
23570 * include/netdb.h: Likewise.
23571 * include/netinet/in.h: Likewise.
23572 * include/pthread.h: Likewise.
23573 * include/pwd.h: Likewise.
23574 * include/regex.h: Likewise.
23575 * include/sched.h: Likewise.
23576 * include/search.h: Likewise.
23577 * include/setjmp.h: Likewise.
23578 * include/signal.h: Likewise.
23579 * include/stdio.h: Likewise.
23580 * include/stdlib.h: Likewise.
23581 * include/string.h: Likewise.
23582 * include/sys/cdefs.h: Likewise.
23583 * include/sys/mman.h: Likewise.
23584 * include/sys/msg.h: Likewise.
23585 * include/sys/resource.h: Likewise.
23586 * include/sys/select.h: Likewise.
23587 * include/sys/socket.h: Likewise.
23588 * include/sys/stat.h: Likewise.
23589 * include/sys/statvfs.h: Likewise.
23590 * include/sys/time.h: Likewise.
23591 * include/sys/times.h: Likewise.
23592 * include/sys/uio.h: Likewise.
23593 * include/sys/utsname.h: Likewise.
23594 * include/sys/wait.h: Likewise.
23595 * include/termios.h: Likewise.
23596 * include/time.h: Likewise.
23597 * include/ulimit.h: Likewise.
23598 * include/unistd.h: Likewise.
23599 * include/utime.h: Likewise.
23600 * include/wchar.h: Likewise.
23601 * include/wctype.h: Likewise.
23602 * include/wordexp.h: Likewise.
23603
23604 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
23605
7a270350
UD
23606 * time/time.h: TIME_UTC must be a macro.
23607 Make timespec_get available for ISO C11 only as well.
23608
7724defc
UD
236092012-02-24 Ulrich Drepper <drepper@gmail.com>
23610
23611 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
23612 Reported by Peng Haitao <penght@cn.fujitsu.com>.
23613
6b1d1d46
JM
236142012-02-24 Joseph Myers <joseph@codesourcery.com>
23615
23616 * configure.in: Use -o not -a in test for unsupported multi-arch.
6b1d1d46 23617
0f8bbd69
JM
236182012-02-24 Joseph Myers <joseph@codesourcery.com>
23619
23620 * manual/texinfo.tex: Update to version 2012-01-19.16.
23621
66ab80bc
JM
236222012-02-24 Joseph Myers <joseph@codesourcery.com>
23623
23624 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
23625
74981cc5
RM
236262012-02-24 Roland McGrath <roland@hack.frob.com>
23627
ee968201
RM
23628 [BZ #13738]
23629 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
23630 * manual/fdl-1.3.texi: New file.
23631 * manual/fdl-1.1.texi: File removed.
23632
74981cc5
RM
23633 [BZ #13738]
23634 * manual/libc.texinfo (FDL_VERSION): New @set.
23635 Use it for mention of FDL in cover text.
23636 (Documentation License): Use it in @include file name.
23637
7bb764bc
JM
236382012-02-22 Joseph Myers <joseph@codesourcery.com>
23639 Roland McGrath <roland@hack.frob.com>
23640
23641 [BZ #5461]
23642 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
23643 not LONG_LONG_MAX and LONG_LONG_MIN.
23644 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
23645 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
23646 name.
23647 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
23648
6cbeae47
JM
236492012-02-22 Joseph Myers <joseph@codesourcery.com>
23650
23651 [BZ #2547]
23652 [BZ #11365]
23653 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
23654 manipulate bits before adding and subtracting TWO23[sx].
23655 * math/libm-test.inc (nearbyint_test): Add more tests.
23656
fe45ce09
JM
236572012-02-22 Joseph Myers <joseph@codesourcery.com>
23658
23659 [BZ #2548]
23660 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
23661 bits before adding and subtracting TWO23[sx].
23662 * math/libm-test.inc (rint_test): Add more tests.
23663 (rint_test_tonearest): Likewise.
23664 (rint_test_towardzero): Likewise.
23665 (rint_test_downward): Likewise.
23666 (rint_test_upward: Likewise.
23667
ff3b3d82
JM
236682012-02-22 Joseph Myers <joseph@codesourcery.com>
23669
23670 [BZ #10110]
23671 * include/stdc-predef.h: New file. Extracted from features.h.
23672 * include/features.h: Include stdc-predef.h.
23673 * Makefile (headers): Add stdc-predef.h.
23674 * CONFORMANCE (Compiler limitations): Update.
23675
ef0aab35
JM
236762012-02-22 Joseph Myers <joseph@codesourcery.com>
23677
23678 * manual/libc.texinfo (VERSION, UPDATED): Revert.
23679
58639409
DM
236802012-02-21 David S. Miller <davem@davemloft.net>
23681
23682 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
23683 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23684
c0e70b25
DM
236852012-02-20 David S. Miller <davem@davemloft.net>
23686
23687 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
23688 using a normal save/restore sequence, rather than allocating a
23689 dummy stack frame just to store a frame pointer and restore.
23690 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23691
fb06851d
JM
236922012-02-21 Joseph Myers <joseph@codesourcery.com>
23693
23694 * manual/install.texi: Fix stray word in line-wrapped comment.
23695
7a8b71c3
DM
236962012-02-20 David S. Miller <davem@davemloft.net>
23697
d510c123
DM
23698 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
23699 both binutils and gcc support GOTDATA.
23700
0722d7c2
DM
23701 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
23702 "rd %pc" in the PIC register setup sequences.
23703
3d2b3019
DM
23704 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
23705 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
23706 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
23707 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
23708 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
23709 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
23710 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23711 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
23712 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
23713 (SYSCALL_ERROR_HANDLER): Likewise.
23714 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
23715 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
23716 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
23717 (SYSCALL_ERROR_HANDLER): Likewise.
23718
c80098a9
DM
23719 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
23720 (HAVE_GCC_GOTDATA): New.
23721 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
23722 relocation support in both binutils and gcc.
23723 * sysdeps/sparc/elf/configure: Regenerate.
23724
3a2545a0
DM
23725 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
23726 * sysdeps/sparc/sparc32/elf/configure: Delete.
23727 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
23728 * sysdeps/sparc/sparc64/elf/configure: Delete.
23729 * sysdeps/sparc/elf/configure.in: New file.
23730 * sysdeps/sparc/elf/configure: Generate.
23731
7a8b71c3
DM
23732 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
23733 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
23734 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
23735 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
23736 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
23737
f1e86fca
JM
237382012-02-21 Joseph Myers <joseph@codesourcery.com>
23739
23740 * manual/install.texi: Do not mention specific glibc version
23741 numbers.
23742 * manual/libc.texinfo (VERSION, UPDATED): Update.
23743 (@copying): Use @copyright{} and range of years.
23744
0e7dfaef
JM
237452012-02-21 Joseph Myers <joseph@codesourcery.com>
23746
23747 [BZ #13695]
23748 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
23749 [crti.S not in sysdirs] (generated): Do not append.
23750 [crti.S not in sysdirs] (omit-deps): Likewise.
23751 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
23752 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
23753 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
23754 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
23755 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
23756 Likewise.
23757 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
23758 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
23759 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
23760 * csu/defs.awk: Remove file.
23761 * sysdeps/generic/initfini.c: Likewise.
23762 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
23763 variable.
23764 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
23765 Likewise.
23766
599af3ca
JM
237672012-02-20 Joseph Myers <joseph@codesourcery.com>
23768
23769 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
23770 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
23771 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
23772 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
23773 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
23774 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
23775 <bits/epoll.h>.
23776 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
23777 (__EPOLL_PACKED): Define to empty if not defined by
23778 <bits/epoll.h>.
23779 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
23780 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23781 bits/epoll.h.
23782
0e499750
JM
237832012-02-20 Joseph Myers <joseph@codesourcery.com>
23784
23785 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
23786 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
23787 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
23788 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
23789 <bits/timerfd.h>.
23790 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
23791 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
23792 bits/timerfd.h.
23793
5ad91f6e
JM
237942012-02-20 Joseph Myers <joseph@codesourcery.com>
23795
23796 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
23797 in C locale.
23798 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
23799 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
23800 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
23801 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23802
06b99b02
AJ
238032012-02-20 Aurelien Jarno <aurelien@aurel32.net>
23804
23805 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
23806 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
23807
7638c0fd
AS
238082012-02-19 Andreas Schwab <schwab@linux-m68k.org>
23809
23810 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
23811 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
23812 defined.
23813 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
23814 Likewise.
23815 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
23816 entry for 2.16.
23817
92221550
AJ
238182012-02-19 Aurelien Jarno <aurelien@aurel32.net>
23819
23820 * math/w_acos.c: Use non-signaling floating-point comparisons.
23821 * math/w_acosf.c: Likewise.
23822 * math/w_acosh.c: Likewise.
23823 * math/w_acoshf.c: Likewise.
23824 * math/w_acoshl.c: Likewise.
23825 * math/w_acosl.c: Likewise.
23826 * math/w_asin.c: Likewise.
23827 * math/w_asinf.c: Likewise.
23828 * math/w_asinl.c: Likewise.
23829 * math/w_atanh.c: Likewise.
23830 * math/w_atanhf.c: Likewise.
23831 * math/w_atanhl.c: Likewise.
23832 * math/w_exp2.c: Likewise.
23833 * math/w_exp2f.c: Likewise.
23834 * math/w_exp2l.c: Likewise.
23835 * math/w_j0.c: Likewise.
23836 * math/w_j0f.c: Likewise.
23837 * math/w_j0l.c: Likewise.
23838 * math/w_j1.c: Likewise.
23839 * math/w_j1f.c: Likewise.
23840 * math/w_j1l.c: Likewise.
23841 * math/w_jn.c: Likewise.
23842 * math/w_jnf.c: Likewise.
23843 * math/w_log.c: Likewise.
23844 * math/w_log10.c: Likewise.
23845 * math/w_log10f.c: Likewise.
23846 * math/w_log10l.c: Likewise.
23847 * math/w_log2.c: Likewise.
23848 * math/w_log2f.c: Likewise.
23849 * math/w_log2l.c: Likewise.
23850 * math/w_logf.c: Likewise.
23851 * math/w_logl.c: Likewise.
23852 * math/w_sqrt.c: Likewise.
23853 * math/w_sqrtf.c: Likewise.
23854 * math/w_sqrtl.c: Likewise.
23855 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
23856 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
23857 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
23858 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
23859 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
23860
ebaf36eb
JM
238612012-02-19 Joseph Myers <joseph@codesourcery.com>
23862
23863 [BZ #9739]
23864 * manual/string.texi (strnlen): Use correct parameter name in
23865 equivalent expression.
23866
71c254a6
JM
238672012-02-19 Joseph Myers <joseph@codesourcery.com>
23868
23869 [BZ #11174]
23870 * manual/users.texi (seteuid): Consistently use neweuid for
23871 argument name.
23872
16d2c631
JM
238732012-02-19 Joseph Myers <joseph@codesourcery.com>
23874
23875 [BZ #13704]
23876 * manual/nss.texi (Services in the NSS configuration): Correct
23877 list of services in example configuration file.
23878
cd837b09
NB
238792012-02-19 Nick Bowler <nbowler@draconx.ca>
23880
23881 [BZ #11322]
23882 * manual/arith.texi: Remove statements about negative zero
23883 behaving identically to zero.
23884
02c4bbad
JM
238852012-02-18 Joseph Myers <joseph@codesourcery.com>
23886
23887 [BZ #5993]
23888 * manual/install.texi: Do not document upgrading from libc5.
23889
366842e7
JM
238902012-02-18 Joseph Myers <joseph@codesourcery.com>
23891
23892 [BZ #4596]
23893 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
23894
dd54084d
DM
238952012-02-18 David S. Miller <davem@davemloft.net>
23896
23897 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
23898 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
23899 %o7 across the call.
23900 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
23901 instead.
23902 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
23903 SETUP_PIC_REG_LEAF.
23904 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
23905 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
23906 * sysdeps/sparc/crtn.S: Likewise.
23907
2bcc53a3
UD
239082012-02-17 Ulrich Drepper <drepper@gmail.com>
23909
23910 * aout/Makefile: Remove.
23911
09c093b5
RK
239122012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
23913
23914 [BZ #13058]
23915 * manual/examples/argp-ex1.c (main): Format definition in GNU
23916 style.
23917 * manual/examples/argp-ex2.c (main): Likewise.
23918 * manual/examples/argp-ex3.c (main): Likewise.
23919 * manual/examples/argp-ex4.c (main): Likewise.
23920 * manual/examples/longopt.c (main): Use new-style prototype
23921 definition.
23922 * manual/examples/strncat.c (main): Specify return type and use
23923 (void) for arguments.
23924 * manual/examples/subopt.c (main): Use char **argv argument.
23925
2ee633a2
JM
239262012-02-17 Joseph Myers <joseph@codesourcery.com>
23927
23928 [BZ #5077]
23929 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
23930 rounding modes.
23931
0520adde
FB
239322012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
23933
23934 [BZ #6907]
23935 * manual/string.texi (strchr): Change when strchrnul is
23936 recommended.
23937
3f4081cd
DGM
239382012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
23939
23940 [BZ #174]
23941 * manual/locale.texi (setlocale): Document LOCPATH.
23942
d1b10e78
JM
239432012-02-17 Joseph Myers <joseph@codesourcery.com>
23944
23945 [BZ #10210]
23946 * manual/process.texi (execle): Move @dots{} before last argument.
23947
79c6869c
PB
239482012-02-17 Paul Bolle <pebolle@tiscali.nl>
23949
23950 [BZ #12047]
23951 * manual/charset.texi (Generic Charset Conversion): Fix typo
23952 (LC_TYPE -> LC_CTYPE).
23953
cc6e48bc
NB
239542012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
23955
23956 [BZ #5805]
23957 * manual/arith.texi (scalbn): Use @var{} on parameter names.
23958 (scalbnf): Likewise.
23959 (scalbnl): Likewise.
23960 (scalbln): Likewise.
23961 (scalblnf): Likewise.
23962 (scalblnl): Likewise.
23963 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
23964 (vwarnx): Likewise.
23965 (verr): Likewise.
23966 (verrx): Likewise.
23967 * manual/filesys.texi (telldir): Use braces around return type.
23968 * manual/llio.texi (mmap): Add space after comma.
23969 (mmap64): Likewise.
23970 * manual/math.texi (jn): Use @var{} on parameter names.
23971 (jnf): Likewise.
23972 (jnl): Likewise.
23973 (yn): Likewise.
23974 (ynf): Likewise.
23975 (ynl): Likewise.
23976 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
23977 line.
23978 * manual/resource.texi (ulimit): Use @dots{} instead of literal
23979 "...".
23980 (sched_get_priority_min): Remove semicolon on @deftypefun line.
23981 (sched_get_priority_max): Likewise.
23982 * manual/signal.texi (sigvec): Add space after comma.
23983 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
23984 names.
23985 (if_indextoname): Likewise.
23986 (if_freenameindex): Likewise.
23987 (sendto): Use ',' instead of '.' in prototype.
23988 * manual/startup.texi (syscall): Use @dots{} instead of literal
23989 "...".
23990 * manual/stdio.texi (__fpending): Separate initial words of
23991 paragraph from @deftypefun line.
23992 * manual/syslog.texi (syslog): Use @dots{} instead of literal
23993 "...".
23994 (vsyslog): Use @var{} on parameter names.
23995 * manual/terminal.texi (stty): Use @var{} on parameter names.
23996 * manual/users.texi (getutmp): Use @var{} on parameter names.
23997 (getutmpx): Likewise.
23998
5b23062f
JM
239992012-02-17 Joseph Myers <joseph@codesourcery.com>
24000
24001 [BZ #6884]
24002 * manual/stdio.texi (fopen): Fix typos in description of
24003 ",ccs=STRING".
24004
8dee4833
AJ
240052012-02-17 Aurelien Jarno <aurelien@aurel32.net>
24006
24007 [BZ #4026]
24008 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
24009 get clock_id definition.
24010
9078ce93
TS
240112012-02-17 Thomas Schwinge <thomas@schwinge.name>
24012
24013 [BZ #4822]
24014 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
24015 (madvise): Cast every argument to void on its own.
24016
3835c55f
JM
240172012-02-17 Joseph Myers <joseph@codesourcery.com>
24018
24019 [BZ #9902]
24020 * manual/startup.texi (Exit Status): Fix typo.
24021
35c47e37
JM
240222012-02-17 Joseph Myers <joseph@codesourcery.com>
24023
24024 [BZ #10140]
24025 * manual/examples/argp-ex1.c: Include <stdlib.h>.
24026 * manual/examples/argp-ex2.c: Likewise.
24027 * manual/examples/argp-ex3.c: Likewise.
24028
e3b69ca7
RH
240292012-02-16 Richard Henderson <rth@redhat.com>
24030
24031 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
24032 * sysdeps/s390/s390-32/initfini.c: Remove.
24033 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
24034 * sysdeps/s390/s390-64/initfini.c: Remove.
24035
df83af67
KK
240362012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
24037
24038 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
24039 compiler output for sysdeps/generic/initfini.c.
24040 * sysdeps/sh/elf/initfini.c: Remove file.
24041
f63f3380
DM
240422012-02-16 David S. Miller <davem@davemloft.net>
24043
fb59b3a4
DM
24044 [BZ #11494]
24045 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
24046
f63f3380
DM
24047 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
24048 * sysdeps/sparc/crti.S: New file.
24049 * sysdeps/sparc/crtn.S: New file.
24050 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
24051 * sysdeps/sparc/sparc64/Makefile: Likewise.
24052
df6a4a4a
MF
240532012-02-15 Mike Frysinger <vapier@gentoo.org>
24054
6dd8f3dc 24055 [BZ #3335]
df6a4a4a
MF
24056 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
24057
1cac7236
RM
240582012-02-15 Roland McGrath <roland@hack.frob.com>
24059
d2c736f8
RM
24060 [BZ #4822]
24061 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
24062
1cac7236
RM
24063 * mach/devstream.c (cookie_io_functions_t): Macro removed.
24064 (write, read, close): Likewise.
24065 Patch by Aurelien Jarno <aurelien@aurel32.net>.
24066
8e475601
JM
240672012-02-15 Joseph Myers <joseph@codesourcery.com>
24068
24069 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
24070 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
24071 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
24072 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
24073 <bits/signalfd.h>.
24074 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
24075 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24076 bits/signalfd.h.
24077
ed656b40
MP
240782012-02-14 Marek Polacek <polacek@redhat.com>
24079
24080 * sysdeps/x86_64/crti.S: New file.
24081 * sysdeps/x86_64/crtn.S: New file.
24082 * sysdeps/x86_64/elf/initfini.c: Remove file.
24083
2a979d3a
JM
240842012-02-13 Joseph Myers <joseph@codesourcery.com>
24085
24086 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
24087 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
24088 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
24089 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
24090 <bits/inotify.h>.
24091 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
24092 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24093 bits/inotify.h.
24094
2a418ac3
JM
240952012-02-13 Joseph Myers <joseph@codesourcery.com>
24096
24097 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
24098 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
24099 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
24100 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
24101 <bits/eventfd.h>.
24102 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
24103 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24104 bits/eventfd.h.
24105
fb779be7
TS
241062012-02-10 Thomas Schwinge <thomas@codesourcery.com>
24107
e19e83c5
RM
24108 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
24109 __feraiseexcept instead of feraiseexcept.
7c35ffed 24110
fb779be7
TS
24111 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
24112 nanosleep invocations.
24113 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
24114 strings, and add error checking for a nanosleep invocations.
24115
59ba27a6
PE
241162012-02-09 Paul Eggert <eggert@cs.ucla.edu>
24117
24118 Replace FSF snail mail address with URLs, as per GNU coding standards.
24119 Most of the snail mail addresses were wrong anyway, and omitting
24120 them makes the source code easier to maintain. Almost all of the
24121 changes are to license notices and to locale LC_IDENTIFICATION
24122 addresses, except for this one:
24123 * manual/libc.texinfo: In "Published by", give the FSF's URL,
24124 not its snail mail address.
24125
57b957eb
RH
241262012-02-09 Richard Henderson <rth@twiddle.net>
24127
af850b1c
RH
24128 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
24129 of kernel-features.h.
24130
57b957eb
RH
24131 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
24132
6b73181a
MP
241332012-02-08 Marek Polacek <polacek@redhat.com>
24134
24135 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
24136 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
24137 * sysdeps/gnu/_G_config.h: Likewise.
24138 * sysdeps/generic/_G_config.h: Likewise.
24139
26ecc33a
AS
241402012-02-08 Andreas Schwab <schwab@linux-m68k.org>
24141
6c6dbc63
AS
24142 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
24143 tests.
24144 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24145
e216c012
AS
24146 * sysdeps/powerpc/powerpc32/crti.S: New file.
24147 * sysdeps/powerpc/powerpc32/crtn.S: New file.
24148 * sysdeps/powerpc/powerpc64/crti.S: New file.
24149 * sysdeps/powerpc/powerpc64/crtn.S: New file.
24150
26ecc33a
AS
24151 * Makeconfig (have-initfini): Don't set.
24152 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
24153 * configure.in (nopic_initfini): Don't substitute.
24154 * config.h.in (HAVE_INITFINI): Don't #undef.
24155 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
24156 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
24157
3add8e13
JM
241582012-02-08 Joseph Myers <joseph@codesourcery.com>
24159
24160 Support crti.S and crtn.S provided directly by architectures.
24161 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
24162 [crti.S in sysdirs] (omit-deps): Likewise.
24163 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
24164 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
24165 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
24166 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
24167 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
24168 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
24169 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
24170 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
24171 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
24172 compiler output for sysdeps/generic/initfini.c.
24173 * sysdeps/i386/elf/Makefile: Remove file.
24174 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
24175
a22f12b4
MP
241762012-02-07 Marek Polacek <polacek@redhat.com>
24177
24178 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
24179 * sysdeps/gnu/_G_config.h: Likewise.
24180 * sysdeps/mach/hurd/_G_config.h: Likewise.
24181
148cf100
MP
241822012-02-07 Marek Polacek <polacek@redhat.com>
24183
24184 * math/Makefile (tests): Add tst-CMPLX2.
24185 * math/tst-CMPLX2.c: New file.
24186
cfdc0dd7
AS
241872012-02-07 Andreas Schwab <schwab@linux-m68k.org>
24188
84ba42c4
AS
24189 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
24190
cfdc0dd7
AS
24191 * math/libm-test.inc (jn_test): Add missing L suffix.
24192
622c86f4
MP
241932012-02-06 Marek Polacek <polacek@redhat.com>
24194
24195 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
24196 * sysdeps/i386/fpu/e_powf.S: Likewise.
24197 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
24198 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
24199 * sysdeps/i386/fpu/e_acosh.S: Likewise.
24200 * sysdeps/i386/fpu/e_pow.S: Likewise.
24201 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
24202 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
24203 * sysdeps/i386/fpu/s_expm1.S: Likewise.
24204 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
24205 * sysdeps/i386/fpu/e_log2.S: Likewise.
24206 * sysdeps/i386/fpu/e_log2l.S: Likewise.
24207 * sysdeps/i386/fpu/e_scalb.S: Likewise.
24208 * sysdeps/i386/fpu/e_powl.S: Likewise.
24209 * sysdeps/i386/fpu/s_log1p.S: Likewise.
24210 * sysdeps/i386/fpu/e_log10f.S: Likewise.
24211 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
24212 * sysdeps/i386/fpu/e_logl.S: Likewise.
24213 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
24214 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
24215 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
24216 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
24217 * sysdeps/i386/fpu/e_log2f.S: Likewise.
24218 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
24219 * sysdeps/i386/fpu/e_log.S: Likewise.
24220 * sysdeps/i386/fpu/s_cexp.S: Likewise.
24221 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
24222 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
24223 * sysdeps/i386/fpu/e_logf.S: Likewise.
24224 * sysdeps/i386/fpu/e_log10l.S: Likewise.
24225 * sysdeps/i386/fpu/e_atanh.S: Likewise.
24226 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
24227 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
24228 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
24229 * sysdeps/i386/fpu/e_log10.S: Likewise.
24230 * sysdeps/i386/fpu/s_frexp.S: Likewise.
24231 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
24232 * sysdeps/i386/fpu/s_asinh.S: Likewise.
24233 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
24234 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
24235 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
24236 * sysdeps/i386/asm-syntax.h: Likewise.
24237 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
24238 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
24239 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
24240 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
24241 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
24242 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
24243 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
24244 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
24245 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
24246 * sysdeps/powerpc/sysdep.h: Likewise.
24247 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
24248 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
24249
d4a54ac6
JM
242502012-02-06 Joseph Myers <joseph@codesourcery.com>
24251
24252 [BZ #411]
24253 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
24254
314054ea
JM
242552012-02-06 Joseph Myers <joseph@codesourcery.com>
24256
24257 * sysdeps/i386/sysdep.h: Include <features.h>.
24258 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
24259 version.
24260
d8e0ca50
JM
242612012-02-05 Joseph Myers <joseph@codesourcery.com>
24262
24263 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
24264 Define.
24265 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
24266 LOAD_PIC_REG_STR.
24267
b1da7dd9
JM
242682012-02-03 Joseph Myers <joseph@codesourcery.com>
24269
24270 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
24271 (SETUP_PIC_REG): Use GET_PC_THUNK.
24272 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
24273 macro.
24274
9a1d9254
JM
242752012-02-03 Joseph Myers <joseph@codesourcery.com>
24276
24277 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
24278 for non-PIC compilation.
24279 (SETUP_PIC_REG): Add .p2align directive.
24280 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
24281 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
24282 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24283 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24284 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24285 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24286 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
24287 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
24288 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24289 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24290 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24291 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24292 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24293 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24294 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24295 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24296 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24297 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24298 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24299 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24300 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24301 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24302 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24303 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24304 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24305 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24306 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24307 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24308 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24309 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24310 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24311 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24312 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24313 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24314 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24315 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24316 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24317 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24318 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24319 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24320 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24321
65dc3b75
JM
243222012-02-03 Joseph Myers <joseph@codesourcery.com>
24323
24324 * math/tst-CMPLX.c: Include <stdio.h>.
24325
d55bf177
JM
243262012-01-31 Joseph Myers <joseph@codesourcery.com>
24327
24328 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
24329 float.
24330 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24331 * sysdeps/sparc/bits/mathdef.h: Likewise.
24332
69db4f8f
MP
243332012-01-31 Marek Polacek <polacek@redhat.com>
24334
24335 * libio/libio.h: Don't define _PARAMS.
24336 * locale/programs/config.h: Don't define PARAMS.
24337 * stdlib/strtol_l.c: Likewise.
24338 (__strtol_l): Remove PARAMS from the prototype.
24339
41b81892
UD
243402012-01-31 Ulrich Drepper <drepper@gmail.com>
24341
3b49edc0
UD
24342 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
24343 names. Just use the correct names. Remove unnecessary wrapper
24344 functions.
24345 * malloc/arena.c: Likewise.
24346 * malloc/hooks.c: Likewise.
24347
41b81892
UD
24348 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
24349 ARENA_TEST says not to. Simplify test for creation of a new arena.
24350 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
24351
27a25b6e
UD
243522012-01-30 Ulrich Drepper <drepper@gmail.com>
24353
24354 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
24355 into tail calls.
24356 (update_get_addr): New function.
24357 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
24358 GET_ADDR_MODULE parameter.
24359
c8a89e7d
JM
243602012-01-30 Joseph Myers <joseph@codesourcery.com>
24361
24362 * crypt/cert.c: Remove __STDC__ conditionals.
24363 * crypt/crypt-entry.c: Likewise.
24364 * crypt/crypt_util.c: Likewise.
24365 * libio/filedoalloc.c: Likewise.
24366 * libio/fileops.c: Likewise.
24367 * libio/genops.c: Likewise.
24368 * libio/iofclose.c: Likewise.
24369 * libio/iofdopen.c: Likewise.
24370 * libio/iofopen.c: Likewise.
24371 * libio/iofopen64.c: Likewise.
24372 * libio/iogetdelim.c: Likewise.
24373 * libio/iopopen.c: Likewise.
24374 * libio/obprintf.c: Likewise.
24375 * libio/oldfileops.c: Likewise.
24376 * libio/oldiofclose.c: Likewise.
24377 * libio/oldiofdopen.c: Likewise.
24378 * libio/oldiofopen.c: Likewise.
24379 * libio/oldiopopen.c: Likewise.
24380 * libio/wfiledoalloc.c: Likewise.
24381 * libio/wgenops.c: Likewise.
24382 * locale/programs/xmalloc.c: Likewise.
24383 * misc/syslog.c: Likewise.
24384 * stdio-common/xbug.c: Likewise.
24385 * string/memchr.c: Likewise.
24386 * string/memcmp.c: Likewise.
24387 * string/memrchr.c: Likewise.
24388 * string/rawmemchr.c: Likewise.
24389 * sysdeps/posix/getcwd.c: Likewise.
24390 * time/strftime_l.c: Likewise.
24391
3b100462
JM
243922012-01-30 Joseph Myers <joseph@codesourcery.com>
24393
24394 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
3b100462
JM
24395 * config.make.in (config-cflags-sse2avx): Define.
24396 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
24397 Fix typo.
24398
607998af
CM
243992012-01-29 Chris Metcalf <cmetcalf@tilera.com>
24400
24401 * scripts/config.guess: Update from upstream config git repository.
24402 * scripts/config.sub: Likewise.
24403
3601428f
CM
244042012-01-28 Chris Metcalf <cmetcalf@tilera.com>
24405
3ac8b282
CM
24406 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
24407 (EM_NUM): Update.
24408 (R_TILEPRO_*, R_TILEGX_*): New macros.
24409
e034841e
CM
24410 * scripts/firstversions.awk: Fix bug in version range handling.
24411
540d7568
CM
24412 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
24413
3601428f
CM
24414 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
24415
463de862
CM
24416 * include/sys/epoll.h: New file.
24417 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
24418 libc_hidden_def.
24419
73139a76
UD
244202012-01-28 Ulrich Drepper <drepper@gmail.com>
24421
96bc5b45
UD
24422 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
24423 Avoid unnecessary __WORDSIZE == 64 test.
24424 (fmaxf): Use VEX format if possible.
24425 (fmax): Likewise.
24426 (fminf): Likewise.
24427 (fmin): Likewise.
24428
56f6f6a2
UD
24429 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
24430 * math/math_private.h: Remove libc_fegetround* and
24431 libc_fesetround*.
24432 * sysdeps/i386/configure.in: Check for -msse2avx.
24433 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
24434 also if SSE2AVX is defined.
24435 Remove libc_fegetround* and libc_fesetround*.
24436 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
24437 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
24438 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
24439 of HAS_YMM_USABLE.
24440 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24441 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24442 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24443 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24444 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
24445
73139a76
UD
24446 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
24447
d73f93a4
AZ
244482012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
24449
24450 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
24451 size is not set.
24452 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
24453
6ee65ed6
UD
244542012-01-27 Ulrich Drepper <drepper@gmail.com>
24455
24456 [BZ #13618]
24457 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
24458 relocation.
24459 * Makeconfig (libm): Define.
24460 * elf/Makefile: Add rules to build and run tst-relsort1.
24461 * elf/tst-relsort1.c: New file.
24462 * elf/tst-relsort1mod1.c: New file.
24463 * elf/tst-relsort1mod2.c: New file.
24464
8db21882
JM
244652012-01-27 Joseph Myers <joseph@codesourcery.com>
24466
24467 * math/s_ldexp.c: Remove __STDC__ conditionals.
24468 * math/s_ldexpf.c: Likewise.
24469 * math/s_ldexpl.c: Likewise.
24470 * math/s_nextafter.c: Likewise.
24471 * math/s_nexttowardf.c: Likewise.
24472 * math/s_significand.c: Likewise.
24473 * math/s_significandf.c: Likewise.
24474 * math/s_significandl.c: Likewise.
24475 * math/w_jnl.c: Likewise.
24476 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
24477 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
24478 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
24479 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
24480 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
24481 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
24482 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
24483 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
24484 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24485 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
24486 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
24487 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
24488 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
24489 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
24490 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
24491 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
24492 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
24493 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
24494 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
24495 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
24496 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
24497 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
24498 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
24499 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
24500 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
24501 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
24502 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
24503 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
24504 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
24505 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
24506 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
24507 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
24508 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
24509 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
24510 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
24511 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
24512 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
24513 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
24514 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
24515 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
24516 * sysdeps/ieee754/k_standard.c: Likewise.
24517 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
24518 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
24519 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
24520 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
24521 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
24522 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
24523 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
24524 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
24525 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
24526 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
24527 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
24528 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
24529 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
24530 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
24531 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
24532 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
24533 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
24534 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
24535 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
24536 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
24537 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
24538 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
24539 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
24540 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
24541 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
24542 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
24543 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
24544 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
24545 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
24546 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
24547 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
24548 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
24549 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
24550 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
24551 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
24552 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
24553 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
24554 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
24555 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
24556 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
24557 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
24558 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
24559 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
24560 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
24561 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
24562 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
24563 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
24564 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
24565 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
24566 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
24567 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
24568 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
24569 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
24570 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
24571 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
24572 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
24573 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
24574 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
24575 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
24576 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
24577 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
24578 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
24579 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
24580 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
24581 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
24582 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
24583 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
24584 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
24585 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
24586 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
24587 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
24588 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
24589 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
24590 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
24591 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
24592 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
24593 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
24594 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
24595 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
24596 * sysdeps/ieee754/s_matherr.c: Likewise.
24597 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
24598 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
24599 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24600 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24601
965a54a4
JM
246022012-01-26 Joseph Myers <joseph@codesourcery.com>
24603
24604 * crypt/md5.h: Remove __STDC__ conditionals.
24605 * libio/libioP.h: Likewise.
24606 * locale/programs/config.h: Likewise.
24607 * sysdeps/generic/sysdep.h: Likewise.
24608 * sysdeps/i386/asm-syntax.h: Likewise.
24609 * sysdeps/s390/asm-syntax.h: Likewise.
24610 * sysdeps/unix/sysdep.h: Likewise.
24611 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
24612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
24613
7071ad79
JM
246142012-01-26 Joseph Myers <joseph@codesourcery.com>
24615
24616 * libio/libio.h: Remove __STDC__ conditionals.
24617 * malloc/obstack.h: Likewise.
24618 * math/complex.h: Likewise.
24619 * math/math.h: Likewise.
24620 * sysdeps/generic/_G_config.h: Likewise.
24621 * sysdeps/gnu/_G_config.h: Likewise.
24622 * sysdeps/mach/hurd/_G_config.h: Likewise.
24623 * sysdeps/powerpc/bits/mathdef.h: Likewise.
24624 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
24625 * sysdeps/sparc/bits/mathdef.h: Likewise.
24626
afc5ed09
UD
246272012-01-26 Ulrich Drepper <drepper@gmail.com>
24628
24629 [BZ #13583]
24630 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
08cf777f 24631 Clean up HAS_* macros.
afc5ed09 24632 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
08cf777f
UD
24633 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
24634 possible.
24635 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
24636 HAS_AVX.
24637 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
24638 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
24639 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
24640 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
24641 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
afc5ed09 24642
bdb6de1d
JM
246432012-01-25 Joseph Myers <joseph@codesourcery.com>
24644
24645 * elf/tst-unique3.cc (gets): Remove declaration.
24646 * elf/tst-unique3lib.cc (gets): Likewise.
24647 * elf/tst-unique3lib2.cc (gets): Likewise.
24648 * elf/tst-unique4.cc (gets): Likewise.
24649
b15549e6
UD
246502012-01-24 Ulrich Drepper <drepper@gmail.com>
24651
24652 * include/stdio.h: Add C++ protection. Add gets declarations and
24653 definitions.
24654 * debug/tst-chk1.c: Don't declare gets here.
24655 * stdio-common/tst-gets.c: Likewise.
24656
a037381f
JM
246572012-01-24 Joseph Myers <joseph@codesourcery.com>
24658
24659 * posix/glob: Remove directory.
24660
f1d4aa75
JM
246612012-01-24 Joseph Myers <joseph@codesourcery.com>
24662
24663 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
24664
81c0c964
PT
246652012-01-22 Pino Toscano <toscano.pino@tiscali.it>
24666
24667 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
24668 of the non-standard EPFNOSUPPORT.
24669
0ea698ae
ST
246702011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
24671
24672 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
24673 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
24674 ANYWHERE set to 1 only on KERN_NO_SPACE error.
24675
d220b117
UD
246762012-01-21 Ulrich Drepper <drepper@gmail.com>
24677
24678 * wcsmbs/uchar.h: Test __STDC_VERSION__.
24679
3e1aa84e
UD
246802012-01-20 Ulrich Drepper <drepper@gmail.com>
24681
24682 * nscd/aicache.c (addhstaiX): Do not cache negative results of
24683 transient errors.
24684 * nscd/grpcache.c (cache_addgr): Likewise.
24685 * nscd/hstcache.c (cache_addhst): Likewise.
24686 * nscd/initgrcache.c (addinitgroupsX): Likewise.
24687 * nscd/pwdcache.c (cache_addpw): Likewise.
24688 * nscd/servicescache.c (cache_addserv): Likewise.
24689
400aa020
UD
246902012-01-16 Ulrich Drepper <drepper@gmail.com>
24691
d77e7869
UD
24692 * malloc/malloc.c: Various cleanups.
24693 * malloc/hooks.c: Likewise.
24694
400aa020
UD
24695 * stdlib/Makefile (tests): Add bug-fmtmsg1.
24696 * stdlib/bug-fmtmsg1.c: New file.
24697
24698 * stdlib/fmtmsg.c (init): Add missing unlock.
24699 Patch by Peng Haitao <penght@cn.fujitsu.com>.
24700
e0a309cf
MP
247012012-01-12 Marek Polacek <polacek@redhat.com>
24702
24703 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
24704 and _GNU_SOURCE.
24705
929d11c7
WS
247062012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
24707
24708 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
24709 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
24710 macro to ensure uniqueness of label name.
24711 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
24712 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
24713
41d0e869
UD
247142012-01-11 Ulrich Drepper <drepper@gmail.com>
24715
0cc5ed3b
UD
24716 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
24717
41d0e869
UD
24718 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
24719 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
24720 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
24721 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
24722
a47a831a
UD
247232012-01-10 Ulrich Drepper <drepper@gmail.com>
24724
daa891c0
UD
24725 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
24726
24727 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
24728 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
24729 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
24730
e58ef0f2
UD
24731 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
24732
a47a831a 24733 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
a47a831a
UD
24734 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
24735 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
41d0e869 24736 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
a47a831a
UD
24737
24738 * math/bits/math-finite.h: Add ldexp support.
24739
a0bfc9c7
MP
247402012-01-10 Marek Polacek <polacek@redhat.com>
24741
24742 * locale/programs/localedef.h (show_archive_content): Add noreturn
24743 attribute.
24744
d6e97a1d
UD
247452012-01-09 Ulrich Drepper <drepper@gmail.com>
24746
24747 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
24748
d5835c26
UD
247492012-01-08 Ulrich Drepper <drepper@gmail.com>
24750
e5f484c6
UD
24751 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
24752
d5835c26
UD
24753 * io/Makefile (headers): Add bits/poll2.h.
24754
d1f741e9
WS
247552011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
24756
24757 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
24758 typo #include statement.
24759
ec09c1c4
UD
247602012-01-08 Ulrich Drepper <drepper@gmail.com>
24761
24762 * include/sys/cdefs.h: Define __attribute_alloc_size.
24763 * catgets/gencat.c: Add alloc_size attribute and apply consistently
24764 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
24765 * elf/pldd.c: Likewise.
24766 * iconv/iconv_charmap.c: Likewise.
24767 * iconv/iconvconfig.c: Likewise.
24768 * iconv/strtab.c: Likewise.
24769 * locale/programs/locale.c: Likewise.
24770 * locale/programs/localedef.h: Likewise.
24771 * locale/programs/simple-hash.c: Likewise.
24772 * nscd/nscd.h: Likewise.
24773 * nss/makedb.c: Likewise.
24774 * sysdeps/generic/ldconfig.h: Likewise.
24775 * locale/programs/localedef.c: Remove xmalloc prototype.
24776 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
24777
20b38e03
PP
247782012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
24779
24780 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
24781 appropriate.
24782
a0da5fe1
UD
247832012-01-08 Ulrich Drepper <drepper@gmail.com>
24784
1d5a644a 24785 * math/Makefile (tests): Add tst-CMPLX.
669704fd 24786 * math/tst-CMPLX.c: New file.
1d5a644a 24787
8784a6db
UD
24788 * math/complex.h (CMPLXL): Fix typo.
24789
d9a216c0
UD
24790 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
24791 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
24792 GLIBC_2.16.
24793 * debug/tst-chk1.c: Add poll and ppoll tests.
24794 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
24795 * include/sys/poll.h: Add hidden proto for ppoll.
24796 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
24797 * sysdeps/mach/hurd/ppoll.c: Likewise.
24798 * io/ppoll.c: Likewise.
24799 * debug/poll_chk.c: New file.
24800 * debug/ppoll_chk.c: New file.
24801 * include/bits/poll2.h: New file.
24802 * io/bits/poll2.h: New file.
24803
ac097f5c
UD
24804 [BZ #1350]
24805 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
24806
2119dcfa
UD
24807 * configure.in: static is always set to yes. Remove.
24808 * config.make.in: Don't set build-static.
24809 * Makeconfig: Remove use of build-static.
24810 * dlfcn/Makefile: Likewise.
24811 * elf/Makefile: Likewise.
24812 * math/Makefile: Likewise.
24813 * misc/Makefile: Likewise.
24814 * nptl/Makefile: Likewise.
24815 * sysdeps/mach/hurd/Makefile: Likewise.
24816
121766a9
UD
24817 * configure.in: PWD_P is not used anymore.
24818 * config.make.in: Remove PWD_P entry.
24819
51a1d39c 24820 * configure.in: Remove last remnants of RANLIB.
8720d066 24821 No need to check for signed size_t anymore.
215f4bdc
UD
24822 Don't set libc_commonpagesize and libc_relro_required here for Alpha
24823 and IA-64.
3857022a 24824 Remove __builtin_expect test because we require at least gcc 3.4.
51a1d39c
UD
24825 * aclocal.m4: Likewise.
24826
d3ed7225
UD
24827 * wcsmbs/mbrtoc16.c: Implement using towc function.
24828 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
24829 * wcsmbs/wcsmbsload.c: Likewise.
24830 * iconv/gconv_simple.c: Likewise.
24831 * iconv/gconv_int.h: Likewise.
24832 * iconv/gconv_builtin.h: Likewise.
24833 * iconv/iconv_prog.c: Remove CHAR16 handling.
24834
24835 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
24836
24837 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
24838
a0da5fe1
UD
24839 * configure.in: Remove --with-elf and --enable-bounded options.
24840 Dont set base_machine for ia64. More non-ELF conditions removed.
24841 Remove testing and setting of leading underscore information.
24842 * config.make.in (build-bounded): Set to no.
24843 * config.h.in: Remove NO_UNDERSCORES entry.
24844 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
24845 them.
24846 * csu/start.c: Remove !NO_UNDERSCORE code.
24847 * locale/localeinfo.h: Likewise.
24848 * sysdeps/generic/machine-gmon.h: Likewise.
24849 * sysdeps/generic/sysdep.h: Likewise.
24850 * sysdeps/i386/sysdep.h: Likewise.
24851 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
24852 * sysdeps/mach/sysdep.h: Likewise.
24853 * sysdeps/s390/s390-32/sysdep.h: Likewise.
24854 * sysdeps/s390/s390-64/sysdep.h: Likewise.
24855 * sysdeps/sh/sysdep.h: Likewise.
24856 * sysdeps/sparc/sparc32/alloca.S: Likewise.
24857 * sysdeps/unix/i386/sysdep.S: Likewise.
24858 * sysdeps/unix/sparc/start.c: Likewise.
24859 * sysdeps/unix/sparc/sysdep.S: Likewise.
24860 * sysdeps/unix/sparc/sysdep.h: Likewise.
24861 * sysdeps/unix/start.c: Likewise.
24862 * sysdeps/unix/x86_64/sysdep.S: Likewise.
24863 * sysdeps/x86_64/sysdep.h: Likewise.
24864
df78418a
UD
248652012-01-07 Ulrich Drepper <drepper@gmail.com>
24866
a784e502
UD
24867 [BZ #13553]
24868 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
24869 for non-gcc.
24870 * argp/argp-fmtstream.h: Use const instead __const.
24871 * argp/argp.h: Likewise.
24872 * assert/assert.h: Likewise.
24873 * bits/fenv.h: Likewise.
24874 * bits/sched.h: Likewise.
24875 * bits/sigset.h: Likewise.
24876 * bits/sigthread.h: Likewise.
24877 * catgets/nl_types.h: Likewise.
24878 * conform/data/pthread.h-data: Likewise.
24879 * crypt/crypt-private.h: Likewise.
24880 * crypt/crypt.h: Likewise.
24881 * crypt/crypt_util.c: Likewise.
24882 * ctype/ctype.h: Likewise.
24883 * debug/execinfo.h: Likewise.
24884 * debug/mbsnrtowcs_chk.c: Likewise.
24885 * debug/mbsrtowcs_chk.c: Likewise.
24886 * debug/wcsnrtombs_chk.c: Likewise.
24887 * debug/wcsrtombs_chk.c: Likewise.
24888 * debug/wcstombs_chk.c: Likewise.
24889 * dirent/dirent.h: Likewise.
24890 * dlfcn/dlfcn.h: Likewise.
24891 * elf/neededtest4.c: Likewise.
24892 * grp/grp.h: Likewise.
24893 * gshadow/gshadow.h: Likewise.
24894 * iconv/gconv.h: Likewise.
24895 * iconv/gconv_int.h: Likewise.
24896 * iconv/gconv_simple.c: Likewise.
24897 * iconv/iconv.h: Likewise.
24898 * iconv/loop.c: Likewise.
24899 * iconv/skeleton.c: Likewise.
24900 * include/aio.h: Likewise.
24901 * include/aliases.h: Likewise.
24902 * include/argz.h: Likewise.
24903 * include/arpa/inet.h: Likewise.
24904 * include/assert.h: Likewise.
24905 * include/dirent.h: Likewise.
24906 * include/dlfcn.h: Likewise.
24907 * include/execinfo.h: Likewise.
24908 * include/fcntl.h: Likewise.
24909 * include/fenv.h: Likewise.
24910 * include/glob.h: Likewise.
24911 * include/grp.h: Likewise.
24912 * include/libintl.h: Likewise.
24913 * include/mntent.h: Likewise.
24914 * include/netdb.h: Likewise.
24915 * include/pwd.h: Likewise.
24916 * include/rpc/netdb.h: Likewise.
24917 * include/sched.h: Likewise.
24918 * include/search.h: Likewise.
24919 * include/shadow.h: Likewise.
24920 * include/signal.h: Likewise.
24921 * include/stdio.h: Likewise.
24922 * include/stdlib.h: Likewise.
24923 * include/string.h: Likewise.
24924 * include/sys/socket.h: Likewise.
24925 * include/sys/stat.h: Likewise.
24926 * include/sys/statfs.h: Likewise.
24927 * include/sys/statvfs.h: Likewise.
24928 * include/sys/syslog.h: Likewise.
24929 * include/sys/time.h: Likewise.
24930 * include/sys/uio.h: Likewise.
24931 * include/time.h: Likewise.
24932 * include/unistd.h: Likewise.
24933 * include/utmp.h: Likewise.
24934 * include/wchar.h: Likewise.
24935 * include/wctype.h: Likewise.
24936 * inet/aliases.h: Likewise.
24937 * inet/arpa/inet.h: Likewise.
24938 * inet/netinet/ether.h: Likewise.
24939 * inet/netinet/in.h: Likewise.
24940 * intl/libintl.h: Likewise.
24941 * io/bits/fcntl2.h: Likewise.
24942 * io/fcntl.h: Likewise.
24943 * io/ftw.h: Likewise.
24944 * io/sys/poll.h: Likewise.
24945 * io/sys/stat.h: Likewise.
24946 * io/sys/statfs.h: Likewise.
24947 * io/sys/statvfs.h: Likewise.
24948 * io/utime.h: Likewise.
24949 * libio/bits/stdio.h: Likewise.
24950 * libio/bits/stdio2.h: Likewise.
24951 * libio/libio.h: Likewise.
24952 * libio/libioP.h: Likewise.
24953 * libio/stdio.h: Likewise.
24954 * locale/lc-ctype.c: Likewise.
24955 * locale/locale.h: Likewise.
24956 * login/utmp.h: Likewise.
24957 * malloc/arena.c: Likewise.
24958 * malloc/malloc.c: Likewise.
24959 * malloc/malloc.h: Likewise.
24960 * malloc/mcheck.c: Likewise.
24961 * malloc/mtrace.c: Likewise.
24962 * math/bits/mathcalls.h: Likewise.
24963 * math/fenv.h: Likewise.
24964 * math/math_private.h: Likewise.
24965 * misc/bits/error.h: Likewise.
24966 * misc/bits/syslog.h: Likewise.
24967 * misc/err.h: Likewise.
24968 * misc/error.h: Likewise.
24969 * misc/fstab.h: Likewise.
24970 * misc/mntent.h: Likewise.
24971 * misc/regexp.h: Likewise.
24972 * misc/search.h: Likewise.
24973 * misc/sgtty.h: Likewise.
24974 * misc/sys/mman.h: Likewise.
24975 * misc/sys/syslog.h: Likewise.
24976 * misc/sys/uio.h: Likewise.
24977 * misc/sys/xattr.h: Likewise.
24978 * misc/ttyent.h: Likewise.
24979 * nis/rpcsvc/ypclnt.h: Likewise.
24980 * nss/nss.h: Likewise.
24981 * posix/bits/unistd.h: Likewise.
24982 * posix/fnmatch.h: Likewise.
24983 * posix/glob.h: Likewise.
24984 * posix/sched.h: Likewise.
24985 * posix/spawn.h: Likewise.
24986 * posix/sys/wait.h: Likewise.
24987 * posix/unistd.h: Likewise.
24988 * posix/wordexp.h: Likewise.
24989 * pwd/pwd.h: Likewise.
24990 * resolv/netdb.h: Likewise.
24991 * resource/sys/resource.h: Likewise.
24992 * rt/aio.h: Likewise.
24993 * rt/bits/mqueue2.h: Likewise.
24994 * rt/mqueue.h: Likewise.
24995 * shadow/shadow.h: Likewise.
24996 * signal/signal.h: Likewise.
24997 * socket/send.c: Likewise.
24998 * socket/sendto.c: Likewise.
24999 * socket/sys/socket.h: Likewise.
25000 * stdio-common/printf.h: Likewise.
25001 * stdlib/bits/stdlib.h: Likewise.
25002 * stdlib/fmtmsg.h: Likewise.
25003 * stdlib/monetary.h: Likewise.
25004 * stdlib/stdlib.h: Likewise.
25005 * stdlib/ucontext.h: Likewise.
25006 * streams/stropts.h: Likewise.
25007 * string/argz.h: Likewise.
25008 * string/bits/string2.h: Likewise.
25009 * string/string.h: Likewise.
25010 * string/strings.h: Likewise.
25011 * sunrpc/rpc/auth.h: Likewise.
25012 * sunrpc/rpc/auth_des.h: Likewise.
25013 * sunrpc/rpc/clnt.h: Likewise.
25014 * sunrpc/rpc/netdb.h: Likewise.
25015 * sunrpc/rpc/pmap_clnt.h: Likewise.
25016 * sunrpc/rpc/xdr.h: Likewise.
25017 * sysdeps/generic/inttypes.h: Likewise.
25018 * sysdeps/generic/net/if.h: Likewise.
25019 * sysdeps/generic/sys/swap.h: Likewise.
25020 * sysdeps/gnu/net/if.h: Likewise.
25021 * sysdeps/gnu/utmpx.h: Likewise.
25022 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
25023 * sysdeps/i386/i486/bits/string.h: Likewise.
25024 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
25025 * sysdeps/s390/bits/string.h: Likewise.
25026 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
25027 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
25028 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
25029 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
25030 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
25031 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
25032 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
25033 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
25034 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
25035 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
25036 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
25037 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
25038 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
25039 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
25040 * sysdeps/unix/sysv/linux/readv.c: Likewise.
25041 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
25042 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
25043 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
25044 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
25045 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
25046 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25047 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
25048 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
25049 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
25050 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
25051 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
25052 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
25053 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25054 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
25055 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
25056 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
25057 * sysvipc/sys/ipc.h: Likewise.
25058 * sysvipc/sys/msg.h: Likewise.
25059 * sysvipc/sys/sem.h: Likewise.
25060 * sysvipc/sys/shm.h: Likewise.
25061 * termios/termios.h: Likewise.
25062 * time/sys/time.h: Likewise.
25063 * time/time.h: Likewise.
25064 * wcsmbs/bits/wchar2.h: Likewise.
25065 * wcsmbs/uchar.h: Likewise.
25066 * wcsmbs/wchar.h: Likewise.
25067 * wctype/wctype.h: Likewise.
25068
0269750c
UD
25069 [BZ #13551]
25070 * Makeconfig: Remove all but ELF support including AIX support.
25071 * Makerules: Likewise.
25072 * config.h.in: Likewise.
25073 * config.make.in: Likewise.
25074 * configure: Likewise.
25075 * configure.in: Likewise.
25076 * csu/Makefile: Likewise.
25077 * csu/version.c: Likewise.
25078 * debug/Makefile: Likewise.
25079 * dlfcn/Makefile: Likewise.
25080 * elf/Makefile: Likewise.
25081 * extra-lib.mk: Likewise.
25082 * iconv/Makefile: Likewise.
25083 * include/libc-symbols.h: Likewise.
25084 * include/shlib-compat.h: Likewise.
25085 * resolv/Makefile: Likewise.
25086 * resolv/res_libc.c: Likewise.
25087 * rt/Makefile: Likewise.
25088 * sysdeps/i386/asm-syntax.h: Likewise.
25089 * sysdeps/i386/sysdep.h: Likewise.
25090 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
25091 * sysdeps/mach/sysdep.h: Likewise.
25092 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
25093 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
25094 * sysdeps/s390/asm-syntax.h: Likewise.
25095 * sysdeps/s390/s390-32/sysdep.h: Likewise.
25096 * sysdeps/s390/s390-64/sysdep.h: Likewise.
25097 * sysdeps/sh/sysdep.h: Likewise.
25098 * sysdeps/unix/sparc/sysdep.h: Likewise.
25099 * sysdeps/wordsize-32/divdi3.c: Likewise.
25100 * sysdeps/x86_64/sysdep.h: Likewise.
25101
00bbd29b
UD
25102 * argp/Versions: Remove _argp_unlock_xxx.
25103
25104 [BZ #13559]
25105 * abilist/ld.abilist: Update. Adjust for removal of tls option.
25106 * abilist/libBrokenLocale.abilist: Likewise.
25107 * abilist/libanl.abilist: Likewise.
25108 * abilist/libc.abilist: Likewise.
25109 * abilist/libcrypt.abilist: Likewise.
25110 * abilist/libdl.abilist: Likewise.
25111 * abilist/libm.abilist: Likewise.
25112 * abilist/libnsl.abilist: Likewise.
25113 * abilist/libpthread.abilist: Likewise.
25114 * abilist/libresolv.abilist: Likewise.
25115 * abilist/librt.abilist: Likewise.
25116 * abilist/libthread_db.abilist: Likewise.
25117 * abilist/libutil.abilist: Likewise.
25118 * abilist/libnss_db.abilist: New file.
25119
25120 * scripts/abilist.awk: Add support for indirect functions.
25121
a2693a0e
UD
25122 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
25123
3f05895f
UD
25124 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
25125
ecb6fb48
UD
25126 * shlib-versions: Remove entries for ports architectures.
25127
664f8cb9
UD
25128 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
25129 files in ports.
25130 * elf/stackguard-macros.h: Remove support for IA-64.
25131 * elf/tst-auditmod1.c: Likewise.
25132 * sysdeps/generic/ldsodefs.h: Likewise.
25133
7ae81d88
UD
25134 * sysdeps/unix/sysv/linux/configure.in: Ports should define
25135 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
25136 configure files.
25137
bdeba135
UD
25138 [BZ #13552]
25139 * configure.in: Remove --enable-omitfp support.
25140 * FAQ.in: Adjust.
25141 * config.make.in: Likewise.
25142 * Makeconfig: Likewise.
25143 * manual/install.texi: Likewise.
25144
d75a0a62
UD
25145 In case anyone cares, the IA-64 architecture could move to ports.
25146 * sysdeps/ia64/*: Removed.
25147 * sysdeps/unix/sysv/linux/ia64/*: Removed.
b13b9885 25148 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
d75a0a62 25149
dcc9756b
UD
25150 [BZ #13555]
25151 * configure.in: Remove entries for unsupported architectures.
25152
d3761ebc 25153 [BZ #13533]
9954432e
UD
25154 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
25155 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
25156 routines.
25157 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
25158 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
25159 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
25160 fall back to using wcrtomb.
25161 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
25162 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
25163 renaming.
25164 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
25165 * wcsmbs/tst-c16c32-1.c: New file.
25166
25167 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
25168 local variable.
25169
c3a87236
UD
25170 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
25171
28926a1b
UD
25172 * elf/tst-unique3.cc: Add explicit declaration of gets.
25173 * elf/tst-unique3lib.cc: Likewise.
25174 * elf/tst-unique3lib2.cc: Likewise.
25175 * elf/tst-unique4.cc: Likewise.
25176
df78418a
UD
25177 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
25178
8ecd6b2a
JM
251792012-01-06 Joseph Myers <joseph@codesourcery.com>
25180
25181 [BZ #13566]
25182 * assert/assert.h (static_assert): Don't define for C++.
25183 * libio/stdio.h (gets): Do declare for C++ <= C++11.
25184 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
25185
9f115170
UD
251862012-01-03 Ulrich Drepper <drepper@gmail.com>
25187
5e0d0300
UD
25188 * iconv/loop.c (single loop): Fix assertion in storing of
25189 remaining bytes.
25190
9f115170
UD
25191 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
25192
81fb02b0
UD
251932012-01-01 Ulrich Drepper <drepper@gmail.com>
25194
25195 * posix/getconf.c: Update copyright year.
25196 * nss/getent.c: Likewise.
a316c1f6 25197 * nss/makedb.c: Likewise.
81fb02b0
UD
25198 * iconv/iconvconfig.c: Likewise.
25199 * iconv/iconv_prog.c: Likewise.
25200 * elf/ldconfig.c: Likewise.
a316c1f6
UD
25201 * elf/pldd.c: Likewise.
25202 * elf/sotruss.ksh: Likewise.
81fb02b0
UD
25203 * catgets/gencat.c: Likewise.
25204 * csu/version.c: Likewise.
25205 * elf/ldd.bash.in: Likewise.
25206 * elf/sprof.c (print_version): Likewise.
25207 * locale/programs/locale.c: Likewise.
25208 * locale/programs/localedef.c: Likewise.
a316c1f6 25209 * login/programs/pt_chown.c: Likewise.
81fb02b0
UD
25210 * nscd/nscd.c (print_version): Likewise.
25211 * debug/xtrace.sh: Likewise.
25212 * malloc/memusage.sh: Likewise.
25213 * malloc/mtrace.pl: Likewise.
25214 * debug/catchsegv.sh: Likewise.
25215
2ba92745
JJ
252162011-12-30 Jakub Jelinek <jakub@redhat.com>
25217
25218 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
25219 pure attribute.
25220
dadebdae
UD
252212011-12-24 Ulrich Drepper <drepper@gmail.com>
25222
d3761ebc 25223 [BZ #13533]
db6af3eb
UD
25224 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
25225 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
25226 transformations.
25227 * iconv/gconv_int.h: Likewise.
25228 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
25229 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
25230 from libc for GLIBC_2.16.
25231 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
25232 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
25233 * wcsmbs/uchar.h: Really define mbstate_t.
25234 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
25235 * wcsmbs/c16rtomb.c: New file.
25236 * wcsmbs/mbrtoc16.c: New file.
25237 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
25238 for C/POSIX locale.
25239 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
25240 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
25241
dadebdae
UD
25242 * wcsmbs/wchar.h: Add missing __restrict.
25243
67371b56
UD
252442011-12-23 Ulrich Drepper <drepper@gmail.com>
25245
74033a25
UD
25246 [BZ #13532]
25247 * time/Makefile (routines): Add timespec_get.
25248 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
25249 * time/time.h: Define TIME_UTC and declare timespec_get. Define
25250 timespec for ISO C11.
25251 * time/timespec_get.c: New file.
25252 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
25253 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
25254
380d7e87
UD
25255 [BZ #13531]
25256 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
25257 * stdlib/stdlib.h: Declare aligned_alloc.
25258 * Versions.def: Add GLIBC_2.16 for libc.
25259 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
25260
4e9e7a35
UD
25261 [BZ 13527]
25262 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
25263 ISO C11.
25264
380d7e87 25265 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
8fd8ff3b
UD
25266 code.
25267
03a71829
UD
25268 [BZ #13528]
25269 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
25270
839e283e
UD
25271 [BZ #13529]
25272 * assert/assert.h (static_assert): Define.
25273
ce5294e2 25274 * version.h: Update for 2.16 development version.
90fa7312 25275
8d44e150 25276 [BZ #13526]
d7809905
UD
25277 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
25278 _ISOC11_SOURCE.
25279
c0da14cd
UD
25280 * version.h (RELEASE): Bump for 2.15 release.
25281 * include/features.h (__GLIBC_MINOR__): Bump to 15.
25282
530a3249
MP
25283 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
25284 Patch by Marek Polacek <mpolacek@redhat.com>.
25285
67371b56
UD
25286 * bits/byteswap.h: Protect long long constants with __extension__.
25287 * sysdeps/i386/bits/byteswap.h: Likewise.
25288 * sysdeps/ia64/bits/byteswap.h: Likewise.
25289 * sysdeps/s390/bits/byteswap.h: Likewise.
25290 * sysdeps/x86_64/bits/byteswap.h: Likewise.
25291
15db4de1
LD
252922011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25293
25294 [BZ #13540]
bbe315ea
LD
25295 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
25296 destination buffer.
15db4de1
LD
25297 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
25298
2b2596b1
MP
252992011-12-23 Marek Polacek <polacek@redhat.com>
25300
25301 * elf/dl-addr.c (determine_info): Add inline keyword.
25302 * elf/tst-auditmod4b.c (check_avx): Likewise.
25303 * elf/tst-auditmod6b.c (check_avx): Likewise.
25304 * elf/tst-auditmod6c.c (check_avx): Likewise.
25305 * elf/tst-auditmod7b.c (check_avx): Likewise.
25306
70c6c246
UD
253072011-12-23 Ulrich Drepper <drepper@gmail.com>
25308
25309 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
25310 !__SSE_MATH__.
25311
c044cf14
LD
253122011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25313
15db4de1 25314 [BZ #13540]
c044cf14
LD
25315 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
25316 processing for last bytes.
25317
6b13d9d9
BH
253182011-08-06 Bruno Haible <bruno@clisp.org>
25319
d455f537
BH
25320 [BZ #13061]
25321 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
25322 U+0385, not to U+1FEE.
25323
6b13d9d9
BH
25324 [BZ #13062]
25325 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
25326 entry for U+00A5 U+0301.
25327
db910efd
UD
253282011-12-22 Ulrich Drepper <drepper@gmail.com>
25329
27deeafc
UD
25330 [BZ #13166]
25331 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
25332 buffer for the output is too small.
25333
aed9d171
UD
25334 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
25335 optimization.
25336
db910efd
UD
25337 [BZ #13185]
25338 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
25339 SSE flags if possible.
25340
2bd779ae
LD
253412011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25342
e7f9dac3 25343 [BZ #13540]
2bd779ae
LD
25344 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
25345 processing for last bytes.
25346
154bfc16
JM
253472011-12-22 Joseph Myers <joseph@codesourcery.com>
25348
25349 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
25350 (syscall-list-default-options, syscall-list-default-condition)
25351 (syscall-list-includes): Define.
25352 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
25353 list of ABIs and options and #if conditions for each ABI. Do not
25354 handle common syscalls between ABIs specially.
25355 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
25356 Remove.
25357 (syscall-list-variants, syscall-list-32bit-options)
25358 (syscall-list-32bit-condition, syscall-list-64bit-options)
25359 (syscall-list-64bit-condition): Define.
25360 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
25361 (syscall-list-variants, syscall-list-32bit-options)
25362 (syscall-list-32bit-condition, syscall-list-64bit-options)
25363 (syscall-list-64bit-condition): Define.
25364 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
25365 Remove.
25366 (syscall-list-variants, syscall-list-32bit-options)
25367 (syscall-list-32bit-condition, syscall-list-64bit-options)
25368 (syscall-list-64bit-condition): Define.
25369 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
25370 Remove.
25371 (syscall-list-variants, syscall-list-32bit-options)
25372 (syscall-list-32bit-condition, syscall-list-64bit-options)
25373 (syscall-list-64bit-condition): Define.
25374
21eaf3a5
UD
253752011-12-22 Ulrich Drepper <drepper@gmail.com>
25376
16c6f992
UD
25377 * locale/iso-639.def: Add brx entry.
25378
41043168
UD
25379 [BZ #13328]
25380 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
25381 Proposed by Mariusz_Cukr <marcukr@op.pl>.
25382
21eaf3a5
UD
25383 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
25384 __feraiseexcept_renamed.
25385
e3a851a2
UD
253862011-12-21 Ulrich Drepper <drepper@gmail.com>
25387
4920765e
UD
25388 [BZ #13538]
25389 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
25390 EPOLLET with unsigned values.
25391 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
25392 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
25393
e3a851a2
UD
25394 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
25395 to large cancellation.
25396 * math/s_cacoshf.c: Likewise.
25397 * math/s_cacoshl.c: Likewise.
25398
b27e24b8
RK
253992011-11-18 Richard B. Kreckel <kreckel@ginac.de>
25400
25401 [BZ #13305]
aebefeee 25402 [BZ #12786]
b27e24b8
RK
25403 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
25404 * math/s_cacoshf.c: Likewise.
25405 * math/s_cacoshl.c: Likewise.
25406
ee190f67
UD
254072011-12-21 Ulrich Drepper <drepper@gmail.com>
25408
25409 [BZ #13439]
25410 * iconv/gconv.h: Define __GCONV_SWAP.
25411 * iconvdata/unicode.c: The swap bit must be stored in __flags.
25412 * iconvdata/utf-16.c: Likewise.
25413 * iconvdata/utf-32.c: Likewise.
25414
707f25df
AS
254152011-12-21 Andreas Schwab <schwab@linux-m68k.org>
25416
25417 [BZ #13524]
25418 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
25419 numerator after shifting it by one limb.
25420
d2daaa1e
RÁE
254212011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
25422
25423 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
25424 under [__USE_EXTERN_INLINES].
25425
a4647e72
UD
254262011-12-17 Ulrich Drepper <drepper@gmail.com>
25427
25428 [BZ #13446]
25429 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
25430
f0b264f1
AZ
254312011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25432
25433 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
25434 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
25435 optimized code.
25436 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
25437 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
25438 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
25439 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
25440 for strncasecmp/strncasecmp_l compilation.
25441 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
25442 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
25443
8ef4f244
MP
254442011-12-08 Marek Polacek <mpolacek@redhat.com>
25445
25446 [BZ #13484]
25447 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
25448 of __asm__.
25449
97ac2654
UD
254502011-12-17 Ulrich Drepper <drepper@gmail.com>
25451
25452 [BZ #13506]
25453 * time/tzfile.c (__tzfile_read): Check values from file header.
25454
91d2a845
WS
254552011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
25456
25457 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
25458 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
25459 * powerpc/powerpc32/dl-start.S: Likewise.
25460 * powerpc/powerpc32/elf/start.S: Likewise.
25461 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
25462 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
25463 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
25464 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
25465 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
25466 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
25467 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
25468 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
25469 * powerpc/powerpc32/fpu/s_round.S: Likewise.
25470 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
25471 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
25472 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
25473 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
25474 * powerpc/powerpc32/memset.S: Likewise.
25475 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
25476 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25477 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25478 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25479 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25480 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
25481 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
25482 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
25483 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
25484 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
25485 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
25486 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
25487 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
25488
a1267ba1
AZ
254892011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25490
25491 * math/libm-test.inc: Added more nearbyint tests.
25492 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
25493 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
25494 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
25495 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
25496
ad8ac1bd
RL
254972011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
25498
25499 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
25500 FD_CLOEXEC.
25501
1d3e4b61
UD
255022011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25503
25504 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
25505 Add wcscpy-ssse3 wcscpy-c.
25506 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
25507 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
25508 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
25509 * sysdeps/x86_64/wcschr.S: New file.
25510 * sysdeps/x86_64/wcsrchr.S: New file.
25511 * string/test-strcmp.c: Remove checking of wcscmp function for
25512 wrong alignments.
25513 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
25514 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
25515 wcsrchr-sse2 wcsrchr-c.
25516 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
25517 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
25518 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
25519 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
25520 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
25521 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
25522 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
25523 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
25524 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
25525 * wcsmbc/wcschr.c (WCSCHR): New macro.
25526
5b330a2d
UD
255272011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
25528
25529 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
25530 * wcsmbs/test-wcsrchr.c: New file.
25531 * string/test-strrchr.c: Add wcsrchr support.
25532 (WIDE): New macro.
25533 * wcsmbs/test-wcscpy.c: New file.
25534 * string/test-strcpy.c: Add wcscpy support.
25535 (WIDE): New macro.
26428b7c 25536
f039c043
UD
255372011-12-10 Ulrich Drepper <drepper@gmail.com>
25538
25539 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
25540 the inner loop.
25541
850fb039
AS
255422011-12-06 Andreas Schwab <schwab@linux-m68k.org>
25543
25544 [BZ #13472]
25545 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
25546
4efbd5cb
UD
255472011-12-04 Ulrich Drepper <drepper@gmail.com>
25548
52ff5dd0 25549 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
52ad36a2 25550 Minor optimizations.
52ff5dd0 25551
4efbd5cb
UD
25552 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
25553 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
25554 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
25555
8a426e12
UD
255562011-12-03 Ulrich Drepper <drepper@gmail.com>
25557
aff2453d
UD
25558 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
25559 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
25560 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
25561 for gcc to avoid warnings.
25562 * inet/Makefile (tests): Add tst-checks.
25563 * inet/tst-checks.c: New file.
25564
25565 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
25566 warning.
25567
25568 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
25569 __wmemcmp_sse2.
25570
25571 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
25572 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
25573
8a426e12
UD
25574 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
25575
9bea3473
UD
255762011-12-02 Ulrich Drepper <drepper@gmail.com>
25577
3a965496
UD
25578 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
25579 problem.
25580
9bea3473
UD
25581 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
25582
f101631b
UD
255832011-11-29 Joseph Myers <joseph@codesourcery.com>
25584
25585 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
25586 conditional on GCC version.
25587 (__arch_compare_and_exchange_val_8_acq)
25588 (__arch_compare_and_exchange_val_16_acq)
25589 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
25590 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
25591 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
25592
a98275aa
UD
255932011-12-02 Joseph Myers <joseph@codesourcery.com>
25594
25595 * sysdeps/sh/backtrace.c: New file.
25596
d4cc29a2
AS
255972011-12-02 Andreas Schwab <schwab@redhat.com>
25598
25599 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
25600 parenthesis.
25601
6257af2d
AS
256022011-12-01 Andreas Schwab <schwab@redhat.com>
25603
25604 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
25605 falling back to utime.
25606
b5f44c1a
AS
256072011-11-30 Andreas Schwab <schwab@redhat.com>
25608
25609 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
25610 expectations for float.
25611
f3a6cc0a
AS
256122011-11-29 Andreas Schwab <schwab@redhat.com>
25613
25614 * locale/weight.h (findidx): Add parameter len.
25615 * locale/weightwc.h (findidx): Likewise.
25616 * posix/fnmatch_loop.c (FCT): Adjust caller.
25617 * posix/regcomp.c (build_equiv_class): Likewise.
25618 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
25619 * posix/regexec.c (check_node_accept_bytes): Likewise.
25620 * string/strcoll_l.c (STRCOLL): Likewise.
25621 * string/strxfrm_l.c (STRXFRM): Likewise.
25622
9d65ea3a
UD
256232011-11-17 Ulrich Drepper <drepper@gmail.com>
25624
25625 * Makefile.in: Remove CVSOPT handling.
25626 * configure.in: Remove use of AC_REVISION.
25627 * iconvdata/Makefile (distribute): No need to filter out CVS.
25628 * scripts/list-sources.sh: Remove CVS, subversion and monotone
25629 handling.
25630
5583a086
AS
256312011-11-16 Andreas Schwab <schwab@redhat.com>
25632
25633 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
25634 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
25635 [USE_AS_STRNCASECMP_L]: Likewise.
25636 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
25637 NO_TLS_DIRECT_SEG_REFS.
25638 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
25639 Fix argument offsets for non-PIC.
25640 [USE_AS_STRNCASECMP_L]: Likewise.
25641 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
25642 NO_TLS_DIRECT_SEG_REFS.
25643
d62a8200
UD
256442011-11-15 Ulrich Drepper <drepper@gmail.com>
25645
9d65ea3a 25646 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
d62a8200
UD
25647 O_CLOEXEC.
25648 * locale/loadlocale.c (_nl_load_locale): Likewise.
25649
09f93bd3
AS
256502011-11-15 Andreas Schwab <schwab@redhat.com>
25651
446514f9
AS
25652 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
25653 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
25654 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
25655 (SYSCALL_GETTIME): Set errno on error.
25656
09f93bd3
AS
25657 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
25658 count references to noai6ai_cached.
25659
312be3f9
UD
256602011-11-15 Ulrich Drepper <drepper@gmail.com>
25661
25662 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
25663
25664 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
25665 FD_CLOEXEC for /proc/self/maps.
25666
25667 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
25668 FD_CLOEXEC for /proc/meminfo.
25669
25670 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
25671 gai.conf.
25672
25673 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
25674 FD_CLOEXEC for given file.
25675
25676 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
25677
25678 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
25679 FD_CLOEXEC for /etc/hosts.
25680 (_gethtent): Likewise.
25681
25682 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
25683
25684 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
25685 cancellation and set FD_CLOEXEC for /etc/netgroup.
25686
25687 * nss/nss_files/files-key.c (search): Don't allow cancellation when
25688 reading /etc/publickey.
25689
25690 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
25691 allow cancellation when reading /etc/group.
25692
25693 * nss/nss_files/files-alias.c (internal_setent): Don't allow
25694 cancellation.
25695 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
25696
25697 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
25698 when using data file.
25699
25700 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
25701
25702 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
25703 (write_nis_obj): Use "c" and "e" in fopen.
25704
25705 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
25706
25707 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
25708
25709 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
25710
25711 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
25712
25713 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
25714 locale.alias.
25715
25716 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
25717
25718 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
25719
25720 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
25721
25722 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
25723 file parsing and set FD_CLOEXEC.
25724
82af0fa8
UD
257252011-11-14 Ulrich Drepper <drepper@gmail.com>
25726
25727 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
25728
a5fb313c
AS
257292011-11-14 Andreas Schwab <schwab@redhat.com>
25730
25731 * malloc/arena.c (arena_get2): Don't call reused_arena when
25732 _int_new_arena failed.
25733
6abf3465
UD
257342011-11-14 Ulrich Drepper <drepper@gmail.com>
25735
25736 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
25737 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
25738 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
25739 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
25740 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25741 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
25742 to compile strcasecmp and strncasecmp.
25743 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
25744 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
25745
25746 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
25747
76e3966e
UD
257482011-11-13 Ulrich Drepper <drepper@gmail.com>
25749
25750 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
25751 locale-defines.sym to gen-as-const-headers.
25752 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
25753 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
25754 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
25755 to compile strcasecmp and strncasecmp.
25756 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
25757 strcasecmp_l and strncasecmp_l.
25758 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
25759 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
25760 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
25761 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
25762 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
25763 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
25764 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
25765 * sysdeps/i386/i686/multiarch/strncase.S: New file.
25766 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
25767 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
25768 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
25769
ab26144e
UD
257702011-11-12 Ulrich Drepper <drepper@gmail.com>
25771
7edb22ef
UD
25772 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
25773 result of SYSDEP_GETTIME_CPU to retval.
25774 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
25775 parameter list to macro. Remove trailing semicolon. Adjust users.
25776
9694fc44
UD
25777 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
25778 variable.
25779
8ad89ef8
UD
25780 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
25781 mantissa words.
25782 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
25783
0c822ef9
UD
25784 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
25785 from unused variable.
25786
874e0564
UD
25787 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
25788 DWARF definitions.
25789 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
25790 for assembling.
25791
3a2edc79
UD
25792 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
25793 over namespaces.
25794
f3c2577f
UD
25795 * sunrpc/rpc_prot.c (rejected): Fix case value.
25796
294ce126
UD
25797 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
25798 unsigned long long int to avoid warnings in shift.
25799
5e2b63c6
UD
25800 * posix/regex_internal.c (re_string_reconstruct): Actually use result
25801 of use of trans.
25802 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
25803 variable tmp.
25804
e7f4b08e
UD
25805 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
25806 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
25807 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
25808
ab26144e
UD
25809 * nis/nis_table.c (nis_list): Use variable of correct type for
25810 result of __follow_path call.
25811
8a6d5255
AZ
258122011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
25813
25814 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
25815 of math functions ceil, trunc, floor, round, and sqrt, when
25816 avaliable on the platform.
25817 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
25818 name clash.
25819 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25820 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
25821 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
25822
aaddc98c
MP
258232011-10-30 Marek Polacek <mpolacek@redhat.com>
25824
25825 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
25826 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
25827
95b7042b
RM
258282011-11-11 Roland McGrath <roland@hack.frob.com>
25829
25830 * include/unistd.h: Fix __readlink return type.
25831 Reported by Chris Metcalf <cmetcalf@tilera.com>.
25832
57769839
UD
258332011-11-11 Ulrich Drepper <drepper@gmail.com>
25834
25835 * stdlib/ucontext.h: Undo last change for makecontext.
25836
edc5984d
AS
258372011-11-11 Andreas Schwab <schwab@redhat.com>
25838
98591e58
AS
25839 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
25840
edc5984d
AS
25841 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
25842 * setjmp/setjmp.h: Mark functions as non-leaf.
25843 * setjmp/bits/setjmp2.h: Likewise.
25844 * stdlib/ucontext.h: Likewise.
25845
77cdc054
AS
258462011-11-10 Andreas Schwab <schwab@redhat.com>
25847
25848 * malloc/arena.c (_int_new_arena): Don't increment narenas.
25849 (reused_arena): Don't check arena limit.
25850 (arena_get2): Atomically check arena limit.
25851
fe72eebd
UD
258522011-11-08 Ulrich Drepper <drepper@gmail.com>
25853
5f078c32
UD
25854 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
25855 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
25856
fe72eebd
UD
25857 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
25858 instructions.
25859
ae1bc2fa
AS
258602011-11-07 Andreas Schwab <schwab@redhat.com>
25861
7583a88d
AS
25862 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
25863 handler when locking.
25864
ae1bc2fa
AS
25865 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
25866 Fix size of allocated buffer.
25867
10fb0bfa
AS
258682011-11-04 Andreas Schwab <schwab@redhat.com>
25869
998832a4
AS
25870 [BZ #10103]
25871 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
25872 declarations for long double functions.
25873 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
25874
10fb0bfa
AS
25875 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
25876
3d7ba52b
AS
258772011-11-03 Andreas Schwab <schwab@redhat.com>
25878
a9ae54a1
AS
25879 * nscd/nscd.c (main): Don't start AVC thread until credentials are
25880 installed.
25881
3d7ba52b
AS
25882 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
25883 is disabled.
25884
bc8db248
ST
258852011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
25886
25887 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
25888
45b96dd6
AS
258892011-11-01 Andreas Schwab <schwab@linux-m68k.org>
25890
647776f6
AS
25891 * include/alloca.h (stackinfo_alloca_round): Define.
25892 (extend_alloca): Use it.
25893 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
25894 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
25895 here.
25896
d91a8b93
AS
25897 * scripts/check-local-headers.sh: Ignore libaudit.h.
25898
45b96dd6
AS
25899 * nscd/Makefile (extra-objs): Make recursively expanded.
25900
432d41ce
UD
259012011-11-01 Ulrich Drepper <drepper@gmail.com>
25902
34372fc6
UD
25903 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
25904 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
25905
fadb59f8
UD
25906 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
25907 * posix/tst-rfc3484-2.c: Likewise.
25908 * posix/tst-rfc3484-3.c: Likewise.
25909
78239589
UD
25910 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
25911 process_vm_writev.
25912 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
25913 process_vm_writev.
25914 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
25915 process_vm_writev from libc using GLIBC_2.15 version.
25916
432d41ce
UD
25917 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
25918
02f9c6cf
PP
259192011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
25920
25921 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
25922 stack usage.
25923
3a2c0242
UD
259242011-10-31 Ulrich Drepper <drepper@gmail.com>
25925
f4ec4833
UD
25926 [BZ #13367]
25927 * nss/getent.c (initgroups_keys): Show error message in case no group
25928 names are given.
25929
3a2c0242
UD
25930 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
25931 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
25932 __bump_nl_timestamp.
25933 * nscd/connections (nscd_init): When host database is served open
25934 netlink socket and request notification about configuration changes.
25935 (main_loop_poll): Track netlink file descriptor and bump timestamp
25936 in case data becomes available.
25937 (main_loop_epoll): Likewise.
25938 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
25939 (database_pers_head): Add extra_data fileds.
25940 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
25941 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
25942 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
25943 Adjust caller.
25944 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
25945 in6ai data, call __free_in6ai.
25946 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
25947 Add -DHAVE_NETLINK.
25948 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
25949 interface information. Reuse previous data if netlink timestamp
25950 is not changed.
25951 (__bump_nl_timestamp): New function.
25952 (__free_in6ai): New function.
25953
636064eb
UD
259542011-10-30 Ulrich Drepper <drepper@gmail.com>
25955
25956 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
25957 close_not_cancel_no_status here.
25958 (__check_pf): Reorganize code a bit to not call close twice if OOM.
25959
9beb2334
UD
259602011-10-29 Ulrich Drepper <drepper@gmail.com>
25961
6ef76f3b
UD
25962 [BZ #13276]
25963 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
25964 return value.
25965
0ffc4f3e 25966 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
9beb2334
UD
25967 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
25968 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
25969
cb95113e
UD
259702011-07-03 Andreas Jaeger <aj@suse.de>
25971
25972 [BZ #10709]
25973 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
25974 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
25975 * math/libm-test.inc (sin_test): Add test case.
25976
a1b560ff
UD
259772011-10-29 Ulrich Drepper <drepper@gmail.com>
25978
c9aaface
UD
25979 [BZ #13337]
25980 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
25981 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
25982
d272e7f1
UD
25983 * elf/chroot_canon.c (chroot_canon): Cleanups.
25984
1bc33071
UD
25985 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
25986
1760874d
TJ
25987 [BZ #13335]
25988 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
25989 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
25990
51d91b18
UD
25991 * string/test-strchr.c: Make usable for strchrnul testing.
25992 * string/test-strchrnul.c: New file.
25993 * string/Makefile (strop-tests): Add strchrnul.
25994
a1b560ff 25995 * po/it.po: Update from translation team.
b611fb81 25996 * po/es.po: Likewise.
a1b560ff 25997
a5b81e1f
UD
259982011-10-28 Ulrich Drepper <drepper@gmail.com>
25999
fd52bc6d
UD
26000 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
26001 the three constants needed as parameters. Drop the others.
26002 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
26003 __m128i_strloadu_tolower.
52e4b9eb
UD
26004 Create and initialize variable zero and use it in all the places
26005 where _mm_setzero_si128 was used.
fd52bc6d 26006
a5b81e1f
UD
26007 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
26008 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
26009 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
26010 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
26011 anymore.
26012 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
26013 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
26014 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
26015 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
26016 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
26017 __mpranred, __mptan.
26018 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
26019 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
26020 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
26021 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
26022 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
26023 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
26024 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
26025 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
26026 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
26027
b4343346
AS
260282011-10-28 Andreas Schwab <schwab@redhat.com>
26029
0c92d8a8
AS
26030 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
26031 redefine if SHARED.
26032 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
26033
b4343346
AS
26034 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
26035 wide char related routines to wcsmbs subdir.
26036
3871f58f
AS
260372011-10-27 Andreas Schwab <schwab@redhat.com>
26038
26039 [BZ #13344]
26040 * misc/sys/cdefs.h (__THROWNL): Define.
26041 * posix/unistd.h: Use __THREADNL instead of __THREAD
26042 for memory synchronization functions.
26043
94d44d9f
RM
260442011-10-26 Roland McGrath <roland@hack.frob.com>
26045
21b64b15 26046 [BZ #13349]
94d44d9f
RM
26047 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
26048 doesn't exist.
26049 * manual/stdio.texi (Obstack Streams): Node removed.
26050
f6ce9294
AS
260512011-10-26 Andreas Schwab <schwab@redhat.com>
26052
80479147
AS
26053 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
26054 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26055 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26056
f6ce9294
AS
26057 * math/math_private.h (math_force_eval): Allow non-addressable
26058 arguments.
26059 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
26060
618280a1
UD
260612011-10-25 Ulrich Drepper <drepper@gmail.com>
26062
e0016b11
UD
26063 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
26064 file is not needed.
26065
26066 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
26067 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
26068 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
26069 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
26070 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
26071 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
26072 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
26073 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
26074 Add AVX variants.
26075 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
26076 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
26077 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
26078 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
26079 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
26080 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
26081 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
26082 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
26083 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
26084 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
26085 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
26086 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
26087 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
26088 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
26089 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
26090 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
26091 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
26092 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
26093 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
26094
26095 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
26096 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
26097
618280a1
UD
26098 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
26099 place. Use VEX encoding when compiling for AVX.
26100
37822576
AS
261012011-10-25 Andreas Schwab <schwab@redhat.com>
26102
1f1e1947
AS
26103 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
26104 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
26105
37822576
AS
26106 * string/test-strchr.c (do_test): Don't generate NUL bytes.
26107
31ea014d
UD
261082011-10-25 Ulrich Drepper <drepper@gmail.com>
26109
d7826aa1 26110 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
ffb124cc 26111 useless if() expression.
d7826aa1
UD
26112 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26113 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
26114 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
26115 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26116 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
26117 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
26118 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26119 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26120 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
26121 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26122 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26123 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26124 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
26125 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26126 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
26127 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
26128 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26129 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26130 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
26131
31ea014d
UD
26132 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
26133
16437fec
AS
261342011-10-25 Andreas Schwab <schwab@redhat.com>
26135
26136 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
26137 condition.
26138 * elf/dl-fini.c (_dl_sort_fini): Likewise.
26139
31d3cc00
UD
261402011-10-25 Ulrich Drepper <drepper@gmail.com>
26141
26142 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
26143 .text section. Avoid duplicate constants.
26144 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
26145 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26146 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26147 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26148 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26149 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26150 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26151 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26152 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
26153 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
26154 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
26155 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
26156 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
26157 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
26158 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
26159 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
26160 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
26161 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
26162 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
26163 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26164 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
26165 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
26166 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
26167 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
26168 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
26169 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
26170 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
26171 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
26172 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
26173 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
26174 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
26175 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
26176 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
26177 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
26178 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
26179 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
26180 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
26181 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
26182 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
26183 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
26184 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
26185 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
26186 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
26187 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
26188 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
26189
58985aa9
UD
261902011-10-24 Ulrich Drepper <drepper@gmail.com>
26191
202c9deb
UD
26192 * sysdeps/x86_64/dla.h: Move to ...
26193 * sysdeps/x86_64/fpu/dla.h: ...here.
26194 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
26195 situations. Use __builtin_fma only for gcc 4.6 and up.
a0cf1edd 26196
af968f62
UD
26197 * config.make.in: Add have-mfma4 entry.
26198 * configure.in: Substitute libc_cv_cc_fma4.
26199 * math/Makefile (dbl-only-routines): Add sincostab.
26200 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
26201 Use __sincostab not sincos.
26202 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
26203 name is a macro.
26204 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26205 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26206 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26207 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
26208 using __copysign.
26209 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
26210 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
26211 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
26212 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
26213 and __inv.
26214 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
26215 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
26216 __copysign.
26217 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
26218 define aliases when function name is a macro.
26219 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
26220 sysdeps/ieee754/dbl-64/sincos.tbl.
26221 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
26222 fma4-enabled routines.
26223 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
26224 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
26225 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
26226 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
26227 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
26228 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
26229 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
26230 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
26231 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
26232 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
26233 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
26234 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
26235 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
26236 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
26237 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
26238 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
26239 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
26240 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
26241 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
26242 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
26243 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
26244 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
26245 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
26246 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
26247 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
26248 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
26249 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
26250 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
26251 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
26252 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
26253
58985aa9
UD
26254 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
26255 rename.
26256 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26257 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26258 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26259 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26260 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26261 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26262 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26263 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26264
a201fbcf
AS
262652011-10-24 Andreas Schwab <schwab@redhat.com>
26266
26267 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
26268
fc2ee42a
LD
262692011-10-23 Ulrich Drepper <drepper@gmail.com>
26270
bb3129bd
UD
26271 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
26272
0275fff8
UD
26273 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
26274 prediction.
26275 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
26276
2fa2ae85
UD
26277 * string/strnlen.c: Don't define STRNLEN, reverse logic.
26278 Remove unused variable magic_bits.
26279 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
26280
fc2ee42a
LD
26281 * string/strnlen.c: Define and use STRNLEN macro.
26282 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
26283 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
26284 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
26285 * wcsmbs/wcslen.c: Define and use WCSLEN.
26286 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
26287 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
26288 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
26289 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
26290 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
26291 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
26292 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
26293
ce7dd29f
LD
262942011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26295
26296 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
26297 strnlen-sse2-no-bsf.
26298 Rename strlen-no-bsf to strlen-sse2-no-bsf.
26299 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
26300 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
26301 Add strnlen support.
26302 (USE_AS_STRNLEN): New macro.
26303 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
26304 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
26305 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
26306 * sysdeps/x86_64/wcslen.S: New file.
26307
979c70a3
MZ
263082011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
26309
26310 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
26311 XMM-moves are used for copying on small sizes.
26312
2d09f82f
LD
263132011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26314
26315 * wcsmbs/Makefile (strop-tests): Add wcschr.
26316 * wcsmbs/test-wcschr.c: New file.
26317 * string/test-strchr.c: Update.
26318 Add wcschr support.
26319 (WIDE): New macro.
26320
619fccca
LD
263212011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26322
2d09f82f 26323 * wcsmbs/Makefile (strop-tests): Add wcslen.
619fccca
LD
26324 * wcsmbs/test-wcslen.c: New file.
26325 * string/test-strlen.c: Update.
26326 Add wcslen support.
26327 (WIDE): New macro.
26328
09f699ea
UD
263292011-10-23 Ulrich Drepper <drepper@gmail.com>
26330
26331 * po/it.po: Update from translation team.
26332
95584d3b
LD
263332011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26334
26335 * sysdeps/x86_64/wcscmp.S: Update.
26336 Fix wrong comparison semantics.
26337 wcscmp shall use signed comparison not unsigned.
26338 Don't use substraction to avoid overflow bug.
26339 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
26340 * wcsmbc/wcscmp.c: Likewise.
26341 * string/test-strcmp.c: Likewise.
26342 Add new tests to check cases with negative values.
26343
c8b3296b
UD
263442011-10-23 Ulrich Drepper <drepper@gmail.com>
26345
26346 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
26347 * sysdeps/x86_64/dla.h: ...here. New file.
26348 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
26349 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26350 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26351 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26352 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26353 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26354 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26355 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26356 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26357
246ad57a
AS
263582011-10-23 Andreas Schwab <schwab@linux-m68k.org>
26359
26360 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
26361 __ynl_finite aliases.
26362
a1a87169
UD
263632011-10-22 Ulrich Drepper <drepper@gmail.com>
26364
0d355eb7
UD
26365 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26366
a1a87169
UD
26367 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
26368 define DLA_FMA.
26369 [DLA_FMA] (EMULV): Use DLA_FMA.
26370 [DLA_FMA] (MUL12): Use EMULV.
26371 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
26372 that are not needed.
26373 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
26374 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26375 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26376 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26377 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26378 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
26379 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
26380
ee2aafe0
AS
263812011-10-22 Andreas Schwab <schwab@linux-m68k.org>
26382
26383 * math/s_nan.c: Undef __nan.
26384 * math/s_nanf.c: Undef __nanf.
26385 * math/s_nanl.c: Undef __nanl.
26386 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
26387 "math_private.h".
26388
bc62c2fb
UD
263892011-10-22 Ulrich Drepper <drepper@gmail.com>
26390
77425c63
UD
26391 * math/s_catan.c: Add branch predictions.
26392 * math/s_catanf.c: Likewise.
26393 * math/s_catanh.c: Likewise.
26394 * math/s_catanhf.c: Likewise.
26395 * math/s_catanhl.c: Likewise.
26396 * math/s_catanl.c: Likewise.
26397 * math/s_cexp.c: Likewise.
26398 * math/s_cexpf.c: Likewise.
26399 * math/s_cexpl.c: Likewise.
26400 * math/s_clog.c: Likewise.
26401 * math/s_clog10.c: Likewise.
26402 * math/s_clog10f.c: Likewise.
26403 * math/s_clog10l.c: Likewise.
26404 * math/s_clogf.c: Likewise.
26405 * math/s_clogl.c: Likewise.
26406 * math/s_csqrt.c: Likewise.
26407 * math/s_csqrtf.c: Likewise.
26408 * math/s_csqrtl.c: Likewise.
26409 * math/s_ctanf.c: Likewise.
26410 * math/s_ctanh.c: Likewise.
26411 * math/s_ctanhf.c: Likewise.
26412 * math/s_ctanhl.c: Likewise.
26413 * math/s_ctanl.c: Likewise.
26414
bc62c2fb
UD
26415 * math/math_private.h: Define __nan, __nanf, __nanl.
26416 * math/s_cacosh.c: Include <math_private.h>.
26417 * math/s_cacoshl.c: Likewise.
26418 * math/s_casinh.c: Likewise.
26419 * math/s_casinhf.c: Likewise.
26420 * math/s_casinhl.c: Likewise.
26421 * math/s_ccos.c: Rely entire on ccosh.
26422 * math/s_ccosf.c: Rely entire on ccoshf.
26423 * math/s_ccosl.c: Rely entirely on ccoshl.
26424 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
26425 Remove tests for FE_INVALID.
26426 * math/s_ccoshf.c: Likewise.
26427 * math/s_ccoshl.c: Likewise.
26428 * math/s_csin.c: Likewise.
26429 * math/s_csinf.c: Likewise.
26430 * math/s_csinh.c Likewise.
26431 * math/s_csinhf.c: Likewise.
26432 * math/s_csinhl.c: Likewise.
26433 * math/s_csinl.c: Likewise.
26434 * math/s_ctan.c: Likewise.
26435 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
26436 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
26437 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
26438
8ec250a4
UD
264392011-10-21 Ulrich Drepper <drepper@gmail.com>
26440
c196fed8
UD
26441 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
26442 compilation problems.
26443
8ec250a4
UD
26444 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
26445 __builtin_expect.
26446
8d4f46c6
UD
264472011-10-20 Ulrich Drepper <drepper@gmail.com>
26448
ed72b654
UD
26449 * sysdeps/i386/configure.in: Test for -mfma4 option.
26450 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
26451 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
26452 COMMON_CPUID_INDEX_80000001.
26453 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
26454 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
26455 use it if FMA3 is not supported.
26456 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
26457
8d4f46c6
UD
26458 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
26459 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
26460
d45c60c2
AS
264612011-10-20 Andreas Schwab <schwab@redhat.com>
26462
26463 [BZ #12892]
26464 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
26465 it would create a cycle with a link time dependency.
26466
d9a4d2ab
UD
264672011-10-19 Ulrich Drepper <drepper@gmail.com>
26468
855d1560
UD
26469 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
26470 instruction.
26471 * string/Makefile (strop-tests): Add rawmemchr.
26472 * string/test-rawmemchr.c: New file.
26473
d9a4d2ab
UD
26474 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
26475 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
26476 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
26477 when compiling str{,n}casecmp and when AVX is available. Hook up
26478 new optimized code in initializers.
26479
8f3b1ffe
AS
264802011-10-19 Andreas Schwab <schwab@redhat.com>
26481
26482 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
26483 __feraiseexcept instead of feraiseexcept.
26484
d38f1dba
UD
264852011-10-18 Ulrich Drepper <drepper@gmail.com>
26486
d9a8d0ab
UD
26487 * math/math_private.h: Define defaults for libc_fetestexcept and
26488 libc_feupdateenv.
26489 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
26490 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
26491 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26492 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26493 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
26494 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26495 libc_fetestexcept and libc_feupdateenv.
26496
4855e3dd
UD
26497 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
26498 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
26499 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
26500 * sysdeps/x86_64/fpu/math_private.h: Define special version of
26501 libc_feholdexcept_setround.
26502
581d30e3
UD
26503 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
26504 Add s_nearbyint-c and s_nearbyintf-c.
26505 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
26506 nearbyintf inlines.
26507 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
26508 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
26509 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
26510 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
26511
d38f1dba
UD
26512 * math/math_private.h: Define defaults for libc_fegetround,
26513 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
26514 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
26515 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
26516 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
26517 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
26518 standard functions.
26519 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26520 Remove comments and hacks for old compiler versions.
26521 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
26522 libc_fegetround, libc_fesetround, libc_feholdexcept, and
26523 libc_feholdexceptl.
26524
caa6c9d8
AS
265252011-10-18 Andreas Schwab <schwab@redhat.com>
26526
26527 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
83c7615c
AS
26528 (__feraiseexcept_renamed): Add __NTH.
26529 (feraiseexcept): Add __NTH. Rename local variables to fix
caa6c9d8
AS
26530 namespace violations.
26531
97c066e6
UD
265322011-10-17 Ulrich Drepper <drepper@gmail.com>
26533
99ce7b04
UD
26534 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
26535
1004d182
UD
26536 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
26537
228a984d
UD
26538 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
26539 recently added interfaces.
26540 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
26541
c8553a6a
UD
26542 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
26543 about macro parameter expansion.
26544
ed22dcf6
UD
26545 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
26546 __NO_MATH_INLINES is defined. Cleanups.
26547
26548 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
26549 and __floorf is target has SSE4.1.
26550 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
26551 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
26552 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
26553 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
26554
b171c137
UD
26555 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
26556 name.
26557 (floorf): Likewise.
26558
97c066e6
UD
26559 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
26560
629f62ef
AS
265612011-10-17 Andreas Schwab <schwab@redhat.com>
26562
49a43d80
AS
26563 * misc/sys/cdefs.h: Fix last change.
26564
629f62ef
AS
26565 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
26566 database lookup.
26567
e453f6cd
UD
265682011-10-16 Ulrich Drepper <drepper@gmail.com>
26569
aa78043a
UD
26570 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
26571
ad0f5cad
UD
26572 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
26573 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
26574 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
26575 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
26576 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
26577 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
26578 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
26579 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
26580 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
26581 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
26582 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
26583 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
26584 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
26585 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
26586 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
26587 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
26588 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
26589 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
26590 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
26591 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
26592 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
26593 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
26594
26595 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
26596 ceil, ceilf, floor, floorf.
26597
26598 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
26599 Perform IRELATIVE relocations last.
26600
e453f6cd
UD
26601 * elf/do-rel.h: Add another parameter nrelative, replacing the
26602 local variable with the same name. Change name of the function
26603 to end in Rel or Rela (uppercase).
26604 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
26605 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
26606 elf_dynamic_do_##reloc function.
26607
fd5bdc09
UD
266082011-10-15 Ulrich Drepper <drepper@gmail.com>
26609
79b195b5
UD
26610 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
26611 is sufficient, at least on modern CPUs.
26612
d4a28569
UD
26613 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
26614
b61099b5
UD
26615 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
26616 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
26617
bcf01e6d
UD
26618 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
26619 __expl_finite.
26620 * math/bits/math-finite.h: Add entries for exp.
26621 * math/e_expl.c: Add __*_finite alias.
26622 * sysdeps/i386/fpu/e_exp.S: Likewise.
26623 * sysdeps/i386/fpu/e_expf.S: Likewise.
26624 * sysdeps/i386/fpu/e_expl.c: Likewise.
26625 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26626 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26627 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26628 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26629 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
26630 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26631 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26632
ba1a0d59
UD
26633 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
26634 is sufficient, at least on modern CPUs.
26635
fd5bdc09
UD
26636 * ctype/ctype-info.c (__ctype_init): Define.
26637 * include/ctype.h (__ctype_init): Declare.
26638 (__ctype_b_loc): The variable is always initialized.
26639 (__ctype_toupper_loc): Likewise.
26640 (__ctype_tolower_loc): Likewise.
26641 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
26642 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
26643
7872cfb0
AS
266442011-10-15 Andreas Schwab <schwab@linux-m68k.org>
26645
b468825a
AS
26646 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
26647
7872cfb0
AS
26648 * configure.in: Also look in $cxxmachine/include for C++ system
26649 headers.
26650
be13f7bf
LD
266512011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26652
26653 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
26654 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
26655 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
26656 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
26657 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
26658 (USE_AS_WMEMCMP): New macro.
26659 Fixing indents.
26660 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
26661 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
26662 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
26663 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
26664 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26665 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
26666 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
26667 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
26668 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
26669 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
26670 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
26671 (USE_AS_WMEMCMP): New macro.
26672 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
26673 * sysdeps/string/test-memcmp.c: Update.
26674 Fix simple_wmemcmp.
26675 Add new tests.
26676 * wcsmbs/wmemcmp.c: Update.
26677 (WMEMCMP): New macro.
26678 Fix overflow bug.
26679
556a2007
AJ
266802011-10-12 Andreas Jaeger <aj@suse.de>
26681
26682 [BZ #13268]
26683 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
26684
538faaa7
UD
266852011-10-15 Ulrich Drepper <drepper@gmail.com>
26686
ab6737ff
UD
26687 * libio/iofwide.c (do_length): Avoid warning.
26688
538faaa7
UD
26689 * ctype/ctype.h (__isctype_f): Add missing __THROW.
26690
396a21b1
UD
266912011-10-14 Ulrich Drepper <drepper@gmail.com>
26692
cdf2901f
UD
26693 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
26694
38ad40ce
UD
26695 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
26696 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
26697 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
26698 * sysdeps/i386/i686/fpu/e_log.S: New file.
26699 * sysdeps/i386/i686/fpu/e_logf.S: New file.
26700 * sysdeps/i386/i686/fpu/e_logl.S: New file.
26701
396a21b1
UD
26702 * ctype/ctype.h: Add support for inlined isXXX functions when
26703 compiling C++ code.
26704
6b1f68c9
AS
267052011-10-14 Andreas Schwab <schwab@redhat.com>
26706
349290c0
AS
26707 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
26708
6b1f68c9
AS
26709 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
26710
f2282d42
RM
267112011-10-13 Roland McGrath <roland@hack.frob.com>
26712
26713 [BZ #13291]
26714 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
26715
5298ffa8
AS
267162011-10-13 Andreas Schwab <schwab@redhat.com>
26717
714fad23
AS
26718 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
26719 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
26720 feraiseexcept.
26721
81dcc7fb
AS
26722 * sysdeps/x86_64/memrchr.S: Check for zero size.
26723
5298ffa8
AS
26724 * string/stratcliff.c: Add memrchr tests.
26725
951fbcec
LD
267262011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
26727
26728 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
26729 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
26730 rawmemchr-sse2 rawmemchr-sse2-bsf.
26731 * sysdeps/i386/i686/multiarch/memchr.S: New file.
26732 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
26733 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
26734 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
26735 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
26736 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
26737 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
26738 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
26739 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
26740 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
26741 * string/memrchr.c (MEMRCHR): New macro.
26742
0ac5ae23
UD
267432011-10-12 Ulrich Drepper <drepper@gmail.com>
26744
26745 Add integration with gcc's -ffinite-math-only and optimize wrapper
26746 functions in libm.
26747 * Versions.def: Define GLIBC_2.15 version for libm.
26748 * math/Makefile (headers): Add bits/math-finite.h.
26749 * math/bits/math-finite.h: New file.
26750 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
26751 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
26752 * math/e_acoshl.c: Add __*_finite alias.
26753 * math/e_acosl.c: Likewise.
26754 * math/e_asinl.c: Likewise.
26755 * math/e_atan2l.c: Likewise.
26756 * math/e_atanhl.c: Likewise.
26757 * math/e_coshl.c: Likewise.
26758 * math/e_exp10.c: Likewise.
26759 * math/e_exp10f.c: Likewise.
26760 * math/e_exp10l.c: Likewise.
26761 * math/e_exp2l.c: Likewise.
26762 * math/e_fmodl.c: Likewise.
26763 * math/e_gammal_r.c: Likewise.
26764 * math/e_hypotl.c: Likewise.
26765 * math/e_j0l.c: Likewise.
26766 * math/e_j1l.c: Likewise.
26767 * math/e_jnl.c: Likewise.
26768 * math/e_lgammal_r.c: Likewise.
26769 * math/e_log10l.c: Likewise.
26770 * math/e_log2l.c: Likewise.
26771 * math/e_logl.c: Likewise.
26772 * math/e_powl.c: Likewise.
26773 * math/e_sinhl.c: Likewise.
26774 * math/e_sqrtl.c: Likewise.
26775 * math/e_scalb.c: Completely rewritten and optimized.
26776 * math/e_scalbf.c: Likewise.
26777 * math/e_scalbl.c: Likewise.
26778 * math/w_acos.c: Likewise.
26779 * math/w_acosf.c: Likewise.
26780 * math/w_acosl.c: Likewise.
26781 * math/w_acosh.c: Likewise.
26782 * math/w_acoshf.c: Likewise.
26783 * math/w_acoshl.c: Likewise.
26784 * math/w_asin.c: Likewise.
26785 * math/w_asinf.c: Likewise.
26786 * math/w_asinl.c: Likewise.
26787 * math/w_atan2.c: Likewise.
26788 * math/w_atan2f.c: Likewise.
26789 * math/w_atan2l.c: Likewise.
26790 * math/w_atanh.c: Likewise.
26791 * math/w_atanhf.c: Likewise.
26792 * math/w_atanhl.c: Likewise.
26793 * math/w_exp10.c: Likewise.
26794 * math/w_exp10f.c: Likewise.
26795 * math/w_exp10l.c: Likewise.
26796 * math/w_fmod.c: Likewise.
26797 * math/w_fmodf.c: Likewise.
26798 * math/w_fmodl.c: Likewise.
26799 * math/w_j0.c: Likewise.
26800 * math/w_j0f.c: Likewise.
26801 * math/w_j0l.c: Likewise.
26802 * math/w_j1.c: Likewise.
26803 * math/w_j1f.c: Likewise.
26804 * math/w_j1l.c: Likewise.
26805 * math/w_jn.c: Likewise.
26806 * math/w_jnf.c: Likewise.
26807 * math/w_log.c: Likewise.
26808 * math/w_logf.c: Likewise.
26809 * math/w_logl.c: Likewise.
26810 * math/w_log10.c: Likewise.
26811 * math/w_log10f.c: Likewise.
26812 * math/w_log10l.c: Likewise.
26813 * math/w_log2.c: Likewise.
26814 * math/w_log2f.c: Likewise.
26815 * math/w_log2l.c: Likewise.
26816 * math/w_pow.c: Likewise.
26817 * math/w_powf.c: Likewise.
26818 * math/w_powl.c: Likewise.
26819 * math/w_remainder.c: Likewise.
26820 * math/w_remainderf.c: Likewise.
26821 * math/w_remainderl.c: Likewise.
26822 * math/w_scalb.c: Likewise.
26823 * math/w_scalbf.c: Likewise.
26824 * math/w_scalbl.c: Likewise.
26825 * math/w_sqrt.c: Likewise.
26826 * math/w_sqrtf.c: Likewise.
26827 * math/w_sqrtl.c: Likewise.
26828 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
26829 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
26830 used.
26831 * math/math_private.h: Declare __kernel_standard_f.
26832 * math/w_cosh.c: Remove cruft and optimize a bit.
26833 * math/w_coshf.c: Likewise.
26834 * math/w_coshl.c: Likewise.
26835 * math/w_exp2.c: Likewise.
26836 * math/w_exp2f.c: Likewise.
26837 * math/w_exp2l.c: Likewise.
26838 * math/w_hypot.c: Likewise.
26839 * math/w_hypotf.c: Likewise.
26840 * math/w_hypotl.c: Likewise.
26841 * math/w_lgamma.c: Likewise.
26842 * math/w_lgamma_r.c: Likewise.
26843 * math/w_lgammaf.c: Likewise.
26844 * math/w_lgammaf_r.c: Likewise.
26845 * math/w_lgammal.c: Likewise.
26846 * math/w_lgammal_r.c: Likewise.
26847 * math/w_sinh.c: Likewise.
26848 * math/w_sinhf.c: Likewise.
26849 * math/w_sinhl.c: Likewise.
26850 * math/w_tgamma.c: Likewise.
26851 * math/w_tgammaf.c: Likewise.
26852 * math/w_tgammal.c: Likewise.
26853 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
26854 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
26855 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
26856 Minor optimizations. Pretty printing. Remove cruft.
26857 * sysdeps/i386/fpu/e_acosf.S: Likewise.
26858 * sysdeps/i386/fpu/e_acosh.S: Likewise.
26859 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26860 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26861 * sysdeps/i386/fpu/e_acosl.c: Likewise.
26862 * sysdeps/i386/fpu/e_asin.S: Likewise.
26863 * sysdeps/i386/fpu/e_asinf.S: Likewise.
26864 * sysdeps/i386/fpu/e_atan2.S: Likewise.
26865 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
26866 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
26867 * sysdeps/i386/fpu/e_atanh.S: Likewise.
26868 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26869 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26870 * sysdeps/i386/fpu/e_exp10.S: Likewise.
26871 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
26872 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
26873 * sysdeps/i386/fpu/e_exp2.S: Likewise.
26874 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
26875 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
26876 * sysdeps/i386/fpu/e_fmod.S: Likewise.
26877 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
26878 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
26879 * sysdeps/i386/fpu/e_hypot.S: Likewise.
26880 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
26881 * sysdeps/i386/fpu/e_log.S: Likewise.
26882 * sysdeps/i386/fpu/e_log10.S: Likewise.
26883 * sysdeps/i386/fpu/e_log10f.S: Likewise.
26884 * sysdeps/i386/fpu/e_log10l.S: Likewise.
26885 * sysdeps/i386/fpu/e_log2.S: Likewise.
26886 * sysdeps/i386/fpu/e_log2f.S: Likewise.
26887 * sysdeps/i386/fpu/e_log2l.S: Likewise.
26888 * sysdeps/i386/fpu/e_logf.S: Likewise.
26889 * sysdeps/i386/fpu/e_logl.S: Likewise.
26890 * sysdeps/i386/fpu/e_pow.S: Likewise.
26891 * sysdeps/i386/fpu/e_powf.S: Likewise.
26892 * sysdeps/i386/fpu/e_powl.S: Likewise.
26893 * sysdeps/i386/fpu/e_remainder.S: Likewise.
26894 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
26895 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
26896 * sysdeps/i386/fpu/e_scalb.S: Likewise.
26897 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26898 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26899 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
26900 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
26901 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
26902 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
26903 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
26904 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
26905 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
26906 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26907 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
26908 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
26909 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
26910 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
26911 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26912 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26913 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
26914 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
26915 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
26916 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
26917 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26918 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
26919 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
26920 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
26921 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
26922 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
26923 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
26924 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
26925 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
26926 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
26927 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
26928 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
26929 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
26930 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
26931 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
26932 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
26933 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
26934 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26935 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
26936 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
26937 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
26938 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
26939 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
26940 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
26941 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
26942 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
26943 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
26944 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
26945 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
26946 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
26947 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
26948 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
26949 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
26950 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
26951 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
26952 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
26953 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
26954 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
26955 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26956 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
26957 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
26958 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
26959 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
26960 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
26961 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
26962 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
26963 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
26964 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26965 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26966 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
26967 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
26968 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
26969 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
26970 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
26971 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
26972 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
26973 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
26974 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
26975 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
26976 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
26977 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
26978 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
26979 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
26980 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
26981 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
26982 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
26983 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
26984 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
26985 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
26986 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
26987 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
26988 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26989 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
26990 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
26991 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
26992 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
26993 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
26994 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26995 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
26996 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
26997 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
26998 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
26999 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
27000 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
27001 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
27002 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
27003 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
27004 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
27005 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
27006 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27007 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27008 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27009 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27010 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
27011 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27012 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
27013 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
27014 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
27015 (__isnanf): Likewise.
27016 (__isinf_ns): Likewise.
27017 (__isinf_nsf): Likewise.
27018 (__finite): Likewise.
27019 (__finitef): Likewise.
27020 (__ieee754_sqrt): Define as macro.
27021 (__ieee754_sqrtf): Define as macro.
27022 (__ieee754_sqrtl): Define as macro.
27023 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
27024 inlined copy.
27025 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
27026 __FINITE_MATH_ONLY__ consistent.
27027 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
27028
12cc2fcd
AS
270292011-10-10 Andreas Schwab <schwab@linux-m68k.org>
27030
a843a204
AS
27031 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
27032 of rawmemchr.
27033
12cc2fcd
AS
27034 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
27035
c853acd5
UD
270362011-10-09 Ulrich Drepper <drepper@gmail.com>
27037
27038 * po/ja.po: Update from translation team.
27039
c658d255
RM
270402011-10-08 Roland McGrath <roland@hack.frob.com>
27041
110946e4
RM
27042 * locale/programs/locarchive.c (prepare_address_space): New function.
27043 (create_archive, enlarge_archive, open_archive): Use it.
27044
50604220
RM
27045 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
27046 inside [SHARED], where it is used.
27047
c658d255
RM
27048 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
27049
27050 * nss/getent.c (netgroup_keys): Remove unused variable.
27051 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
27052
6a621eb7
UD
270532011-10-08 Ulrich Drepper <drepper@gmail.com>
27054
7edb55ce
UD
27055 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
27056 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
27057 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
27058 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
27059 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
27060 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
27061 * math/Makefile (libm-calls): Add s_isinf_ns.
27062 * math/divtc3.c: Use __isinf_nsl instead of isinf.
27063 * math/multc3.c: Likewise.
27064 * math/s_casin.c: Likewise.
27065 * math/s_casinf.c: Likewise.
27066 * math/s_casinl.c: Likewise.
27067 * math/s_ccos.c: Likewise.
27068 * math/s_ccosf.c: Likewise.
27069 * math/s_ccosl.c: Likewise.
27070 * math/s_ctan.c: Likewise.
27071 * math/s_ctanf.c: Likewise.
27072 * math/s_ctanh.c: Likewise.
27073 * math/s_ctanhf.c: Likewise.
27074 * math/s_ctanhl.c: Likewise.
27075 * math/s_ctanl.c: Likewise.
27076 * math/w_fmod.c: Likewise.
27077 * math/w_fmodf.c: Likewise.
27078 * math/w_fmodl.c: Likewise.
27079 * math/w_remainder.c: Likewise.
27080 * math/w_remainderf.c: Likewise.
27081 * math/w_remainderl.c: Likewise.
27082 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
27083 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
27084 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
27085 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
27086 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
27087 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
27088 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
27089 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
27090
187da0ae
UD
27091 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
27092 of the number.
27093 * stdio-common/printf_fphex.c: Likewise.
27094 * stdio-common/printf_size.c: Likewise.
27095
9277c064
UD
27096 * math/e_exp10.c: Include math_private.h using <...> not "...".
27097 * math/e_exp10f.c: Likewise.
27098 * math/e_exp10l.c: Likewise.
27099 * math/e_exp2l.c: Likewise.
27100 * math/e_j0l.c: Likewise.
27101 * math/e_j1l.c: Likewise.
27102 * math/e_jnl.c: Likewise.
27103 * math/e_lgammal_r.c: Likewise.
27104 * math/e_rem_pio2l.c: Likewise.
27105 * math/e_scalb.c: Likewise.
27106 * math/e_scalbf.c: Likewise.
27107 * math/e_scalbl.c: Likewise.
27108 * math/k_cosl.c: Likewise.
27109 * math/k_sinl.c: Likewise.
27110 * math/k_tanl.c: Likewise.
27111 * math/s_cacoshf.c: Likewise.
27112 * math/s_catan.c: Likewise.
27113 * math/s_catanf.c: Likewise.
27114 * math/s_catanh.c: Likewise.
27115 * math/s_catanhf.c: Likewise.
27116 * math/s_catanhl.c: Likewise.
27117 * math/s_catanl.c: Likewise.
27118 * math/s_ccosh.c: Likewise.
27119 * math/s_ccoshf.c: Likewise.
27120 * math/s_ccoshl.c: Likewise.
27121 * math/s_cexp.c: Likewise.
27122 * math/s_cexpf.c: Likewise.
27123 * math/s_cexpl.c: Likewise.
27124 * math/s_clog.c: Likewise.
27125 * math/s_clog10.c: Likewise.
27126 * math/s_clog10f.c: Likewise.
27127 * math/s_clog10l.c: Likewise.
27128 * math/s_clogf.c: Likewise.
27129 * math/s_clogl.c: Likewise.
27130 * math/s_csin.c: Likewise.
27131 * math/s_csinf.c: Likewise.
27132 * math/s_csinh.c: Likewise.
27133 * math/s_csinhf.c: Likewise.
27134 * math/s_csinhl.c: Likewise.
27135 * math/s_csinl.c: Likewise.
27136 * math/s_csqrt.c: Likewise.
27137 * math/s_csqrtf.c: Likewise.
27138 * math/s_csqrtl.c: Likewise.
27139 * math/s_ctan.c: Likewise.
27140 * math/s_ctanf.c: Likewise.
27141 * math/s_ctanh.c: Likewise.
27142 * math/s_ctanhf.c: Likewise.
27143 * math/s_ctanhl.c: Likewise.
27144 * math/s_ctanl.c: Likewise.
27145 * math/s_ldexp.c: Likewise.
27146 * math/s_ldexpf.c: Likewise.
27147 * math/s_ldexpl.c: Likewise.
27148 * math/s_significand.c: Likewise.
27149 * math/s_significandf.c: Likewise.
27150 * math/s_significandl.c: Likewise.
27151 * math/w_acos.c: Likewise.
27152 * math/w_acosf.c: Likewise.
27153 * math/w_acosh.c: Likewise.
27154 * math/w_acoshf.c: Likewise.
27155 * math/w_acoshl.c: Likewise.
27156 * math/w_acosl.c: Likewise.
27157 * math/w_asin.c: Likewise.
27158 * math/w_asinf.c: Likewise.
27159 * math/w_asinl.c: Likewise.
27160 * math/w_atan2.c: Likewise.
27161 * math/w_atan2f.c: Likewise.
27162 * math/w_atan2l.c: Likewise.
27163 * math/w_atanh.c: Likewise.
27164 * math/w_atanhf.c: Likewise.
27165 * math/w_atanhl.c: Likewise.
27166 * math/w_cosh.c: Likewise.
27167 * math/w_coshf.c: Likewise.
27168 * math/w_coshl.c: Likewise.
27169 * math/w_dremf.c: Likewise.
27170 * math/w_exp10.c: Likewise.
27171 * math/w_exp10f.c: Likewise.
27172 * math/w_exp10l.c: Likewise.
27173 * math/w_exp2.c: Likewise.
27174 * math/w_exp2f.c: Likewise.
27175 * math/w_fmod.c: Likewise.
27176 * math/w_fmodf.c: Likewise.
27177 * math/w_fmodl.c: Likewise.
27178 * math/w_hypot.c: Likewise.
27179 * math/w_hypotf.c: Likewise.
27180 * math/w_hypotl.c: Likewise.
27181 * math/w_j0.c: Likewise.
27182 * math/w_j0f.c: Likewise.
27183 * math/w_j0l.c: Likewise.
27184 * math/w_j1.c: Likewise.
27185 * math/w_j1f.c: Likewise.
27186 * math/w_j1l.c: Likewise.
27187 * math/w_jn.c: Likewise.
27188 * math/w_jnf.c: Likewise.
27189 * math/w_jnl.c: Likewise.
27190 * math/w_lgamma.c: Likewise.
27191 * math/w_lgamma_r.c: Likewise.
27192 * math/w_lgammaf.c: Likewise.
27193 * math/w_lgammaf_r.c: Likewise.
27194 * math/w_lgammal.c: Likewise.
27195 * math/w_lgammal_r.c: Likewise.
27196 * math/w_log.c: Likewise.
27197 * math/w_log10.c: Likewise.
27198 * math/w_log10f.c: Likewise.
27199 * math/w_log10l.c: Likewise.
27200 * math/w_log2.c: Likewise.
27201 * math/w_log2f.c: Likewise.
27202 * math/w_log2l.c: Likewise.
27203 * math/w_logf.c: Likewise.
27204 * math/w_logl.c: Likewise.
27205 * math/w_pow.c: Likewise.
27206 * math/w_powf.c: Likewise.
27207 * math/w_powl.c: Likewise.
27208 * math/w_remainder.c: Likewise.
27209 * math/w_remainderf.c: Likewise.
27210 * math/w_remainderl.c: Likewise.
27211 * math/w_scalb.c: Likewise.
27212 * math/w_scalbf.c: Likewise.
27213 * math/w_scalbl.c: Likewise.
27214 * math/w_sinh.c: Likewise.
27215 * math/w_sinhf.c: Likewise.
27216 * math/w_sinhl.c: Likewise.
27217 * math/w_sqrt.c: Likewise.
27218 * math/w_sqrtf.c: Likewise.
27219 * math/w_sqrtl.c: Likewise.
27220 * math/w_tgamma.c: Likewise.
27221 * math/w_tgammaf.c: Likewise.
27222 * math/w_tgammal.c: Likewise.
27223
6a621eb7
UD
27224 * po/ja.po: Update from translation team.
27225
bf582445
AJ
272262011-09-29 Andreas Jaeger <aj@suse.de>
27227
f9efbf3a
AJ
27228 [BZ #13179]
27229 * sunrpc/netname.c (netname2host): Fix logic.
27230
bf582445
AJ
27231 [BZ #6779]
27232 [BZ #6783]
27233 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
27234 correctly.
27235 * math/w_remainder.c (__remainder): Likewise.
27236 * math/w_remainderf.c (__remainderf): Likewise.
27237 * math/libm-test.inc (remainder_test): Add test cases.
27238
48693bea
AK
272392011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
27240
27241 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
27242 sdiv_qrnnd.
27243
42622229
LD
272442011-10-07 Ulrich Drepper <drepper@gmail.com>
27245
27246 * string/test-memcmp.c: Avoid unncessary #defines.
27247 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
27248
093ecf92
LD
272492011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27250
27251 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
27252 Use new sse2 version for core i3 - i7 as it's faster
27253 than sse42 version.
27254 (bit_Prefer_PMINUB_for_stringop): New.
27255 * sysdeps/x86_64/rawmemchr.S: Update.
27256 Replace with faster SSE2 version.
27257 * sysdeps/x86_64/memrchr.S: New file.
27258 * sysdeps/x86_64/memchr.S: Update.
27259 Replace with faster SSE2 version.
27260
fde56e5c
MP
272612011-09-12 Marek Polacek <mpolacek@redhat.com>
27262
27263 * elf/dl-load.c (lose): Add cast to avoid warning.
27264
21fd49a9
UD
272652011-10-07 Ulrich Drepper <drepper@gmail.com>
27266
5a06e643
UD
27267 * po/ca.po: Update from translation team.
27268
684ae515
UD
27269 * inet/getnetgrent_r.c: Hook up nscd.
27270 * nscd/Makefile (routines): Add nscd_netgroup.
27271 (nscd-modules): Add netgroupcache.
27272 (CFLAGS-netgroupcache.c): Define.
27273 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
27274 (cache_search): Add const to second parameter.
27275 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
27276 INNETGR.
27277 (dbs): Add netgrdb entry.
27278 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
27279 (verify_persistent_db): Handle netgrdb.
27280 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
27281 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
27282 GETFDNETGR.
27283 (netgroup_response_header): Define.
27284 (innetgroup_response_header): Define.
27285 (datahead): Add netgroup_response_header and innetgroup_response_header
27286 elements.
27287 * nscd/nscd.conf: Add entries for netgroup cache.
27288 * nscd/nscd.h (dbtype): Add netgrdb.
27289 (_PATH_NSCD_NETGROUP_DB): Define.
27290 (netgroup_iov_disabled): Declare.
27291 (xmalloc, xcalloc, xrealloc): Move declarations here.
27292 (cache_search): Adjust prototype.
27293 Add netgroup-related prototypes.
27294 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
27295 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
27296 (__nscd_innetgr): Declare.
27297 * nscd/selinux.c (perms): Use access_vector_t as element type and
27298 add netgroup-related initializers.
27299 * nscd/netgroupcache.c: New file.
27300 * nscd/nscd_netgroup.c: New file.
27301 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
27302 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
27303 For four parameters use innetgr.
27304 * nss/nss_files/files-init.c: Add definition and callback for netgr.
27305 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
27306 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
27307 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
27308
21fd49a9
UD
27309 * nscd/connections.c (register_traced_file): Don't register file
27310 for disabled databases.
27311
054c0457
UD
273122011-10-06 Ulrich Drepper <drepper@gmail.com>
27313
32b63198
UD
27314 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
27315
054c0457
UD
27316 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
27317 from tree and freeing node.
27318
64031225
JO
273192011-09-25 Jiri Olsa <jolsa@redhat.com>
27320
27321 * nss/nsswitch.c (__nss_database_lookup): Handle
27322 nss_parse_service_list out of memory case.
27323
0490345c
JO
273242011-09-15 Jiri Olsa <jolsa@redhat.com>
27325
27326 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
27327 out of memory case.
27328
3a62d00d
AS
273292011-10-04 Andreas Schwab <schwab@redhat.com>
27330
27331 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
27332 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
27333 pass it down.
27334 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
27335 elf_machine_rela, elf_machine_lazy_rel.
27336 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
27337 (ELF_DYNAMIC_DO_REL): Likewise.
27338 (ELF_DYNAMIC_DO_RELA): Likewise.
27339 (ELF_DYNAMIC_RELOCATE): Likewise.
27340 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
27341 to ELF_DYNAMIC_DO_REL.
27342 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
27343 (dl_main): In trace mode always set __RTLD_NOIFUNC.
27344 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
27345 elf_machine_rela.
27346 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
27347 skip_ifunc, don't call ifunc function if non-zero.
27348 (elf_machine_rela): Likewise.
27349 (elf_machine_lazy_rel): Likewise.
27350 (elf_machine_lazy_rela): Likewise.
27351 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
27352 (elf_machine_lazy_rel): Likewise.
27353 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
27354 Likewise.
27355 (elf_machine_lazy_rel): Likewise.
27356 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27357 Likewise.
27358 (elf_machine_lazy_rel): Likewise.
27359 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
27360 (elf_machine_lazy_rel): Likewise.
27361 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
27362 (elf_machine_lazy_rel): Likewise.
27363 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
27364 (elf_machine_lazy_rel): Likewise.
27365 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
27366 (elf_machine_lazy_rel): Likewise.
27367 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
27368 (elf_machine_lazy_rel): Likewise.
27369 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
27370 (elf_machine_lazy_rel): Likewise.
27371
68577918
UD
273722011-09-28 Ulrich Drepper <drepper@gmail.com>
27373
27374 * nss/nss_files/files-init.c (_nss_files_init): Use static
27375 initialization for all the *_traced_file variables.
27376
68822d74
AS
273772011-09-28 Andreas Schwab <schwab@redhat.com>
27378
27379 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27380
2056100b
RM
273812011-09-27 Roland McGrath <roland@hack.frob.com>
27382
27383 [BZ #13226]
27384 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
27385
32c76b63
AS
273862011-09-27 Andreas Schwab <schwab@redhat.com>
27387
27388 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
27389 Reread the line before reparsing it.
27390
bf972c9d
AS
273912011-09-26 Andreas Schwab <schwab@redhat.com>
27392
27393 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
27394
e057a1b5
JM
273952011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
27396 Maxim Kuvyrkov <maxim@codesourcery.com>
27397 Joseph Myers <joseph@codesourcery.com>
27398
27399 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
27400 if needed for __stack_chk_guard.
27401
bc7e1c36
RM
274022011-09-19 Roland McGrath <roland@hack.frob.com>
27403
ecb1482f
RM
27404 * sysdeps/posix/spawni.c (script_execute): Always define it.
27405 It will be optimized away if unused.
27406 (maybe_script_execute): New function.
27407 (__spawni): Call it.
27408
bc7e1c36
RM
27409 * Makerules: Don't include tls.make.
27410 (config-tls): Always set to thread.
27411 * tls.make.c: File removed.
27412
1c3b002b
MF
274132011-09-19 Mike Frysinger <vapier@gentoo.org>
27414
27415 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
27416 * config.make.in (CPPFLAGS-config): New substituted variable.
27417
2840865d
UD
274182011-09-15 Ulrich Drepper <drepper@gmail.com>
27419
88738eb6
UD
27420 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
27421
cbf645a6 27422 [BZ #13192]
2840865d
UD
27423 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
27424 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
27425
b402e91a
RM
274262011-09-15 Roland McGrath <roland@hack.frob.com>
27427
27428 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
27429 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
27430 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
27431 (CALL_FAIL): Likewise.
27432 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
27433 (CALL_FAIL): Macro removed.
27434 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
27435
4c1a1f71
UD
274362011-09-15 Ulrich Drepper <drepper@gmail.com>
27437
27438 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
27439 for __FINITE_MATH_ONLY__ == 1.
27440
edc121be
AS
274412011-09-15 Andreas Schwab <schwab@redhat.com>
27442
27443 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
27444 __ieee754_sqrt instead of sqrt.
27445 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
27446 __ieee754_sqrtf instead of sqrtf.
27447 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
27448 __floorf instead of floorf.
27449 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
27450 __floorf, __truncf instead of floorf, truncf.
27451
cd205654
UD
274522011-09-14 Ulrich Drepper <drepper@gmail.com>
27453
ee4d0315
UD
27454 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
27455
cd205654
UD
27456 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
27457 __extern_always_inline.
27458 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
27459 32-bit.
27460
48b67d71
AS
274612011-09-14 Andreas Schwab <schwab@redhat.com>
27462
27463 * elf/rtld.c (dl_main): Also relocate in dependency order when
27464 doing symbol dependency testing.
27465
1ae12c75
AS
274662011-09-13 Andreas Schwab <schwab@linux-m68k.org>
27467
27468 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
27469 Always define `refsym'.
27470
995a80df
AS
274712011-09-13 Andreas Schwab <schwab@redhat.com>
27472
e529793b
AS
27473 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
27474 (__FD_ELT): Renamed from __FDELT.
27475 * misc/bits/select2.h (__FD_ELT): Likewise.
27476 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
27477 __FD_MASK instead of __FDELT, __FDMASK.
27478 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27479 Likewise.
27480 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
27481 Likewise.
27482
52d4fef8
AS
27483 * elf/Makefile (gen-ldd): Fix pattern.
27484
995a80df
AS
27485 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
27486 (init_tls): Likewise.
27487
8682f8b0
UD
274882011-09-12 Ulrich Drepper <drepper@gmail.com>
27489
27490 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
27491
de82006d
AS
274922011-09-12 Andreas Schwab <schwab@redhat.com>
27493
a7c8e6a1
AS
27494 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
27495 `struct cmsghdr *' instead of `void *'.
27496 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
27497 Likewise.
27498
0f31fe77
AS
274992011-09-11 Andreas Schwab <schwab@linux-m68k.org>
27500
27501 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
27502 if non-absolute.
27503 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
27504 ldd_rewrite_script.
0f31fe77 27505
32b4c839
UD
275062011-09-11 Ulrich Drepper <drepper@gmail.com>
27507
83cd1420
UD
27508 * configure.in: Remove --with-tls option.
27509 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
27510 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
27511 out in case it is missing.
27512 * sysdeps/ia64/elf/configure.in: Likewise.
27513 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
27514 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
27515 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
27516 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
27517 * sysdeps/sh/elf/configure.in: Likewise.
27518 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
27519 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
27520 * sysdeps/x86_64/elf/configure.in: Likewise.
27521 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
27522 * sysdeps/mach/hurd/tls.h: Likewise.
27523
633f745d
UD
27524 [BZ #13067]
27525 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
27526
f318beb8
UD
27527 [BZ #13090]
27528 * configure.in: Fix use of AC_INIT.
27529
32b4c839
UD
27530 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
27531
3ce1f295
UD
275322011-09-10 Ulrich Drepper <drepper@gmail.com>
27533
bb016596
UD
27534 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
27535 __set_errno.
8e58439c
UD
27536 * malloc/hooks.c: Likewise.
27537
aebae053 27538 [BZ #11929]
02d46fc4
UD
27539 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
27540 variables statically.
27541 (narenas): Initialize.
27542 (list_lock): Initialize.
bb016596
UD
27543 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
27544 initializtion of main_arena and list_lock. Small cleanups.
02d46fc4
UD
27545 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
27546 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
27547 Add initializers to main_arena and mp_.
27548 (malloc_state): Remove pagesize member. Change all users to use
27549 GLRO(dl_pagesize).
27550
27551 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
27552 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
27553 is always initialized.
27554
22a89187
UD
27555 * malloc/malloc.c: Removed unused configurations and dead code.
27556 * malloc/arena.c: Likewise.
27557 * malloc/hooks.c: Likewise.
02d46fc4 27558 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
22a89187 27559
d063d164
UD
27560 * include/tls.h: Removed. USE___THREAD must always be defined.
27561 * bits/libc-tsd.h: Don't handle !USE___THREAD.
27562 * elf/dl-libc.c: Likewise.
27563 * elf/dl-tsd.c: Likewise.
27564 * include/errno.h: Likewise.
27565 * include/netdb.h: Likewise.
27566 * include/resolv.h: Likewise.
27567 * inet/herrno-loc.c: Likewise.
27568 * inet/herrno.c: Likewise.
27569 * malloc/arena.c: Likewise.
27570 * malloc/hooks.c: Likewise.
27571 * malloc/malloc.c: Likewise.
27572 * resolv/res-state.c: Likewise.
27573 * resolv/res_libc.c: Likewise.
27574 * sysdeps/i386/dl-machine.h: Likewise.
27575 * sysdeps/ia64/dl-machine.h: Likewise.
27576 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
27577 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
27578 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
27579 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
27580 * sysdeps/sh/dl-machine.h: Likewise.
27581 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
27582 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
27583 * sysdeps/unix/i386/sysdep.S: Likewise.
27584 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
27585 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
27586 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
27587 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
27588 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
27589 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
27590 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
27591 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
27592 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
27593 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
27594 * sysdeps/unix/x86_64/sysdep.S: Likewise.
27595 * sysdeps/x86_64/dl-machine.h: Likewise.
27596 * tls.make.c: Likewise.
27597
3ce1f295
UD
27598 * configure.in: Remove --with-__thread option. Make tests for
27599 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
27600 tls_model attribute fail if no support is available. Remove
27601 USE_IN_LIBIO.
27602 * Makeconfig: Adjust for dropped configure option. All features are
27603 now mandatory.
27604 * Makerules: Likewise.
27605 * Versions.def: Likewise.
27606 * argp/argp-fmtstream.c: Likewise.
27607 * argp/argp-fmtstream.h: Likewise.
27608 * argp/argp-help.c: Likewise.
27609 * assert/assert.c: Likewise.
27610 * config.h.in: Likewise.
27611 * config.make.in: Likewise.
27612 * configure: Likewise.
27613 * configure.in: Likewise.
27614 * csu/Versions: Likewise.
27615 * csu/init.c: Likewise.
27616 * elf/tst-audit2.c: Likewise.
27617 * elf/tst-tls10.c: Likewise.
27618 * elf/tst-tls10.h: Likewise.
27619 * elf/tst-tls11.c: Likewise.
27620 * elf/tst-tls12.c: Likewise.
27621 * elf/tst-tls14.c: Likewise.
27622 * elf/tst-tlsmod11.c: Likewise.
27623 * elf/tst-tlsmod12.c: Likewise.
27624 * elf/tst-tlsmod13.c: Likewise.
27625 * elf/tst-tlsmod13a.c: Likewise.
27626 * elf/tst-tlsmod14a.c: Likewise.
27627 * elf/tst-tlsmod15b.c: Likewise.
27628 * elf/tst-tlsmod16a.c: Likewise.
27629 * elf/tst-tlsmod16b.c: Likewise.
27630 * elf/tst-tlsmod7.c: Likewise.
27631 * elf/tst-tlsmod8.c: Likewise.
27632 * elf/tst-tlsmod9.c: Likewise.
27633 * gmon/gmon.c: Likewise.
27634 * grp/fgetgrent_r.c: Likewise.
27635 * grp/putgrent.c: Likewise.
27636 * hurd/fopenport.c: Likewise.
27637 * include/libc-symbols.h: Likewise.
27638 * include/tls.h: Likewise.
27639 * intl/gettextP.h: Likewise.
27640 * intl/loadinfo.h: Likewise.
27641 * locale/global-locale.c: Likewise.
27642 * locale/localeinfo.h: Likewise.
27643 * mach/devstream.c: Likewise.
27644 * malloc/arena.c: Likewise.
27645 * malloc/set-freeres.c: Likewise.
27646 * misc/err.c: Likewise.
27647 * misc/getttyent.c: Likewise.
27648 * misc/mntent_r.c: Likewise.
27649 * posix/getopt.c: Likewise.
27650 * posix/wordexp.c: Likewise.
27651 * pwd/fgetpwent_r.c: Likewise.
27652 * resolv/Versions: Likewise.
27653 * resolv/res_hconf.c: Likewise.
27654 * shadow/fgetspent_r.c: Likewise.
27655 * shadow/putspent.c: Likewise.
27656 * stdio-common/printf_fphex.c: Likewise.
27657 * stdio-common/tmpfile.c: Likewise.
27658 * stdlib/abort.c: Likewise.
27659 * stdlib/fmtmsg.c: Likewise.
27660 * sunrpc/auth_unix.c: Likewise.
27661 * sunrpc/clnt_perr.c: Likewise.
27662 * sunrpc/clnt_tcp.c: Likewise.
27663 * sunrpc/clnt_udp.c: Likewise.
27664 * sunrpc/clnt_unix.c: Likewise.
27665 * sunrpc/openchild.c: Likewise.
27666 * sunrpc/svc_simple.c: Likewise.
27667 * sunrpc/svc_tcp.c: Likewise.
27668 * sunrpc/svc_udp.c: Likewise.
27669 * sunrpc/svc_unix.c: Likewise.
27670 * sunrpc/xdr.c: Likewise.
27671 * sunrpc/xdr_array.c: Likewise.
27672 * sunrpc/xdr_rec.c: Likewise.
27673 * sunrpc/xdr_ref.c: Likewise.
27674 * sunrpc/xdr_stdio.c: Likewise.
27675
1248c1c4
PB
276762011-09-09 Ulrich Drepper <drepper@gmail.com>
27677
27678 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
27679
276802011-07-03 Andreas Jaeger <aj@suse.de>
27681
27682 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
27683 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
27684 regenerate with gen-libm-tests.pl.
27685
276862010-05-12 Petr Baudis <pasky@suse.cz>
27687
27688 [BZ #11589]
27689 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
27690 around j0() zero points by switching to j1().
27691 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27692 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27693 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27694 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27695
f22e1074
UD
276962011-09-09 Ulrich Drepper <drepper@gmail.com>
27697
f19009c1
UD
27698 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
27699 instead of 0.
27700 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
3a235abb 27701 instead of 0.
f19009c1
UD
27702 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
27703 Patch in part by Pavel Roskin <proski@gnu.org>.
27704
3f8cc204
UD
27705 [BZ #13138]
27706 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
27707 realloc.
27708 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
27709 Free memory block if necessary.
27710
f22e1074
UD
27711 [BZ #12847]
27712 * libio/genops.c (INTDEF): For string streams the _lock pointer can
27713 be NULL. Don't lock in this case.
27714
0a2349f9
RM
277152011-09-09 Roland McGrath <roland@hack.frob.com>
27716
27717 * elf/elf.h (ELFOSABI_GNU): New macro.
27718 (ELFOSABI_LINUX): Define to that.
27719
f3cdd467
DZ
277202011-07-29 Denis Zaitceff <zaitceff@gmail.com>
27721
27722 * string/strncat.c (strncat): Undef the symbol in case it has been
27723 defined in bits/string.h.
27724
74718d13
UD
277252011-09-09 Ulrich Drepper <drepper@gmail.com>
27726
633e9e0f
UD
27727 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
27728
0a2349f9 27729 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
74718d13
UD
27730 link map.
27731
f9924780
AJ
277322011-08-17 Andreas Jaeger <aj@suse.de>
27733
27734 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
27735
7f5517aa
PP
277362011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
27737 Ian Lance Taylor <iant@google.com>
27738
27739 * math/libm-test.inc (lround_test): New testcase.
27740 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
27741
762011fe
UD
277422011-09-08 Ulrich Drepper <drepper@gmail.com>
27743
92963737
UD
27744 * Makefile: Remove support for automatic cvs check-ins.
27745 * Makerules: Likewise.
27746 * config.make.in: Likewise.
27747 * configure.in: Likewise.
27748 * intl/Makefile: Likewise.
27749 * locale/Makefile: Likewise.
27750 * po/Makefile: Likewise.
27751 * posix/Makefile: Likewise.
27752 * sysdeps/gnu/Makefile: Likewise.
27753 * sysdeps/mach/hurd/Makefile: Likewise.
27754 * sysdeps/sparc/sparc32/Makefile: Likewise.
27755
b0727fd8
JS
27756 [BZ #13118]
27757 * posix/Makefile (bug-regex32-ENV): Define.
27758 Patch by John Stanley <jpsinthemix@verizon.net>.
27759
a0f33f99
UD
27760 * misc/Makefile (headers): Add bits/select2.h.
27761 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
27762 * misc/bits/select2.h: New file.
27763 * include/bits/select2.h: New file.
27764 * debug/Makefile (routines): Add fdelt_chk.
27765 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
27766 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
27767 FD_ISSET.
27768 * debug/fdelt_chk.c: New file.
27769
762011fe
UD
27770 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
27771 * wcsmbs/test-wmemcmp.c: Likewise.
27772 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
a0f33f99 27773 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
762011fe
UD
27774
277752011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27776
27777 * string/Makefile (strop-tests): Add memcmp.
27778 * string/test-wmemcmp.c: New file.
27779 * string/test-memcmp.c: Add wmemcmp support.
27780
7f513ec8
RM
277812011-09-08 Roland McGrath <roland@hack.frob.com>
27782
0442afb4
RM
27783 [BZ #13153]
27784 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
27785 2011-07-19 change.
27786
7f513ec8
RM
27787 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
27788 garbage value in a __mach_port_mod_refs call in the cases of the
27789 task-self and thread-self ports.
27790
a12b2239
ST
277912011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
27792
27793 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
27794
610f9ab4
AS
277952011-09-08 Andreas Schwab <schwab@redhat.com>
27796
7f513ec8 27797 * elf/dl-load.c (lose): Check for non-null L.
610f9ab4 27798
48882a1a
LD
277992011-09-07 Ulrich Drepper <drepper@gmail.com>
27800
b49865be
UD
27801 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
27802
fdc86bc9
UD
27803 * elf/dl-libc.c (dlerror_run): Pass back error code from
27804 dl_catch_error.
27805
c966526a
UD
27806 [BZ #13123]
27807 * elf/dl-load.c (lose): Free l_origin if it is valid.
27808
48882a1a
LD
27809 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
27810 names.
27811 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
27812 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27813 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
27814 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27815 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
27816 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
27817
77a2a8b4
AZ
278182011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
27819
27820 * sysdeps/powerpc/fpu/e_hypot.c: New file.
27821 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
27822 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
27823 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
27824 * sysdeps/powerpc/fpu/k_cosf.c: New file.
27825 * sysdeps/powerpc/fpu/k_sinf.c: New file.
27826 * sysdeps/powerpc/fpu/s_cosf.c: New file.
27827 * sysdeps/powerpc/fpu/s_sinf.c: New file.
27828 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
27829 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
27830
24f579d8
AM
278312011-08-15 Alan Modra <amodra@gmail.com>
27832
27833 [BZ #13092]
27834 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
27835 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
27836 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
27837 ppc_mcount to static-only-routines.
27838 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
27839 __mcount_internal.
27840 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
27841 __mcount_internal with usual JUMPTARGET. Remove useless nop.
27842
3d4837df
UD
278432011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
27844
27845 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
27846 for finite and infinity parameters.
27847
22700377
WS
278482011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
27849
27850 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
27851 and add nop instructions for throughput optimization.
27852 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
27853
5025581e
WS
278542011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
27855
27856 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
27857 aligned copy for power7 with vector-scalar instructions.
27858 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
27859
08a300c9
L
278602011-07-24 H.J. Lu <hongjiu.lu@intel.com>
27861
27862 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
27863 AVX check.
27864
59178ef9
AS
278652011-09-07 Andreas Schwab <schwab@redhat.com>
27866
27867 [BZ #13144]
27868 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
27869 last change.
27870
e38ba7ab
UD
278712011-09-07 Ulrich Drepper <drepper@gmail.com>
27872
27873 * sysdeps/unix/sysv/linux/x86_64/init-first.c
27874 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
27875 syscall wrapper around clock_gettime in __vdso_clock_gettime.
27876 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
27877 clock_gettime.
27878
d53a73ac
UD
278792011-09-06 Ulrich Drepper <drepper@gmail.com>
27880
fc8bffcc
UD
27881 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
27882 Forgot to demangle the pointer.
27883
ceaa0c5d
UD
27884 * sysdeps/i386/sysdep.h: Define atom_text_section.
27885 * sysdeps/x86_64/sysdep.h: Likewise.
27886 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
27887 section with atom_text_section.
27888 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
27889 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
27890 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
27891 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
27892 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
27893
a77d3c17
UD
27894 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
27895 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
27896 already be defined. Change to take two parameters and don't assign
27897 result to variable. Adjust all users.
27898 Define INTERNAL_GETTIME if not already defined.
27899 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
27900 call.
27901 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
27902 HAVE_CLOCK_GETTIME_VSYSCALL.
27903 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
27904
d53a73ac
UD
27905 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
27906 gettimeofday vsyscall, just use time.
27907
a8f84144
AS
279082011-09-06 Andreas Schwab <schwab@redhat.com>
27909
27910 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
27911 <errno.h>.
27912
ef606249
UD
279132011-09-06 Ulrich Drepper <drepper@gmail.com>
27914
27915 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
27916 syscall on x86-64.
27917 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
27918 syscall.
27919 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
27920 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
27921 syscall if possible.
27922
6585cb60
UD
279232011-09-05 Ulrich Drepper <drepper@gmail.com>
27924
27925 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
27926 e_ident. Don't pass to find_mapsXX.
27927 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
27928
a5f524e4
LD
279292011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27930
27931 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
27932 strchr-sse2-no-bsf strrchr-sse2-no-bsf
27933 * sysdeps/x86_64/multiarch/strchr.S: Update.
27934 Check bit_slow_BSF bit.
27935 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
27936 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
27937 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
27938
554881ef
UD
279392011-09-05 Ulrich Drepper <drepper@gmail.com>
27940
d96de963
UD
27941 [BZ #13134]
27942 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
27943 before glibc 2.15.
27944 (tryshell): Define.
27945 (__spawni): Change last parameter to be flag. Test
27946 SPAWN_XFLAGS_USE_PATH flag to use path or not.
27947 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
27948 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
27949 * posix/spawni.c: Likewise.
27950 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
27951 * posix/spawnp.c: Likewise. Change normal version to use
27952 SPAWN_XFLAGS_USE_PATH.
27953 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
27954 SPAWN_XFLAGS_TRY_SHELL.
27955
d48e5868
UD
27956 [BZ #13150]
27957 * posix/glob.h: Remove gcc 1.x support.
27958
554881ef
UD
27959 [BZ #13068]
27960 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
27961
693fb948
LD
279622011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
27963
27964 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
27965 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
27966 strrchr-sse2-bsf
27967 * sysdeps/i386/i686/multiarch/strchr.S: New file.
27968 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
27969 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
27970 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
27971 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
27972 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
27973
1b48c537
UD
279742011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
27975
49d42c37
UD
27976 * sysdeps/x86_64/wcscmp.S: New file.
27977
1b48c537
UD
27978 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
27979 wcscmp-c wcscmp-sse2
27980 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
27981 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
27982 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
27983 * wcsmbs/wcscmp.c: Allow renaming.
27984
15c95c5d
DM
279852011-09-05 David S. Miller <davem@davemloft.net>
27986
27987 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
27988 stack slot, rather than the struct return pointer slot.
27989 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
27990 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
27991 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
27992 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
27993
2f0ad8f3
UD
279942011-09-05 Ulrich Drepper <drepper@gmail.com>
27995
d88ae418
UD
27996 * po/ja.po: Update from translation team.
27997
2f0ad8f3
UD
27998 [BZ #13144]
27999 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
28000 kernel in 64-bit binaries.
28001
5f4318d1
DM
280022011-09-01 David S. Miller <davem@davemloft.net>
28003
28004 * elf/elf.h (HWCAP_SPARC_*): Move to..
28005 * sysdeps/sparc/sysdep.h: this new file and add new values.
28006 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
28007 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
28008 _DL_HWCAP_COUNT to 24.
28009 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
28010 entries.
28011 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
28012 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
28013 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
28014 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
28015 instead of magic constants.
28016 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28017
3ba57516
DM
280182011-08-31 David S. Miller <davem@davemloft.net>
28019
28020 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
28021 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
28022 Reimplement to do errno handling inline.
28023 (SYSCALL_ERROR_HANDLER): New macro.
28024 (__SYSCALL_STRING): Do not do errno handling in asm.
28025 (__CLONE_SYSCALL_STRING): Delete.
28026 (__INTERNAL_SYSCALL_STRING): Delete.
28027 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
28028 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
28029 (PSEUDO): Reimplement to do errno handling inline.
28030 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
28031 (SYSCALL_ERROR_HANDLER): New macro.
28032 (__SYSCALL_STRING): Do not do errno handling in asm.
28033 (__CLONE_SYSCALL_STRING): Delete.
28034 (__INTERNAL_SYSCALL_STRING): Delete.
28035 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
28036 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
28037 i386.
28038 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
28039 (inline_syscall*): Add 'err' argument.
28040 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
28041 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
28042 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
28043 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
28044
28045 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
28046 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
28047
2bc17433
AS
280482011-08-30 Andreas Schwab <schwab@redhat.com>
28049
28050 * elf/rtld.c (dl_main): Relocate objects in dependency order.
28051
fbeb5f4d
JO
280522011-08-29 Jiri Olsa <jolsa@redhat.com>
28053
28054 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
28055 directive.
28056
ad69cc26
DM
280572011-08-24 David S. Miller <davem@davemloft.net>
28058
28059 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
28060
39dd69df
AS
280612011-08-24 Andreas Schwab <schwab@redhat.com>
28062
28063 * elf/Makefile: Add rules to build and run unload8 test.
28064 * elf/unload8.c: New file.
28065 * elf/unload8mod1.c: New file.
28066 * elf/unload8mod1x.c: New file.
28067 * elf/unload8mod2.c: New file.
28068 * elf/unload8mod3.c: New file.
28069
28070 * elf/dl-close.c (_dl_close_worker): Reset private search list if
28071 it wasn't used.
28072
2c0b250a
DM
280732011-08-23 David S. Miller <davem@davemloft.net>
28074
28075 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
28076 subtract stack bias.
28077 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
28078 %sp not %fp in calculations.
28079 (_JMPBUF_UNWINDS_ADJ): Likewise.
28080
22044b48
DM
28081 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
28082 (aio_suspend): Call it to force an exception region around the
28083 AIO_MISC_WAIT() invocation.
28084
2cae4995
AS
280852011-08-23 Andreas Schwab <schwab@redhat.com>
28086
28087 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
28088 backslash.
28089
873a772e
AJ
280902011-07-04 Aurelien Jarno <aurelien@aurel32.net>
28091
28092 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
28093 protection macro.
28094 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
28095 and <dl-machine.h>.
28096 (Elf64_FuncDesc): Remove.
28097
25ad0df1
DM
280982011-08-22 David S. Miller <davem@davemloft.net>
28099
28100 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
28101 sigaltstack check, add missing cfi directives.
28102 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
28103 missing cfi directives, and sigaltstack handling.
28104
e888bcbe
AS
281052011-08-16 Andreas Schwab <schwab@redhat.com>
28106
28107 [BZ #11724]
28108 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
28109 object is seen twice.
28110 * elf/dl-fini.c (_dl_sort_fini): Likewise.
28111
28112 * elf/Makefile (distribute): Add tst-initorder2.c.
28113 (tests): Add tst-initorder2.
28114 (modules-names): Add tst-initorder2a tst-initorder2b
28115 tst-initorder2c tst-initorder2d. Add rules to build them.
28116 ($(objpfx)tst-initorder2.out): New rule.
28117 * elf/tst-initorder2.c: New file.
28118 * elf/tst-initorder2.exp: New file.
28119
87162f46
AS
281202011-08-22 Andreas Schwab <schwab@redhat.com>
28121
70538b7f
AS
28122 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
28123
f55ffe58
AS
28124 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
28125 dependencies back to end of function.
28126
87162f46
AS
28127 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
28128 $(elfobjdir)/ld.so.
28129
91b392a4
UD
281302011-08-21 Ulrich Drepper <drepper@gmail.com>
28131
28132 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
28133 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
28134 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
28135 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
28136 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
28137 of __vdso_gettimeofday.
28138 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
28139 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
28140 attribute_hidden.
28141 (_libc_vdso_platform_setup): Remove initialization of
28142 __vdso_gettimeofday and __vdso_time.
28143
5c43483f
UD
281442011-08-20 Ulrich Drepper <drepper@gmail.com>
28145
775a77e7
UD
28146 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
28147 and fgetc_unlocked.
28148 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
28149 getc_unlocked.
89f447ed 28150
49c74ba9
UD
28151 * elf/dl-open.c (add_to_global): Report additions to the global scope
28152 for LD_DEBUG=scopes.
28153 (dl_open_worker): Also print scope of newly loaded dependencies.
001f0a6c 28154 (_dl_show_scope): Indicate if there is no scope.
49c74ba9 28155
5c43483f
UD
28156 [BZ #13114]
28157 * stdio-common/Makefile (tests): Add bug24.
28158 * stdio-common/bug24.c: New file.
28159
a101b025
AJ
281602011-08-19 Andreas Jaeger <aj@suse.de>
28161
28162 [BZ #13114]
28163 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
28164 non-existant file when using close-on-exec mode.
28165
c88f1766
UD
281662011-08-20 Ulrich Drepper <drepper@gmail.com>
28167
0276a718
UD
28168 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
28169 the very first instruction.
28170
c88f1766
UD
28171 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
28172 the CFI state in the end.
28173 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
28174 inclusion of dl-trampoline.h.
28175 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
28176
51ccffa0
AS
281772011-08-19 Andreas Schwab <schwab@redhat.com>
28178
94d7165f
AS
28179 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
28180 expectations for long double.
28181
51ccffa0
AS
28182 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
28183 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
28184
fd708658 281852011-08-14 David S. Miller <davem@davemloft.net>
c27714f1
DM
28186
28187 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
28188 artificual limit depends upon the system page size.
28189
44f0a71e
UD
281902011-08-17 Ulrich Drepper <drepper@gmail.com>
28191
28192 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
28193 * resolv/Makefile: Define CFLAGS-libresolv.
28194
8de79a24
AS
281952011-08-17 Andreas Schwab <schwab@redhat.com>
28196
28197 * nss/makedb.c (compute_tables): Make variables used in nested
28198 function static.
28199
27724598
UD
282002011-08-17 Ulrich Drepper <drepper@gmail.com>
28201
c5305d88
UD
28202 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
28203 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
28204 if buffer was too small.
28205
27724598
UD
28206 * elf/pldd.c (main): Attach to all threads in the process.
28207 Rewrite /proc handling to use *at functions.
28208
076fe015
UD
282092011-08-16 Ulrich Drepper <drepper@gmail.com>
28210
174baab3
UD
28211 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
28212 specifies first scope to show.
28213 (dl_open_worker): Update callers. Move printing scope of new
28214 object to before the relocation.
44f0a71e 28215 * elf/rtld.c (dl_main): Update _dl_show_scope call.
174baab3
UD
28216 * sysdeps/generic/ldsodefs.h: Update declaration.
28217
076fe015
UD
28218 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
28219 string for the scope number.
28220
a60df2c3
UD
282212011-08-14 Ulrich Drepper <drepper@gmail.com>
28222
28223 * nscd/servicescache.c (cache_addserv): Make sure written is always
28224 initialized.
28225
5e4287d1
RM
282262011-08-14 Roland McGrath <roland@hack.frob.com>
28227
85ae0589
RM
28228 * sysdeps/i386/i486/bits/atomic.h
28229 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
28230 statement expression, so as to suppress "set but not used" warning.
28231 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
28232
69f63097
RM
28233 * string/strncat.c (STRNCAT): Use prototype definition.
28234
675456ef
RM
28235 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
28236 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
28237 -Iprograms here.
28238 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
28239 (localedef-modules): Add localedef.
28240 (locale-modules): Add locale.
28241
5e4287d1
RM
28242 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
28243 * elf/rtld.c (dl_main): Invert order of assignment in last change,
28244 to avoid a warning.
28245
9c96ff23
DM
282462011-08-14 David S. Miller <davem@davemloft.net>
28247
28248 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
28249 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
28250
f9ddf089
UD
282512011-08-13 Ulrich Drepper <drepper@gmail.com>
28252
44f0a71e 28253 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
73d7af4f
UD
28254 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
28255 * elf/rtld.c (dl_main): Set l_name of vDSO.
28256 Call _dl_show_scope when DL_DEBUG_SCOPES.
28257 (process_dl_debug): Recognize scopes flag and also set it for all.
28258 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
28259 Declare _dl_show_scope.
28260
1dc27704
UD
28261 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
28262 (do_dlopen): Pass caller_dlopen to dl_open.
28263 (__libc_dlopen_mode): Initialize caller_dlopen.
28264
f9ddf089
UD
28265 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
28266 of libc. Make tolower call locale-independent. Optimize a bit by
28267 using isdigit instead of isalnum.
28268 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
28269
9ac533d3
UD
282702011-08-12 Ulrich Drepper <drepper@gmail.com>
28271
28272 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
28273 was a dependency or dynamically loaded.
28274
89edf2e9
UD
282752011-08-11 Ulrich Drepper <drepper@gmail.com>
28276
8e999d29
UD
28277 * intl/l10nflist.c: Allow architecture-specific pop function.
28278 * sysdeps/x86_64/l10nflist.c: New file.
28279
89edf2e9
UD
28280 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
28281 classification.
28282
14d96785
AS
282832011-08-10 Andreas Schwab <schwab@redhat.com>
28284
28285 * include/dirent.h: Add libc_hidden_proto for scandirat and
28286 scandirat64. Don't declare __scandirat64.
28287 * dirent/scandirat.c: Add libc_hidden_def.
28288 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
28289 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
28290
6761ac04
DM
282912011-08-10 David S. Miller <davem@davemloft.net>
28292
28293 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
28294 enum.
28295 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28296 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28297 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28298
c55fbd1e
UD
282992011-08-09 Ulrich Drepper <drepper@gmail.com>
28300
28301 * Versions.def [libc]: Add GLIBC_2.15.
28302 * dirent/Makefile (routines): Add scandirat and scandirat64.
28303 * dirent/Versions [libc]: Export scandirat and scandirat64 for
28304 GLIBC_2.15.
28305 * dirent/dirent.h: Declare scandirat and scandirat64.
28306 * dirent/scandirat.c: New file.
28307 * dirent/scandirat64.c: New file.
28308 * sysdeps/wordsize-64/scandirat.c: New file.
28309 * sysdeps/wordsize-64/scandirat64.c: New file.
28310 * dirent/opendir.c: Define opendirat.
28311 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
28312 using scandirat.
28313 * dirent/scandir64.c: Adjust for scandir.c change.
28314 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
28315 __scandirat64, and __scandir_cancel_handler.
28316 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
28317 additional parameter and use openat instead of open (outside of ld.so).
28318 Add new __opendir as wrapper around __opendirat.
28319 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
28320 here without requiring old scandirat implementation.
28321
879165f2
UD
283222011-08-08 Ulrich Drepper <drepper@gmail.com>
28323
28324 * dirent/scandir.c (cancel_handler): Renamed to
28325 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
28326 defined. Adjust users.
28327 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
28328 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
28329
cb7e923b
UD
283302011-08-04 Ulrich Drepper <drepper@gmail.com>
28331
16292edd
UD
28332 * string/test-string.h (IMPL): Use __STRING to expand name and then
28333 stringify it.
28334
cb7e923b
UD
28335 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
28336 of cleanups.
28337
cff82933
LD
283382011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28339
28340 * string/Makefile: Update.
28341 (strop-tests): Append strncat.
28342 * string/test-wcscmp.c: New file.
28343 New comprehensive test for wcscmp.
28344 * string/test-strcmp.c: Update.
28345 (WIDE): New define.
28346
9be9bfcc
AS
283472011-07-22 Andreas Schwab <schwab@redhat.com>
28348
28349 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
28350 line.
28351
2e96f1c7
AS
283522011-07-26 Andreas Schwab <schwab@redhat.com>
28353
28354 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
28355 encoding to ACE if AI_IDN.
28356
85188888
JJ
283572011-08-01 Jakub Jelinek <jakub@redhat.com>
28358
28359 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
28360 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
28361
5fa16e9b
LD
283622011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28363
28364 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
28365 Fix overflow bug in strncat.
28366 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
28367
28368 * string/test-strncat.c: Update.
28369 Add new tests for checking overflow bugs.
28370
283712011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28372
28373 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28374 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
28375 * sysdeps/i386/i686/multiarch/strcat.S: New file.
28376 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
28377 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
28378 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
28379 * sysdeps/i386/i686/multiarch/strncat.S: New file.
28380 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
28381 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
28382
28383 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
28384 (USE_AS_STRCAT): Define.
28385 Add strcat and strncat support.
28386 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
28387
8c1a459f
AS
283882011-07-25 Andreas Schwab <schwab@redhat.com>
28389
28390 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
28391 __n bigger than INT_MAX+1.
28392 (__strncmp_g): Likewise.
28393
bba33c28
UD
283942011-07-23 Ulrich Drepper <drepper@gmail.com>
28395
798be72d
UD
28396 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
28397 * libio/stido.h: Likewise.
28398
8accd4dc
UD
28399 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
28400 (AF_NFC): Define.
28401 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
28402 (AF_NFC): Define.
28403
cbff0d96
UD
28404 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
28405 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
28406 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
28407 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
28408 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
28409
9191c04a
UD
28410 [BZ #13021]
28411 * scripts/test-installation.pl: Don't expect libnss_test1 to be
28412 installed.
28413
bba33c28
UD
28414 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
28415 typo.
28416 (_dl_x86_64_save_sse): Likewise.
28417
90f139dd
UD
284182011-07-22 Ulrich Drepper <drepper@gmail.com>
28419
1aae088a
UD
28420 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
28421 OSXSAVE.
28422 (_dl_x86_64_save_sse): Likewise.
28423
8e2045f5
UD
28424 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
28425
90f139dd
UD
28426 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
28427
1d002f25
AS
284282011-07-21 Andreas Schwab <schwab@redhat.com>
28429
28430 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
28431 change.
28432 (_dl_x86_64_save_sse): Use correct AVX check.
28433
21137f89
UD
284342011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
28435
28436 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
28437 bug in strncpy/strncat.
28438 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
28439
a65c0b7a
UD
284402011-07-21 Ulrich Drepper <drepper@gmail.com>
28441
28442 * string/tester.c (test_strcat): Add tests for different alignments
28443 of source and destination.
28444 (test_strncat): Likewise.
28445
6986b98a
UD
284462011-07-20 Ulrich Drepper <drepper@gmail.com>
28447
90bb2039
UD
28448 [BZ #12852]
28449 * posix/glob.c (glob): Check passed in values before using them in
28450 expressions to avoid some overflows.
28451 (glob_in_dir): Likewise.
28452
5644ef54
UD
28453 [BZ #13007]
28454 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
28455 check for AVX enablement so that we don't crash with old kernels and
28456 new hardware.
28457 * elf/tst-audit4.c: Add same checks here.
28458 * elf/tst-audit6.c: Likewise.
28459
28460 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
6986b98a 28461
bfc9dc9b
AS
284622011-07-09 Andreas Schwab <schwab@linux-m68k.org>
28463
28464 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
28465
702e64bb
UD
284662011-07-20 Ulrich Drepper <drepper@gmail.com>
28467
28468 * po/cs.po: Update from translation team.
28469 * po/bg.po: Likewise.
28470
295e904f
MP
284712011-07-12 Marek Polacek <mpolacek@redhat.com>
28472
28473 * misc/sys/cdefs.h: Add support for const attribute.
28474 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
28475 to gnu_dev_{major,minor,makedev} functions.
28476
3ff94596
MP
284772011-07-20 Marek Polacek <mpolacek@redhat.com>
28478
28479 * intl/dcigettext.c (get_output_charset): Add missing bracket.
28480
28b59fca
AS
284812011-07-20 Andreas Schwab <schwab@redhat.com>
28482
28483 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
28484 strlen results.
28485
19df733e
AK
284862011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
28487
28488 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
28489 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
28490 register in order to avoid conflicts with the soft frame pointer
28491 being held in r11 when necessary.
28492 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
28493 (INTERNAL_VSYSCALL_NCS): Likewise.
28494
c8835729
MP
284952011-07-14 Marek Polacek <mpolacek@redhat.com>
28496
28497 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
28498 * elf/dl-fini.c (_dl_fini): Adjust caller.
28499 * elf/dl-close.c (_dl_close_worker): Likewise.
28500 * sysdeps/generic/ldsodefs.h: Adjust declaration.
28501
b902330c
MP
285022011-07-15 Marek Polacek <mpolacek@redhat.com>
28503
8991e135
MP
28504 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
28505 "aux_cache->nlibs < 0".
28506
b902330c
MP
28507 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
28508 in the reload-count case.
28509
99710781
LD
285102011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
28511
28512 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28513 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
28514 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
28515 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
28516 * sysdeps/x86_64/multiarch/strcat.S: New file.
28517 * sysdeps/x86_64/multiarch/strncat.S: New file.
28518 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
28519 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
28520 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
28521 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
28522 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
28523 (USE_AS_STRCAT): Define.
28524 Add strcat and strncat support.
28525 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
28526 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
28527 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
28528 * string/strncat.c: Update.
28529 (USE_AS_STRNCAT): Define.
28530 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28531 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
28532 and i7.
28533 * sysdeps/x86_64/multiarch/init-arch.h
28534 (bit_Prefer_PMINUB_for_stringop): New.
28535 (index_Prefer_PMINUB_for_stringop): Likewise.
28536 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
28537 bit_Prefer_PMINUB_for_stringop.
28538
7dc6bd90
UD
285392011-07-19 Ulrich Drepper <drepper@gmail.com>
28540
28541 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
28542 buffer64.
28543 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
28544 of casting of buffer.
28545 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
28546 buffer32 and buffer64.
28547 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
28548 writes instead of casting of buffer.
28549 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
28550 buffer32.
28551 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
28552 casting of buffer.
28553
e0e72284
AS
285542011-07-19 Andreas Schwab <schwab@redhat.com>
28555
28556 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
28557
feb1eb0b
UD
285582011-07-19 Ulrich Drepper <drepper@gmail.com>
28559
28560 * nscd/nscd.c (termination_handler): Don't do anything for a database
28561 if it has not yet been initialized.
28562
298711ff
UD
285632011-07-18 Ulrich Drepper <drepper@gmail.com>
28564
28565 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28566
285672011-07-15 Marek Polacek <mpolacek@redhat.com>
28568
28569 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
28570
f9d68389
UD
285712011-07-18 Ulrich Drepper <drepper@gmail.com>
28572
28573 * po/nl.po: Update from translation team.
28574 * po/sv.po: Likewise.
28575
db290cf5
RM
285762011-07-16 Roland McGrath <roland@hack.frob.com>
28577
28578 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
28579 now disallowed by GCC.
5c550700 28580
fd5e21c7
RM
28581 * configure.in (use-default-link): Default to yes if a test -shared
28582 link meets our qualifications.
28583 * configure: Regenerated.
28584
5c550700
RM
28585 * config.make.in (output-format): New variable.
28586 * configure.in: Check for ld --print-output-format support.
28587 * configure: Regenerated.
28588 * Makerules ($(common-objpfx)format.lds)
28589 [$(output-format) != unknown]: Just use $(output-format),
28590 instead of the linker-script munging.
28591
9fa2c032
RM
285922011-07-14 Roland McGrath <roland@hack.frob.com>
28593
a6928d51
RM
28594 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
28595 of $(common-objpfx)shlib.lds.
28596 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
28597
661607b3
RM
28598 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
28599 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
28600
9fa2c032
RM
28601 * configure.in (-z relro check): Adjust test code to add a large
28602 writable data section after it.
28603 * configure: Regenerated.
28604
defe9061
RM
286052011-07-11 Roland McGrath <roland@hack.frob.com>
28606
28607 * configure.in (-z relro check): Fix test code to make the variable
28608 truly const.
28609 * configure: Regenerated.
28610
319b9ad4
UD
286112011-07-11 Ulrich Drepper <drepper@gmail.com>
28612
28613 * nscd/nscd.h (struct traced_file): Define.
28614 (struct database_dyn): Remove inotify_descr, reset_res, and filename
28615 elements. Add traced_files.
28616 (inotify_fd): Declare.
28617 (register_traced_file): Declare.
28618 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
28619 (inotify_fd): Export.
28620 (resolv_conf_descr): Remove.
28621 (nscd_init): Move inotify descriptor creation to main.
28622 Don't register files for notification here.
28623 (register_traced_file): New function.
28624 (invalidate_cache): Don't use reset_res to determine whether to call
28625 res_init, go through the list of registered files.
28626 (main_loop_poll): The inotify descriptors are now stored in the
28627 structures for the traced files.
28628 (main_loop_epoll): Likewise
28629 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
28630 to __nss_disable_nscd.
28631 * nscd/cache.c (prune_cache): There is no single inotify descriptor
28632 for a database anymore. Check the records for all the registered
28633 files instead.
28634 * nss/Makefile (libnss_files-routines): Add files-init.
28635 (libnss_db-routines): Add db-init.
28636 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
28637 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
28638 * nss/nss_db/db-init.c: New file.
28639 * nss/nss_files/files-init.c: New file.
28640 * nss/nsswitch.c (nss_load_library): New function. Broken out of
28641 __nss_lookup_function.
28642 (__nss_lookup_function): Call nss_load_library.
28643 (nss_load_all_libraries): New function.
28644 (__nss_disable_nscd): Take parameter with callback function for files
28645 to register. Set is_nscd. Load all the DSOs for the NSS modules
28646 used for the cached services.
28647 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
28648 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
28649 options for features to all the files in nscd.
28650
28651 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
28652
23bee3e8
RM
286532011-07-10 Roland McGrath <roland@hack.frob.com>
28654
28655 * csu/elf-init.c (__libc_csu_init): Comment typo.
28656
46a5b7f0
UD
286572011-07-09 Ulrich Drepper <drepper@gmail.com>
28658
28659 * po/pl.po: Update from translation team.
28660 * po/ja.po: Likewise.
28661 * po/ru.po: Likewise.
28662 * po/ko.po: Likewise.
28663 * po/fr.po: Likewise.
28664
d30cf5bb
RM
286652011-07-09 Roland McGrath <roland@hack.frob.com>
28666
113ddea4
RM
28667 * configure.in (.ctors/.dtors header and trailer check):
28668 Use an empirical test on a built program.
28669 * configure: Regenerated.
28670
574920b4
RM
28671 * configure.in (-z relro check): Use an empirical test on a built DSO.
28672 Detect, but do not require, on ia64.
28673 * configure: Regenerated.
28674
d30cf5bb
RM
28675 * configure.in (READELF): Find it with AC_CHECK_TOOL.
28676 Update tests that use readelf to use $READELF instead.
28677 * configure: Regenerated.
28678
8538fdb3
UD
286792011-07-08 Ulrich Drepper <drepper@gmail.com>
28680
28681 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
28682 if the result is not used.
28683
04d08991
AJ
286842011-07-05 Andreas Jaeger <aj@suse.de>
28685
28686 [BZ#9696]
28687 * stdlib/tst-strtod.c: Add testcase.
28688
de283087
AD
286892011-07-07 Ulrich Drepper <drepper@gmail.com>
28690
4e5f31c8 28691 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
46a5b7f0 28692 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
4e5f31c8
UD
28693 The latter has a higher limit. Take additional parameter to pass to
28694 the new function.
28695 (__pathconf): Pass file to __statfs_link_max.
28696 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
28697 __statfs_link_max.
28698 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
28699 __statfs_link_max.
28700
de283087
AD
28701 [BZ #12868]
28702 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
28703 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28704 Handle Lustre.
28705 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
28706 (__statfs_filesize_max): Likewise.
28707 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
28708
c75fa153
AJ
287092011-07-05 Andreas Jaeger <aj@suse.de>
28710
28711 * resolv/res_comp.c (dn_skipname): Remove unused variable.
28712
1a544854
UD
287132011-07-06 Marek Polacek <mpolacek@redhat.com>
28714
28715 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
28716 `status' variable.
28717 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
28718 Likewise.
28719
6f0eec67
UD
287202011-07-04 H.J. Lu <hongjiu.lu@intel.com>
28721
28722 * Makefile (strop-tests): Add strncat.
28723 * string/test-strncat.c: New file.
28724
aae30307
UD
287252011-06-30 Marek Polacek <mpolacek@redhat.com>
28726
28727 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
28728
c0cfb5eb
UD
287292011-06-21 Andreas Jaeger <aj@suse.de>
28730
28731 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
28732 Copy rule from iconvdata/Makefile.
28733
01636b21
UD
287342011-07-06 Ulrich Drepper <drepper@gmail.com>
28735
28736 [BZ #12922]
28737 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
28738 but no long options are defined, just return 'W'.
28739
9895c8bc
UD
287402011-06-22 Marek Polacek <mpolacek@redhat.com>
28741
28742 [BZ #9696]
28743 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
28744
5d4cf042
UD
287452011-07-06 Ulrich Drepper <drepper@gmail.com>
28746
28747 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
28748 netgroups to read.
960e5535 28749 (innetgr): Likewise.
5d4cf042 28750
751eb97e
RM
287512011-07-05 Roland McGrath <roland@hack.frob.com>
28752
28753 * config.make.in (install_root): Default to $(DESTDIR).
28754
f15f1e45
UD
287552011-07-05 Ulrich Drepper <drepper@gmail.com>
28756
28757 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
28758
4e34ac6a
RM
287592011-07-02 Roland McGrath <roland@hack.frob.com>
28760
5e9b6af4
RM
28761 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
28762
84f9ea0f
RM
28763 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
28764 containing directory rather than embedding absolute directory names.
28765
ea5ee9f7
RM
28766 * scripts/check-local-headers.sh: Rewritten using awk.
28767 Match by word, not by line. Print error messages for matches.
28768 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
28769
1b74661a
RM
28770 * Makerules [shlib-lds-flags empty]:
28771 ($(common-objpfx)libc_pic.opts): New target.
28772 ($(common-objpfx)libc_pic.os.clean): New target.
28773 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
28774
28775 * config.make.in (OBJCOPY): New variable.
28776 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
28777 * configure: Regenerated.
28778
f781ef40
RM
28779 * config.make.in (use-default-link): New variable.
28780 * configure.in (use_default_link): Grok --with-default-link to set it.
28781 * configure: Regenerated.
28782 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
28783 (shlib-lds, shlib-lds-flags): Define to empty.
28784
2d4fa81e
RM
28785 * Makerules (shlib-lds): New variable.
28786 (shlib-lds-flags): New variable.
28787 (build-shlib, build-moduile, build-module-asneeded): Use it.
28788 ($(common-objpfx)libc.so): Use $(shlib-lds).
28789 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
28790 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
28791
31fffa6b
RM
28792 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
28793 DT_FLAGS/DT_FLAGS_1 with zero flags.
28794
4e34ac6a
RM
28795 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
28796 linker script munging.
28797
fcfc776b
UD
287982011-07-02 Ulrich Drepper <drepper@gmail.com>
28799
28800 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
28801 as 128-bit value.
28802 * crypt/sha512.c (sha512_process_block): Perform total addition using
28803 128-bit if possible.
28804 (__sha512_finish_ctx): Likewise.
28805 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
28806 as 64-bit value.
28807 * crypt/sha256.c (SWAP64): Define.
28808 (sha256_process_block): Perform total addition using 64-bit if
28809 possible.
28810 (__sha256_finish_ctx): Likewise.
28811
99231d9a
UD
288122011-07-01 Ulrich Drepper <drepper@gmail.com>
28813
28814 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
28815 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28816 * nscd/hstcache.c (cache_addhst): Likewise.
28817 * nscd/grpcache.c (cache_addgr): Likewise.
28818 * nscd/aicache.c (addhstaiX): Likewise
28819 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
28820
445b4a53
TK
288212011-07-01 Thorsten Kukuk <kukuk@suse.de>
28822
28823 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
28824 * nscd/initgrcache.c (addinitgroupsX): Likewise.
28825 * nscd/hstcache.c (cache_addhst): Likewise.
28826 * nscd/grpcache.c (cache_addgr): Likewise.
28827 * nscd/aicache.c (addhstaiX): Likewise
28828
6d4d8e8e
AS
288292011-07-01 Andreas Schwab <schwab@redhat.com>
28830
28831 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
28832 domain only when needed.
28833
89f654c5
AS
288342011-06-30 Andreas Schwab <schwab@redhat.com>
28835
28836 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
28837 is always restored.
28838
cf3b23ff
UD
288392011-06-29 Ulrich Drepper <drepper@gmail.com>
28840
28841 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
28842 are re-adding the entry.
28843 * nscd/servicescache.c (cache_addserv): Likewise.
28844
751626f9
AJ
288452011-06-30 Aurelien Jarno <aurelien@aurel32.net>
28846
28847 * sysdeps/generic/dl-irel.h: fix protection against multiple
28848 inclusions.
28849 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
28850
9113ea1f
UD
288512011-06-28 Ulrich Drepper <drepper@gmail.com>
28852
5c0b8d90
UD
28853 [BZ #12935]
28854 * malloc/memusage.sh: Fix quoting in message.
28855 * debug/xtrace.sh: Likewise.
28856
9113ea1f
UD
28857 * configure.in: Remove support for --experimental-malloc option, make
28858 it the default.
28859 * config.make.in: Likewise.
28860 * malloc/Makefile: Likewise.
28861
a4172181
AS
288622011-06-27 Andreas Schwab <schwab@redhat.com>
28863
28864 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
28865 two-byte characters.
28866
78a7eee7
RM
288672011-06-27 Roland McGrath <roland@hack.frob.com>
28868
62bede13
RM
28869 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
28870 AC_CACHE_CHECK invocation.
28871 * configure: Regenerated.
28872
78a7eee7
RM
28873 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
28874
5ce33a62
UD
288752011-06-27 Ulrich Drepper <drepper@gmail.com>
28876
034807a9
UD
28877 [BZ #12350]
28878 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
28879 bit from old_res_options.
28880
4902da17
UD
28881 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
28882
5ce33a62
UD
28883 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
28884 value type for setfct.
28885
c2344f56
L
288862011-06-23 H.J. Lu <hongjiu.lu@intel.com>
28887
28888 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
28889 __gettimeofday instead of gettimeofday.
28890
68468076
UD
288912011-06-26 Ulrich Drepper <drepper@gmail.com>
28892
28893 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
28894
acb0d739
L
288952011-06-24 H.J. Lu <hongjiu.lu@intel.com>
28896
28897 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
28898
28899 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
28900 info.
28901
8912479f
L
289022011-06-22 H.J. Lu <hongjiu.lu@intel.com>
28903
28904 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
28905 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
28906 strcpy-sse2-unaligned strncpy-sse2-unaligned
28907 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
28908 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
28909 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
28910 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
28911 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
28912 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
28913 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
28914 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
28915 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
28916 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
28917 (STRCPY): Support SSE2 and SSSE3 versions.
28918
d5495a11
UD
289192011-06-24 Ulrich Drepper <drepper@gmail.com>
28920
28921 [BZ #12874]
28922 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
28923 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
28924 kernels which artificially limit size of requests.
28925
0b1cbaae
L
289262011-06-22 H.J. Lu <hongjiu.lu@intel.com>
28927
28928 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
28929 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
28930 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
28931 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
28932 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
28933 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
28934 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
28935 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
28936 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
28937 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
28938 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
28939 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
28940 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
28941 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
28942 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
28943 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
28944 Enable unaligned load optimization for Intel Core i3, i5 and i7
28945 processors.
28946 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
28947 Define.
28948 (index_Fast_Unaligned_Load): Define.
28949 (HAS_FAST_UNALIGNED_LOAD): Define.
28950
07f494a0
MP
289512011-06-23 Marek Polacek <mpolacek@redhat.com>
28952
28953 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
28954
fa3fc0fe
UD
289552011-06-22 Ulrich Drepper <drepper@gmail.com>
28956
28957 [BZ #12907]
28958 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
28959 until it is clear that the information is realy needed.
28960 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
28961
e12df166
AS
289622011-06-22 Andreas Schwab <schwab@redhat.com>
28963
28964 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
28965
852eb34d
UD
289662011-06-22 Ulrich Drepper <drepper@gmail.com>
28967
84e2a551
UD
28968 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
28969 /sys/devices/system/cpu/online if it is usable.
28970
852eb34d
UD
28971 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
28972 reading the information from the /proc filesystem to once a second.
28973
6e502e19
UD
289742011-06-21 Andreas Jaeger <aj@suse.de>
28975
28976 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
28977 NULL after inclusion of kernel headers.
28978
75d39ff2
UD
289792011-06-21 Ulrich Drepper <drepper@gmail.com>
28980
51f9aa6a
UD
28981 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
28982 calls to internal_setent.
28983
c0244a9d
UD
28984 [BZ #12885]
28985 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
28986 addresses using gethostbyname4_r ignore IPv4 addresses.
28987
c5e3c2ae
UD
28988 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
28989 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
28990
75d39ff2
UD
28991 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
28992
42675c6f
DM
289932011-06-20 David S. Miller <davem@davemloft.net>
28994
28995 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
28996 inclusions.
28997 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
28998
28999 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
29000 (elf_irel): Use it.
29001 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
29002 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
29003 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
29004 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
29005 * sysdeps/x86_64/dl-irel.h: Likewise.
29006
29007 * elf/dl-runtime.c: Use elf_ifunc_invoke.
29008 * elf/dl-sym.c: Likewise.
29009
57912a71
UD
290102011-06-15 Ulrich Drepper <drepper@gmail.com>
29011
29012 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
29013 need to dereference resplen2.
29014
ee22793d
AS
290152011-06-14 Andreas Schwab <schwab@redhat.com>
29016
29017 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
29018
a9e836b0
UD
290192011-06-15 Ulrich Drepper <drepper@gmail.com>
29020
77fb9117
UD
29021 * Makeconfig: Define vardbdir and inst_vardbdir.
29022 * nss/Makefile: Add rules to install db-Makefile.
29023
40c1b22c
UD
29024 * nss/nss_db/db-XXX.c: Cleanup.
29025
9f2da732
UD
29026 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
29027 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
29028 GLIBC_PRIVATE.
29029 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
29030 * nss/makedb.c: Implement -g option to specify that value strings
29031 are generated and should not be added to table iterated over for
29032 get*ent calls.
29033 * nss/nss_db/db-initgroups.c: New file.
29034
82e9a1f7
UD
29035 * nss/getent.c: Add support for initgroups lookups through getgrouplist
29036 interface.
29037
c41af17e
UD
29038 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
29039 (internal_getgrouplist): Adjust to name change.
29040 Update use_initgroups_entry if this is not the first call.
29041 * nss/databases.def: Add initgroups entry.
29042
a9e836b0
UD
29043 * nss/makedb.c (compute_tables): Check result of multiple hash table
29044 sizes to minimize maximum chain length.
29045
2666d441
UD
290462011-06-14 Ulrich Drepper <drepper@gmail.com>
29047
29048 * Versions.def: Add entry for libnss_db.
29049 * shlib-versions: Likewise.
29050 * nss/Makefile: Add rules to build libnss_db.
29051 * nss/Versions: Add libnss_db information. Organize libnss_files
29052 entries better.
29053 * nss/db-Makefile: Add gshadow support. Change rules for the new
29054 makedb progra. Some minor improvements to generate smaller files.
29055 * nss/nss_db/nss_db.h: Move NSS database header data structures to
29056 here from...
29057 * nss/makedb.c: ...here.
29058 Improve database format to be smaller and require less memory at
29059 runtime.
29060 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
29061 db anymore.
29062 * nss/nss_db/db-netgrp.c: Likewise.
29063 * nss/nss_db/db-open.c: Likewise.
29064 * nss/nss_files/flies-XXX.x: Adjust comments.
29065 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
29066 * nss/nss_files/files-grp.c: Likewise.
29067 * nss/nss_files/files-hosts.c: Likewise.
29068 * nss/nss_files/files-network.c: Likewise.
29069 * nss/nss_files/files-proto.c: Likewise.
29070 * nss/nss_files/files-pwd.c: Likewise.
29071 * nss/nss_files/files-rpc.c: Likewise.
29072 * nss/nss_files/files-service.c: Likewise.
29073 * nss/nss_files/files-sgrp.c: Likewise.
29074 * nss/nss_files/files-spwd.c: Likewise.
29075 * nss/nss_db/db-alias.c: Removed.
29076 * nss/nss_db/dummy-db.h: Removed.
29077
9ee76b5a
UD
290782011-06-02 Ulrich Drepper <drepper@gmail.com>
29079
29080 * nss/makedb.c: Rewritten to not use database library.
29081 * nss/Makefile: Update to build new makedb program.
29082
c71ca1f8
AJ
290832011-06-14 Andreas Jaeger <aj@suse.de>
29084
29085 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
29086 memset declaration.
29087
3154bfb8
UD
290882011-06-10 Andreas Schwab <schwab@redhat.com>
29089
29090 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
29091 tmpbuf.
29092
b350afab
RM
290932011-06-10 Roland McGrath <roland@hack.frob.com>
29094
decd4e50
RM
29095 * Makerules (shlib.lds): Fail if the linker script comes out empty.
29096 * elf/Makefile ($(objpfx)ld.so): Likewise.
29097
5615eaf2
RM
29098 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
29099 Don't list ld.so twice in dependencies.
29100
29101 * posix/bug-regex31.c: Include <stdlib.h>.
29102
29103 * nscd/hstcache.c (cache_addhst): Remove unused variable.
29104
29105 * nis/nss_compat/compat-spwd.c
29106 (getspent_next_nss_netgr): Remove unused variable.
29107 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
29108
29109 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
29110 nonmembers" output to use the right array.
29111
29112 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
29113
29114 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
29115
29116 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
29117 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
29118 * catgets/gencat.c (read_input_file): Likewise.
29119 * locale/programs/locarchive.c (enlarge_archive): Likewise.
29120
29121 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
29122 variable definition inside #if's controlling its use.
29123
29124 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
29125
29126 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
29127
29128 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
29129
29130 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
29131 unreachable code.
29132
29133 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
29134
b68e08db
RM
29135 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
29136 * configure: Regenerated.
29137
b350afab
RM
29138 * Makerules: Revert last change.
29139 * elf/Makefile: Likewise.
29140
28368601
RM
291412011-06-09 Roland McGrath <roland@hack.frob.com>
29142
29143 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
29144 * elf/Makefile ($(objpfx)librtld.os): Likewise.
29145 (reloc-link): Likewise.
29146
11988f8f
UD
291472011-06-09 Ulrich Drepper <drepper@gmail.com>
29148
29149 * elf/Makefile: Add rules to build pldd.
29150 * elf/pldd.c: New file.
29151 * elf/pldd-xx.c: New file.
29152
e80fab37
UD
291532011-06-07 Ulrich Drepper <drepper@gmail.com>
29154
29155 * version.h: Update for 2.15 development version.
29156
9b849836
DM
291572011-06-07 David S. Miller <davem@davemloft.net>
29158
29159 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
29160 ifuncs.
29161 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
29162 elf_machine_lazy_rel): Likewise.
29163 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
29164 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
29165 elf_machine_lazy_rel): Likewise.
29166 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
29167 dl_hwcap via passed in argument.
29168 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
29169 Likewise.
29170
5a31b283
AK
291712011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29172
29173 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
29174
069e52f8
RM
291752011-06-06 Roland McGrath <roland@hack.frob.com>
29176
29177 [BZ #12849]
29178 * manual/fdl-1.1.texi: New file, verbatim from:
29179 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
29180 * manual/lgpl-2.1.texi: New file, verbatim from:
29181 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
29182 * manual/Makefile (licenses): New variable, list those new file names.
29183 (texis): Use it.
29184 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
29185
29186 * manual/fdl.texi: File removed.
29187 * manual/lesser.texi: File removed.
29188 * manual/libc.texinfo (Copying, Documentation License):
29189 Use new @include file names, put @appendix directive before @include.
29190
f16846a5
JJ
291912011-06-04 Jakub Jelinek <jakub@redhat.com>
29192
29193 [BZ #12841]
29194 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
29195 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
29196 (mq_open): Add __NTH.
29197
3d29045b
L
291982011-06-02 H.J. Lu <hongjiu.lu@intel.com>
29199
29200 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29201 Assume Intel Core i3/i5/i7 processor if AVX is available.
29202
8c297311
UD
292032011-05-31 Ulrich Drepper <drepper@gmail.com>
29204
29205 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
29206 typo.
29207
c8fc0c91
UD
292082011-05-31 Andreas Schwab <schwab@redhat.com>
29209
29210 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
29211 memory. Use alloca_account. Fix memory leak when retrying.
29212
5b27a807
UD
292132011-05-31 Ulrich Drepper <drepper@gmail.com>
29214
356f8bc6
UD
29215 * version.h (RELEASE): Bump for 2.14 release.
29216 * include/features.h (__GLIBC_MINOR__): Bump to 14.
29217
5b27a807
UD
29218 * config.make.in (RANLIB): Remove entry.
29219
01f16ab0
UD
292202011-05-30 Ulrich Drepper <drepper@gmail.com>
29221
41fce8bd
UD
29222 * po/Makefile (po-sed-cmd): Add ksh to extensions.
29223 (libc.pot): Work around missing support for .ksh extension in xgettext.
29224
4769ae77
UD
29225 [BZ #12684]
29226 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
29227 if both request failed.
29228 (send_dg): In case of server errors clear resplen or *resplen2.
29229
6b1e7d19
UD
29230 [BZ #12454]
29231 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
29232 when there are multiple maps.
29233 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
29234 (_dl_fini): Remove test here.
29235
01f16ab0
UD
29236 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
29237
b1ebd700
UD
292382011-05-29 Ulrich Drepper <drepper@gmail.com>
29239
7ae22829
UD
29240 [BZ #12350]
29241 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
29242 bit from old_res_options.
29243 (gaih_inet): Likewise.
29244
553149f6 29245 [BZ #11099]
18a84741 29246 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
873ca504
UD
29247 as signed.
29248
652ffab1
UD
29249 * resolv/res_init.c (res_setoptions): Make the code more compact.
29250
16985fd0
UD
29251 [BZ #11558]
29252 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
29253 set RES_USEVC.
29254
0464f746
UD
29255 [BZ #11634]
29256 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
29257
7d17596c
UD
29258 * malloc/malloc.h: Mark malloc hook variables as deprecated.
29259
cf6bbbd7
UD
29260 [BZ #11781]
29261 * malloc/malloc.h: Declare malloc hook variables as volatile.
29262
13f1ab36
UD
29263 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
29264 in last patch.
29265
b1ebd700
UD
29266 [BZ #11799]
29267 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
4997db74 29268 raise in the comment.
80e2212d
UD
29269 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
29270 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
29271 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
b1ebd700 29272
ce67228d
UD
292732011-05-28 Ulrich Drepper <drepper@gmail.com>
29274
8887a920
UD
29275 [BZ #12811]
29276 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
29277 grow the buffers more if it already has to be sufficient.
29278 (build_wcs_upper_buffer): Likewise.
29279 * posix/regexec.c (check_matching): Likewise.
29280 (clean_state_log_if_needed): Likewise.
29281 (extend_buffers): Don't enlarge buffers beyond size of the input
29282 buffer.
29283 Patches mostly by Emil Wojak <emil@wojak.eu>.
29284 * posix/bug-regex32.c: New file.
29285 * posix/Makefile (tests): Add bug-regex32.
29286
4f031072
UD
29287 * locale/findlocale.c (_nl_find_locale): Return right away if
29288 _nl_explode_name failed.
29289 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
29290
d0478f0c
UD
29291 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
29292
de81b246
UD
29293 * debug/xtrace.sh: Unify messages.
29294 * malloc/memusage.sh: Likewise.
29295
c738465a
UD
29296 [BZ #12813]
29297 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
29298 time symbol from vDSO. Substitute with vsyscall if not available.
29299 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
29300 __vdso_time.
29301
f1f929d7
UD
29302 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
29303 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
29304 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
29305 Add sendmmsg and internal_sendmmsg.
29306 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
29307 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
29308 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
29309
ce67228d
UD
29310 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
29311 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
29312 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
29313
e57420c6
UD
293142011-05-27 Ulrich Drepper <drepper@gmail.com>
29315
a8509ca5
UD
29316 [BZ #12813]
29317 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
29318 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
29319 available.
29320 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
29321 __vdso_getcpu.
29322
e57420c6
UD
29323 [BZ #12814]
29324 * iconvdata/Makefile (tests): Add bug-iconv9.
29325 * iconvdata/bug-iconv9.c: New file.
29326
4d07db15
AS
293272011-05-27 Andreas Schwab <schwab@redhat.com>
29328
29329 [BZ #12814]
29330 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
29331
ea486f69
JJ
293322011-05-25 Jakub Jelinek <jakub@redhat.com>
29333
29334 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29335 (struct user_regs_struct): Change intcs field back to cs.
29336
6f038433
UD
293372011-05-25 Ulrich Drepper <drepper@gmail.com>
29338
29339 * po/ja.po: Update from translation team.
29340
67f86a25
UD
293412011-05-23 Ulrich Drepper <drepper@gmail.com>
29342
29343 [BZ #12795]
29344 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
29345 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
29346
def7fbd6
AS
293472011-05-20 Andreas Schwab <schwab@redhat.com>
29348
29349 * stdlib/longlong.h: Update from GCC.
29350
f50ef8f1
AS
293512011-05-23 Andreas Schwab <schwab@redhat.com>
29352
29353 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
29354 parameter name.
29355 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
29356 Add parameter name.
29357 (__sysconf): Pass it down.
29358
de7ce8f1
UD
293592011-05-22 Ulrich Drepper <drepper@gmail.com>
29360
f2962a71
UD
29361 [BZ #12671]
29362 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
29363 some situations.
29364 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
29365 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
29366 add in in __libc_use_alloca calls. Adjust callers.
29367 (glob): Use malloc in some situations.
29368
de7ce8f1
UD
29369 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
29370 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
29371 pltexit.
29372
aec84f53
UD
293732011-05-21 Ulrich Drepper <drepper@gmail.com>
29374
05bb4a68
UD
29375 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
29376 and CLOCK_BOOTTIME_ALARM.
29377
7ea72f99
UD
29378 [BZ #12782]
29379 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
29380 is returned.
29381
7e4afad5
UD
29382 * string/_strerror.c (__strerror_r): Print negative errors as signed
29383 numbers.
29384
8e211fec
UD
29385 [BZ #12777]
29386 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
29387 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
29388 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
29389
f7d82dc9
UD
29390 * configure.in: Fix typo in redirection and correct removal of test
29391 files in two cases.
29392
cc9e536d
UD
29393 [BZ #12788]
29394 * locale/setlocale.c (new_composite_name): Fix test to check for
29395 identical name of all categories.
29396
aec84f53
UD
29397 [BZ #12792]
29398 * libio/filedoalloc.c (local_isatty): New function.
29399 (_IO_file_doallocate): Use local_isatty.
29400 * stdio-common/perror.c (perror): In case a new stream is used
29401 forward the stream error.
29402 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
29403 error flag.
29404
78e64fdc
RT
294052011-05-20 Ulrich Drepper <drepper@gmail.com>
29406
34a9094f
UD
29407 [BZ #11869]
29408 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
29409 alloca.
29410 * include/alloca.h (extend_alloca_account): Define.
29411
78e64fdc
RT
29412 [BZ #11857]
29413 * posix/regex.h: Fix comments with documentation of user-accessible
29414 fields after compilation and describe correct free'ing of pattern
29415 after re_compile_pattern.
29416 Patch by Reuben Thomas <rrt@sc3d.org>.
29417
457bddfc
RA
294182011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
29419
29420 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
29421 and -mno-altivec to prevent the compiler from using Altivec and/or
29422 VSX instructions when the corresponding registers are not available.
29423
a4527b51
AS
294242011-05-19 Andreas Schwab <schwab@redhat.com>
29425
29426 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
29427
ed690b2f
UD
294282011-05-19 Ulrich Drepper <drepper@gmail.com>
29429
29430 * libio/freopen.c (freopen): Use __dup2, not dup2.
29431 * libio/freopen64.c (freopen64): Likewise.
29432
8db73634
L
294332011-05-17 H.J. Lu <hongjiu.lu@intel.com>
29434
29435 [BZ #12775]
29436 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
29437 * math/Makefile (tests): Add test-powl.
29438 (CFLAGS-test-powl.c): Define.
29439 * math/test-powl.c: New file.
29440
0a197a9d
L
294412011-05-16 H.J. Lu <hongjiu.lu@intel.com>
29442
29443 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
29444
ee30c380
UD
294452011-05-17 Ulrich Drepper <drepper@gmail.com>
29446
29447 [BZ #11837]
29448 * iconvdata/gb18030.c: Update to GB18020-2005.
29449
6ce75379
UD
294502011-05-16 Ulrich Drepper <drepper@gmail.com>
29451
a4b89fd8
AR
29452 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
29453 RE_SYNTAX_POSIX_AWK): Update to match recent development.
29454 Patch by Aharon Robbins <arnold@skeeve.com>.
29455
ea389b12
UD
29456 [BZ #11892]
29457 * stdlib/putenv.c (putenv): Don't always create copy of the variable
29458 on the stack.
29459
68a3f91f
UD
29460 [BZ #11895]
29461 * misc/pselect.c (__pselect): Handle timeout value errors hidden
29462 through underflows.
29463
15cc7dd1
UD
29464 [BZ #12766]
29465 * misc/error.c (error_at_line): Ensure file_name and old_file_name
29466 point to strings before performing equality test for error_one_per_line
29467 mode.
29468
f3799213
UD
29469 [BZ #11697]
29470 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
29471
d79a9c94
UD
29472 [BZ #11820]
29473 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
29474 (struct user_fpregs_struct): Avoid __uint*_t types.
29475
56e5eb46
UD
29476 [BZ #6420]
29477 * malloc/mtrace.c (tr_where): Add additional parameter to point to
29478 symbol info. Use it instead of calling _dl_addr locally.
29479 (lock_and_info): New function.
29480 (tr_freehook): Call lock_and_info and pass symbol info as additional
29481 parameter to tr_where.
29482 (tr_mallochook): Likewise.
29483 (tr_reallochook): Likewise.
29484 (tr_memalignhook): Likewise.
29485
6ce75379
UD
29486 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
29487 used and couldn't be at all thread-safe.
29488
f8a3b5bf
UD
294892011-05-15 Ulrich Drepper <drepper@gmail.com>
29490
94b7cc37
UD
29491 * libio/freopen.c (freopen): Don't close old file descriptor
29492 before the new one is opened. Instead dup the new file descriptor
29493 to the old one after the new stream is created.
29494 * libio/freopen64.c (freopen64): Likewise.
29495 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
29496 * libio/fileops.c (_IO_new_file_close_it): Handle new
29497 _IO_FLAGS2_NOCLOSE flag.
29498 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
29499 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
29500 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
29501 _IO_FLAGS2_NOCLOSE flag.
29502 * include/unistd.h: Add hidden_proto for dup3.
29503 Define __have_dup3.
29504 * io/dup3.c: Define hidden symbol.
29505 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
29506
bd25564e
UD
29507 [BZ #7101]
29508 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
29509 when an incomplete long option is used.
29510 * posix/tst-getopt_long1.c: New file.
29511 * posix/Makefile (tests): Add tst-getopt_long1.
29512
c84cfef4
UD
29513 [BZ #10138]
29514 * scripts/config.guess: Update from autoconf-2.68.
29515 * scripts/config.sub: Likewise.
29516
3b85df27
UD
29517 [BZ #10157]
29518 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
29519 tests into ...
29520 (has_cpuclock): ...this. New function.
29521 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
29522 macro here based on has_cpuclock code.
29523
15a856b1
UD
29524 [BZ #10149]
29525 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29526 First byte (not low byte) is now always NUL.
29527 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
29528
05f399e6
UD
29529 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
29530 Use non-cancelable interfaces.
29531
10a52685 29532 [BZ #9809]
94ecc67d
UD
29533 * locale/iso-639.def: Add entry for Sorani.
29534
f8a3b5bf
UD
29535 [BZ #11901]
29536 * include/stdlib.h: Move include protection to the right place.
29537 Define abort_msg_s. Declare __abort_msg with it.
29538 * stdlib/abort.c (__abort_msg): Adjust type.
29539 * assert/assert.c (__assert_fail_base): New function. Majority
29540 of code from __assert_fail. Allocate memory for __abort_msg with
29541 mmap.
29542 (__assert_fail): Now call __assert_fail_base.
29543 * assert/assert-perr.c: Remove bulk of implementation. Use
29544 __assert_fail_base.
29545 * include/assert.hL Declare __assert_fail_base.
29546 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
29547 mmap.
29548 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
29549
1af4e298
UD
295502011-05-14 Ulrich Drepper <drepper@gmail.com>
29551
f8a3b5bf 29552 [BZ #11952]
d26dfc60
MG
29553 [BZ #12453]
29554 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
29555 until all modules are registered in the DTV.
29556 * elf/Makefile: Add rules to build and run tst-tls19.
29557 * elf/tst-tls19.c: New file.
29558 * elf/tst-tls19mod1.c: New file.
29559 * elf/tst-tls19mod2.c: New file.
29560 * elf/tst-tls19mod3.c: New file.
29561 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
29562
2fc54d6f
UD
29563 [BZ #12083]
29564 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
29565 correctly.
29566
98d76b46
UD
29567 [BZ #12601]
29568 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
29569 two-byte sequence errors.
29570 * iconvdata/Makefile (tests): Add bug-iconv8.
29571 * iconvdata/bug-iconv8.c: New file.
29572
da3c19ef
UD
29573 [BZ #12626]
29574 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
29575 buf2 definition.
29576
ca408c15
UD
29577 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
29578
d6f67f7d
UD
29579 [BZ #12432]
29580 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
29581 (dummy_getcfa): New function.
29582 (init): Get _Unwind_GetCFA address, use dummy if not found.
29583 (backtrace_helper): In recursion check, also check whether CFA changes.
29584 (__backtrace): Completely initialize arg.
29585
1af4e298 29586 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
0656e90e
UD
29587 storing incomplete byte sequence in state object. Avoid testing for
29588 guaranteed too small input if we know there is enough data available.
1af4e298 29589
da62f81b
AS
295902011-05-11 Andreas Schwab <schwab@redhat.com>
29591
29592 * Makeconfig (+link-pie): Indent.
29593 * Rules (binaries-pie): Define if $(have-fpie) and
29594 $(build-shared).
29595 (binaries-shared): Also filter out $(binaries-pie).
29596 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
29597 * nscd/Makefile (others-pie): Add nscd.
29598 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
29599 ($(objpfx)nscd): Remove command override.
29600 * login/Makefile (others-pie): Add pt_chown.
29601 ($(objpfx)pt_chown): Remove command override.
29602 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
29603 remove command overrides.
29604
fcabc0f8
UD
296052011-05-13 Ulrich Drepper <drepper@gmail.com>
29606
20030ae6
UD
29607 * libio/tst_putwc.c: Fix error messages.
29608
fcabc0f8
UD
29609 [BZ #12724]
29610 * libio/fileops.c (_IO_new_file_close_it): Always flush when
29611 currently writing and seek to current position when not.
29612 * libio/Makefile (tests): Add bug-fclose1.
29613 * libio/bug-fclose1.c: New file.
29614
320a5dc0
PB
296152011-05-12 Ulrich Drepper <drepper@gmail.com>
29616
29617 [BZ #12511]
29618 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
29619 don't set DF_1_NODELETE here.
29620 (do_lookup_x): When entering new entry test for copy relocation
29621 and if necessary set DF_1_NODELETE flag.
29622 * elf/tst-unique4.cc: New file.
29623 * elf/tst-unique4.h: New file.
29624 * elf/tst-unique4lib.cc: New file.
29625 * elf/Makefile: Add rules to build and run tst-unique4.
29626 Patch by Piotr Bury <pbury@goahead.com>.
29627
22836f52
UD
296282011-05-11 Ulrich Drepper <drepper@gmail.com>
29629
f574184a
UD
29630 [BZ #12052]
29631 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
29632
e1fb097f
UD
29633 [BZ #12625]
29634 * misc/mntent_r.c (addmntent): Flush the stream after the output
29635
22836f52
UD
29636 [BZ #12393]
29637 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
29638 (is_trusted_path_normalize): Skip initial colon. Append slash
29639 to empty buffer. Duplicate is_trusted_path code but allow
29640 constructed patch to be prefix.
29641 (is_dst): Allow $ORIGIN followed by /.
29642 (_dl_dst_substitute): Correct clearing of check_for_trusted.
29643 Correct testing of result of is_trusted_path_normalize
29644 (decompose_rpath): Fix warning.
29645
7b3b0b2a
UD
296462011-05-10 Ulrich Drepper <drepper@gmail.com>
29647
29648 [BZ #11257]
29649 * grp/initgroups.c (internal_getgrouplist): When we found the service
29650 list through the initgroups entry in nsswitch.conf do not always
29651 continue on a successful lookup. Don't always use the
eac80ce2 29652 __nss_group_database value if it is set.
7b3b0b2a
UD
29653 * nss/nsswitch.conf (initgroups): Change action for successful db
29654 lookup to continue for compatibility.
29655
2a81eaa5
UD
296562011-05-09 Ulrich Drepper <drepper@gmail.com>
29657
be97a69e
UD
29658 [BZ #11532]
29659 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
29660 and CP774 modules.
29661 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
29662 and CP774 modules.
29663 * iconvdata/tst-tables.sh: Likewise.
29664 * iconvdata/cp770.c: New file.
29665 * iconvdata/cp771.c: New file.
29666 * iconvdata/cp772.c: New file.
29667 * iconvdata/cp773.c: New file.
29668 * iconvdata/cp774.c: New file.
29669 * iconvdata/testdata/CP770: New file.
29670 * iconvdata/testdata/CP770..UTF8: New file.
29671 * iconvdata/testdata/CP771: New file.
29672 * iconvdata/testdata/CP771..UTF8: New file.
29673 * iconvdata/testdata/CP772: New file.
29674 * iconvdata/testdata/CP772..UTF8: New file.
29675 * iconvdata/testdata/CP773: New file.
29676 * iconvdata/testdata/CP773..UTF8: New file.
29677 * iconvdata/testdata/CP774: New file.
29678 * iconvdata/testdata/CP774..UTF8: New file.
29679
29680 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
29681 END CHARMAP line.
29682 * iconvdata/gen-8bit-gap.sh: Likewise.
29683 * iconvdata/gen-8bit.sh: Likewise.
29684
c1e9e399
UD
29685 * locale/iso-639.def: Add ary entry.
29686
24c55fb3 29687 [BZ #11258]
96b4b1b0
UD
29688 * locale/C-translit.h.in: Add U20A1 transliteration.
29689
bdc2f971
KB
29690 [BZ #12178]
29691 * locale/iso-639.def: Add wae entry.
29692 Patch by Kevin Bortis <bortis@translate-wae.ch>.
29693
2952b117
UD
29694 [BZ #12545]
29695 * locale/programs/localedef.c (construct_output_path): Use ssize_t
29696 for n.
29697
2a81eaa5
UD
29698 [BZ #12711]
29699 * locale/C-translit.h.in: Add entry for U20B9.
29700 Patch by pravin.d.s@gmail.com.
29701
28377d1b
UD
297022011-05-08 Ulrich Drepper <drepper@gmail.com>
29703
7fb90fb8
UD
29704 [BZ #12713]
29705 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
29706 ENAMETOOLONG use generic getcwd.
6fb2dde3
UD
29707 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
29708 in rtld. Use *stat64.
7fb90fb8 29709 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
6fb2dde3 29710 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
7fb90fb8 29711 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
6fb2dde3
UD
29712 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
29713 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
29714 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
29715 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
29716 __fstatat64 macros.
7fb90fb8
UD
29717 * include/dirent.h: Add libc_hidden_proto for rewinddir.
29718 * dirent/rewinddir.c: Add libc_hidden_def.
29719 * sysdeps/mach/hurd/rewinddir.c: Likewise.
6fb2dde3 29720 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
7fb90fb8 29721
28377d1b
UD
29722 * include/dirent.h (__alloc_dir): Add flags parameter.
29723 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
29724 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
29725 __alloc_dir.
29726 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
29727 from fdopendir if O_CLOEXEC is already set.
29728
66bdbaa4
AM
297292011-03-15 Alan Modra <amodra@gmail.com>
29730
29731 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
29732 l_tls_firstbyte_offset non-zero. Save padding offset in
29733 l_tls_firstbyte_offset for later use.
29734 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
29735 freeing static tls block.
29736
95721191
JN
297372011-03-05 Jonathan Nieder <jrnieder@gmail.com>
29738
29739 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
29740 where #ifdef was intended. The intent is to prevent ARG_MAX from
29741 being defined by the kernel headers.
29742
f87dfb1f
UD
297432011-05-07 Ulrich Drepper <drepper@gmail.com>
29744
29745 [BZ #12734]
29746 * resolv/resolv.h: Define RES_NOTLDQUERY.
29747 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
29748 no-tld-query and set RES_NOTLDQUERY.
29749 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
29750 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
29751 modern BIND to search name as TLD unless forbidden.
29752
47c3cd7a
UD
297532011-05-07 Petr Baudis <pasky@suse.cz>
29754 Ulrich Drepper <drepper@gmail.com>
29755
29756 [BZ #12393]
29757 * elf/dl-load.c (fillin_rpath): Move trusted path check...
29758 (is_trusted_path): ...to here.
c1e9ea35 29759 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
47c3cd7a 29760 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
c1e9ea35 29761 using is_trusted_path_normalize() in setuid scripts.
47c3cd7a 29762
8a35c912
PP
297632011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
29764
29765 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
29766 __BEGIN/__END_DECLS.
29767
acd41f47
UD
297682011-05-06 Ulrich Drepper <drepper@gmail.com>
29769
29770 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
29771 NSS_STATUS_NOTFOUND if no record was found.
29772
597df647
AS
297732011-05-05 Andreas Schwab <schwab@redhat.com>
29774
29775 * sunrpc/Makefile (headers): Add rpc/netdb.h.
29776 (headers-not-in-tirpc): Remove rpc/netdb.h
29777 * resolv/netdb.h: Revert last change.
29778
b9af1301
PP
297792011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
29780
29781 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
29782 circular dependency between libgcc.a and libc.a.
29783
4e34d5f5
AS
297842011-05-05 Andreas Schwab <schwab@redhat.com>
29785
29786 * resolv/netdb.h: Don't include <rpc/netdb.h>.
29787 * nis/Makefile: Don't install rpcsvc/*.
29788 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
29789 instead of <rpc/types.h>.
29790 (MAXHOSTNAMELEN): Define.
29791
00ee369c
AS
297922011-05-03 Andreas Schwab <schwab@redhat.com>
29793
29794 * elf/ldconfig.c (add_dir): Don't crash on empty path.
29795
0b592a30
MB
297962011-04-28 Maciej Babinski <mbabinski@google.com>
29797
29798 [BZ #12714]
29799 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
29800 gethostbyname4_r when IPv6 results are possible.
29801
6e04cbbe
UD
298022011-05-02 Ulrich Drepper <drepper@gmail.com>
29803
29804 [BZ #12723]
29805 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
29806 _PC_PIPE_BUF handling.
29807
e4ecafe0
BH
298082011-04-30 Bruno Haible <bruno@clisp.org>
29809
29810 [BZ #12717]
29811 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
29812 * resolv/netdb.h (getnameinfo): Change type of flags parameter
29813 to 'int'.
29814 * inet/getnameinfo.c (getnameinfo): Likewise.
29815
125ee683
UD
298162011-04-29 Ulrich Drepper <drepper@gmail.com>
29817
29818 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
29819 to groups setting in database lookup.
29820 * nss/nsswitch.conf: Add initgroups entry.
29821
b722481a
EB
298222011-04-22 Ulrich Drepper <drepper@gmail.com>
29823
29824 [BZ #12685]
29825 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
29826 mode string.
29827 Patch by Eric Blake <eblake@redhat.com>.
29828
4df46dbd
L
298292011-04-20 H.J. Lu <hongjiu.lu@intel.com>
29830
29831 * sunrpc/Makefile (need-export-routines): Add svc_run.
29832 (routines): Remove svc_run.
29833 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
29834 * sunrpc/clnt_perr.c (clnt_perrno): Export.
29835 * sunrpc/svc_run.c (svc_run): Likewise.
29836 * sunrpc/svc_udp.c (svcudp_create): Likewise.
29837
e84142d2
UD
298382011-04-21 Ulrich Drepper <drepper@gmail.com>
29839
29840 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
29841 problem in reallocation in last patch.
29842
877175d8
UD
298432011-04-20 Ulrich Drepper <drepper@gmail.com>
29844
29845 * sunrpc/Makefile: Move inclusion of Rules.
29846
ab8eed78
UD
298472011-04-19 Ulrich Drepper <drepper@gmail.com>
29848
29849 * nss/nss_files/files-initgroups.c: New file.
29850 * nss/Makefile (libnss_files-routines): Add files-initgroups.
29851 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
29852 _nss_files_initgroups_dyn.
29853
e3d8f584
RS
298542011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
29855
29856 * elf/elf.h (R_ARM_IRELATIVE): Define.
29857
af190f45
UD
298582011-04-19 Ulrich Drepper <drepper@gmail.com>
29859
29860 * po/ru.po: Update from translation team.
29861
53cf59ef
UD
298622011-04-17 Ulrich Drepper <drepper@gmail.com>
29863
29864 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
29865 dependencies.
29866
4c559bcd
MF
298672011-02-06 Mike Frysinger <vapier@gentoo.org>
29868
29869 [BZ #12653]
29870 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
29871 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
29872 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29873 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
29874 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
29875
4420675c
AS
298762011-03-28 Andreas Schwab <schwab@linux-m68k.org>
29877
29878 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
29879 differing bytes.
29880 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
29881 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
29882 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
29883
75ea32ab
UD
298842011-04-17 Ulrich Drepper <drepper@gmail.com>
29885
29886 [BZ #12420]
29887 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
29888 storing it.
29889 * stdlib/bug-getcontext.c: New file.
29890 * stdlib/Makefile: Add rules to build and run bug-getcontext.
29891
27390476
AK
298922011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29893
29894 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
29895 instructions into .machine "z9-109".
29896 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
29897 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
29898
10442705
AK
298992011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
29900
29901 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
29902 between environment variables and auxiliary vector.
29903
7b57bfe5
UD
299042011-04-16 Ulrich Drepper <drepper@gmail.com>
29905
29906 * Makefile: Add rules to build linkobj/libc.so.
29907 * include/libc-symbols.h: Define libc_hidden_nolink.
29908 * include/rpc/auth.h: Mark functions which are to be hidden.
29909 * include/rpc/auth_des.h: Likewise.
29910 * include/rpc/auth_unix.h: Likewise.
29911 * include/rpc/clnt.h: Likewise.
29912 * include/rpc/des_crypt.h: Likewise.
29913 * include/rpc/key_prot.h: Likewise.
29914 * include/rpc/pmap_clnt.h: Likewise.
29915 * include/rpc/pmap_prot.h: Likewise.
29916 * include/rpc/pmap_rmt.h: Likewise.
29917 * include/rpc/rpc_msg.h: Likewise.
29918 * include/rpc/svc.h: Likewise.
29919 * include/rpc/svc_auth.h: Likewise.
29920 * include/rpc/xdr.h: Likewise.
29921 * nis/Makefile: Link all DSOs against linkobj/libc.so.
29922 * nss/Makefile: Likewise.
29923 * sunrpc/Makefile: Don't install headers. Build library with normal
29924 entry points. Don't build rpcinfo. Link RPC tests appropriately.
29925 * sunrpc/auth_des.c: Hide exported symbols by default, export some
29926 for the compat linking library. Remove use of INTDEF/INTUSE.
29927 * sunrpc/auth_none.c: Likewise.
29928 * sunrpc/auth_unix.c: Likewise.
29929 * sunrpc/authdes_prot.c: Likewise.
29930 * sunrpc/authuxprot.c: Likewise.
29931 * sunrpc/clnt_gen.c: Likewise.
29932 * sunrpc/clnt_perr.c: Likewise.
29933 * sunrpc/clnt_raw.c: Likewise.
29934 * sunrpc/clnt_simp.c: Likewise.
29935 * sunrpc/clnt_tcp.c: Likewise.
29936 * sunrpc/clnt_udp.c: Likewise.
29937 * sunrpc/clnt_unix.c: Likewise.
29938 * sunrpc/des_crypt.c: Likewise.
29939 * sunrpc/des_soft.c: Likewise.
29940 * sunrpc/get_myaddr.c: Likewise.
29941 * sunrpc/key_call.c: Likewise.
29942 * sunrpc/key_prot.c: Likewise.
29943 * sunrpc/netname.c: Likewise.
29944 * sunrpc/pm_getmaps.c: Likewise.
29945 * sunrpc/pm_getport.c: Likewise.
29946 * sunrpc/pmap_clnt.c: Likewise.
29947 * sunrpc/pmap_prot.c: Likewise.
29948 * sunrpc/pmap_prot2.c: Likewise.
29949 * sunrpc/pmap_rmt.c: Likewise.
29950 * sunrpc/publickey.c: Likewise.
29951 * sunrpc/rpc_cmsg.c: Likewise.
29952 * sunrpc/rpc_common.c: Likewise.
29953 * sunrpc/rpc_dtable.c: Likewise.
29954 * sunrpc/rpc_prot.c: Likewise.
29955 * sunrpc/rpc_thread.c: Likewise.
29956 * sunrpc/rtime.c: Likewise.
29957 * sunrpc/svc.c: Likewise.
29958 * sunrpc/svc_auth.c: Likewise.
29959 * sunrpc/svc_authux.c: Likewise.
29960 * sunrpc/svc_raw.c: Likewise.
29961 * sunrpc/svc_run.c: Likewise.
29962 * sunrpc/svc_simple.c: Likewise.
29963 * sunrpc/svc_tcp.c: Likewise.
29964 * sunrpc/svc_udp.c: Likewise.
29965 * sunrpc/svc_unix.c: Likewise.
29966 * sunrpc/svcauth_des.c: Likewise.
29967 * sunrpc/xcrypt.c: Likewise.
29968 * sunrpc/xdr.c: Likewise.
29969 * sunrpc/xdr_array.c: Likewise.
29970 * sunrpc/xdr_float.c: Likewise.
29971 * sunrpc/xdr_intXX_t.c: Likewise.
29972 * sunrpc/xdr_mem.c: Likewise.
29973 * sunrpc/xdr_rec.c: Likewise.
29974 * sunrpc/xdr_ref.c: Likewise.
29975 * sunrpc/xdr_sizeof.c: Likewise.
29976 * sunrpc/xdr_stdio.c: Likewise.
29977
e6c61494
UD
299782011-04-10 Ulrich Drepper <drepper@gmail.com>
29979
29980 [BZ #12650]
29981 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
29982 * sysdeps/ia64/dl-tls.h: Likewise.
29983 * sysdeps/powerpc/dl-tls.h: Likewise.
29984 * sysdeps/s390/dl-tls.h: Likewise.
29985 * sysdeps/sh/dl-tls.h: Likewise.
29986 * sysdeps/sparc/dl-tls.h: Likewise.
29987 * sysdeps/x86_64/dl-tls.h: Likewise.
29988 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
29989
34fe483e
AS
299902011-03-14 Andreas Schwab <schwab@redhat.com>
29991
29992 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
29993 rpath element also skip the following colon.
29994 (expand_dynamic_string_token): Add is_path parameter and pass
29995 down to DL_DST_REQUIRED and _dl_dst_substitute.
29996 (decompose_rpath): Call expand_dynamic_string_token with
29997 non-zero is_path. Ignore empty rpaths.
29998 (_dl_map_object_from_fd): Call expand_dynamic_string_token
29999 with zero is_path.
30000
f12a32e6
AS
300012011-04-08 Andreas Schwab <schwab@linux-m68k.org>
30002
30003 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
30004 Make cancelable.
30005
38a7d692
UD
300062011-04-09 Ulrich Drepper <drepper@gmail.com>
30007
30008 [BZ #12655]
30009 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
30010 Patch by Filipe David Manana <fdmanana@apache.org>.
30011
e451d22b
AS
300122011-04-07 Andreas Schwab <schwab@redhat.com>
30013
30014 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
30015 Maintain aligned stack.
30016 (CHECK_RSP): Remove unused macro.
30017
dedc7c7b
UD
300182011-04-03 Ulrich Drepper <drepper@gmail.com>
30019
30020 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
30021 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
30022
94521213
UD
300232011-04-02 Ulrich Drepper <drepper@gmail.com>
30024
30025 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
30026
8cb700c0 30027 * include/features.h: Mention __USE_XOPEN2K8 in comment.
81489b2e 30028
0354e355
L
300292011-03-26 H.J. Lu <hongjiu.lu@intel.com>
30030
30031 [BZ #12518]
30032 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
30033 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
30034 * sysdeps/x86_64/memmove.c: New file.
30035 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
30036 (memcpy): Renamed to ...
30037 (__new_memcpy): This.
30038 (memcpy): Provide GLIBC_2_14 memcpy.
30039 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
30040 (memcpy): Provide GLIBC_2_2_5 memcpy.
30041
8593482f
UD
300422011-04-01 Ulrich Drepper <drepper@gmail.com>
30043
30044 [BZ #12631]
30045 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
30046
81a5726b
AS
300472011-03-30 Andreas Schwab <schwab@redhat.com>
30048
30049 * misc/syncfs.c: New file.
30050 * misc/Makefile (routines): Add syncfs.
30051 * posix/unistd.h: Declare syncfs.
30052 * sysdeps/unix/syscalls.list: Add syncfs.
30053
00e5419f
AS
300542011-04-01 Andreas Schwab <schwab@redhat.com>
30055
30056 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
30057 open_by_handle_at.
30058 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
30059 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30060 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30061 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30062 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30063 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
30064 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30065
748876bf
UD
300662011-04-01 Ulrich Drepper <drepper@gmail.com>
30067
658e451d
UD
30068 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
30069 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30070 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
30071 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30072 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30073 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30074 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30075
748876bf
UD
30076 * io/Makefile: Compile fallocate.c, fallocate64.c, and
30077 sync_file_range.c with -fexceptions.
30078 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
30079 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
30080 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
30081 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
30082 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
30083 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
30084 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
3167dad0
UD
30085 sync_file_range as cancellation point
30086 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
30087 now a wrapper around __call_sync_file_range with cancellation handling.
30088 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
30089 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
30090 function name to __call_sync_file_range.
30091 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
30092 Add call_sync_file_range.
748876bf 30093
6e63d5e1
AS
300942011-04-01 Andreas Schwab <schwab@redhat.com>
30095
30096 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
748876bf 30097 bits/timex.h.
6e63d5e1 30098
46998f74
UD
300992011-04-01 Ulrich Drepper <drepper@gmail.com>
30100
4c1423ed
UD
30101 * iconv/iconv.h: Fix typo in comment.
30102 * io/fcntl.h: Likewise.
30103 * libio/stdio.h: Likewise.
30104 * posix/spawn.h: Likewise.
30105 * posix/unistd.h: Likewise.
30106 * stdlib/stdlib.h: Likewise.
30107 * time/time.h: Likewise.
30108 * wcsmbs/wchar.h: Likewise.
30109
158648c0
UD
30110 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
30111 open_by_handle): Add.
30112 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
30113 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
30114 Augment a few comments.
30115 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
30116 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
30117 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
30118 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
30119 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
30120 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
30121 open_by_handle.
30122
46998f74
UD
30123 * io/fcntl.h (AT_EMPTY_PATH): Define.
30124
83fe108b
UD
301252011-03-30 Ulrich Drepper <drepper@gmail.com>
30126
30127 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
30128 * sysdeps/unix/sysv/linux/bits/time.h: New file.
30129 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
30130 to...
30131 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
034c4e15
UD
30132 * Versions.def: Add GLIBC_2.14.
30133 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
30134 Export.
83fe108b 30135
bb242059
UD
301362011-03-22 Ulrich Drepper <drepper@gmail.com>
30137
30138 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
30139 round counter.
30140 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
30141
c97a1282
L
301422011-03-20 H.J. Lu <hongjiu.lu@intel.com>
30143
30144 [BZ #12597]
30145 * string/test-strncmp.c (do_page_test): New function.
30146 (check2): Likewise.
30147 (test_main): Call check2.
30148 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
30149
2a115601
UD
301502011-03-20 Ulrich Drepper <drepper@gmail.com>
30151
30152 [BZ #12587]
30153 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
30154 Handle cache information in CPU leaf 4.
30155 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
30156
8126d904
UD
301572011-03-18 Ulrich Drepper <drepper@gmail.com>
30158
042c49c6 30159 [BZ #12583]
8126d904
UD
30160 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
30161 character representation.
30162 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
30163
ccfe366e
RA
301642011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
30165
30166 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
30167 END(__isnan) to END(__isnanf) to match function entry point/label
30168 EALIGN(__isnanf,...).
30169
c6e13027
JJ
301702011-03-10 Jakub Jelinek <jakub@redhat.com>
30171
30172 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
30173
33f85a3f
UD
301742011-03-10 Ulrich Drepper <drepper@gmail.com>
30175
028478fa
UD
30176 [BZ #12510]
30177 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
30178 copy from the symbol referenced in the relocation to initialize the
30179 used variable.
30180 Patch by Piotr Bury <pbury@goahead.com>.
30181 * elf/Makefile: Add rules to build and tst-unique3.
30182 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
30183 * elf/tst-unique3.cc: New file.
30184 * elf/tst-unique3.h: New file.
30185 * elf/tst-unique3lib.cc: New file.
30186 * elf/tst-unique3lib2.cc: New file.
30187
33f85a3f
UD
30188 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
30189
03592fc7
MF
301902011-03-10 Mike Frysinger <vapier@gentoo.org>
30191
30192 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
30193 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
30194 to _start.
03592fc7 30195
6a5ee102
UD
301962011-03-06 Ulrich Drepper <drepper@gmail.com>
30197
30198 * elf/dl-load.c (_dl_map_object): If we are looking for the first
30199 to-be-loaded object along a path to loader is ld.so.
30200
7e4ba49c
HJ
302012011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
30202 Ulrich Drepper <drepper@gmail.com>
30203
30204 * sysdeps/x86_64/memset.S: After aligning destination, code
30205 branches to different locations depending on the value of
30206 misalignment, when multiarch is enabled. Fix this.
30207
302082011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
30209
30210 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
30211 Set _x86_64_preferred_memory_instruction for AMD processsors.
30212 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30213 Set bit_Prefer_SSE_for_memop for AMD processors.
30214
13a804de
UD
302152011-03-04 Ulrich Drepper <drepper@gmail.com>
30216
30217 * libio/fmemopen.c (fmemopen): Optimize a bit.
30218
9d25c392
AS
302192011-03-03 Andreas Schwab <schwab@redhat.com>
30220
30221 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
30222
a5543c6a
RM
302232011-03-03 Roland McGrath <roland@redhat.com>
30224
30225 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
30226
012d35f7
DM
302272011-02-28 Aurelien Jarno <aurelien@aurel32.net>
30228
7e4ba49c 30229 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
012d35f7
DM
30230 __bzero_ultra1 instead of __memset_ultra1.
30231
4bff6e01
AS
302322011-02-23 Andreas Schwab <schwab@redhat.com>
30233 Ulrich Drepper <drepper@gmail.com>
30234
30235 [BZ #12509]
30236 * include/link.h (struct link_map): Add l_orig_initfini.
30237 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
30238 returning unsuccessfully.
30239 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
30240 close of a file loaded at startup, restore the original l_initfini
30241 list.
30242 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
30243 list, store the pointer.
30244 * elf/Makefile ($(objpfx)noload-mem): New rule.
30245 (noload-ENV): Define.
30246 (tests): Add $(objpfx)noload-mem.
30247 * elf/noload.c: Include <memcheck.h>.
30248 (main): Call mtrace. Close all opened handles.
30249
f2092faf
AS
302502011-02-17 Andreas Schwab <schwab@redhat.com>
30251
30252 [BZ #12454]
30253 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
30254 dependencies are missing.
30255
6c8a2e88
ST
302562011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
30257
f2092faf 30258 Fix __if_freereq crash: Unlike the generic version which uses free,
6c8a2e88
ST
30259 Hurd needs munmap.
30260 * sysdeps/mach/hurd/ifreq.h: New file.
30261
84a42118
PB
302622011-01-27 Petr Baudis <pasky@suse.cz>
30263 Ulrich Drepper <drepper@gmail.com>
30264
071f805e 30265 [BZ 12445]#
84a42118
PB
30266 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
30267 to extend_alloca().
30268 * stdio-common/bug23.c: New file.
30269 * stdio-common/Makefile (tests): Add bug23.
30270
e23fe25b
AS
302712010-09-28 Andreas Schwab <schwab@redhat.com>
30272 Ulrich Drepper <drepper@gmail.com>
30273
30274 [BZ #12489]
30275 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
30276 before performing relro protection. At old place add assertion
30277 to make sure nothing changed.
30278
d3f02e10
NS
302792011-02-17 Nathan Sidwell <nathan@codesourcery.com>
30280 Glauber de Oliveira Costa <glommer@gmail.com>
30281
30282 * elf/elf.h: Add new ARM TLS relocs.
30283
d55fd7a5
RA
302842011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
30285
30286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
30287 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
30288 cast from r3.
30289 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
30290 'tests' variable.
30291 * sysdeps/wordsize-64/tst-writev.c: New file.
30292
2206397e
RA
302932011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
30294
30295 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
30296 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
30297 insns in _dl_start to prevent a TOC reference before relocs are
30298 resolved.
30299
e9433893
UD
303002011-02-15 Ulrich Drepper <drepper@gmail.com>
30301
30302 [BZ #12469]
30303 * Makeconfig: Remove RANLIB definition.
30304 * Makerules: Don't use RANLIB.
30305 * aclocal.m4: Remove ranlib test.
30306 * configure.in: No need to check for ranlib.
30307 * elf/rtld-Rules: Don't use RANLIB.
30308
f75286c6
ST
303092011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
30310
8e31c82d
ST
30311 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
30312 protection macro.
30313 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
30314 inclusion protection macro.
30315
f75286c6
ST
30316 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
30317 SIGRTMIN and SIGRTMAX and print information in that case only when
30318 SIGRTMIN is defined.
30319
c1d0e639
JJ
303202011-02-11 Jakub Jelinek <jakub@redhat.com>
30321
30322 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
30323 arginfo fn returning -1.
30324
30325 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
30326 and thousands string is zero terminated.
30327
edf9294e
AS
303282011-02-03 Andreas Schwab <schwab@redhat.com>
30329
30330 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
30331 sysdeps/unix/sysv/linux/bits/socket.h.
30332
2b7e92df
ST
303332011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
30334
edf9294e
AS
30335 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
30336 (__CPU_COUNT): Remove old macros.
30337 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
30338 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
30339 (__CPU_ALLOC, __CPU_FREE): Add macros.
2b7e92df
ST
30340 (__sched_cpualloc, __sched_cpufree): Add declarations.
30341
a4c7ea7b
UD
303422011-02-05 Ulrich Drepper <drepper@gmail.com>
30343
30344 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
30345 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
30346 * nscd/aicache.c (addhstaiX): Return timeout of added value.
30347 (readdhstai): Return value of addhstaiX call.
30348 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
30349 (addgrbyX): Return value returned by cache_addgr.
30350 (readdgrbyname): Return value returned by addgrbyX.
30351 (readdgrbygid): Likewise.
30352 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
30353 (addpwbyX): Return value returned by cache_addpw.
30354 (readdpwbyname): Return value returned by addhstbyX.
30355 (readdpwbyuid): Likewise.
30356 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
30357 (addservbyX): Return value returned by cache_addserv.
30358 (readdservbyname): Return value returned by addservbyX:
30359 (readdservbyport): Likewise.
30360 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
30361 (addhstbyX): Return value returned by cache_addhst.
30362 (readdhstbyname): Return value returned by addhstbyX.
30363 (readdhstbyaddr): Likewise.
30364 (readdhstbynamev6): Likewise.
30365 (readdhstbyaddrv6): Likewise.
30366 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
30367 (readdinitgroups): Return value returned by addinitgroupsX.
30368 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
30369 (prune_cache): Keep track of timeout value of re-added entries.
30370 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
30371 * nscd/nscd.h: Adjust prototypes of readd* functions.
30372
a0bf67cc
RM
303732011-02-04 Roland McGrath <roland@redhat.com>
30374
30375 * nis/nis_server.c (nis_servstate): Use the right name for 0.
30376 (nis_stats): Likewise.
30377 * nis/nis_modify.c (nis_modify): Likewise.
30378 * nis/nis_remove.c (nis_remove): Likewise.
30379 * nis/nis_add.c (nis_add): Likewise.
30380
30381 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
30382
30383 * posix/fnmatch_loop.c: Add some consts.
30384
30385 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
30386
435b95eb
L
303872011-02-02 H.J. Lu <hongjiu.lu@intel.com>
30388
30389 [BZ #12460]
30390 * config.make.in (config-cflags-novzeroupper): Define.
30391 * configure.in: Substitute libc_cv_cc_novzeroupper.
30392 * elf/Makefile (AVX-CFLAGS): Define.
30393 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
30394 (CFLAGS-tst-auditmod4a.c): Likewise.
30395 (CFLAGS-tst-auditmod4b.c): Likewise.
30396 (CFLAGS-tst-auditmod6b.c): Likewise.
30397 (CFLAGS-tst-auditmod6c.c): Likewise.
30398 (CFLAGS-tst-auditmod7b.c): Likewise.
30399 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
30400
8517b15e
UD
304012011-02-02 Ulrich Drepper <drepper@gmail.com>
30402
30403 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
30404 function to the callback.
30405 Patch partly by Jiri Olsa <jolsa@redhat.com>.
30406
10a656fe
AS
304072011-02-02 Andreas Schwab <schwab@redhat.com>
30408
30409 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
30410 of errno.
30411
968dad0a
UD
304122011-01-19 Ulrich Drepper <drepper@gmail.com>
30413
9f94d2ea 30414 [BZ #11724]
968dad0a
UD
30415 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
30416 of constructors.
30417 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
30418 of destructors.
30419 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
30420
30421 [BZ #11724]
30422 * elf/Makefile: Add rules to build and run new test.
30423 * elf/tst-initorder.c: New file.
30424 * elf/tst-initorder.exp: New file.
30425 * elf/tst-initordera1.c: New file.
30426 * elf/tst-initordera2.c: New file.
30427 * elf/tst-initordera3.c: New file.
30428 * elf/tst-initordera4.c: New file.
30429 * elf/tst-initorderb1.c: New file.
30430 * elf/tst-initorderb2.c: New file.
30431 * elf/tst-order-a1.c: New file.
30432 * elf/tst-order-a2.c: New file.
30433 * elf/tst-order-a3.c: New file.
30434 * elf/tst-order-a4.c: New file.
30435 * elf/tst-order-b1.c: New file.
30436 * elf/tst-order-b2.c: New file.
30437 * elf/tst-order-main.c: New file.
30438 New test case by George Gensure <werkt0@gmail.com>.
30439
86e92359
UD
304402010-10-01 Andreas Schwab <schwab@redhat.com>
30441
30442 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
30443 decoding ACE if AI_CANONIDN.
30444
5d5732b0
UD
304452011-01-18 Ulrich Drepper <drepper@gmail.com>
30446
30447 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
30448
a77e8cbc
UD
304492011-01-17 Ulrich Drepper <drepper@gmail.com>
30450
6392473f
UD
30451 * version.h (RELEASE): Bump for 2.13 release.
30452 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
30453
620a0529
UD
30454 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
30455
18ba70a5
UD
30456 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
30457 MADV_NOHUGEPAGE.
32465c3e
UD
30458 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
30459 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
30460 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30461 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
30462 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30463 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30464
c0dafcf1
UD
30465 * posix/getconf.c: Update copyright year.
30466 * catgets/gencat.c: Likewise.
30467 * csu/version.c: Likewise.
30468 * debug/catchsegv.sh: Likewise.
30469 * debug/xtrace.sh: Likewise.
30470 * elf/ldconfig.c: Likewise.
30471 * elf/ldd.bash.in: Likewise.
30472 * elf/sprof.c (print_version): Likewise.
30473 * iconv/iconv_prog.c: Likewise.
30474 * iconv/iconvconfig.c: Likewise.
30475 * locale/programs/locale.c: Likewise.
30476 * locale/programs/localedef.c: Likewise.
30477 * malloc/memusage.sh: Likewise.
30478 * malloc/mtrace.pl: Likewise.
30479 * nscd/nscd.c (print_version): Likewise.
30480 * nss/getent.c: Likewise.
30481
a77e8cbc
UD
30482 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
30483 PF_CAIF, and PF_ALG.
30484 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30485
77e8bddf
AS
304862011-01-16 Andreas Schwab <schwab@linux-m68k.org>
30487
1f20b93a
AS
30488 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
30489 (modules-names): Use them.
30490 (ifunc-test-modules, ifunc-pie-tests): Define.
30491 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
30492 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
30493 (test-extras): Likewise.
30494 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
30495 $(compile-command.c).
30496 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
30497 (all-built-dso): Define.
30498 (check-textrel.out, check-execstack.out): Depend on it.
30499
77e8bddf
AS
30500 * configure.in: Don't override --enable-multi-arch.
30501
bc425b33
UD
305022011-01-15 Ulrich Drepper <drepper@gmail.com>
30503
30504 [BZ #6812]
30505 * nscd/hstcache.c (tryagain): Define.
30506 (cache_addhst): Return tryagain not notfound for temporary errors.
30507 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
30508 failed.
30509
794c3ad3
UD
305102011-01-14 Ulrich Drepper <drepper@gmail.com>
30511
70181fdd
UD
30512 [BZ #10563]
30513 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
30514 to make the syscall.
30515 * sysdeps/unix/sysv/linux/setgroups.c: New file.
30516
794c3ad3
UD
30517 [BZ #12378]
30518 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
30519 and fall back to matching as normal character if the string ends before
30520 the matching ']' is found. This is what POSIX requires.
30521 * posix/testfnm.c: Adjust test result.
30522 * posix/globtest.sh: Adjust test result. Add new test.
30523 * posix/tst-fnmatch.input: Likewise.
30524 * posix/tst-fnmatch2.c: Add new test.
30525
68dc9497
AS
305262010-12-28 Andreas Schwab <schwab@linux-m68k.org>
30527
30528 * elf/Makefile (check-execstack): Revert last change. Depend on
30529 check-execstack.h.
30530 (check-execstack.h): New target.
30531 (generated): Add check-execstack.h.
30532 * elf/check-execstack.c: Include "check-execstack.h".
30533 (main): Revert last change.
30534 (handle_file): Return zero if GNU_STACK is absent and
30535 DEFAULT_STACK_PERMS doesn't include PF_X.
30536
451f001b
UD
305372011-01-13 Ulrich Drepper <drepper@gmail.com>
30538
cfa28e56
UD
30539 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
30540 in child fails because the descriptor is already closed.
8cf8ce17
UD
30541 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
30542 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
30543 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
cfa28e56 30544
1086d70d
UD
30545 [BZ #12397]
30546 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
30547 syscall.
30548
451f001b
UD
30549 [BZ #10484]
30550 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
30551 temporary buffer used to handle multi lookups locally.
a85b5cb4 30552 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
451f001b 30553
08769175
UD
305542011-01-12 Ulrich Drepper <drepper@gmail.com>
30555
30556 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
30557 loader is ld.so.
30558
5e49c52e
UD
305592011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
30560
30561 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
30562 alignment for SSE2.
30563
60522a5f
UD
305642011-01-12 Ulrich Drepper <drepper@gmail.com>
30565
30566 [BZ #12394]
30567 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
30568 characters. When rounding increased number of integer digits recompute
30569 number of groups.
30570 * stdio-common/tst-grouping.c: New file.
30571 * stdio-common/Makefile: Add rules to build and run tst-grouping.
30572
f257bbd7
UD
305732011-01-09 Ulrich Drepper <drepper@gmail.com>
30574
30575 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
30576 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
30577
30578 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
30579 void.
30580 * bits/select.h: Likewise.
30581
fa9c15cb
UD
305822011-01-08 Ulrich Drepper <drepper@gmail.com>
30583
30584 * po/ja.po: Update from translation team.
30585
16c2895f
DM
305862011-01-04 David S. Miller <davem@sunset.davemloft.net>
30587
30588 [BZ #11155]
30589 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
30590 implementation just like for lxstat, fxstatat, et al.
30591
2543fef2
JM
305922010-12-27 Jim Meyering <meyering@redhat.com>
30593
30594 [BZ #12348]
30595 * posix/regexec.c (build_trtable): Return failure indication upon
30596 calloc failure. Otherwise, re_search_internal could infloop on OOM.
30597
98727dbe
UD
305982010-12-25 Ulrich Drepper <drepper@gmail.com>
30599
5bd6dc5c
UD
30600 [BZ #12201]
30601 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
30602 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
30603 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
30604 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
30605
97983464
UD
30606 [BZ #12207]
30607 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
30608
98727dbe
UD
30609 [BZ #12204]
30610 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
30611 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
30612
4a531bb0
L
306132010-12-15 H.J. Lu <hongjiu.lu@intel.com>
30614
30615 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
30616 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
30617 script has SORT_BY_INIT_PRIORITY.
30618 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
30619 NO_CTORS_DTORS_SECTIONS is defined.
30620 * elf/soinit.c: Likewise.
30621 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
30622 NO_CTORS_DTORS_SECTIONS is defined.
30623 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
30624 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
30625 * sysdeps/sh/init-first.c: Likewise.
30626 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
30627
07eb4b71
UD
306282010-12-24 Ulrich Drepper <drepper@gmail.com>
30629
30630 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
30631 always use the slow path.
30632
30950a5f
RA
306332010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
30634
30635 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
30636 similar rule which adds the sysdep directories to the header search in
30637 order to pick up the correct platform stackinfo.h.
30638 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
30639 perform test if it is, otherwise return successfully without testing.
30640 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
30641 DEFAULT_STACK_PERMS define in stackinfo.h.
30642 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
30643 defined in stackinfo.h.
30644 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
30645 DEFAULT_STACK_PERMS defined in stackinfo.h.
30646 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
30647 * sysdeps/ia64/stackinfo.h: Likewise.
30648 * sysdeps/s390/stackinfo.h: Likewise.
30649 * sysdeps/sh/stackinfo.h: Likewise.
30650 * sysdeps/sparc/stackinfo.h: Likewise.
30651 * sysdeps/x86_64/stackinfo.h: Likewise.
30652 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
30653 PF_X for powerpc64. Retain PF_X for powerpc32.
30654
db753e2c
UD
306552010-12-19 Ulrich Drepper <drepper@gmail.com>
30656
14b697f7
UD
30657 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
30658 accurately.
db753e2c
UD
30659 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
30660 GETDENTS_64BIT_ALIGNED.
30661
28300719
UD
306622010-12-14 Ulrich Drepper <dreper@gmail.com>
30663
14b697f7 30664 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
28300719 30665
4f197237
AS
306662010-12-10 Andreas Schwab <schwab@redhat.com>
30667
dbb0472f
AS
30668 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
30669 _GNU_SOURCE.
30670
4f197237
AS
30671 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
30672 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
30673 Remove __restrict.
30674 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
30675 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
30676
fb88ac72
UD
306772010-12-09 Ulrich Drepper <drepper@gmail.com>
30678
30679 [BZ #11655]
30680 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
30681 are initialized.
30682
42acbb92
JJ
306832010-12-09 Jakub Jelinek <jakub@redhat.com>
30684
30685 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
30686
c038d98d
UD
306872010-12-03 Ulrich Drepper <drepper@gmail.com>
30688
30689 * po/it.po: Update from translation team.
30690
3a4a2499
L
306912010-12-01 H.J. Lu <hongjiu.lu@intel.com>
30692
30693 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
30694 unused codes.
30695
1e24cf6e
UD
306962010-11-30 Ulrich Drepper <drepper@gmail.com>
30697
30698 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
30699
a7690819
AS
307002010-11-24 Andreas Schwab <schwab@redhat.com>
30701
30702 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
30703 specially.
30704 (gaih_getanswer_slice): Likewise.
30705
3bf8d1b1
JJ
307062010-10-20 Jakub Jelinek <jakub@redhat.com>
30707
30708 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
30709
6db52fbb
PB
307102010-05-31 Petr Baudis <pasky@suse.cz>
30711
30712 [BZ #11149]
30713 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
30714 silently even in the chroot mode.
30715
eaca7569
UD
307162010-11-22 Ulrich Drepper <drepper@gmail.com>
30717
30718 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
30719 last patch a bit. Pretty printing
30720
3056dcdb
UD
307212010-05-31 Petr Baudis <pasky@suse.cz>
30722
30723 [BZ #10085]
30724 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
30725 initialization of skip_initgroups_dyn.
30726
cf7c9078
UD
307272010-11-19 Ulrich Drepper <drepper@gmail.com>
30728
30729 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
30730 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
30731
a1fb5e3e
UD
307322010-11-16 Ulrich Drepper <drepper@gmail.com>
30733
30734 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
30735
3540d66b
AS
307362010-11-11 Andreas Schwab <schwab@redhat.com>
30737
30738 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
30739 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
30740 (tst-fnmatch-ENV): Set MALLOC_TRACE.
30741 ($(objpfx)tst-fnmatch-mem): New rule.
30742 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
30743 * posix/tst-fnmatch.c (main): Call mtrace.
30744
13b69574
L
307452010-11-11 H.J. Lu <hongjiu.lu@intel.com>
30746
30747 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30748 Support Intel processor model 6 and model 0x2c.
30749
da93d214
LM
307502010-11-10 Luis Machado <luisgpm@br.ibm.com>
30751
30752 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
30753 signed comparison.
30754
8ca52c6e
L
307552010-11-09 H.J. Lu <hongjiu.lu@intel.com>
30756
30757 [BZ #12205]
30758 * string/test-strncasecmp.c (check_result): New function.
30759 (do_one_test): Use it.
30760 (check1): New function.
30761 (test_main): Use it.
30762 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
30763 Support strcasecmp and strncasecmp.
30764
69da074d
UD
307652010-11-08 Ulrich Drepper <drepper@gmail.com>
30766
30767 [BZ #12194]
30768 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
30769 * sysdeps/x86_64/bits/byteswap.h: Likewise.
30770
ff02d528
L
307712010-11-07 H.J. Lu <hongjiu.lu@intel.com>
30772
30773 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
30774 IFUNC support.
30775 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30776 memset-x86-64.
30777 * sysdeps/x86_64/multiarch/bzero.S: New file.
30778 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
30779 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
30780 * sysdeps/x86_64/multiarch/memset.S: New file.
30781 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
30782 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30783 Set bit_Prefer_SSE_for_memop for Intel processors.
30784 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
30785 Define.
30786 (index_Prefer_SSE_for_memop): Define.
30787 (HAS_PREFER_SSE_FOR_MEMOP): Define.
30788
344d0b54
LM
307892010-11-04 Luis Machado <luisgpm@br.ibm.com>
30790
30791 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
30792 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
30793
c0dde15b
UD
307942010-11-03 H.J. Lu <hongjiu.lu@intel.com>
30795
30796 [BZ #12191]
30797 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
30798 (__x86_64_raw_data_cache_size_half): Likewise.
30799 (__x86_64_raw_shared_cache_size): Likewise.
30800 (__x86_64_raw_shared_cache_size_half): Likewise.
30801
30802 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
30803 (__x86_64_raw_data_cache_size_half): Likewise.
30804 (__x86_64_raw_shared_cache_size): Likewise.
30805 (__x86_64_raw_shared_cache_size_half): Likewise.
30806 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
30807 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
30808 and __x86_64_raw_shared_cache_size_half. Round
30809 __x86_64_data_cache_size_half, __x86_64_data_cache_size
30810 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
30811 to multiple of 256 bytes.
30812
0e516e0e
MS
308132010-11-03 Ulrich Drepper <drepper@gmail.com>
30814
30815 [BZ #12167]
30816 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
30817 of inacessible symlinks. Verify result of symlink before returning it.
30818 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
30819 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
30820
0e012e87
ER
308212010-10-28 Erich Ritz <erichritz@gmail.com>
30822
30823 * math/math.h (isinf): Fix typo in comment.
30824
de0ff7bc
UD
308252010-11-01 Ulrich Drepper <drepper@gmail.com>
30826
30827 * po/da.po: Update from translation team.
30828
fa41c84d
UD
308292010-10-26 Ulrich Drepper <drepper@gmail.com>
30830
30831 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
30832 is added to the list.
30833
f0967738
AK
308342010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30835 Ulrich Drepper <drepper@gmail.com>
30836
30837 * elf/dl-object.c (_dl_new_object): Don't append the new object to
30838 the global list here. Move code to...
30839 (_dl_add_to_namespace_list): ...here. New function.
30840 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
30841 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
30842 * elf/dl-load.c (lose): Don't remove the element from the list.
30843 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
30844 (_dl_map_object): Likewise.
30845
308462010-10-25 Ulrich Drepper <drepper@gmail.com>
dbf3a069
RL
30847
30848 [BZ #12159]
30849 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
30850 into all bytes of SSE register.
30851 Patch by Richard Li <richardpku@gmail.com>.
30852
f0967738 308532010-10-24 Ulrich Drepper <drepper@gmail.com>
fdc0f374
UD
30854
30855 [BZ #12140]
30856 * malloc/malloc.c (_int_free): Fill correct number of bytes when
30857 perturbing.
30858
d0b9e94f
MB
308592010-10-20 Michael B. Brutman <brutman@us.ibm.com>
30860
30861 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
30862 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
30863 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
30864 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
30865 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
30866 submachine.
30867 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
30868
8e9f92e9
AS
308692010-10-22 Andreas Schwab <schwab@redhat.com>
30870
30871 * include/dlfcn.h (__RTLD_SECURE): Define.
30872 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
30873 mode & __RTLD_SECURE instead.
30874 (open_path): Rename preloaded parameter to secure.
30875 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
30876 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
30877 * elf/dl-deps.c (openaux): Likewise.
30878 * elf/rtld.c (struct map_args): Remove is_preloaded.
30879 (map_doit): Don't use it.
30880 (dl_main): Likewise.
30881 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
30882 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
30883
bc96fbda
AS
308842010-09-09 Andreas Schwab <schwab@redhat.com>
30885
30886 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
30887 (sysd-rules-targets): Remove duplicates.
30888 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
30889 rtld-%.$o dependency.
30890
22cd1c9b
AS
308912010-10-18 Andreas Schwab <schwab@redhat.com>
30892
30893 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
30894 _dl_map_object do it.
30895
18edac48
UD
308962010-10-19 Ulrich Drepper <drepper@gmail.com>
30897
30898 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
30899 fast fma builtins, define the macros in the C99 standard.
30900 (FP_FAST_FMAF): Likewise.
30901 (FP_FAST_FMAL): Likewise.
30902 * sysdeps/x86_64/bits/mathdef.h: Likewise.
30903
30904 * bits/mathdef.h: Update copyright year.
30905 * sysdeps/powerpc/bits/mathdef.h: Likewise.
30906
d2050124
MM
309072010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
30908
30909 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
30910 builtins, define the macros in the C99 standard.
30911 (FP_FAST_FMAF): Likewise.
30912 (FP_FAST_FMAL): Likewise.
30913 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
30914 multiply/add.
30915 (FP_FAST_FMAF): Likewise.
30916
475facd1
JJ
309172010-10-15 Jakub Jelinek <jakub@redhat.com>
30918
30919 [BZ #3268]
30920 * math/libm-test.inc (fma_test): Some new testcases.
30921 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
30922 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
30923 y and infinite z. Do multiplication by C already in long double.
30924 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
30925 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
30926 y and infinite z. Do bitwise or of inexact bit into u.d.
30927 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
30928 * sysdeps/i386/fpu/s_fmaf.S: Removed.
30929 * sysdeps/i386/fpu/s_fma.S: Removed.
30930 * sysdeps/i386/fpu/s_fmal.S: Removed.
30931
7c08a05c
JJ
309322010-10-16 Jakub Jelinek <jakub@redhat.com>
30933
30934 [BZ #3268]
30935 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
30936 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
30937 computation is not scheduled after fetestexcept. Fix value
30938 of minimum denormal long double.
30939
f3f7372d
JJ
309402010-10-14 Jakub Jelinek <jakub@redhat.com>
30941
30942 [BZ #3268]
30943 * math/libm-test.inc (fma_test): Add some more tests.
30944 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
30945 correctly.
30946
14d43591
AS
309472010-10-15 Andreas Schwab <schwab@redhat.com>
30948
30949 * scripts/data/localplt-s390-linux-gnu.data: New file.
30950 * scripts/data/localplt-s390x-linux-gnu.data: New file.
30951
5e908464
JJ
309522010-10-13 Jakub Jelinek <jakub@redhat.com>
30953
30954 [BZ #3268]
30955 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
30956 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
30957 instead of dbl-64.
30958 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
30959 inlines.
30960 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
30961 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
30962 if one of x and y is very large and the other is subnormal.
30963 * sysdeps/s390/fpu/s_fmaf.c: New file.
30964 * sysdeps/s390/fpu/s_fma.c: New file.
30965 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
30966 * sysdeps/powerpc/fpu/s_fma.S: New file.
30967 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
30968 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
30969 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
30970
309712010-10-12 Jakub Jelinek <jakub@redhat.com>
30972
30973 [BZ #3268]
30974 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
30975 fma tests.
30976 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
30977 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
30978 * sysdeps/i386/i686/multiarch/s_fma.c: Include
30979 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
30980 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
30981 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
30982 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
30983
b833d51f
UD
309842010-10-12 Ulrich Drepper <drepper@redhat.com>
30985
30986 [BZ #12078]
30987 * posix/regcomp.c (parse_branch): One more memory leak plugged.
30988 * posix/bug-regex31.input: Add test case.
30989
1751705d
UD
309902010-10-11 Ulrich Drepper <drepper@gmail.com>
30991
e9b9cbf5
UD
30992 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
30993 * posix/bug-regex31.input: New file.
30994
30995 [BZ #12078]
30996 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
30997 (parse_sub_exp): Fix last change, use postorder.
30998
ef06edbe
UD
30999 * posix/bug-regex31.c: New file.
31000 * posix/Makefile: Add rules to build and run bug-regex31.
31001
a129c80d
UD
31002 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
31003
31004 [BZ #12078]
31005 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
31006
b76b818e
UD
31007 [BZ #12108]
31008 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
31009 to have entries in sys_siglist.
31010
1751705d
UD
31011 [BZ #12093]
31012 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
31013 be NULL.
31014
9ff8d36f
JJ
310152010-10-07 Jakub Jelinek <jakub@redhat.com>
31016
31017 [BZ #3268]
31018 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
31019 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
31020 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
31021 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
31022 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
31023 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
31024 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
31025 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
31026 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
31027 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
31028 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
31029 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
31030 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
31031 * math/ftestexcept.c (fetestexcept): Likewise.
31032 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
31033 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
31034 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
31035 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
31036 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
31037 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
31038 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
31039
af325969
UD
310402010-10-11 Ulrich Drepper <drepper@gmail.com>
31041
c579b202 31042 [BZ #12107]
af325969
UD
31043 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
31044 newline.
31045
67a67b95
UD
310462010-10-06 Ulrich Drepper <drepper@gmail.com>
31047
31048 * string/bug-strstr1.c: New file.
31049 * string/Makefile: Add rules to build and run bug-strstr1.
31050
5fb308bc
EB
310512010-10-05 Eric Blake <eblake@redhat.com>
31052
31053 [BZ #12092]
31054 * string/str-two-way.h (two_way_long_needle): Always clear memory
31055 when skipping input due to the shift table.
31056
45db99c7
UD
310572010-10-03 Ulrich Drepper <drepper@gmail.com>
31058
3b111893
UD
31059 [BZ #12005]
31060 * malloc/mcheck.c: Handle large requests.
31061
45db99c7
UD
31062 [BZ #12077]
31063 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
31064 for strncmp and strncasecmp.
31065 * string/stratcliff.c: Add tests for strcmp and strncmp.
31066 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
31067
cf7a1eb8
NI
310682010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
31069
31070 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
31071 __set_fpscr.
31072
6484ba5e
AJ
310732010-09-30 Andreas Jaeger <aj@suse.de>
31074
31075 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
31076 (CGROUP_SUPER_MAGIC): Define.
31077 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31078 Handle btrfs and cgroup file systems.
31079 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
31080 Likewise.
31081
91c42559
LM
310822010-09-27 Luis Machado <luisgpm@br.ibm.com>
31083
31084 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
31085 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
31086
87a97932
AK
310872010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
31088
31089 [BZ #12067]
31090 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
31091 trying to locate the ELF header.
31092
c21cc9bc
AS
310932010-09-27 Andreas Schwab <schwab@redhat.com>
31094
31095 [BZ #11611]
31096 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
31097 Mask out sign-bit copies when constructing f_fsid.
31098
315970f6
PB
310992010-09-24 Petr Baudis <pasky@suse.cz>
31100
31101 * debug/stack_chk_fail_local.c: Add missing licence exception.
31102 * debug/warning-nop.c: Likewise.
31103
1ac7a2c7
JM
311042010-09-15 Joseph Myers <joseph@codesourcery.com>
31105
31106 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
31107 implementing getdents64 using getdents syscall, set d_type if
31108 __ASSUME_GETDENTS32_D_TYPE.
31109
56801c50
AS
311102010-09-16 Andreas Schwab <schwab@redhat.com>
31111
31112 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
31113 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
31114
dda51327
UD
311152010-09-21 Ulrich Drepper <drepper@redhat.com>
31116
31117 [BZ #12037]
31118 * posix/unistd.h: Undo change of feature selection for ftruncate from
31119 2010-01-11.
31120
8ffcee4a
UD
311212010-09-20 Ulrich Drepper <drepper@redhat.com>
31122
a545ecd9 31123 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
8ffcee4a
UD
31124 detection.
31125
e24f0a8b
AS
311262010-09-20 Andreas Schwab <schwab@redhat.com>
31127
31128 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
31129 fanotify_mark.
31130 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31131
7291c56f
AS
311322010-09-14 Andreas Schwab <schwab@redhat.com>
31133
31134 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
31135 variables after CHECK_SP call.
31136 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
31137
bc5fb037
AS
311382010-09-13 Andreas Schwab <schwab@redhat.com>
31139 Ulrich Drepper <drepper@redhat.com>
31140
31141 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
31142 re-relocationg ld.so.
31143 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
31144 _dl_init_paths call.
31145 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
31146 here anymore.
31147
e66e7419
UD
311482010-09-14 Ulrich Drepper <drepper@redhat.com>
31149
31150 * resolv/res_init.c (__res_vinit): Count the default server we added.
31151
c044aa75
CLT
311522010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
31153 Ulrich Drepper <drepper@redhat.com>
31154
31155 [BZ #11968]
31156 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
31157 (____longjmp_chk): Use %ebx for saving value across system call.
31158 Add unwind info.
31159
32cf4069
AS
311602010-09-06 Andreas Schwab <schwab@redhat.com>
31161
31162 * manual/Makefile: Don't mix pattern rules with normal rules.
31163
817328ee
AS
311642010-09-05 Andreas Schwab <schwab@linux-m68k.org>
31165
31166 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
31167 operation.
31168 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
31169 * libio/iofopncook.c (_IO_cookie_init): Likewise.
31170 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
31171 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
31172 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
31173 Likewise.
31174
29fddf61
UD
311752010-09-04 Ulrich Drepper <drepper@redhat.com>
31176
31177 [BZ #11979]
31178 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
31179 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
31180
0959ffc9
UD
311812010-09-02 Ulrich Drepper <drepper@redhat.com>
31182
31183 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
31184 * sysdeps/x86_64/addmul_1.S: Likewise.
31185 * sysdeps/x86_64/lshift.S: Likewise.
31186 * sysdeps/x86_64/mul_1.S: Likewise.
31187 * sysdeps/x86_64/rshift.S: Likewise.
31188 * sysdeps/x86_64/sub_n.S: Likewise.
31189 * sysdeps/x86_64/submul_1.S: Likewise.
31190
ece29840
ST
311912010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
31192
0959ffc9
UD
31193 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
31194 Define __sched_param instead of SCHED_* and sched_param when
ece29840 31195 <bits/sched.h> is included with __need_schedparam defined.
0959ffc9 31196 * bits/sched.h [__need_schedparam]
ece29840 31197 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
0959ffc9
UD
31198 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
31199 (__defined_schedparam): Define to 1.
ece29840
ST
31200 (__sched_param): New structure, identical to sched_param.
31201 (__need_schedparam): Undefine.
31202
e53a31fe
MF
312032010-08-31 Mike Frysinger <vapier@gentoo.org>
31204
fdc0c10d
MF
31205 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
31206 (epoll_create1): Declare.
31207
e53a31fe
MF
31208 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
31209
a726d796
AS
312102010-08-31 Andreas Schwab <schwab@redhat.com>
31211
31212 [BZ #7066]
31213 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
31214 shifting retval into place.
31215
2f3e3dc7
UD
312162010-09-01 Ulrich Drepper <drepper@redhat.com>
31217
f2933da9
UD
31218 * nis/rpcsvc/nis.h: Update copyright notice.
31219 * nis/rpcsvc/nis.x: Likewise.
31220 * nis/rpcsvc/nis_callback.h: Likewise.
31221 * nis/rpcsvc/nis_callback.x: Likewise.
31222 * nis/rpcsvc/nis_object.x: Likewise.
31223 * nis/rpcsvc/nis_tags.h: Likewise.
31224 * nis/rpcsvc/yp.h: Likewise.
31225 * nis/rpcsvc/yp.x: Likewise.
31226 * nis/rpcsvc/ypupd.h: Likewise.
31227 * nis/yp_xdr.c: Likewise.
31228 * nis/ypupdate_xdr.c: Likewise.
31229
2f3e3dc7
UD
31230 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
31231 mainly the body of pmap_getport. Add parameters to specify timeouts.
31232 (pmap_getport): Use __libc_rpc_getport.
31233 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
31234 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
31235 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
31236
f3dcc2f9
AS
312372010-08-31 Andreas Schwab <schwab@linux-m68k.org>
31238
31239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
31240 fanotify_mark.
31241
6d34eb5b
RM
312422010-08-27 Roland McGrath <roland@redhat.com>
31243
31244 * sysdeps/i386/i686/multiarch/Makefile
31245 (CFLAGS-varshift.c): New variable.
31246
9ea3de11
UD
312472010-08-27 Ulrich Drepper <drepper@redhat.com>
31248
c96d23fc
UD
31249 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
31250 * sysdeps/i386/i686/multiarch/varshift.c: New file.
31251
9ea3de11
UD
31252 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
31253
31254 * sysdeps/x86_64/strlen.S: Minimal code improvement.
31255
623aac7f
L
312562010-08-26 H.J. Lu <hongjiu.lu@intel.com>
31257
31258 * sysdeps/x86_64/strlen.S: Unroll the loop.
31259 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31260 strlen-sse2 strlen-sse2-bsf.
31261 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
31262 __strlen_no_bsf if bit_Slow_BSF is set.
31263 (__strlen_sse42): Removed.
31264 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
31265 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
31266
8b2b7715
RM
312672010-08-25 Roland McGrath <roland@redhat.com>
31268
31269 * sysdeps/x86_64/multiarch/varshift.S: File removed.
31270 * sysdeps/x86_64/multiarch/varshift.c: New file.
31271 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
31272 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
31273 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
31274 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
31275
e73015f2
L
312762010-08-25 H.J. Lu <hongjiu.lu@intel.com>
31277
31278 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31279 strlen-sse2 strlen-sse2-bsf.
31280 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
31281 __strlen_sse2_bsf if bit_Slow_BSF is unset.
31282 (__strlen_sse2): Removed.
31283 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
31284 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
31285 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
31286 bit_Slow_BSF for Atom.
31287 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
31288 (index_Slow_BSF): Define.
31289 (HAS_SLOW_BSF): Define.
31290
df24a73e
UD
312912010-08-25 Ulrich Drepper <drepper@redhat.com>
31292
31293 [BZ #10851]
31294 * resolv/res_init.c (__res_vinit): When no server address at all
31295 is given default to loopback.
31296
f2ac4868
RM
312972010-08-24 Roland McGrath <roland@redhat.com>
31298
09055553
RM
31299 * configure.in: Remove config-name.h generation.
31300 * configure: Regenerated.
31301 * config-name.in: File removed.
31302 * scripts/config-uname.sh: New file.
31303 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
31304 ($(objdir)config-name.h): New target.
31305
f2ac4868
RM
31306 * sunrpc/rpc_parse.h: Avoid nested comment.
31307
73f27d5e
RH
313082010-08-24 Richard Henderson <rth@redhat.com>
31309 Ulrich Drepper <drepper@redhat.com>
31310 H.J. Lu <hongjiu.lu@intel.com>
31311
31312 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
31313 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
31314 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
31315 Replace _mm_srli_si128 with __m128i_shift_right. Replace
31316 _mm_alignr_epi8 with _mm_loadu_si128.
31317 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
31318 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
31319 (__m128i_shift_right): Removed.
31320 * sysdeps/i386/i686/multiarch/varshift.h: New file.
31321 * sysdeps/i386/i686/multiarch/varshift.S: New file.
31322 * sysdeps/x86_64/multiarch/varshift.h: New file.
31323 * sysdeps/x86_64/multiarch/varshift.S: New file.
31324
84b9230c
MF
313252010-08-21 Mike Frysinger <vapier@gentoo.org>
31326
31327 * configure.in: Move assembler checks to before sysdep dir checking.
31328
9bbd0ddc
PB
313292010-08-20 Petr Baudis <pasky@suse.cz>
31330
31331 * LICENSES: Sync the sunrpc license.
31332
9da4bb31
UD
313332010-08-19 Ulrich Drepper <drepper@redhat.com>
31334
a7ab6ec8
UD
31335 * sunrpc/auth_des.c: Update copyright notice once again.
31336 * sunrpc/auth_none.c: Likewise.
31337 * sunrpc/auth_unix.c: Likewise.
31338 * sunrpc/authdes_prot.c: Likewise.
31339 * sunrpc/authuxprot.c: Likewise.
31340 * sunrpc/bindrsvprt.c: Likewise.
31341 * sunrpc/clnt_gen.c: Likewise.
31342 * sunrpc/clnt_perr.c: Likewise.
31343 * sunrpc/clnt_raw.c: Likewise.
31344 * sunrpc/clnt_simp.c: Likewise.
31345 * sunrpc/clnt_tcp.c: Likewise.
31346 * sunrpc/clnt_udp.c: Likewise.
31347 * sunrpc/clnt_unix.c: Likewise.
31348 * sunrpc/des_crypt.c: Likewise.
31349 * sunrpc/des_soft.c: Likewise.
31350 * sunrpc/get_myaddr.c: Likewise.
31351 * sunrpc/getrpcport.c: Likewise.
31352 * sunrpc/key_call.c: Likewise.
31353 * sunrpc/key_prot.c: Likewise.
31354 * sunrpc/openchild.c: Likewise.
31355 * sunrpc/pm_getmaps.c: Likewise.
31356 * sunrpc/pm_getport.c: Likewise.
31357 * sunrpc/pmap_clnt.c: Likewise.
31358 * sunrpc/pmap_prot.c: Likewise.
31359 * sunrpc/pmap_prot2.c: Likewise.
31360 * sunrpc/pmap_rmt.c: Likewise.
31361 * sunrpc/rpc/auth.h: Likewise.
31362 * sunrpc/rpc/auth_unix.h: Likewise.
31363 * sunrpc/rpc/clnt.h: Likewise.
31364 * sunrpc/rpc/des_crypt.h: Likewise.
31365 * sunrpc/rpc/key_prot.h: Likewise.
31366 * sunrpc/rpc/netdb.h: Likewise.
31367 * sunrpc/rpc/pmap_clnt.h: Likewise.
31368 * sunrpc/rpc/pmap_prot.h: Likewise.
31369 * sunrpc/rpc/pmap_rmt.h: Likewise.
31370 * sunrpc/rpc/rpc.h: Likewise.
31371 * sunrpc/rpc/rpc_des.h: Likewise.
31372 * sunrpc/rpc/rpc_msg.h: Likewise.
31373 * sunrpc/rpc/svc.h: Likewise.
31374 * sunrpc/rpc/svc_auth.h: Likewise.
31375 * sunrpc/rpc/types.h: Likewise.
31376 * sunrpc/rpc/xdr.h: Likewise.
31377 * sunrpc/rpc_clntout.c: Likewise.
31378 * sunrpc/rpc_cmsg.c: Likewise.
31379 * sunrpc/rpc_common.c: Likewise.
31380 * sunrpc/rpc_cout.c: Likewise.
31381 * sunrpc/rpc_dtable.c: Likewise.
31382 * sunrpc/rpc_hout.c: Likewise.
31383 * sunrpc/rpc_main.c: Likewise.
31384 * sunrpc/rpc_parse.c: Likewise.
31385 * sunrpc/rpc_parse.h: Likewise.
31386 * sunrpc/rpc_prot.c: Likewise.
31387 * sunrpc/rpc_sample.c: Likewise.
31388 * sunrpc/rpc_scan.c: Likewise.
31389 * sunrpc/rpc_scan.h: Likewise.
31390 * sunrpc/rpc_svcout.c: Likewise.
31391 * sunrpc/rpc_tblout.c: Likewise.
31392 * sunrpc/rpc_util.c: Likewise.
31393 * sunrpc/rpc_util.h: Likewise.
31394 * sunrpc/rpcinfo.c: Likewise.
31395 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
31396 * sunrpc/rpcsvc/key_prot.x: Likewise.
31397 * sunrpc/rpcsvc/klm_prot.x: Likewise.
31398 * sunrpc/rpcsvc/mount.x: Likewise.
31399 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
31400 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
31401 * sunrpc/rpcsvc/rex.x: Likewise.
31402 * sunrpc/rpcsvc/rstat.x: Likewise.
31403 * sunrpc/rpcsvc/rusers.x: Likewise.
31404 * sunrpc/rpcsvc/sm_inter.x: Likewise.
31405 * sunrpc/rpcsvc/spray.x: Likewise.
31406 * sunrpc/rpcsvc/yppasswd.x: Likewise.
31407 * sunrpc/rtime.c: Likewise.
31408 * sunrpc/svc.c: Likewise.
31409 * sunrpc/svc_auth.c: Likewise.
31410 * sunrpc/svc_authux.c: Likewise.
31411 * sunrpc/svc_raw.c: Likewise.
31412 * sunrpc/svc_run.c: Likewise.
31413 * sunrpc/svc_simple.c: Likewise.
31414 * sunrpc/svc_tcp.c: Likewise.
31415 * sunrpc/svc_udp.c: Likewise.
31416 * sunrpc/svc_unix.c: Likewise.
31417 * sunrpc/svcauth_des.c: Likewise.
31418 * sunrpc/xcrypt.c: Likewise.
31419 * sunrpc/xdr.c: Likewise.
31420 * sunrpc/xdr_array.c: Likewise.
31421 * sunrpc/xdr_float.c: Likewise.
31422 * sunrpc/xdr_mem.c: Likewise.
31423 * sunrpc/xdr_rec.c: Likewise.
31424 * sunrpc/xdr_ref.c: Likewise.
31425 * sunrpc/xdr_sizeof.c: Likewise.
31426 * sunrpc/xdr_stdio.c: Likewise.
31427
9da4bb31
UD
31428 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
31429 handling.
31430
bdaa77bc
AS
314312010-08-19 Andreas Schwab <schwab@redhat.com>
31432
31433 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
31434
fe2f79db
LM
314352010-08-19 Luis Machado <luisgpm@br.ibm.com>
31436
31437 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
31438 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
31439 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
31440 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
31441 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
31442 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
31443 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
31444 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
31445 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
31446 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
31447 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
31448 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
31449 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
31450 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
31451
b9b42ee0
AB
314522010-07-26 Anton Blanchard <anton@samba.org>
31453
31454 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
31455 * malloc/arena.c (heap_trim): Likewise.
31456
1c06ba31
UD
314572010-08-16 Ulrich Drepper <drepper@redhat.com>
31458
31459 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
31460 here. Not...
31461 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
31462 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
31463
f8392f40
L
314642010-08-12 H.J. Lu <hongjiu.lu@intel.com>
31465
31466 * sysdeps/i386/elf/Makefile: New file.
31467
3162f12e
AS
314682010-08-14 Andreas Schwab <schwab@linux-m68k.org>
31469
31470 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
31471 from fanotify_init.
31472 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
31473 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31474
28c90b2c
UD
314752010-08-15 Ulrich Drepper <drepper@redhat.com>
31476
31477 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
31478 of strncasecmp_l.
1feccb6c 31479 * sysdeps/multiarch/strcmp.S: Likewise.
28c90b2c 31480
ca6bb004
UD
314812010-08-14 Ulrich Drepper <drepper@redhat.com>
31482
e9f82e0d
UD
31483 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31484 strncase_l-nonascii.
31485 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31486 Add strncase_l-ssse3.
31487 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
31488 * sysdeps/x86_64/strcmp.S: Likewise.
31489 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
31490 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
31491 * sysdeps/x86_64/strncase.S: New file.
31492 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
31493 * sysdeps/x86_64/strncase_l.S: New file.
31494 * string/Makefile (strop-tests): Add strncasecmp.
31495 * string/test-strncasecmp.c: New file.
31496
31497 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
31498 warning.
31499
ca6bb004
UD
31500 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
31501 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
31502
052fa7b3
AS
315032010-08-14 Andreas Schwab <schwab@linux-m68k.org>
31504
31505 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
31506
962dba78
UD
315072010-08-12 Ulrich Drepper <drepper@redhat.com>
31508
31509 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
31510 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
31511 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
31512
bebff237
AM
315132010-05-01 Alan Modra <amodra@gmail.com>
31514
31515 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
31516 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
31517 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
31518 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
31519 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
31520 tidying. Don't tail-call __sigjmp_save for static lib.
31521 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
31522 save location.
31523 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
31524 (CALL_MCOUNT): Add eh info, and nop after bl.
31525 (TAIL_CALL_SYSCALL_ERROR): New macro.
31526 (PSEUDO_RET): Use it.
31527 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
31528 Correct save location of integer regs and cr.
31529 (_dl_profile_resolve): Correct cr save location. Delete nops
31530 after bl when SHARED. Reduce cfi size a little by better
31531 placement of cfi directives.
31532 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
31533 make a stack frame. Instead use parm save area as a temp.
31534 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
31535 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
31536 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
31537 Don't make a stack frame for parent, use parm save area.
31538 Increase child stack frame to 112 bytes. Don't save unused reg,
31539 and adjust reg usage. Set up cfi on error recovery and
31540 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
31541 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
31542 (__makecontext): Add dummy nop after jump to exit.
31543 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
31544 Use correct parm save area and cr save, reduce stack frame.
31545 Correct cfi for possible PSEUDO_RET frame setup.
31546 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
31547 Branch to local label emitted by PSEUDO_RET rather than
31548 __syscall_error.
31549
02637374
AS
315502010-08-12 Andreas Schwab <schwab@redhat.com>
31551
31552 [BZ #11904]
31553 * locale/programs/locale.c (print_assignment): New function.
31554 (show_locale_vars): Use it.
31555
c3e2f19b
UD
315562010-08-11 Ulrich Drepper <drepper@redhat.com>
31557
3cdaa6ad
UD
31558 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
31559 field.
31560 (struct statfs64): Likewise.
31561 (_STATFS_F_FLAGS): Define.
31562 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
31563 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
31564 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
31565 (ST_VALID): Define locally.
31566 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
31567 __statvfs_getflags, use the provided value.
31568 * sysdeps/unix/sysv/linux/kernel-features.h: Define
31569 __ASSUME_STATFS_F_FLAGS.
31570
754f7da3
UD
31571 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
31572
10b3bedc
UD
31573 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
31574 Add sys/fanotify.h.
31575 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
31576 fanotify_mask for GLIBC_2.13.
31577 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
31578 fanotify_init and fanotify_mark.
31579 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
31580 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
31581
c08fb0d7
UD
31582 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
31583 Add prlimit.
31584 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
31585 prlimit64 for GLIBC_2.13.
31586 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
31587 prlimit64.
31588 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
31589 syscall.
31590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
31591 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
31592 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
31593 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
31594 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
31595 add prlimit alias.
31596 * sysdeps/unix/sysv/linux/prlimit.c: New file.
31597
15bac72b
UD
31598 [BZ #11903]
31599 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
31600 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
31601
c3e2f19b
UD
31602 * nss/Makefile: Add rules to build and run tst-nss-test1.
31603 * shlib-versions: Add entry for libnss_test1.
31604 * nss/nss_test1.c: New file.
31605 * nss/tst-nss-test1.c: New file.
31606
31607 * nss/nsswitch.c (__nss_database_custom): Define new variable.
31608 (__nss_configure_lookup): Set appropriate entry in
31609 __nss_configure_lookup to true.
31610 * nss/nsswitch.h: Define enum with indeces of databases in
31611 databases and __nss_database_custom arrays. Declare
31612 __nss_database_custom.
31613 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
31614 to avoid using nscd when custom rules are installed.
31615 * nss/getXXbyYY_r.c: Likewise.
31616 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
31617
31618 * nss/nss_files/files-parse.c: Whitespace fixes.
31619
f15ce4d8
UD
316202010-08-09 Ulrich Drepper <drepper@redhat.com>
31621
31622 [BZ #11883]
31623 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
31624 * posix/fnmatch_loop.c: Likewise.
31625
d22e4cc9
AK
316262010-07-17 Andi Kleen <ak@linux.intel.com>
31627
31628 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
31629 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
31630 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
31631 * Versions.def [GLIBC_2.13]: Add.
31632
805bc17d
UD
316332010-08-06 Ulrich Drepper <drepper@redhat.com>
31634
31635 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31636 Also fail if tpwd after pwuid call is NULL.
31637
5a42321d
ST
316382010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
31639
31640 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
31641 when converting to ms.
31642
fd3ebeda
ST
316432010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
31644
31645 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
31646 EOPNOTSUPP errors with ENOTTY.
31647 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
31648 EOPNOTSUPP errors with ENOTTY.
31649
73507d3a
UD
316502010-07-31 Ulrich Drepper <drepper@redhat.com>
31651
31652 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
31653 Add strcasecmp_l-ssse3.
31654 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
31655 strcasecmp.
31656 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
31657 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
31658 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
31659
fe36dd02
UD
316602010-07-30 Ulrich Drepper <drepper@redhat.com>
31661
66f6765a
UD
31662 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
31663
42e08a54
UD
31664 * string/Makefile (strop-tests): Add strcasecmp.
31665 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
31666 strcasecmp_l-nonascii.
31667 (gen-as-const-headers): Add locale-defines.sym.
31668 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
31669 * sysdeps/x86_64/strcasecmp.S: New file.
31670 * sysdeps/x86_64/strcasecmp_l.S: New file.
31671 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
31672 * sysdeps/x86_64/locale-defines.sym: New file.
31673 * string/test-strcasecmp.c: New file.
31674
fe36dd02
UD
31675 * string/test-strcasestr.c: Test both ends of the range of characters.
31676 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
31677
48cbc0d6
RM
316782010-07-29 Roland McGrath <roland@redhat.com>
31679
76e6d6bc 31680 [BZ #11856]
48cbc0d6
RM
31681 * manual/locale.texi (Yes-or-No Questions): Fix example code.
31682
880113d9
UD
316832010-07-27 Ulrich Drepper <drepper@redhat.com>
31684
31685 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
31686 for ld.so.
31687
deb9cabb
AS
316882010-07-27 Andreas Schwab <schwab@redhat.com>
31689
31690 * manual/memory.texi (Malloc Tunable Parameters): Document
31691 M_PERTURB.
31692
1c7570ff
RM
316932010-07-26 Roland McGrath <roland@redhat.com>
31694
31695 [BZ #11840]
31696 * configure.in (-fgnu89-inline check): Set and substitute
31697 gnu89_inline, not libc_cv_gnu89_inline.
31698 * configure: Regenerated.
31699 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
31700
24fb0f88
UD
317012010-07-26 Ulrich Drepper <drepper@redhat.com>
31702
31703 * string/test-strnlen.c: New file.
31704 * string/Makefile (strop-tests): Add strnlen.
31705 * string/tester.c (test_strnlen): Add a few more test cases.
31706 * string/tst-strlen.c: Better error reporting.
31707
31708 * sysdeps/x86_64/strnlen.S: New file.
31709
8e96b93a
UD
317102010-07-24 Ulrich Drepper <drepper@redhat.com>
31711
31712 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
31713 lower-latency instructions.
31714
dbc676d4
UD
317152010-07-23 Ulrich Drepper <drepper@redhat.com>
31716
31717 * string/test-strcasestr.c: New file.
31718 * string/test-strstr.c: New file.
31719 * string/Makefile (strop-tests): Add strstr and strcasestr.
31720 * string/str-two-way.h: Don't undefine MAX.
31721 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
31722
f6a31e0e
AS
317232010-07-21 Andreas Schwab <schwab@redhat.com>
31724
31725 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31726 strcasestr-nonascii.
31727 (CFLAGS-strcasestr-nonascii.c): Define.
31728 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
31729 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
31730 Remove unused attribute.
31731
5dbc3b6c
RM
317322010-07-20 Roland McGrath <roland@redhat.com>
31733
31734 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
31735 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
31736 ld.so.cache was broken. With it, there is no way to disable dsocaps
31737 like LD_HWCAP_MASK can disable hwcaps.
31738
23d101d8
EPM
317392010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
31740
31741 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
31742
cc9f2e47
UD
317432010-07-16 Ulrich Drepper <drepper@redhat.com>
31744
31745 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
31746 call in strcasestr.
31747 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
31748 __strcasestr_sse42_nonascii.
31749 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
31750 strcasestr-nonascii.c.
31751 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
31752
77c1b069
LM
317532010-06-15 Luis Machado <luisgpm@br.ibm.com>
31754
31755 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
31756 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
31757 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
31758 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
31759
440566c3
UD
317602010-07-09 Ulrich Drepper <drepper@redhat.com>
31761
31762 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
31763 fcntl.
31764
5be9d05d
AS
317652010-07-06 Andreas Schwab <schwab@redhat.com>
31766
c30b7ee2 31767 [BZ #11577]
5be9d05d
AS
31768 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
31769 dl_signal_cerror.
31770
8a492a67
UD
317712010-07-06 Ulrich Drepper <drepper@redhat.com>
31772
31773 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
31774 _PC_PIPE_BUF using F_GETPIPE_SZ.
31775
713df3d5
RM
317762010-07-05 Roland McGrath <roland@redhat.com>
31777
31778 * manual/arith.texi (Rounding Functions): Fix rint description
31779 implicit in round description.
31780
702e8f14
UD
317812010-07-02 Ulrich Drepper <drepper@redhat.com>
31782
31783 * elf/Makefile: Fix linking for a few tests to make recent linker
31784 happy.
31785
52ed8be9
AS
317862010-06-30 Andreas Schwab <schwab@redhat.com>
31787
31788 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
31789 $(common-objpfx)libc_nonshared.a.
31790
f47c9a11
LM
317912010-06-21 Luis Machado <luisgpm@br.ibm.com>
31792
31793 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
31794 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
31795 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31796 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31797 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
31798 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
31799 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31800 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31801 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
31802 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
31803 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
31804 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
31805 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
31806 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
31807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
31808 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
31809 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
31810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
31811 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
31812 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
31813 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
31814 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
31815 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
31816 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
31817 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
31818 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
31819 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
31820 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
31821 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
31822 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
31823 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
31824 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
31825 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
31826 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
31827 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
31828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
31829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
31830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
31831 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
31832 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
31833 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
31834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
31835 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
31836 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
31837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
31838 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
31839 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
31840 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
31841
6fb8cbcb
L
318422010-06-25 H.J. Lu <hongjiu.lu@intel.com>
31843
31844 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
31845 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
31846 * string/memmove.c (memmove): Renamed to ...
31847 (MEMMOVE): ...this. Default to memmove.
31848 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
31849 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
31850 (END_CHK): Define.
31851 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31852 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
31853 mempcpy-ssse3-back memmove-ssse3-back.
31854 * sysdeps/x86_64/multiarch/bcopy.S: New file .
31855 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
31856 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
31857 * sysdeps/x86_64/multiarch/memcpy.S: New file.
31858 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
31859 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
31860 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
31861 * sysdeps/x86_64/multiarch/memmove.c: New file.
31862 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
31863 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
31864 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
31865 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
31866 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
31867 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
31868 Define.
31869 (index_Fast_Copy_Backward): Define.
31870 (HAS_ARCH_FEATURE): Define.
31871 (HAS_FAST_REP_STRING): Define.
31872 (HAS_FAST_COPY_BACKWARD): Define.
31873
4e733bac 318742010-06-21 Andreas Schwab <schwab@redhat.com>
e35fcef8
AS
31875
31876 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
31877 Restore proper fallback handling.
31878
63c4ed22
UD
318792010-06-19 Ulrich Drepper <drepper@redhat.com>
31880
ac2b484c
UD
31881 [BZ #11701]
31882 * posix/group_member.c (__group_member): Correct checking loop.
31883
63c4ed22
UD
31884 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
31885 OOM in getpwuid_r correctly. Return error number when the caller
31886 should return, otherwise -1.
31887 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
31888 call returning > 0 value.
31889 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
31890
765ade4b
AS
318912010-06-07 Andreas Schwab <schwab@redhat.com>
31892
31893 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
31894 libc_nonshared.a from targets in modules-names.
31895
80da2e09
KS
318962010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
31897
31898 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
31899 requires it.
31900
158db122
LM
319012010-06-10 Luis Machado <luisgpm@br.ibm.com>
31902
31903 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
31904 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
31905 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
31906 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
31907
caa78cf8
AS
319082010-06-02 Andreas Schwab <schwab@redhat.com>
31909
31910 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
31911
b2ef2c01
UD
319122010-06-14 Ulrich Drepper <drepper@redhat.com>
31913
31914 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
31915 and F_GETPIPE_SZ.
31916 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
31917 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
31918 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
31919 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
31920 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
31921 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
31922
fbd643b6
RM
319232010-06-14 Roland McGrath <roland@redhat.com>
31924
31925 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
31926
f32f2869
JJ
319272010-06-07 Jakub Jelinek <jakub@redhat.com>
31928
31929 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
31930 __REDIRECT followed by __THROW.
31931 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
31932 * posix/getopt.h (getopt): Likewise.
31933
2a50c078
EPM
319342010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
31935
31936 * hurd/lookup-at.c (__file_name_lookup_at): Accept
31937 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
31938 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
31939 in AT_FLAGS.
31940 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
31941 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
31942
eb5ad2eb
LM
319432010-05-28 Luis Machado <luisgpm@br.ibm.com>
31944
31945 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
31946
3c88fe1e
L
319472010-05-26 H.J. Lu <hongjiu.lu@intel.com>
31948
31949 [BZ #11640]
31950 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31951 Properly check family and model.
31952
d2f73151
TY
319532010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
31954
31955 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
31956
ebd2e13d
LM
319572010-05-24 Luis Machado <luisgpm@br.ibm.com>
31958
31959 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
31960
b32b8b45
UD
319612010-05-21 Ulrich Drepper <drepper@redhat.com>
31962
31963 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
31964 symbol reference.
31965
9acbe24d
AS
319662010-05-19 Andreas Schwab <schwab@redhat.com>
31967
31968 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
31969 symbol reference.
31970
f0ccf6ea
AS
319712010-05-21 Andreas Schwab <schwab@redhat.com>
31972
3d04ff3a
AS
31973 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
31974 and internal_recvmmsg.
31975 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
31976 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
31977 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
31978 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
31979
f0ccf6ea
AS
31980 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
31981 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
31982 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
31983
5b08ac57
AS
319842010-05-20 Andreas Schwab <schwab@redhat.com>
31985
31986 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
31987
4828935d
LM
319882010-05-17 Luis Machado <luisgpm@br.ibm.com>
31989
31990 POWER7 optimizations.
31991 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
31992 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
31993
373d545e
UD
319942010-05-19 Ulrich Drepper <drepper@redhat.com>
31995
31996 * version.h: Update for 2.13 development version.
31997
21a2b1ae
AS
319982010-05-12 Andrew Stubbs <ams@codesourcery.com>
31999
32000 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
32001 exceptions. Return 0.
32002
3f7dcb2b
RM
320032010-05-07 Roland McGrath <roland@redhat.com>
32004
32005 * elf/ldconfig.c (main): Add a const.
32006
5f24d53a 320072010-05-06 Ulrich Drepper <drepper@redhat.com>
70c9476e 32008
a160f8d8
UD
32009 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
32010 (args_options): Add no-idn option.
32011 (ahosts_keys_int): Add idn_flags to ai_flags.
32012 (parse_option): Handle 'i' option to clear idn_flags.
32013
5f24d53a
UD
32014 * malloc/malloc.c (_int_free): Possible race in the most recently
32015 added check. Only act on the data if no current modification
32016 happened.
265bb1ce
UD
32017
32018See ChangeLog.17 for earlier changes.